/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/ |
D | ScopedStorageCoreHostTest.java | 99 grantPermissions("android.permission.READ_EXTERNAL_STORAGE"); in testAccess_file() 100 grantPermissions("android.permission.READ_MEDIA_IMAGES"); in testAccess_file() 111 grantPermissions("android.permission.READ_MEDIA_IMAGES"); in testAccess_MediaFile() 112 grantPermissions("android.permission.READ_MEDIA_AUDIO"); in testAccess_MediaFile() 113 grantPermissions("android.permission.READ_MEDIA_VIDEO"); in testAccess_MediaFile() 125 grantPermissions("android.permission.READ_MEDIA_AUDIO"); in testAccess_OnlyAudioFile() 135 grantPermissions("android.permission.READ_MEDIA_VIDEO"); in testAccess_OnlyVideoFile() 145 grantPermissions("android.permission.READ_MEDIA_IMAGES"); in testAccess_OnlyImageFile() 160 grantPermissions("android.permission.READ_EXTERNAL_STORAGE"); in testAccess_MediaFileWithRES() 170 grantPermissions("android.permission.READ_EXTERNAL_STORAGE", in testAccess_directory() [all …]
|
D | ScopedStorageHostTest.java | 170 grantPermissions("android.permission.WRITE_EXTERNAL_STORAGE"); in testCheckInstallerAppAccessToObbDirs() 188 grantPermissions("android.permission.WRITE_EXTERNAL_STORAGE"); in testCheckInstallerAppCannotAccessDataDirs() 253 grantPermissions("android.permission.READ_EXTERNAL_STORAGE"); in testOpenOtherPendingFilesFromFuse() 263 grantPermissions("android.permission.READ_EXTERNAL_STORAGE"); in testAndroidMedia() 273 grantPermissions("android.permission.READ_EXTERNAL_STORAGE", in testNoIsolatedStorageInstrumentationFlag() 306 grantPermissions("android.permission.READ_EXTERNAL_STORAGE"); in testClearPackageData() 371 private void grantPermissions(String... perms) throws Exception { in grantPermissions() method in ScopedStorageHostTest
|
D | LegacyStorageHostTest.java | 57 private void grantPermissions(String... perms) throws Exception { in grantPermissions() method in LegacyStorageHostTest 100 grantPermissions("android.permission.WRITE_EXTERNAL_STORAGE", in setup()
|
/cts/hostsidetests/media/src/android/media/session/cts/ |
D | MediaSessionHostTest.java | 65 private void installTestPackage(String appFileName, boolean grantPermissions) in installTestPackage() argument 73 buildHelper.getTestFile(appFileName), true, grantPermissions, "-t"); in installTestPackage()
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | BaseAppSecurityTest.java | 96 public InstallMultiple(boolean instant, boolean grantPermissions) { in InstallMultiple() argument 97 super(getDevice(), getBuild(), getAbi(), grantPermissions); in InstallMultiple() local
|
D | BaseInstallMultiple.java | 95 boolean grantPermissions) { in BaseInstallMultiple() argument 99 if (grantPermissions) { in BaseInstallMultiple()
|
D | ExternalStorageHostTest.java | 646 private void doGrantUriPermission(Config config, String method, String[] grantPermissions) in doGrantUriPermission() argument 659 updatePermissions(config.pkg, user, grantPermissions, true); in doGrantUriPermission()
|
/cts/tests/app/FgsTest/src/android/app/cts/fgstest/ |
D | ActivityManagerForegroundServiceTypeTest.java | 417 grantPermissions(ArrayUtils.concat(TestPermissionInfo.class, in testPermissionEnforcementCommon() 427 grantPermissions(allOfPermissions, testPackageName); in testPermissionEnforcementCommon() 437 grantPermissions(allOfPermissions, testPackageName); in testPermissionEnforcementCommon() 445 grantPermissions(ArrayUtils.concat(TestPermissionInfo.class, in testPermissionEnforcementCommon() 457 grantPermissions(ArrayUtils.concat(TestPermissionInfo.class, in testPermissionEnforcementCommon() 575 private void grantPermissions(TestPermissionInfo[] permissions, String packageName) in grantPermissions() method in ActivityManagerForegroundServiceTypeTest
|
/cts/hostsidetests/atrace/src/android/atrace/cts/ |
D | AtraceHostTestBase.java | 70 private void installPackage(String appFileName, boolean grantPermissions) in installPackage() argument 75 buildHelper.getTestFile(appFileName), true, grantPermissions); in installPackage()
|
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/ |
D | BaseDumpsysTest.java | 144 protected void installPackage(String appFileName, boolean grantPermissions) in installPackage() argument 149 buildHelper.getTestFile(appFileName), true, grantPermissions); in installPackage()
|
/cts/hostsidetests/appcompat/host/lib/src/android/compat/cts/ |
D | CompatChangeGatingTestCase.java | 88 protected void installPackage(String appFileName, boolean grantPermissions) in installPackage() argument 93 grantPermissions, "-t"); in installPackage()
|
/cts/hostsidetests/appbinding/hostside/src/com/android/cts/appbinding/ |
D | AppBindingHostTest.java | 80 private void installAppAsUser(String appFileName, boolean grantPermissions, int userId) in installAppAsUser() argument 85 buildHelper.getTestFile(appFileName), true, grantPermissions, userId, "-t"); in installAppAsUser()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 304 protected void installAppAsUser(String appFileName, boolean grantPermissions, int userId) in installAppAsUser() argument 306 installAppAsUser(appFileName, grantPermissions, /* dontKillApp */ false, userId); in installAppAsUser() 309 protected void installAppAsUser(String appFileName, boolean grantPermissions, in installAppAsUser() argument 323 buildHelper.getTestFile(appFileName), true, grantPermissions, userId, in installAppAsUser()
|