Searched refs:denyAppOpsToUid (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/scopedstorage/bypassdatabase/src/android/scopedstorage/cts/bypassdatabase/ |
D | BypassDatabaseOperationsTest.java | 24 import static android.scopedstorage.cts.lib.TestUtils.denyAppOpsToUid; 186 denyAppOpsToUid(sgUid, SYSTEM_GALLERY_APPOPS); in testSystemGallery_DoesntBypassDatabase()
|
/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/ |
D | ScopedStorageDeviceTest.java | 51 import static android.scopedstorage.cts.lib.TestUtils.denyAppOpsToUid; 1450 denyAppOpsToUid(uid, opstr); in assertAppOpInvalidation() 1469 denyAppOpsToUid(uid, opstr); in assertAppOpInvalidation() 1506 denyAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testDisableOpResetForSystemGallery() 1548 denyAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testSystemGalleryAppHasFullAccessToImages() 1585 denyAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testSystemGalleryAppHasNoFullAccessToAudio() 1630 denyAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testSystemGalleryCanRenameImagesAndVideos() 2140 denyAppOpsToUid(resAppUid, SYSTEM_GALERY_APPOPS); in testListHiddenFile() 2321 denyAppOpsToUid(resAppUid, SYSTEM_GALERY_APPOPS); in testDeletePendingAndTrashed_systemGalleryCanDeleteMedia() 2346 denyAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testSystemGalleryCanTrashOtherAndroidMediaFiles() [all …]
|
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/ |
D | LegacyStorageTest.java | 38 import static android.scopedstorage.cts.lib.TestUtils.denyAppOpsToUid; 883 denyAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testLegacySystemGalleryCanRenameImagesAndVideosWithoutDbUpdates() 918 denyAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testLegacySystemGalleryCanUpdateToExistingDirectory() 940 denyAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testLegacySystemGalleryWithoutWESCannotRename()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 956 public static void denyAppOpsToUid(int uid, @NonNull String... ops) { in denyAppOpsToUid() method in TestUtils
|