Home
last modified time | relevance | path

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

123

/frameworks/base/media/java/android/drm/mobile1/
DDrmRights.java72 public DrmConstraintInfo getConstraint(int permission) { in getConstraint()
92 public boolean consumeRights(int permission) { in consumeRights()
112 private native int nativeGetConstraintInfo(int permission, DrmConstraintInfo constraint); in nativeGetConstraintInfo()
122 private native int nativeConsumeRights(int permission); in nativeConsumeRights()
/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.cpp49 bool checkCallingPermission(const String16& permission) in checkCallingPermission()
57 bool checkCallingPermission(const String16& permission, int32_t* outPid, int32_t* outUid) in checkCallingPermission()
67 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.java482 int checkComponentPermission(String permission, int pid, int uid, in checkComponentPermission()
497 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.java70 public String permission; field in ActivityInfo
DApplicationInfo.java47 public String permission; field in ApplicationInfo
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java456 public int checkPermission(String permission, int pid, int uid) { in checkPermission()
461 public int checkCallingPermission(String permission) { in checkCallingPermission()
466 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission()
472 String permission, int pid, int uid, String message) { in enforcePermission()
477 public void enforceCallingPermission(String permission, String message) { in enforceCallingPermission()
482 public void enforceCallingOrSelfPermission(String permission, String message) { in enforceCallingOrSelfPermission()
/frameworks/base/core/java/android/content/
DContextWrapper.java523 public int checkPermission(String permission, int pid, int uid) { in checkPermission()
528 public int checkCallingPermission(String permission) { in checkCallingPermission()
533 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission()
539 String permission, int pid, int uid, String message) { in enforcePermission()
544 public void enforceCallingPermission(String permission, String message) { in enforceCallingPermission()
550 String permission, String message) { in enforceCallingOrSelfPermission()
DContext.java2302 public abstract int checkPermission(String permission, int pid, int uid); in checkPermission()
2325 public abstract int checkCallingPermission(String permission); in checkCallingPermission()
2343 public abstract int checkCallingOrSelfPermission(String permission); in checkCallingOrSelfPermission()
2358 String permission, int pid, int uid, String message); in enforcePermission()
2379 String permission, String message); in enforceCallingPermission()
2395 String permission, String message); in enforceCallingOrSelfPermission()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWapPushOverSms.java257 String permission; in dispatchWapPdu() local
DIccSmsInterfaceManagerProxy.java106 public void setPremiumSmsPermission(String packageName, int permission) { in setPremiumSmsPermission()
DSMSDispatcher.java392 public void dispatch(Intent intent, String permission, int appOp) { in dispatch()
409 public void dispatch(Intent intent, String permission, int appOp, in dispatch()
1237 public void setPremiumSmsPermission(String packageName, int permission) { in setPremiumSmsPermission()
DIccSmsInterfaceManager.java416 public void setPremiumSmsPermission(String packageName, int permission) { in setPremiumSmsPermission()
/frameworks/base/telephony/java/com/android/internal/telephony/
DISms.aidl217 void setPremiumSmsPermission(String packageName, int permission); in setPremiumSmsPermission()
/frameworks/base/media/libdrm/mobile1/src/objmng/
Ddrm_api.c506 int32_t drm_checkRoAndUpdate(int32_t id, int32_t permission) in drm_checkRoAndUpdate()
1118 int32_t SVC_drm_checkRights(int32_t session, int32_t permission) in SVC_drm_checkRights()
1199 int32_t SVC_drm_consumeRights(int32_t session, int32_t permission) in SVC_drm_consumeRights()
1817 int32_t SVC_drm_updateRights(uint8_t* contentID, int32_t permission) in SVC_drm_updateRights()
/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/core/java/android/app/
DContextImpl.java1535 public int checkPermission(String permission, int pid, int uid) { in checkPermission()
1549 public int checkCallingPermission(String permission) { in checkCallingPermission()
1562 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission()
1572 String permission, int resultOfCheck, in enforce()
1580 permission + in enforce() local
1586 String permission, int pid, int uid, String message) { in enforcePermission()
1594 public void enforceCallingPermission(String permission, String message) { in enforceCallingPermission()
1603 String permission, String message) { in enforceCallingOrSelfPermission()
/frameworks/base/services/java/com/android/server/dreams/
DDreamManagerService.java366 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()

123