Home
last modified time | relevance | path

Searched refs:allowTestApiAccess (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DSyncAdapterEnumerationTests.java41 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()
DUtils.java287 static void allowTestApiAccess(String pgkName) { in allowTestApiAccess() method in Utils
DAppEnumerationTests.java132 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()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceOwnerTest.java533 allowTestApiAccess(DEVICE_OWNER_PKG); in testAdminActionBookkeeping()
590 allowTestApiAccess(DEVICE_OWNER_PKG); in testDisallowFactoryReset()
DBaseDevicePolicyTest.java1241 allowTestApiAccess(deviceAdminPkg); in grantDpmWrapperPermissions()
1250 protected void allowTestApiAccess(String pgkName) throws Exception { in allowTestApiAccess() method in BaseDevicePolicyTest
DDeviceAndProfileOwnerTest.java606 allowTestApiAccess(DEVICE_ADMIN_PKG); in testPackageInstallUserRestrictions()