Home
last modified time | relevance | path

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

/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DSyncAdapterEnumerationTests.java36 import static android.appenumeration.cts.Constants.QUERIES_PACKAGE;
101 assertVisible(QUERIES_PACKAGE, TARGET_SYNCADAPTER, this::getSyncAdapterTypes); in queriesPackage_getSyncAdapterTypes_canSeeSyncAdapterTarget()
122 allowTestApiAccess(QUERIES_PACKAGE); in queriesPackage_getSyncAdapterPackages_canSeeSyncAdapterTarget()
124 assertVisible(QUERIES_PACKAGE, TARGET_SYNCADAPTER, in queriesPackage_getSyncAdapterPackages_canSeeSyncAdapterTarget()
127 resetTestApiAccess(QUERIES_PACKAGE); in queriesPackage_getSyncAdapterPackages_canSeeSyncAdapterTarget()
162 requestSyncAndAwaitStatus(QUERIES_PACKAGE, ACCOUNT_SYNCADAPTER, TARGET_SYNCADAPTER), in queriesPackage_requestSync_canSeeSyncAdapterTarget()
186 assertThat(getSyncAdapterControlPanel(QUERIES_PACKAGE, ACCOUNT_SYNCADAPTER, in queriesPackage_getRunningServiceControlPanel_canSeeSyncAdapterTarget()
205 assertThat(getIsSyncable(QUERIES_PACKAGE, ACCOUNT_SYNCADAPTER, TARGET_SYNCADAPTER), in queriesPackage_getIsSyncable_canSeeSyncAdapterTarget()
218 assertThat(getSyncAutomatically(QUERIES_PACKAGE, TARGET_SYNCADAPTER), is(true)); in queriesPackage_getSyncAutomatically_canSeeSyncAdapterTarget()
231 assertThat(getPeriodicSyncs(QUERIES_PACKAGE, ACCOUNT_SYNCADAPTER, TARGET_SYNCADAPTER), in queriesPackage_getPeriodicSyncs_canSeeSyncAdapterTarget()
DInputMethodEnumerationTests.java26 import static android.appenumeration.cts.Constants.QUERIES_PACKAGE;
83 assertVisible(QUERIES_PACKAGE, MOCK_IME_PKG, this::getInputMethodList); in queriesPackage_getInputMethodList_canSeeMockIme()
93 assertVisible(QUERIES_PACKAGE, MOCK_IME_PKG, this::getEnabledInputMethodList); in queriesPackage_getEnabledInputMethodList_canSeeMockIme()
104 assertVisible(QUERIES_PACKAGE, MOCK_IME_PKG, this::getEnabledInputMethodSubtypeList); in queriesPackage_getEnabledInputMethodSubtypeList_canSeeMockIme()
DMediaSessionEnumerationTests.java22 import static android.appenumeration.cts.Constants.QUERIES_PACKAGE;
57 assertThat(isTrustedForMediaControl(QUERIES_PACKAGE, TARGET_NO_API), is(true)); in queriesPackage_isTrustedForMediaControl_canSeeTarget()
DTextServicesEnumerationTests.java23 import static android.appenumeration.cts.Constants.QUERIES_PACKAGE;
79 QUERIES_PACKAGE, MOCK_SPELL_CHECKER_PKG, this::getEnabledSpellCheckerInfos); in queriesPackage_getEnabledSpellCheckerInfos_canSeeMockSpellChecker()
DPackageInstallerEnumerationTests.java25 import static android.appenumeration.cts.Constants.QUERIES_PACKAGE;
82 final Integer[] sessionIds = getSessionInfos(ACTION_GET_SESSION_INFO, QUERIES_PACKAGE, in getSessionInfo_queriesPackage_canSeeSession()
125 final Integer[] sessionIds = getSessionInfos(ACTION_GET_STAGED_SESSIONS, QUERIES_PACKAGE, in getStagedSessions_queriesPackage_canSeeSession()
170 final Integer[] sessionIds = getSessionInfos(ACTION_GET_ALL_SESSIONS, QUERIES_PACKAGE, in getAllSessions_queriesPackage_canSeeSession()
DAppEnumerationTests.java87 import static android.appenumeration.cts.Constants.QUERIES_PACKAGE;
261 assertVisible(QUERIES_PACKAGE, TARGET_FORCEQUERYABLE); in all_canSeeForceQueryable()
270 assertNotVisible(QUERIES_PACKAGE, TARGET_FORCEQUERYABLE_NORMAL); in all_cannotSeeForceQueryableInstalledNormally()
541 assertVisible(QUERIES_PACKAGE, TARGET_NO_API); in queriesPackage_canSeeTarget()
744 assertVisible(QUERIES_PACKAGE, TARGET_SHARED_USER); in queriesPackage_canSeeAllSharedUserMembers()
746 assertVisible(QUERIES_PACKAGE, QUERIES_NOTHING_SHARED_USER); in queriesPackage_canSeeAllSharedUserMembers()
972 assertBroadcastRestartedVisible(QUERIES_PACKAGE, TARGET_NO_API, TARGET_NO_API); in broadcastRestarted_visibleReceives()
983 assertBroadcastSuspendedVisible(QUERIES_PACKAGE, in broadcastSuspended_visibleReceives()
1036 assertVisible(QUERIES_PACKAGE, TARGET_APPWIDGETPROVIDER, in queriesPackage_canSeeAppWidgetProviderTarget()
1070 assertVisible(QUERIES_PACKAGE, TARGET_NO_API, this::getSharedLibraryDependentPackages); in queriesPackage_canSeeSharedLibraryDependentPackages()
[all …]
DAccountManagerEnumerationTest.java23 import static android.appenumeration.cts.Constants.QUERIES_PACKAGE;
131 assertVisible(QUERIES_PACKAGE, TARGET_SYNCADAPTER, this::getAuthenticatorTypes); in queriesPackage_getAuthenticatorTypes_canSeeSyncAdapterTarget()
DLauncherAppsEnumerationTests.java38 import static android.appenumeration.cts.Constants.QUERIES_PACKAGE;
283 QUERIES_PACKAGE, sessionId); in sessionCallback_queriesPackage_canSeeSession()
402 QUERIES_PACKAGE, PackageInstaller.SessionInfo.INVALID_ID); in getAllPkgInstallerSessions_queriesPackage_canSeeSessions()
495 QUERIES_PACKAGE, TARGET_NO_API); in shouldHideFromSuggestions_queriesPackage_canSeeNoApi()
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/
DConstants.java33 public static final String QUERIES_PACKAGE = PKG_BASE + "queries.pkg"; field in Constants
182 QUERIES_PACKAGE,