Searched refs:allowAppOpsToUid (Results 1 – 5 of 5) sorted by relevance
/cts/hostsidetests/scopedstorage/bypassdatabase/src/android/scopedstorage/cts/bypassdatabase/ |
D | BypassDatabaseOperationsTest.java | 20 import static android.scopedstorage.cts.lib.TestUtils.allowAppOpsToUid; 119 allowAppOpsToUid(fmUid, OPSTR_MANAGE_EXTERNAL_STORAGE); in setupApps() 157 allowAppOpsToUid(fmUid, OPSTR_MANAGE_EXTERNAL_STORAGE); in testManageExternalStorage_WithBypassFlag_BypassesDatabase() 169 allowAppOpsToUid(fmUid, OPSTR_MANAGE_EXTERNAL_STORAGE); in testManageExternalStorage_targets30_BypassesDatabase() 183 allowAppOpsToUid(sgUid, SYSTEM_GALLERY_APPOPS); in testSystemGallery_DoesntBypassDatabase() 201 allowAppOpsToUid(sgUid, SYSTEM_GALLERY_APPOPS); in testSystemGallery_WithBypassFlag_BypassesDatabase() 213 allowAppOpsToUid(sgUid, SYSTEM_GALLERY_APPOPS); in testSystemGallery_targets30_DoesntBypassDatabase() 227 allowAppOpsToUid(sgUid, SYSTEM_GALLERY_APPOPS); in testSystemGallery_targets30_WithBypassFlag_BypassesDatabase()
|
/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/ |
D | StableUrisTest.java | 22 import static android.scopedstorage.cts.lib.TestUtils.allowAppOpsToUid; 167 allowAppOpsToUid(fmUid, OPSTR_MANAGE_EXTERNAL_STORAGE); in testScenario()
|
/cts/hostsidetests/scopedstorage/general/src/android/scopedstorage/cts/general/ |
D | ScopedStorageDeviceTest.java | 29 import static android.scopedstorage.cts.lib.TestUtils.allowAppOpsToUid; 262 allowAppOpsToUid(fmUid, OPSTR_MANAGE_EXTERNAL_STORAGE); in setupApps() 1460 allowAppOpsToUid(uid, opstr); in assertAppOpInvalidation() 1483 allowAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testDisableOpResetForSystemGallery() 1517 allowAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testSystemGalleryAppHasFullAccessToImages() 1559 allowAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testSystemGalleryAppHasNoFullAccessToAudio() 1597 allowAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testSystemGalleryCanRenameImagesAndVideos() 2136 allowAppOpsToUid(resAppUid, SYSTEM_GALERY_APPOPS); in testListHiddenFile() 2311 allowAppOpsToUid(resAppUid, SYSTEM_GALERY_APPOPS); in testDeletePendingAndTrashed_systemGalleryCanDeleteMedia() 2335 allowAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testSystemGalleryCanTrashOtherAndroidMediaFiles() [all …]
|
/cts/hostsidetests/scopedstorage/legacy/src/android/scopedstorage/cts/legacy/ |
D | LegacyStorageTest.java | 23 import static android.scopedstorage.cts.lib.TestUtils.allowAppOpsToUid; 866 allowAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testLegacySystemGalleryCanRenameImagesAndVideosWithoutDbUpdates() 906 allowAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testLegacySystemGalleryCanUpdateToExistingDirectory() 930 allowAppOpsToUid(Process.myUid(), SYSTEM_GALERY_APPOPS); in testLegacySystemGalleryWithoutWESCannotRename()
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | TestUtils.java | 947 public static void allowAppOpsToUid(int uid, @NonNull String... ops) { in allowAppOpsToUid() method in TestUtils
|