Home
last modified time | relevance | path

Searched refs:TARGET_STUB (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DCrossUserPackageVisibilityTests.java22 import static android.appenumeration.cts.Constants.TARGET_STUB;
79 TARGET_STUB, ACTIVITY_CLASS_TEST);
82 TARGET_STUB, "android.appenumeration.testapp.DummyInstrumentation");
108 uninstallPackage(TARGET_STUB); in setup()
114 uninstallPackage(TARGET_STUB); in tearDown()
123 () -> mPackageManager.isPackageSuspended(TARGET_STUB)); in testIsPackageSuspended_cannotDetectStubPkg()
128 () -> mPackageManager.isPackageSuspended(TARGET_STUB)); in testIsPackageSuspended_cannotDetectStubPkg()
134 () -> mPackageManager.getTargetSdkVersion(TARGET_STUB)); in testGetTargetSdkVersion_cannotDetectStubPkg()
139 () -> mPackageManager.getTargetSdkVersion(TARGET_STUB)); in testGetTargetSdkVersion_cannotDetectStubPkg()
145 assertThat(mPackageManager.checkSignatures(selfPackageName, TARGET_STUB)) in testCheckSignatures_cannotDetectStubPkg()
[all …]
DLauncherAppsEnumerationTests.java42 import static android.appenumeration.cts.Constants.TARGET_STUB;
98 ensurePackageIsNotInstalled(TARGET_STUB); in callback_added_notVisibleNotReceives()
100 CALLBACK_EVENT_PACKAGE_ADDED, new String[]{TARGET_STUB}); in callback_added_notVisibleNotReceives()
111 ensurePackageIsNotInstalled(TARGET_STUB); in callback_added_visibleReceives()
113 CALLBACK_EVENT_PACKAGE_ADDED, new String[]{TARGET_STUB}); in callback_added_visibleReceives()
120 arrayContainingInAnyOrder(new String[]{TARGET_STUB})); in callback_added_visibleReceives()
126 ensurePackageIsInstalled(TARGET_STUB, TARGET_STUB_APK); in callback_removed_notVisibleNotReceives()
128 CALLBACK_EVENT_PACKAGE_REMOVED, new String[]{TARGET_STUB}); in callback_removed_notVisibleNotReceives()
130 uninstallPackage(TARGET_STUB); in callback_removed_notVisibleNotReceives()
139 ensurePackageIsInstalled(TARGET_STUB, TARGET_STUB_APK); in callback_removed_visibleReceives()
[all …]
DAppEnumerationTests.java123 import static android.appenumeration.cts.Constants.TARGET_STUB;
307 ensurePackageIsInstalled(TARGET_STUB, TARGET_STUB_APK); in startExplicitly_activityPermissionProtected_canSeeTarget()
310 QUERIES_ACTIVITY_ACTION, TARGET_STUB)); in startExplicitly_activityPermissionProtected_canSeeTarget()
312 () -> startExplicitIntentViaPackageName(QUERIES_ACTIVITY_ACTION, TARGET_STUB)); in startExplicitly_activityPermissionProtected_canSeeTarget()
317 ensurePackageIsInstalled(TARGET_STUB, TARGET_STUB_APK); in startExplicitly_activityPermissionProtected_cannotSeeTarget()
320 QUERIES_NOTHING, TARGET_STUB)); in startExplicitly_activityPermissionProtected_cannotSeeTarget()
322 () -> startExplicitIntentViaPackageName(QUERIES_NOTHING, TARGET_STUB)); in startExplicitly_activityPermissionProtected_cannotSeeTarget()
880 ensurePackageIsInstalled(TARGET_STUB, TARGET_STUB_APK); in uninstallTarget_broadcastRemoved_notVisibleDoesNotReceive()
881 final Result result = sendCommand(QUERIES_NOTHING, TARGET_STUB, in uninstallTarget_broadcastRemoved_notVisibleDoesNotReceive()
884 uninstallPackage(TARGET_STUB); in uninstallTarget_broadcastRemoved_notVisibleDoesNotReceive()
[all …]
DAccountManagerEnumerationTest.java24 import static android.appenumeration.cts.Constants.TARGET_STUB;
59 private static final String TARGET_VISIBLE = TARGET_STUB;
66 ensurePackageIsInstalled(TARGET_STUB, TARGET_STUB_APK); in prepareApps()
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/
DConstants.java113 public static final String TARGET_STUB = PKG_BASE + "stub"; field in Constants