Searched refs:allowAppOpsToUid (Results 1 – 4 of 4) sorted by relevance
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | BypassDatabaseOperationsTest.java | 20 import static android.scopedstorage.cts.lib.TestUtils.allowAppOpsToUid; 121 allowAppOpsToUid(fmUid, OPSTR_MANAGE_EXTERNAL_STORAGE); in setupApps() 162 allowAppOpsToUid(fmUid, OPSTR_MANAGE_EXTERNAL_STORAGE); in testManageExternalStorage_WithBypassFlag_BypassesDatabase() 180 allowAppOpsToUid(fmUid, OPSTR_MANAGE_EXTERNAL_STORAGE); in testManageExternalStorage_targets30_BypassesDatabase() 197 allowAppOpsToUid(sgUid, SYSTEM_GALLERY_APPOPS); in testSystemGallery_DoesntBypassDatabase() 218 allowAppOpsToUid(sgUid, SYSTEM_GALLERY_APPOPS); in testSystemGallery_WithBypassFlag_BypassesDatabase() 236 allowAppOpsToUid(sgUid, SYSTEM_GALLERY_APPOPS); in testSystemGallery_targets30_DoesntBypassDatabase() 256 allowAppOpsToUid(sgUid, SYSTEM_GALLERY_APPOPS); in testSystemGallery_targets30_WithBypassFlag_BypassesDatabase()
|
D | ScopedStorageDeviceTest.java | 29 import static android.scopedstorage.cts.lib.TestUtils.allowAppOpsToUid; 241 allowAppOpsToUid(fmUid, OPSTR_MANAGE_EXTERNAL_STORAGE); in setupApps() 1372 allowAppOpsToUid(uid, opstr); in assertAppOpInvalidation() 1396 allowAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testDisableOpResetForSystemGallery() 1430 allowAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testSystemGalleryAppHasFullAccessToImages() 1468 allowAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testSystemGalleryAppHasNoFullAccessToAudio() 1506 allowAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testSystemGalleryCanRenameImagesAndVideos() 2006 allowAppOpsToUid(resAppUid, SYSTEM_GALERY_APPOPS); in testListHiddenFile() 2181 allowAppOpsToUid(resAppUid, SYSTEM_GALERY_APPOPS); in testDeletePendingAndTrashed_systemGalleryCanDeleteMedia() 2234 allowAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testSystemGalleryQueryOtherAppsFiles() [all …]
|
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/ |
D | LegacyStorageTest.java | 23 import static android.scopedstorage.cts.lib.TestUtils.allowAppOpsToUid; 834 allowAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testLegacySystemGalleryCanRenameImagesAndVideosWithoutDbUpdates() 863 allowAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testLegacySystemGalleryWithoutWESCannotRename()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 763 public static void allowAppOpsToUid(int uid, @NonNull String... ops) { in allowAppOpsToUid() method in TestUtils
|