Searched refs:getTestService (Results 1 – 7 of 7) sorted by relevance
132 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 …]
431 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 …]
452 protected TestServiceClient getTestService(Components c) throws Exception { in getTestService() method in BackgroundActivityTestBase453 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
84 TestDomainSelectionService testService = getTestService(); in waitForPackageUnbind()100 && getTestService().waitForLatchCountdown(LATCH_ON_BIND); in overrideService()208 TestDomainSelectionService getTestService() { in getTestService() method in DomainSelectionServiceConnector
226 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()
19 import static android.os.cts.batterysaving.common.Values.getTestService;71 .setComponent(getTestService(context.getPackageName())) in handleBatterySaverBgServiceRequest()84 .setComponent(getTestService(context.getPackageName())); in handleBatterySaverBgServiceRequest()
41 public static ComponentName getTestService(String packageName) { in getTestService() method in Values