Home
last modified time | relevance | path

Searched defs:permission (Results 1 – 3 of 3) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailPermissions.java84 private boolean packageHasPermission(String packageName, String permission) { in packageHasPermission()
90 private boolean callerHasPermission(String permission) { in callerHasPermission()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java296 public int checkPermission(String permission, int pid, int uid) { in checkPermission()
301 public int checkCallingPermission(String permission) { in checkCallingPermission()
324 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission()
329 public void enforcePermission(String permission, int pid, int uid, String message) { in enforcePermission()
334 public void enforceCallingPermission(String permission, String message) { in enforceCallingPermission()
341 public void enforceCallingOrSelfPermission(String permission, String message) { in enforceCallingOrSelfPermission()
/packages/apps/Settings/src/com/android/settings/
DDevelopmentSettings.java1008 private static boolean isPermissionEnforced(Context context, String permission) { in isPermissionEnforced()
1017 Context context, String permission, boolean enforced) { in setPermissionEnforced()