summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEtan Cohen <etancohen@google.com>2020-01-23 15:28:56 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2020-01-23 15:28:56 +0000
commit8046aae4c655326d4079631df0848cabdc76558d (patch)
treef7049cb0bf1be4240ae9d715eaed2ef7a76e90c7 /tests
parent86013b1e423799730db6c06c91a0b76ab478dde0 (diff)
parent58858c9a3bf11dea367820c1264a6f63e001444d (diff)
Merge "[CDM][WIFI] Update CDM API for WifiNetworkSpecifier permission approval"
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/WifiNetworkFactoryTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/WifiNetworkFactoryTest.java b/tests/wifitests/src/com/android/server/wifi/WifiNetworkFactoryTest.java
index c38d5ae38..05b99ef0e 100644
--- a/tests/wifitests/src/com/android/server/wifi/WifiNetworkFactoryTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/WifiNetworkFactoryTest.java
@@ -2531,7 +2531,7 @@ public class WifiNetworkFactoryTest extends WifiBaseTest {
ScanResult matchingScanResult = mTestScanDatas[0].getResults()[0];
// Setup CDM approval for the scan result.
- when(mCompanionDeviceManager.isDeviceAssociated(
+ when(mCompanionDeviceManager.isDeviceAssociatedForWifiConnection(
TEST_PACKAGE_NAME_1,
MacAddress.fromString(matchingScanResult.BSSID),
UserHandle.getUserHandleForUid(TEST_UID_1))).thenReturn(true);