Searched defs:enforcePermission (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/connectivity/
H A DIpConnectivityMetrics.java317 enforcePermission(android.Manifest.permission.CONNECTIVITY_INTERNAL);
321 enforcePermission(android.Manifest.permission.DUMP);
324 private void enforcePermission(String what) { method in class:IpConnectivityMetrics.Impl
/frameworks/base/services/usage/java/com/android/server/usage/
H A DStorageStatsService.java140 private void enforcePermission(int callingUid, String callingPackage) { method in class:StorageStatsService
158 enforcePermission(Binder.getCallingUid(), callingPackage);
169 enforcePermission(Binder.getCallingUid(), callingPackage);
226 enforcePermission(Binder.getCallingUid(), callingPackage);
238 enforcePermission(Binder.getCallingUid(), callingPackage);
267 enforcePermission(Binder.getCallingUid(), callingPackage);
311 enforcePermission(Binder.getCallingUid(), callingPackage);
358 enforcePermission(Binder.getCallingUid(), callingPackage);
385 enforcePermission(Binder.getCallingUid(), callingPackage);
/frameworks/base/tests/testables/src/android/testing/
H A DTestableContext.java374 public void enforcePermission(String permission, int pid, int uid, String message) { method in class:TestableContext
378 super.enforcePermission(permission, pid, uid, message);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DContextFixture.java466 public void enforcePermission(String permission, int pid, int uid, String message) { method in class:ContextFixture.FakeContext
/frameworks/base/core/java/android/content/
H A DContextWrapper.java763 public void enforcePermission( method in class:ContextWrapper
765 mBase.enforcePermission(permission, pid, uid, message);
H A DContext.java4228 @CheckResult(suggest="#enforcePermission(String,int,int,String)")
4308 public abstract void enforcePermission( method in class:Context
4315 * {@link #enforcePermission(String, int, int, String)} with the
4591 * both {@link #enforcePermission} and {@link #enforceUriPermission} in one
/frameworks/base/test-mock/src/android/test/mock/
H A DMockContext.java634 public void enforcePermission( method in class:MockContext
/frameworks/base/core/java/android/app/
H A DContextImpl.java1819 public void enforcePermission( method in class:ContextImpl
/frameworks/base/services/core/java/com/android/server/
H A DStorageManagerService.java954 enforcePermission(android.Manifest.permission.MOUNT_UNMOUNT_FILESYSTEMS);
1342 private void enforcePermission(String perm) { method in class:StorageManagerService
1642 enforcePermission(android.Manifest.permission.SHUTDOWN);
1650 enforcePermission(android.Manifest.permission.MOUNT_UNMOUNT_FILESYSTEMS);
1665 enforcePermission(android.Manifest.permission.MOUNT_UNMOUNT_FILESYSTEMS);
1677 enforcePermission(android.Manifest.permission.MOUNT_FORMAT_FILESYSTEMS);
1689 enforcePermission(android.Manifest.permission.MOUNT_FORMAT_FILESYSTEMS);
1728 enforcePermission(android.Manifest.permission.MOUNT_FORMAT_FILESYSTEMS);
1741 enforcePermission(android.Manifest.permission.MOUNT_FORMAT_FILESYSTEMS);
1755 enforcePermission(androi
[all...]
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java1399 public void enforcePermission(String arg0, int arg1, int arg2, String arg3) { method in class:BridgeContext
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java9178 void enforcePermission(String permission, int pid, int uid, String func) { method in class:ActivityManagerService
[all...]

Completed in 137 milliseconds