Home
last modified time | relevance | path

Searched refs:QUERIES_NOTHING_PERM (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DAppEnumerationTests.java70 import static android.appenumeration.cts.Constants.QUERIES_NOTHING_PERM;
251 getInstalledPackages(QUERIES_NOTHING_PERM, MATCH_SYSTEM_ONLY).length, in systemPackagesQueryable_notEnabled()
336 assertNotVisible(QUERIES_NOTHING_RECEIVES_URI, QUERIES_NOTHING_PERM); in startActivityWithNoPermissionUri_canSeeProvider()
339 startExplicitActivityWithIntent(QUERIES_NOTHING_PERM, QUERIES_NOTHING_RECEIVES_URI, in startActivityWithNoPermissionUri_canSeeProvider()
341 .setData(Uri.parse("content://" + QUERIES_NOTHING_PERM + "/test"))); in startActivityWithNoPermissionUri_canSeeProvider()
342 assertNotVisible(QUERIES_NOTHING_RECEIVES_URI, QUERIES_NOTHING_PERM); in startActivityWithNoPermissionUri_canSeeProvider()
345 startExplicitActivityWithIntent(QUERIES_NOTHING_PERM, QUERIES_NOTHING_RECEIVES_URI, in startActivityWithNoPermissionUri_canSeeProvider()
347 .setData(Uri.parse("content://" + QUERIES_NOTHING_PERM + "/test")) in startActivityWithNoPermissionUri_canSeeProvider()
349 assertVisible(QUERIES_NOTHING_RECEIVES_URI, QUERIES_NOTHING_PERM); in startActivityWithNoPermissionUri_canSeeProvider()
357 assertNotVisible(QUERIES_NOTHING_RECEIVES_PERM_URI, QUERIES_NOTHING_PERM); in startActivityWithUri_canSeePermissionProtectedProvider()
[all …]
DPackageInstallerEnumerationTests.java23 import static android.appenumeration.cts.Constants.QUERIES_NOTHING_PERM;
74 final Integer[] sessionIds = getSessionInfos(ACTION_GET_SESSION_INFO, QUERIES_NOTHING_PERM, in getSessionInfo_queriesNothingHasPermission_canSeeSession()
117 QUERIES_NOTHING_PERM, sessionId); in getStagedSessions_queriesNothingHasPermission_canSeeSession()
162 final Integer[] sessionIds = getSessionInfos(ACTION_GET_ALL_SESSIONS, QUERIES_NOTHING_PERM, in getAllSessions_queriesNothingHasPermission_canSeeSession()
DLauncherAppsEnumerationTests.java36 import static android.appenumeration.cts.Constants.QUERIES_NOTHING_PERM;
112 final Result result = sendCommandAndWaitForLauncherAppsCallback(QUERIES_NOTHING_PERM, in callback_added_visibleReceives()
140 final Result result = sendCommandAndWaitForLauncherAppsCallback(QUERIES_NOTHING_PERM, in callback_removed_visibleReceives()
166 final Result result = sendCommandAndWaitForLauncherAppsCallback(QUERIES_NOTHING_PERM, in callback_changed_visibleReceives()
265 QUERIES_NOTHING_PERM, sessionId); in sessionCallback_queriesNothingHasPermission_canSeeSession()
387 QUERIES_NOTHING_PERM, PackageInstaller.SessionInfo.INVALID_ID); in getAllPkgInstallerSessions_queriesNothingHasPermission_canSeeSessions()
468 Assert.assertNotNull(getSuspendedPackageLauncherExtras(QUERIES_NOTHING_PERM, in getSuspendedPackageLauncherExtras_queriesNothingHasPerm_canGetExtras()
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/
DConstants.java57 public static final String QUERIES_NOTHING_PERM = PKG_BASE + "queries.nothing.haspermission"; field in Constants
175 QUERIES_NOTHING_PERM,