Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DVoicemailPermissions.java98 private boolean packageHasPermission(String packageName, String permission) { in packageHasPermission()
104 private boolean callerHasPermission(String permission) { in callerHasPermission()
/packages/providers/TvProvider/tests/src/com/android/providers/tv/
DMockTvProviderContext.java66 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DCachedBluetoothDevice.java664 int permission = mDevice.getPhonebookAccessPermission(); in getPhonebookPermissionChoice() local
674 int permission = BluetoothDevice.ACCESS_UNKNOWN; in setPhonebookPermissionChoice() local
707 int permission = mDevice.getMessageAccessPermission(); in getMessagePermissionChoice() local
717 int permission = BluetoothDevice.ACCESS_UNKNOWN; in setMessagePermissionChoice() local
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java446 public int checkPermission(String permission, int pid, int uid) { in checkPermission()
451 public int checkCallingPermission(String permission) { in checkCallingPermission()
474 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission()
479 public void enforcePermission(String permission, int pid, int uid, String message) { in enforcePermission()
484 public void enforceCallingPermission(String permission, String message) { in enforceCallingPermission()
491 public void enforceCallingOrSelfPermission(String permission, String message) { in enforceCallingOrSelfPermission()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DAtPhonebook.java349 int permission = checkAccessPermission(remoteDevice); in handleCpbrCommand() local
601 int permission = remoteDevice.getPhonebookAccessPermission(); in checkAccessPermission() local
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapService.java609 int permission = mRemoteDevice.getPhonebookAccessPermission(); in run() local
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomService.java911 private void enforcePermission(String permission) { in enforcePermission()
/packages/apps/Settings/src/com/android/settings/applications/
DInstalledAppDetails.java944 private void setPremiumSmsPermission(String packageName, int permission) { in setPremiumSmsPermission()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java1363 int permission = mApp.checkCallingOrSelfPermission( in enforceModifyPermissionOrCarrierPrivilege() local
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncher.java4542 String permission = in sendLoadingCompleteBroadcastIfNecessary() local