Searched refs:spyConfig (Results 1 – 4 of 4) sorted by relevance
154 when(spyConfig.isPasspoint()).thenReturn(true); in testCompareTo_GivesNull()155 spyConfig.providerFriendlyName = null; in testCompareTo_GivesNull()1184 when(spyConfig.isPasspoint()).thenReturn(true); in testUpdate_passpointWifiInfo_updatesPasspointAccessPoint()1185 spyConfig.SSID = TEST_SSID; in testUpdate_passpointWifiInfo_updatesPasspointAccessPoint()1186 spyConfig.BSSID = TEST_BSSID; in testUpdate_passpointWifiInfo_updatesPasspointAccessPoint()1187 spyConfig.FQDN = "fqdn"; in testUpdate_passpointWifiInfo_updatesPasspointAccessPoint()1217 when(spyConfig.isPasspoint()).thenReturn(true); in testUpdate_nonPasspointWifiInfo_doesNotUpdatePasspointAccessPoint()1218 spyConfig.SSID = TEST_SSID; in testUpdate_nonPasspointWifiInfo_doesNotUpdatePasspointAccessPoint()1219 spyConfig.BSSID = TEST_BSSID; in testUpdate_nonPasspointWifiInfo_doesNotUpdatePasspointAccessPoint()1220 spyConfig.FQDN = "fqdn"; in testUpdate_nonPasspointWifiInfo_doesNotUpdatePasspointAccessPoint()[all …]
1156 WifiConfiguration spyConfig = spy(config); in getBestMatchSubscriptionIdForPasspointWithValidCarrierId() local1157 doReturn(true).when(spyConfig).isPasspoint(); in getBestMatchSubscriptionIdForPasspointWithValidCarrierId()1169 WifiConfiguration spyConfig = spy(config); in getBestMatchSubscriptionIdForPasspointInvalidCarrierId() local1170 doReturn(true).when(spyConfig).isPasspoint(); in getBestMatchSubscriptionIdForPasspointInvalidCarrierId()1427 PasspointConfiguration spyConfig = spy(new PasspointConfiguration()); in tryUpdateCarrierIdForPasspointWithNonSimCredential() local1428 doReturn(credential).when(spyConfig).getCredential(); in tryUpdateCarrierIdForPasspointWithNonSimCredential()1441 PasspointConfiguration spyConfig = spy(new PasspointConfiguration()); in tryUpdateCarrierIdForPasspointWithPrefixImsi() local1442 doReturn(credential).when(spyConfig).getCredential(); in tryUpdateCarrierIdForPasspointWithPrefixImsi()1458 doReturn(credential).when(spyConfig).getCredential(); in tryUpdateCarrierIdForPasspointWithFullImsiAndActiveSim()1464 assertEquals(DATA_CARRIER_ID, spyConfig.getCarrierId()); in tryUpdateCarrierIdForPasspointWithFullImsiAndActiveSim()[all …]
170 CarUxRestrictionsConfiguration spyConfig = spy(createEmptyConfig()); in testSaveConfig_ReturnFalseOnException() local171 doThrow(new IOException()).when(spyConfig).writeJson(any(JsonWriter.class)); in testSaveConfig_ReturnFalseOnException()173 assertFalse(mService.saveUxRestrictionsConfigurationForNextBoot(Arrays.asList(spyConfig))); in testSaveConfig_ReturnFalseOnException()
491 WifiConfiguration spyConfig = spy(config); in testGetMacAddress_randomizationOn_usesRandomizedValue() local492 when(spyConfig.getRandomizedMacAddress()) in testGetMacAddress_randomizationOn_usesRandomizedValue()498 Collections.singletonList(spyConfig), null, mMockWifiManager, mMockScoreCache, in testGetMacAddress_randomizationOn_usesRandomizedValue()