Searched refs:testProvider (Results 1 – 3 of 3) sorted by relevance
383 PasspointProvider testProvider = mock(PasspointProvider.class); in evaluateScanMatchingSIMProviderWithoutSIMCard() local385 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() local415 testProvider, PasspointMatch.HomeProvider); in evaluateSIMProviderWithNetworkSupportingEncryptedIMSI()417 when(testProvider.isSimCredential()).thenReturn(true); in evaluateSIMProviderWithNetworkSupportingEncryptedIMSI()
3562 LocationProvider testProvider = getLocationProviderLocked(name); in removeTestProvider() local3563 if (testProvider == null || !testProvider.isMock()) { in removeTestProvider()3567 removeProviderLocked(testProvider); in removeTestProvider()3595 LocationProvider testProvider = getLocationProviderLocked(providerName); in setTestProviderLocation() local3596 if (testProvider == null || !testProvider.isMock()) { in setTestProviderLocation()3608 ((MockLocationProvider) testProvider).setLocationLocked(location); in setTestProviderLocation()3619 LocationProvider testProvider = getLocationProviderLocked(providerName); in setTestProviderEnabled() local3620 if (testProvider == null || !testProvider.isMock()) { in setTestProviderEnabled()3624 ((MockLocationProvider) testProvider).setEnabledLocked(enabled); in setTestProviderEnabled()3636 LocationProvider testProvider = getLocationProviderLocked(providerName); in setTestProviderStatus() local[all …]
35 public void testProvider() throws Exception { in testProvider() method in SmsProviderTest