Searched refs:allowTestApiAccess (Results 1 – 6 of 6) sorted by relevance
41 import static android.appenumeration.cts.Utils.allowTestApiAccess;122 allowTestApiAccess(QUERIES_PACKAGE); in queriesPackage_getSyncAdapterPackages_canSeeSyncAdapterTarget()135 allowTestApiAccess(QUERIES_NOTHING); in queriesNothing_getSyncAdapterPackages_cannotSeeSyncAdapterTarget()150 allowTestApiAccess(QUERIES_NOTHING_SHARED_USER); in queriesNothingSharedUser_getSyncAdapterPackages_canSeeSyncAdapterSharedUserTarget()
287 static void allowTestApiAccess(String pgkName) { in allowTestApiAccess() method in Utils
132 import static android.appenumeration.cts.Utils.allowTestApiAccess;648 allowTestApiAccess(QUERIES_NOTHING); in queriesNothing_getNamesForUids_consistentVisibility()664 allowTestApiAccess(QUERIES_NOTHING_PERM); in queriesNothingHasPermission_getNamesForUids_consistentVisibility()798 allowTestApiAccess(QUERIES_NOTHING); in queriesNothing_cannotSeeA11yService()810 allowTestApiAccess(QUERIES_NOTHING_PERM); in queriesNothingHasPermission_canSeeA11yService()
533 allowTestApiAccess(DEVICE_OWNER_PKG); in testAdminActionBookkeeping()590 allowTestApiAccess(DEVICE_OWNER_PKG); in testDisallowFactoryReset()
1241 allowTestApiAccess(deviceAdminPkg); in grantDpmWrapperPermissions()1250 protected void allowTestApiAccess(String pgkName) throws Exception { in allowTestApiAccess() method in BaseDevicePolicyTest
606 allowTestApiAccess(DEVICE_ADMIN_PKG); in testPackageInstallUserRestrictions()