Home
last modified time | relevance | path

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

/cts/tests/tests/appop/src/android/app/appops/cts/
DAppOpsTest.kt483 mAppOps.checkPackage(Process.myUid(), mOpPackageName) in testCheckPackagePassesCheck()
484 mAppOps.checkPackage(Process.SYSTEM_UID, "android") in testCheckPackagePassesCheck()
491 mAppOps.checkPackage(Process.SYSTEM_UID, mOpPackageName) in testCheckPackageDoesntPassCheck()
498 mAppOps.checkPackage(Process.myUid(), "android") in testCheckPackageDoesntPassCheck()
505 mAppOps.checkPackage(Process.myUid(), "") in testCheckPackageDoesntPassCheck()
/cts/tests/tests/appenumeration/src/android/appenumeration/cts/
DAppEnumerationTests.java1298 () -> checkPackage(QUERIES_NOTHING, TARGET_FILTERS, ROOT_UID)); in checkPackage_queriesNothing_validateFailed()
1305 () -> checkPackage(QUERIES_NOTHING, TEST_NONEXISTENT_PACKAGE_NAME_1, ROOT_UID)); in checkPackage_queriesNothing_targetIsNotExisting_validateFailed()
1311 assertThat(checkPackage(QUERIES_NOTHING_PERM, TARGET_FILTERS, ROOT_UID), is(true)); in checkPackage_queriesNothingHasPerm_validateSuccessful()
1319 () -> checkPackage(QUERIES_NOTHING_PERM, TEST_NONEXISTENT_PACKAGE_NAME_1, in checkPackage_queriesNothingHasPerm_targetIsNotExisting_validateFailed()
1543 private boolean checkPackage(String sourcePackageName, String targetPackageName, int targetUid) in checkPackage() method in AppEnumerationTests
/cts/tests/MediaProviderTranscode/src/android/mediaprovidertranscode/cts/
DTranscodeTestUtils.java303 appOps.checkPackage(uid, packageName); in checkPermissionAndAppOp()
/cts/tests/tests/appenumeration/lib/src/android/appenumeration/cts/
DTestActivity.java1160 getSystemService(AppOpsManager.class).checkPackage(uid, packageName); in sendCheckPackageResult()
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DTestUtils.java1836 appOps.checkPackage(uid, packageName); in checkPermissionAndAppOp()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt5083 method @Deprecated public void checkPackage(int, @NonNull String);