Searched refs:hasProvider (Results 1 – 3 of 3) sorted by relevance
491 Injectable hasProvider = injector1.getInstance(injectsKey); in test() local492 hasProvider.provider.get(); in test()495 assertEquals(value, hasProvider.provider.get()); in test()694 Injectable hasProvider = newInjector().getInstance(injectsKey); in test() local695 hasProvider.provider.get(); in test()698 hasProvider.provider.get(); in test()
297 assertThat(locationManager.hasProvider(GPS_PROVIDER)).isTrue(); in testHasProvider()298 assertThat(locationManager.hasProvider(NETWORK_PROVIDER)).isTrue(); in testHasProvider()299 assertThat(locationManager.hasProvider(PASSIVE_PROVIDER)).isTrue(); in testHasProvider()301 assertThat(locationManager.hasProvider(MY_PROVIDER)).isFalse(); in testHasProvider()304 assertThat(locationManager.hasProvider(MY_PROVIDER)).isTrue(); in testHasProvider()
479 protected boolean hasProvider(String provider) { in hasProvider() method in ShadowLocationManager