Home
last modified time | relevance | path

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

12

/frameworks/native/libs/binder/
DPermissionCache.cpp38 const String16& permission, uid_t uid) const { in check() argument
51 void PermissionCache::cache(const String16& permission, in cache()
77 bool PermissionCache::checkCallingPermission(const String16& permission) { in checkCallingPermission()
82 const String16& permission, int32_t* outPid, int32_t* outUid) { in checkCallingPermission()
92 const String16& permission, pid_t pid, uid_t uid) { in checkPermission()
DIPermissionController.cpp40 virtual bool checkPermission(const String16& permission, int32_t pid, int32_t uid) in checkPermission()
65 String16 permission = data.readString16(); in onTransact() local
DIServiceManager.cpp51 bool checkCallingPermission(const String16& permission) in checkCallingPermission()
59 bool checkCallingPermission(const String16& permission, int32_t* outPid, int32_t* outUid) in checkCallingPermission()
69 bool checkPermission(const String16& permission, pid_t pid, uid_t uid) in checkPermission()
/frameworks/base/core/java/android/test/
DAndroidTestCase.java92 String packageName, String className, String permission) { in assertActivityRequiresPermission()
115 public void assertReadingContentUriRequiresPermission(Uri uri, String permission) { in assertReadingContentUriRequiresPermission()
134 public void assertWritingContentUriRequiresPermission(Uri uri, String permission) { in assertWritingContentUriRequiresPermission()
/frameworks/base/core/java/android/os/
DIPermissionController.aidl22 boolean checkPermission(String permission, int pid, int uid); in checkPermission()
/frameworks/base/services/java/com/android/server/firewall/
DSenderPermissionFilter.java31 private SenderPermissionFilter(String permission) { in SenderPermissionFilter()
DIntentFirewall.java570 int checkComponentPermission(String permission, int pid, int uid, in checkComponentPermission()
585 boolean checkComponentPermission(String permission, int pid, int uid, int owningUid, in checkComponentPermission()
/frameworks/base/core/java/android/content/pm/
DServiceInfo.java34 public String permission; field in ServiceInfo
DActivityInfo.java71 public String permission; field in ActivityInfo
DApplicationInfo.java47 public String permission; field in ApplicationInfo
/frameworks/base/core/java/android/content/
DContextWrapper.java544 public int checkPermission(String permission, int pid, int uid) { in checkPermission()
549 public int checkCallingPermission(String permission) { in checkCallingPermission()
554 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission()
560 String permission, int pid, int uid, String message) { in enforcePermission()
565 public void enforceCallingPermission(String permission, String message) { in enforceCallingPermission()
571 String permission, String message) { in enforceCallingOrSelfPermission()
DContext.java2473 public abstract int checkPermission(String permission, int pid, int uid); in checkPermission()
2496 public abstract int checkCallingPermission(String permission); in checkCallingPermission()
2514 public abstract int checkCallingOrSelfPermission(String permission); in checkCallingOrSelfPermission()
2529 String permission, int pid, int uid, String message); in enforcePermission()
2550 String permission, String message); in enforceCallingPermission()
2566 String permission, String message); in enforceCallingOrSelfPermission()
DContentProvider.java582 protected final void setReadPermission(String permission) { in setReadPermission()
604 protected final void setWritePermission(String permission) { in setWritePermission()
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java462 public int checkPermission(String permission, int pid, int uid) { in checkPermission()
467 public int checkCallingPermission(String permission) { in checkCallingPermission()
472 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission()
478 String permission, int pid, int uid, String message) { in enforcePermission()
483 public void enforceCallingPermission(String permission, String message) { in enforceCallingPermission()
488 public void enforceCallingOrSelfPermission(String permission, String message) { in enforceCallingOrSelfPermission()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWapPushOverSms.java226 String permission; in dispatchWapPdu() local
/frameworks/base/telephony/java/com/android/internal/telephony/
DISms.aidl217 void setPremiumSmsPermission(String packageName, int permission); in setPremiumSmsPermission()
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattServer.java552 int permission = ((characteristic.getKeySize() - 7) << 12) in addService() local
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java236 public int checkCallingOrSelfPermission(final String permission) { in checkCallingOrSelfPermission()
/frameworks/base/services/java/com/android/server/dreams/
DDreamManagerService.java372 private void checkPermission(String permission) { in checkPermission()
/frameworks/base/core/java/com/android/internal/appwidget/
DIAppWidgetService.aidl55 void setBindAppWidgetPermission(in String packageName, in boolean permission, int userId); in setBindAppWidgetPermission()
/frameworks/base/core/java/android/app/
DContextImpl.java1653 public int checkPermission(String permission, int pid, int uid) { in checkPermission()
1667 public int checkCallingPermission(String permission) { in checkCallingPermission()
1680 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission()
1690 String permission, int resultOfCheck, in enforce()
1698 permission + in enforce() local
1704 String permission, int pid, int uid, String message) { in enforcePermission()
1712 public void enforceCallingPermission(String permission, String message) { in enforceCallingPermission()
1721 String permission, String message) { in enforceCallingOrSelfPermission()
/frameworks/base/core/java/android/appwidget/
DAppWidgetManager.java749 public void setBindAppWidgetPermission(String packageName, boolean permission) { in setBindAppWidgetPermission()
/frameworks/base/core/jni/
Dandroid_os_SELinux.cpp384 ScopedUtfChars permission(env, permissionStr); in checkSELinuxAccess() local
/frameworks/base/services/java/com/android/server/
DAppWidgetService.java169 public void setBindAppWidgetPermission(String packageName, boolean permission, int userId) in setBindAppWidgetPermission()
/frameworks/base/services/java/com/android/server/am/
DServiceRecord.java71 final String permission;// permission needed to access service field in ServiceRecord

12