Home
last modified time | relevance | path

Searched refs:QUERIES_NOTHING (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DAppEnumerationTests.java68 import static android.appenumeration.cts.Constants.QUERIES_NOTHING;
252 greaterThan(getInstalledPackages(QUERIES_NOTHING, MATCH_SYSTEM_ONLY).length)); in systemPackagesQueryable_notEnabled()
257 assertVisible(QUERIES_NOTHING, TARGET_FORCEQUERYABLE); in all_canSeeForceQueryable()
266 assertNotVisible(QUERIES_NOTHING, TARGET_FORCEQUERYABLE_NORMAL); in all_cannotSeeForceQueryableInstalledNormally()
275 assertNotVisible(QUERIES_NOTHING, TARGET_FILTERS); in startExplicitly_canStartNonVisible()
276 startExplicitIntentViaComponent(QUERIES_NOTHING, TARGET_FILTERS); in startExplicitly_canStartNonVisible()
277 startExplicitIntentViaPackageName(QUERIES_NOTHING, TARGET_FILTERS); in startExplicitly_canStartNonVisible()
282 assertNotVisible(QUERIES_NOTHING, TARGET_FILTERS); in startExplicitly_cannotStartNonVisibleNonExported()
286 QUERIES_NOTHING, TARGET_FILTERS)); in startExplicitly_cannotStartNonVisibleNonExported()
320 QUERIES_NOTHING, TARGET_STUB)); in startExplicitly_activityPermissionProtected_cannotSeeTarget()
[all …]
DSyncAdapterEnumerationTests.java34 import static android.appenumeration.cts.Constants.QUERIES_NOTHING;
106 assertNotVisible(QUERIES_NOTHING, TARGET_SYNCADAPTER, this::getSyncAdapterTypes); in queriesNothing_getSyncAdapterTypes_cannotSeeSyncAdapterTarget()
107 assertNotVisible(QUERIES_NOTHING, TARGET_SYNCADAPTER_SHARED_USER, in queriesNothing_getSyncAdapterTypes_cannotSeeSyncAdapterTarget()
135 allowTestApiAccess(QUERIES_NOTHING); in queriesNothing_getSyncAdapterPackages_cannotSeeSyncAdapterTarget()
137 assertNotVisible(QUERIES_NOTHING, TARGET_SYNCADAPTER, in queriesNothing_getSyncAdapterPackages_cannotSeeSyncAdapterTarget()
139 assertNotVisible(QUERIES_NOTHING, TARGET_SYNCADAPTER_SHARED_USER, in queriesNothing_getSyncAdapterPackages_cannotSeeSyncAdapterTarget()
142 resetTestApiAccess(QUERIES_NOTHING); in queriesNothing_getSyncAdapterPackages_cannotSeeSyncAdapterTarget()
176 () -> requestSyncAndAwaitStatus(QUERIES_NOTHING, ACCOUNT_SYNCADAPTER, in queriesNothing_requestSync_cannotSeeSyncAdapterTarget()
179 () -> requestSyncAndAwaitStatus(QUERIES_NOTHING, ACCOUNT_SYNCADAPTER_SHARED_USER, in queriesNothing_requestSync_cannotSeeSyncAdapterTarget()
193 assertThat(getSyncAdapterControlPanel(QUERIES_NOTHING, ACCOUNT_SYNCADAPTER, in queriesNothing_getRunningServiceControlPanel_cannotSeeSyncAdapterTarget()
[all …]
DLauncherAppsEnumerationTests.java35 import static android.appenumeration.cts.Constants.QUERIES_NOTHING;
99 final Result result = sendCommandAndWaitForLauncherAppsCallback(QUERIES_NOTHING, in callback_added_notVisibleNotReceives()
127 final Result result = sendCommandAndWaitForLauncherAppsCallback(QUERIES_NOTHING, in callback_removed_notVisibleNotReceives()
154 final Result result = sendCommandAndWaitForLauncherAppsCallback(QUERIES_NOTHING, in callback_changed_notVisibleNotReceives()
180 final Result result = sendCommandAndWaitForLauncherAppsCallback(QUERIES_NOTHING, in callback_suspended_notVisibleNotReceives()
214 final Result result = sendCommandAndWaitForLauncherAppsCallback(QUERIES_NOTHING, in callback_unsuspended_notVisibleNotReceives()
247 QUERIES_NOTHING, sessionId); in sessionCallback_queriesNothing_cannotSeeSession()
371 QUERIES_NOTHING, PackageInstaller.SessionInfo.INVALID_ID); in getAllPkgInstallerSessions_queriesNothing_cannotSeeSessions()
458 isActivityEnabled(QUERIES_NOTHING, targetFilters), in isActivityEnabled_queriesNothing_cannotSeeActivity()
481 Assert.assertNull(getSuspendedPackageLauncherExtras(QUERIES_NOTHING, in getSuspendedPackageLauncherExtras_queriesNothing_cannotGetExtras()
[all …]
DInputMethodEnumerationTests.java25 import static android.appenumeration.cts.Constants.QUERIES_NOTHING;
78 assertNotVisible(QUERIES_NOTHING, MOCK_IME_PKG, this::getInputMethodList); in queriesNothing_getInputMethodList_cannotSeeMockIme()
88 assertNotVisible(QUERIES_NOTHING, MOCK_IME_PKG, this::getEnabledInputMethodList); in queriesNothing_getEnabledInputMethodList_cannotSeeMockIme()
99 assertNotVisible(QUERIES_NOTHING, MOCK_IME_PKG, this::getEnabledInputMethodSubtypeList); in queriesNothing_getEnabledInputMethodSubtypeList_cannotSeeMockIme()
DMediaSessionEnumerationTests.java21 import static android.appenumeration.cts.Constants.QUERIES_NOTHING;
63 assertThat(isTrustedForMediaControl(QUERIES_NOTHING, TARGET_NO_API), is(false)); in queriesNothing_isTrustedForMediaControl_cannotSeeTarget()
DTextServicesEnumerationTests.java22 import static android.appenumeration.cts.Constants.QUERIES_NOTHING;
71 QUERIES_NOTHING, MOCK_SPELL_CHECKER_PKG, this::getEnabledSpellCheckerInfos); in queriesNothing_getEnabledSpellCheckerInfos_cannotSeeMockSpellChecker()
DPackageInstallerEnumerationTests.java22 import static android.appenumeration.cts.Constants.QUERIES_NOTHING;
66 final Integer[] sessionIds = getSessionInfos(ACTION_GET_SESSION_INFO, QUERIES_NOTHING, in getSessionInfo_queriesNothing_cannotSeeSession()
107 final Integer[] sessionIds = getSessionInfos(ACTION_GET_STAGED_SESSIONS, QUERIES_NOTHING, in getStagedSessions_queriesNothing_cannotSeeSession()
154 final Integer[] sessionIds = getSessionInfos(ACTION_GET_ALL_SESSIONS, QUERIES_NOTHING, in getAllSessions_queriesNothing_cannotSeeSession()
DAccountManagerEnumerationTest.java22 import static android.appenumeration.cts.Constants.QUERIES_NOTHING;
137 assertNotVisible(QUERIES_NOTHING, TARGET_SYNCADAPTER, this::getAuthenticatorTypes); in queriesNothing_getAuthenticatorTypes_cannotSeeSyncAdapterTarget()
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/
DConstants.java63 public static final String QUERIES_NOTHING = PKG_BASE + "queries.nothing"; field in Constants
174 QUERIES_NOTHING,