Home
last modified time | relevance | path

Searched refs:testService (Results 1 – 14 of 14) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DDomainSelectionServiceTestOnMockModem.java226 TestDomainSelectionService testService = sServiceConnector.getTestService(); in testDomainSelectionServiceEmergencyCallCanceled() local
227 assertNotNull(testService); in testDomainSelectionServiceEmergencyCallCanceled()
232 assertTrue(testService.waitForLatchCountdown(LATCH_ON_DOMAIN_SELECTION)); in testDomainSelectionServiceEmergencyCallCanceled()
233 assertNotNull(testService.getTransportSelectorCallback()); in testDomainSelectionServiceEmergencyCallCanceled()
238 assertTrue(testService.onCreated()); in testDomainSelectionServiceEmergencyCallCanceled()
241 assertTrue(testService.waitForLatchCountdown(LATCH_ON_FINISH_SELECTION)); in testDomainSelectionServiceEmergencyCallCanceled()
251 TestDomainSelectionService testService = sServiceConnector.getTestService(); in testDomainSelectionServiceEmergencyCallTerminateSelection() local
252 assertNotNull(testService); in testDomainSelectionServiceEmergencyCallTerminateSelection()
257 assertTrue(testService.waitForLatchCountdown(LATCH_ON_DOMAIN_SELECTION)); in testDomainSelectionServiceEmergencyCallTerminateSelection()
258 assertNotNull(testService.getTransportSelectorCallback()); in testDomainSelectionServiceEmergencyCallTerminateSelection()
[all …]
DDomainSelectionServiceConnector.java84 TestDomainSelectionService testService = getTestService(); in waitForPackageUnbind() local
85 if (testService == null) return; in waitForPackageUnbind()
89 boolean isBound = testService.isTelephonyBound(); in waitForPackageUnbind()
93 testService.waitForLatchCountdown(LATCH_ON_UNBIND); in waitForPackageUnbind()
/cts/tests/tests/appop/src/android/app/appops/cts/
DAppOpsLoggingTest.kt133 private lateinit var testService: IAppOpsUserService in nativeNoteOp() variable in android.app.appops.cts.AppOpsLoggingTest
188 testService = newService.get(TIMEOUT_MILLIS, MILLISECONDS) in nativeNoteOp()
276 testService.disableCollectorAndCallSyncOpsWhichWillNotBeCollected( in nativeNoteOp()
284 testService.disableCollectorAndCallASyncOpsWhichWillBeCollected( in nativeNoteOp()
292 testService.callApiThatNotesSyncOpAndCheckLog(AppOpsUserClient(context)) in nativeNoteOp()
299 testService.callApiThatNotesSyncOpWithAttributionAndCheckLog(AppOpsUserClient(context)) in nativeNoteOp()
306 testService.callApiThatNotesSyncOpFromNativeCodeAndCheckLog( in nativeNoteOp()
314 testService.callApiThatNotesSyncOpFromNativeCodeAndCheckMessage( in nativeNoteOp()
322 testService.callApiThatNotesSyncOpAndCheckStackTrace(AppOpsUserClient(context)) in nativeNoteOp()
329 testService.callApiThatCallsBackIntoServiceAndCheckLog( in nativeNoteOp()
[all …]
/cts/hostsidetests/content/test-apps/ContextCrossProfileApps/ContextCrossProfileTestServiceApp/src/com/android/cts/testService/
DContextCrossProfileTestService.java17 package com.android.cts.testService;
/cts/tests/tests/appcomponentfactory/src/android/app/componentfactory/cts/
DAppComponentFactoryTest.java55 public void testService() { in testService() method in AppComponentFactoryTest
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39808/src/android/security/cts/CVE_2021_39808/
DDeviceTest.java42 public void testService() { in testService() method in DeviceTest
/cts/tests/credentials/src/android/credentials/cts/
DCtsCredentialProviderServiceDeviceTest.java767 ComponentName testService = new ComponentName(CTS_PACKAGE_NAME, CLASS_NAME); in testIsEnabledCredentialProviderService_isEnabled_primary() local
768 assertThat(mCredentialManager.isEnabledCredentialProviderService(testService)).isTrue(); in testIsEnabledCredentialProviderService_isEnabled_primary()
773 ComponentName testService = new ComponentName(CTS_PACKAGE_NAME, CLASS_NAME); in testIsEnabledCredentialProviderService_isEnabled_secondary() local
774 assertThat(mCredentialManager.isEnabledCredentialProviderService(testService)).isTrue(); in testIsEnabledCredentialProviderService_isEnabled_secondary()
779 ComponentName testService = new ComponentName(CTS_PACKAGE_NAME, "com.android.TestService"); in testIsEnabledCredentialProviderService_isDisabled() local
780 assertThat(mCredentialManager.isEnabledCredentialProviderService(testService)).isFalse(); in testIsEnabledCredentialProviderService_isDisabled()
/cts/tests/tests/batterysaving/common/proto/
Dbattery_saver_cts_common.proto30 // Request to start testService.
/cts/tests/app/src/android/app/cts/
DAttributionTagsTest.java90 public void testService() throws Exception { in testService() method in AttributionTagsTest
/cts/hostsidetests/securitybulletin/test-apps/CVE-2021-39701/src/android/security/cts/CVE_2021_39701/
DDeviceTest.java53 public void testService() { in testService() method in DeviceTest
/cts/tests/tests/voiceRecognition/src/android/voicerecognition/cts/
DAbstractRecognitionServiceTest.java356 RecognitionService testService = new CtsRecognitionService(); in testRecognitionServiceConcurrencyLimitValidity() local
358 .that(testService.getMaxConcurrentSessionsCount()).isGreaterThan(0); in testRecognitionServiceConcurrencyLimitValidity()
/cts/tests/tests/gameservice/src/android/service/games/
DGameServiceTest.java912 public static void launch(IGameServiceTestService testService) throws Exception {
913 testService.startGameSessionActivity(
/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DBackgroundActivityLaunchTest.java1406 private static PendingIntent generatePendingIntent(TestServiceClient testService, in generatePendingIntent() argument
1408 return testService.generatePendingIntent(activity, null); in generatePendingIntent()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageStatsTest.java2847 final ITestReceiver testService = bindToTestService(); in isAppInactiveAsPermissionlessApp() local
2848 return testService.isAppInactive(pkg); in isAppInactiveAsPermissionlessApp()