Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DOverlayHostTest.java55 private static final String TARGET_PACKAGE = "com.android.cts.overlay.target"; field in OverlayHostTest
129 getDevice().uninstallPackage(TARGET_PACKAGE);
141 getDevice().uninstallPackage(TARGET_PACKAGE);
150 getDevice().uninstallPackage(TARGET_PACKAGE);
152 assertFalse(getDevice().getInstalledPackageNames().contains(TARGET_PACKAGE));
164 getDevice().uninstallPackage(TARGET_PACKAGE);
230 getDevice().uninstallPackage(TARGET_PACKAGE);
232 assertFalse(getDevice().getInstalledPackageNames().contains(TARGET_PACKAGE));
248 getDevice().uninstallPackage(TARGET_PACKAGE);
340 runDeviceTests(TARGET_PACKAGE, OVERLAY_TARGET_TEST_APP_CLASS,
[all …]
/cts/tests/appsearch/src/com/android/cts/appsearch/functions/
DAppFunctionManagerCtsTest.java86 private static final String TARGET_PACKAGE = "com.android.cts.appsearch"; field in AppFunctionManagerCtsTest
112 new ExecuteAppFunctionRequest.Builder(TARGET_PACKAGE, "invalid").build(); in executeAppFunction_failed_noSuchMethod()
130 new ExecuteAppFunctionRequest.Builder(TARGET_PACKAGE, "add_invokeCallbackTwice") in executeAppFunction_onlyInvokeCallbackOnce()
160 new ExecuteAppFunctionRequest.Builder(TARGET_PACKAGE, "add") in executeAppFunction_success()
213 new ExecuteAppFunctionRequest.Builder(TARGET_PACKAGE, "startActivity").build(); in executeAppFunction_startActivity()
228 new ExecuteAppFunctionRequest.Builder(TARGET_PACKAGE, "throwException").build(); in executeAppFunction_throwsException()
242 new ExecuteAppFunctionRequest.Builder(TARGET_PACKAGE, "kill").build(); in executeAppFunction_onRemoteProcessKilled()
258 new ExecuteAppFunctionRequest.Builder(TARGET_PACKAGE, "notInvokeCallback").build(); in executeAppFunction_timedOut()
276 new ExecuteAppFunctionRequest.Builder(TARGET_PACKAGE, "addAsync") in executeAppFunction_success_async()
310 new ExecuteAppFunctionRequest.Builder(TARGET_PACKAGE, "noOp") in executeAppFunction_runInManagedProfile_fail()
[all …]
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerThrottlingTest.java52 private static final String TARGET_PACKAGE = field in ShortcutManagerThrottlingTest
61 TARGET_PACKAGE + "/.ShortcutManagerThrottlingTestReceiver")); in callTest()
70 PermissionUtils.grantPermission(TARGET_PACKAGE, Manifest.permission.POST_NOTIFICATIONS); in setUp()
76 runCommandForNoOutput(getInstrumentation(), "am force-stop " + TARGET_PACKAGE); in setUp() local
81 PermissionUtils.revokePermission(TARGET_PACKAGE, Manifest.permission.POST_NOTIFICATIONS); in tearDown()
/cts/tests/tests/media/audio/modules/audiorecordpermissiontests/lib/src/android/media/audio/cts/audiorecordpermissiontests/common/
DSimpleActivity.kt46 .setPackage(TARGET_PACKAGE)) in onCreate()
58 sendBroadcast(Intent(PREFIX + ACTION_ACTIVITY_STARTED).setPackage(TARGET_PACKAGE)) in onResume()
DRecordService.kt103 sendBroadcast(Intent(PREFIX + ACTION_FINISH_TEARDOWN).setPackage(TARGET_PACKAGE)) in cleanup()
145 .setPackage(TARGET_PACKAGE)) in record()
152 .setPackage(TARGET_PACKAGE)) in record()
DActions.kt31 const val TARGET_PACKAGE = "android.media.audio.cts.audiorecordpermissiontests" constant
/cts/hostsidetests/appsecurity/test-apps/rro/OverlayApp/src/com/android/cts/overlay/app/
DOverlayableTest.java40 private static final String TARGET_PACKAGE = "com.android.cts.overlay.target"; field in OverlayableTest
69 return InstrumentationRegistry.getTargetContext().createPackageContext(TARGET_PACKAGE, 0); in getTargetContext()