Home
last modified time | relevance | path

Searched refs:enforcePermission (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/usage/java/com/android/server/usage/
DStorageStatsService.java139 private void enforcePermission(int callingUid, String callingPackage) { in enforcePermission() method in StorageStatsService
157 enforcePermission(Binder.getCallingUid(), callingPackage); in isQuotaSupported()
214 enforcePermission(Binder.getCallingUid(), callingPackage); in getCacheBytes()
226 enforcePermission(Binder.getCallingUid(), callingPackage); in getCacheQuotaBytes()
255 enforcePermission(Binder.getCallingUid(), callingPackage); in queryStatsForPackage()
299 enforcePermission(Binder.getCallingUid(), callingPackage); in queryStatsForUid()
346 enforcePermission(Binder.getCallingUid(), callingPackage); in queryStatsForUser()
373 enforcePermission(Binder.getCallingUid(), callingPackage); in queryExternalStatsForUser()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java982 enforcePermission(android.Manifest.permission.MOUNT_UNMOUNT_FILESYSTEMS); in runMaintenance()
1455 private void enforcePermission(String perm) { in enforcePermission() method in StorageManagerService
1712 enforcePermission(android.Manifest.permission.SHUTDOWN); in shutdown()
1762 enforcePermission(android.Manifest.permission.MOUNT_UNMOUNT_FILESYSTEMS); in mount()
1778 enforcePermission(android.Manifest.permission.MOUNT_UNMOUNT_FILESYSTEMS); in unmount()
1807 enforcePermission(android.Manifest.permission.MOUNT_FORMAT_FILESYSTEMS); in format()
1820 enforcePermission(android.Manifest.permission.MOUNT_FORMAT_FILESYSTEMS); in benchmark()
1837 enforcePermission(android.Manifest.permission.MOUNT_FORMAT_FILESYSTEMS); in partitionPublic()
1853 enforcePermission(android.Manifest.permission.MOUNT_FORMAT_FILESYSTEMS); in partitionPrivate()
1870 enforcePermission(android.Manifest.permission.MOUNT_FORMAT_FILESYSTEMS); in partitionMixed()
[all …]
DAppOpsService.java447 mContext.enforcePermission(android.Manifest.permission.GET_APP_OPS_STATS, in getPackagesForOps()
479 mContext.enforcePermission(android.Manifest.permission.GET_APP_OPS_STATS, in getOpsForPackage()
504 mContext.enforcePermission(android.Manifest.permission.GET_APP_OPS_STATS, in getUidOps()
548 mContext.enforcePermission(android.Manifest.permission.UPDATE_APP_OPS_STATS, in setUidMode()
659 mContext.enforcePermission(android.Manifest.permission.UPDATE_APP_OPS_STATS, in setMode()
762 mContext.enforcePermission(android.Manifest.permission.UPDATE_APP_OPS_STATS, in resetAllModes()
1246 mContext.enforcePermission(android.Manifest.permission.UPDATE_APP_OPS_STATS, in verifyIncomingUid()
2092 shell.mInternal.mContext.enforcePermission( in onShellCommand()
2108 shell.mInternal.mContext.enforcePermission( in onShellCommand()
2361 mContext.enforcePermission(Manifest.permission.MANAGE_APP_OPS_RESTRICTIONS, in setUserRestriction()
DVibratorService.java310 mContext.enforcePermission(android.Manifest.permission.UPDATE_APP_OPS_STATS, in verifyIncomingUid()
DAlarmManagerService.java1347 getContext().enforcePermission(
/frameworks/base/services/core/java/com/android/server/connectivity/
DIpConnectivityMetrics.java274 enforcePermission(android.Manifest.permission.CONNECTIVITY_INTERNAL); in enforceConnectivityInternalPermission()
278 enforcePermission(android.Manifest.permission.DUMP); in enforceDumpPermission()
281 private void enforcePermission(String what) { in enforcePermission() method in IpConnectivityMetrics.Impl
/frameworks/base/core/java/android/content/
DContextWrapper.java749 public void enforcePermission( in enforcePermission() method in ContextWrapper
751 mBase.enforcePermission(permission, pid, uid, message); in enforcePermission()
DContext.java4148 public abstract void enforcePermission( in enforcePermission() method in Context
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java622 public void enforcePermission( in enforcePermission() method in MockContext
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DRttService.java667 mContext.enforcePermission(Manifest.permission.LOCATION_HARDWARE, in enforcePermissionCheck()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java1043 mContext.enforcePermission(android.Manifest.permission.UPDATE_DEVICE_STATS, in enforceCallingPermission()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1392 public void enforcePermission(String arg0, int arg1, int arg2, String arg3) { in enforcePermission() method in BridgeContext
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
DWifiScanningServiceImpl.java126 mContext.enforcePermission( in enforceLocationHardwarePermission()
/frameworks/base/test-runner/api/
Dandroid-test-mock-current.txt63 method public void enforcePermission(java.lang.String, int, int, java.lang.String);
/frameworks/base/core/java/android/app/
DContextImpl.java1762 public void enforcePermission( in enforcePermission() method in ContextImpl
/frameworks/base/services/
Dart-profile3871 HPLcom/android/server/usage/StorageStatsService;->enforcePermission(ILjava/lang/String;)V
7567 PLcom/android/server/StorageManagerService;->enforcePermission(Ljava/lang/String;)V
9516 PLcom/android/server/connectivity/IpConnectivityMetrics$Impl;->enforcePermission(Ljava/lang/String;…
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt7138 method public abstract void enforcePermission(java.lang.String, int, int, java.lang.String);
7312 method public void enforcePermission(java.lang.String, int, int, java.lang.String);
29203 method public void enforcePermission(java.lang.String, int, int, java.lang.String);
/frameworks/base/api/
Dcurrent.txt8836 method public abstract void enforcePermission(java.lang.String, int, int, java.lang.String);
9040 method public void enforcePermission(java.lang.String, int, int, java.lang.String);
40852 method public void enforcePermission(java.lang.String, int, int, java.lang.String);
Dtest-current.txt8869 method public abstract void enforcePermission(java.lang.String, int, int, java.lang.String);
9074 method public void enforcePermission(java.lang.String, int, int, java.lang.String);
41123 method public void enforcePermission(java.lang.String, int, int, java.lang.String);
Dsystem-current.txt9339 method public abstract void enforcePermission(java.lang.String, int, int, java.lang.String);
9558 method public void enforcePermission(java.lang.String, int, int, java.lang.String);
44411 method public void enforcePermission(java.lang.String, int, int, java.lang.String);
/frameworks/base/config/
Dboot-image-profile.txt527 HPLandroid/app/ContextImpl;->enforcePermission(Ljava/lang/String;IILjava/lang/String;)V