Searched refs:TARGET_NO_API (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/ |
D | MediaSessionEnumerationTests.java | 23 import static android.appenumeration.cts.Constants.TARGET_NO_API; 46 setAllowGetActiveSession(TARGET_NO_API, true); in onBefore() 51 setAllowGetActiveSession(TARGET_NO_API, false); in onAfter() 57 assertThat(isTrustedForMediaControl(QUERIES_PACKAGE, TARGET_NO_API), is(true)); in queriesPackage_isTrustedForMediaControl_canSeeTarget() 63 assertThat(isTrustedForMediaControl(QUERIES_NOTHING, TARGET_NO_API), is(false)); in queriesNothing_isTrustedForMediaControl_cannotSeeTarget()
|
D | LauncherAppsEnumerationTests.java | 41 import static android.appenumeration.cts.Constants.TARGET_NO_API; 184 suspendPackages(true /* suspend */, Arrays.asList(TARGET_NO_API, TARGET_FILTERS)); in callback_suspended_notVisibleNotReceives() 190 suspendPackages(false /* suspend */, Arrays.asList(TARGET_NO_API, TARGET_FILTERS)); in callback_suspended_notVisibleNotReceives() 200 suspendPackages(true /* suspend */, Arrays.asList(TARGET_NO_API, TARGET_FILTERS)); in callback_suspended_visibleReceives() 207 suspendPackages(false /* suspend */, Arrays.asList(TARGET_NO_API, TARGET_FILTERS)); in callback_suspended_visibleReceives() 217 suspendPackages(false /* suspend */, Arrays.asList(TARGET_NO_API, TARGET_FILTERS)); in callback_unsuspended_notVisibleNotReceives() 226 suspendPackages(true /* suspend */, Arrays.asList(TARGET_NO_API, TARGET_FILTERS)); in callback_unsuspended_visibleReceives() 231 suspendPackages(false /* suspend */, Arrays.asList(TARGET_NO_API, TARGET_FILTERS)); in callback_unsuspended_visibleReceives() 466 suspendPackagesForUser(true /* suspend */, Arrays.asList(TARGET_NO_API), in getSuspendedPackageLauncherExtras_queriesNothingHasPerm_canGetExtras() 469 TARGET_NO_API)); in getSuspendedPackageLauncherExtras_queriesNothingHasPerm_canGetExtras() [all …]
|
D | AppEnumerationTests.java | 117 import static android.appenumeration.cts.Constants.TARGET_NO_API; 436 assertNotVisible(QUERIES_NOTHING, TARGET_NO_API); in queriesNothing_cannotSeeNonForceQueryable() 443 assertVisible(QUERIES_NOTHING_Q, TARGET_NO_API); in queriesNothingTargetsQ_canSeeAll() 450 assertVisible(QUERIES_NOTHING_PERM, TARGET_NO_API); in queriesNothingHasPermission_canSeeAll() 488 assertNotVisible(QUERIES_ACTIVITY_ACTION, TARGET_NO_API); in queriesSomething_cannotSeeNoApi() 489 assertNotVisible(QUERIES_SERVICE_ACTION, TARGET_NO_API); in queriesSomething_cannotSeeNoApi() 490 assertNotVisible(QUERIES_PROVIDER_AUTH, TARGET_NO_API); in queriesSomething_cannotSeeNoApi() 491 assertNotVisible(QUERIES_PROVIDER_ACTION, TARGET_NO_API); in queriesSomething_cannotSeeNoApi() 541 assertVisible(QUERIES_PACKAGE, TARGET_NO_API); in queriesPackage_canSeeTarget() 547 installPackage(QUERIES_NOTHING_SEES_INSTALLER_APK, TARGET_NO_API); in queriesNothing_canSeeInstaller() [all …]
|
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/ |
D | Constants.java | 111 public static final String TARGET_NO_API = PKG_BASE + "noapi"; field in Constants
|