Searched refs:denyAppOpsToUid (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | BypassDatabaseOperationsTest.java | 24 import static android.scopedstorage.cts.lib.TestUtils.denyAppOpsToUid; 200 denyAppOpsToUid(sgUid, SYSTEM_GALLERY_APPOPS); in testSystemGallery_DoesntBypassDatabase()
|
D | ScopedStorageDeviceTest.java | 48 import static android.scopedstorage.cts.lib.TestUtils.denyAppOpsToUid; 1362 denyAppOpsToUid(uid, opstr); in assertAppOpInvalidation() 1382 denyAppOpsToUid(uid, opstr); in assertAppOpInvalidation() 1419 denyAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testDisableOpResetForSystemGallery() 1457 denyAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testSystemGalleryAppHasFullAccessToImages() 1494 denyAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testSystemGalleryAppHasNoFullAccessToAudio() 1539 denyAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testSystemGalleryCanRenameImagesAndVideos() 2010 denyAppOpsToUid(resAppUid, SYSTEM_GALERY_APPOPS); in testListHiddenFile() 2191 denyAppOpsToUid(resAppUid, SYSTEM_GALERY_APPOPS); in testDeletePendingAndTrashed_systemGalleryCanDeleteMedia() 2243 denyAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testSystemGalleryQueryOtherAppsFiles() [all …]
|
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/ |
D | LegacyStorageTest.java | 35 import static android.scopedstorage.cts.lib.TestUtils.denyAppOpsToUid; 851 denyAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testLegacySystemGalleryCanRenameImagesAndVideosWithoutDbUpdates() 873 denyAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testLegacySystemGalleryWithoutWESCannotRename()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 772 public static void denyAppOpsToUid(int uid, @NonNull String... ops) { in denyAppOpsToUid() method in TestUtils
|