Home
last modified time | relevance | path

Searched refs:testProvider (Results 1 – 3 of 3) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluatorTest.java383 PasspointProvider testProvider = mock(PasspointProvider.class); in evaluateScanMatchingSIMProviderWithoutSIMCard() local
385 testProvider, PasspointMatch.HomeProvider); in evaluateScanMatchingSIMProviderWithoutSIMCard()
388 when(testProvider.isSimCredential()).thenReturn(true); in evaluateScanMatchingSIMProviderWithoutSIMCard()
396 verify(testProvider, never()).getWifiConfig(); in evaluateScanMatchingSIMProviderWithoutSIMCard()
413 PasspointProvider testProvider = generateProvider(config); in evaluateSIMProviderWithNetworkSupportingEncryptedIMSI() local
415 testProvider, PasspointMatch.HomeProvider); in evaluateSIMProviderWithNetworkSupportingEncryptedIMSI()
417 when(testProvider.isSimCredential()).thenReturn(true); in evaluateSIMProviderWithNetworkSupportingEncryptedIMSI()
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java3562 LocationProvider testProvider = getLocationProviderLocked(name); in removeTestProvider() local
3563 if (testProvider == null || !testProvider.isMock()) { in removeTestProvider()
3567 removeProviderLocked(testProvider); in removeTestProvider()
3595 LocationProvider testProvider = getLocationProviderLocked(providerName); in setTestProviderLocation() local
3596 if (testProvider == null || !testProvider.isMock()) { in setTestProviderLocation()
3608 ((MockLocationProvider) testProvider).setLocationLocked(location); in setTestProviderLocation()
3619 LocationProvider testProvider = getLocationProviderLocked(providerName); in setTestProviderEnabled() local
3620 if (testProvider == null || !testProvider.isMock()) { in setTestProviderEnabled()
3624 ((MockLocationProvider) testProvider).setEnabledLocked(enabled); in setTestProviderEnabled()
3636 LocationProvider testProvider = getLocationProviderLocked(providerName); in setTestProviderStatus() local
[all …]
/frameworks/base/core/tests/coretests/src/android/provider/
DSmsProviderTest.java35 public void testProvider() throws Exception { in testProvider() method in SmsProviderTest