Home
last modified time | relevance | path

Searched refs:ACCESS_MEDIA_LOCATION (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/permission/service/
DRuntimePermissionsUpgradeControllerTest.kt21 import android.Manifest.permission.ACCESS_MEDIA_LOCATION in <lambda>()
428 Permission(ACCESS_MEDIA_LOCATION) in <lambda>()
444 Permission(ACCESS_MEDIA_LOCATION) in <lambda>()
450 verifyNotGranted(TEST_PKG_NAME, ACCESS_MEDIA_LOCATION) in <lambda>()
460 Permission(ACCESS_MEDIA_LOCATION) in <lambda>()
466 verifyNotGranted(TEST_PKG_NAME, ACCESS_MEDIA_LOCATION) in <lambda>()
476 Permission(ACCESS_MEDIA_LOCATION) in <lambda>()
482 verifyNotGranted(TEST_PKG_NAME, ACCESS_MEDIA_LOCATION) in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DRuntimePermissionsUpgradeController.kt215 if (perm == permission.ACCESS_MEDIA_LOCATION) { in <lambda>()
443 val perm = appPermGroup.permissions[permission.ACCESS_MEDIA_LOCATION] in <lambda>()
449 listOf(permission.ACCESS_MEDIA_LOCATION))) in <lambda>()
/packages/providers/MediaProvider/src/com/android/providers/media/
DLocalCallingIdentity.java19 import static android.Manifest.permission.ACCESS_MEDIA_LOCATION;
495 if (context.checkPermission(ACCESS_MEDIA_LOCATION, pid, uid) == PERMISSION_DENIED in isRedactionNeededInternal()
497 permissionToOp(ACCESS_MEDIA_LOCATION), getPackageName(), uid, attributionTag, null) in isRedactionNeededInternal()
DMediaProvider.java19 import static android.Manifest.permission.ACCESS_MEDIA_LOCATION;
973 mAppOpsManager.startWatchingMode(permissionToOp(ACCESS_MEDIA_LOCATION), in onCreate()
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DPermissionUtils.java19 import static android.Manifest.permission.ACCESS_MEDIA_LOCATION;
125 return checkPermissionForDataDelivery(context, ACCESS_MEDIA_LOCATION, pid, uid, packageName, in checkPermissionAccessMediaLocation()
440 case ACCESS_MEDIA_LOCATION: in isRuntimePermission()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DPermissionActivityTest.java19 import static android.Manifest.permission.ACCESS_MEDIA_LOCATION;
79 AppOpsManager.permissionToOp(ACCESS_MEDIA_LOCATION);
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DUtils.java245 PLATFORM_PERMISSIONS.put(Manifest.permission.ACCESS_MEDIA_LOCATION, STORAGE); in PLATFORM_PERMISSIONS.put() argument