Home
last modified time | relevance | path

Searched refs:getTestService (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/gameservice/src/android/service/games/
DGameServiceTest.java132 getTestService().setGamePackageNames( in setUp()
171 getTestService().resetState(); in tearDown()
188 getTestService().setGameServiceComponentEnabled(false); in gameService_connectsWhenGameServiceComponentIsEnabled()
191 getTestService().setGameServiceComponentEnabled(true); in gameService_connectsWhenGameServiceComponentIsEnabled()
201 getTestService().setGameSessionServiceComponentEnabled(false); in gameService_connectsWhenGameSessionServiceComponentIsEnabled()
204 getTestService().setGameSessionServiceComponentEnabled(true); in gameService_connectsWhenGameSessionServiceComponentIsEnabled()
216 assertThat(getTestService().getActiveSessions()).containsExactly( in gameService_startsGameSessionsForGames()
235 assertThat(getTestService().getActiveSessions()).containsExactly( in gameService_multipleGames_startsGameSessionsForGames()
239 getTestService().getGameSessionEventHistory(); in gameService_multipleGames_startsGameSessionsForGames()
270 assertThat(getTestService().getActiveSessions()).containsExactly( in gameService_multipleGamesIncludingStops_startsGameSessionsForGames()
[all …]
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityLaunchTest.java431 TestServiceClient serviceA = getTestService(APP_A); in testPendingIntentActivityBlocked()
432 TestServiceClient serviceB = getTestService(APP_B); in testPendingIntentActivityBlocked()
465 TestServiceClient serviceB = getTestService(APP_B); in testPI_onlyCreatorAllowsBALInSameTask_isNotBlocked()
468 TestServiceClient serviceA = getTestService(APP_A); in testPI_onlyCreatorAllowsBALInSameTask_isNotBlocked()
489 TestServiceClient serviceB = getTestService(APP_B); in testPI_onlyCreatorAllowsBALInSameTask_isBlocked()
492 TestServiceClient serviceA = getTestService(APP_A); in testPI_onlyCreatorAllowsBALInSameTask_isBlocked()
512 TestServiceClient serviceB = getTestService(APP_B); in testPI_onlyCreatorAllowsBALwithOptIn_isNotBlocked()
515 TestServiceClient serviceA = getTestService(APP_A); in testPI_onlyCreatorAllowsBALwithOptIn_isNotBlocked()
535 TestServiceClient servicePiCreator = getTestService(APP_A_33); in testPI_onlyCreatorAllowsBALwithoutOptInSdk33_isNotBlocked()
538 TestServiceClient servicePiSender = getTestService(APP_B); in testPI_onlyCreatorAllowsBALwithoutOptInSdk33_isNotBlocked()
[all …]
DBackgroundActivityTestBase.java452 protected TestServiceClient getTestService(Components c) throws Exception { in getTestService() method in BackgroundActivityTestBase
453 return getTestService(new ComponentName(c.APP_PACKAGE_NAME, TEST_SERVICE)); in getTestService()
456 private TestServiceClient getTestService(ComponentName componentName) throws Exception { in getTestService() method in BackgroundActivityTestBase
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DDomainSelectionServiceConnector.java84 TestDomainSelectionService testService = getTestService(); in waitForPackageUnbind()
100 && getTestService().waitForLatchCountdown(LATCH_ON_BIND); in overrideService()
208 TestDomainSelectionService getTestService() { in getTestService() method in DomainSelectionServiceConnector
DDomainSelectionServiceTestOnMockModem.java226 TestDomainSelectionService testService = sServiceConnector.getTestService(); in testDomainSelectionServiceEmergencyCallCanceled()
251 TestDomainSelectionService testService = sServiceConnector.getTestService(); in testDomainSelectionServiceEmergencyCallTerminateSelection()
273 TestDomainSelectionService testService = sServiceConnector.getTestService(); in testDomainSelectionServiceEmergencyCallReselectDomain()
316 TestDomainSelectionService testService = sServiceConnector.getTestService(); in testDomainSelectionServiceEmergencyCall()
360 TestDomainSelectionService testService = sServiceConnector.getTestService(); in testDomainSelectionServiceEmergencyNetworkScan()
/cts/tests/tests/batterysaving/apps/app_target_api_current/src/android/os/cts/batterysaving/app/
DCommReceiver.java19 import static android.os.cts.batterysaving.common.Values.getTestService;
71 .setComponent(getTestService(context.getPackageName())) in handleBatterySaverBgServiceRequest()
84 .setComponent(getTestService(context.getPackageName())); in handleBatterySaverBgServiceRequest()
/cts/tests/tests/batterysaving/common/src/android/os/cts/batterysaving/common/
DValues.java41 public static ComponentName getTestService(String packageName) { in getTestService() method in Values