Searched refs:revokePermissions (Results 1 – 7 of 7) sorted by relevance
64 revokePermissions( in revokeStoragePermissions()104 revokePermissions("android.permission.READ_EXTERNAL_STORAGE"); in testAccess_file()105 revokePermissions("android.permission.READ_MEDIA_IMAGES"); in testAccess_file()117 revokePermissions("android.permission.READ_MEDIA_IMAGES"); in testAccess_MediaFile()118 revokePermissions("android.permission.READ_MEDIA_AUDIO"); in testAccess_MediaFile()119 revokePermissions("android.permission.READ_MEDIA_VIDEO"); in testAccess_MediaFile()129 revokePermissions("android.permission.READ_MEDIA_AUDIO"); in testAccess_OnlyAudioFile()139 revokePermissions("android.permission.READ_MEDIA_VIDEO"); in testAccess_OnlyVideoFile()149 revokePermissions("android.permission.READ_MEDIA_IMAGES"); in testAccess_OnlyImageFile()164 revokePermissions("android.permission.READ_EXTERNAL_STORAGE"); in testAccess_MediaFileWithRES()[all …]
65 private void revokePermissions(String... perms) throws Exception { in revokePermissions() method in LegacyStorageHostTest109 revokePermissions("android.permission.WRITE_EXTERNAL_STORAGE", in tearDown()115 revokePermissions("android.permission.READ_EXTERNAL_STORAGE"); in testCreateFilesInRandomPlaces_hasW()162 revokePermissions("android.permission.READ_EXTERNAL_STORAGE"); in testMkdirInRandomPlaces_hasW()169 revokePermissions("android.permission.WRITE_EXTERNAL_STORAGE"); in testReadOnlyExternalStorage_hasR()175 revokePermissions("android.permission.WRITE_EXTERNAL_STORAGE", in testCantAccessExternalStorage()182 revokePermissions("android.permission.WRITE_EXTERNAL_STORAGE"); in testListFiles_hasR()203 revokePermissions("android.permission.WRITE_EXTERNAL_STORAGE"); in testCantRename_hasR()209 revokePermissions("android.permission.WRITE_EXTERNAL_STORAGE", in testCantRename_noStoragePermission()280 revokePermissions("android.permission.WRITE_EXTERNAL_STORAGE"); in testLegacySystemGalleryWithoutWESCannotRename()
86 revokePermissions("android.permission.WRITE_EXTERNAL_STORAGE", in revokeStoragePermissions()178 revokePermissions("android.permission.WRITE_EXTERNAL_STORAGE"); in testCheckInstallerAppAccessToObbDirs()196 revokePermissions("android.permission.WRITE_EXTERNAL_STORAGE"); in testCheckInstallerAppCannotAccessDataDirs()257 revokePermissions("android.permission.READ_EXTERNAL_STORAGE"); in testOpenOtherPendingFilesFromFuse()267 revokePermissions("android.permission.READ_EXTERNAL_STORAGE"); in testAndroidMedia()282 revokePermissions("android.permission.READ_EXTERNAL_STORAGE", in testNoIsolatedStorageInstrumentationFlag()310 revokePermissions("android.permission.READ_EXTERNAL_STORAGE"); in testClearPackageData()375 private void revokePermissions(String... perms) throws Exception { in revokePermissions() method in ScopedStorageHostTest
45 List<String> courseLocationPackages = TestUtils.revokePermissions(ACCESS_COARSE_LOCATION); in testGnssStatusChanges()46 List<String> fineLocationPackages = TestUtils.revokePermissions(ACCESS_FINE_LOCATION); in testGnssStatusChanges()102 List<String> courseLocationPackages = TestUtils.revokePermissions(ACCESS_COARSE_LOCATION); in testGnssStatusValues()103 List<String> fineLocationPackages = TestUtils.revokePermissions(ACCESS_FINE_LOCATION); in testGnssStatusValues()
65 List<String> courseLocationPackages = TestUtils.revokePermissions(ACCESS_COARSE_LOCATION); in testGnssAntennaInfoValues()66 List<String> fineLocationPackages = TestUtils.revokePermissions(ACCESS_FINE_LOCATION); in testGnssAntennaInfoValues()
106 List<String> courseLocationPackages = TestUtils.revokePermissions(ACCESS_COARSE_LOCATION); in testLocationUpdatesAtVariousIntervals()107 List<String> fineLocationPackages = TestUtils.revokePermissions(ACCESS_FINE_LOCATION); in testLocationUpdatesAtVariousIntervals()
204 public static List<String> revokePermissions(String permission) { in revokePermissions() method in TestUtils