Home
last modified time | relevance | path

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

123

/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.cpp39 virtual bool checkPermission(const String16& permission, int32_t pid, int32_t uid) in checkPermission()
64 String16 permission = data.readString16(); in onTransact() local
DIServiceManager.cpp50 bool checkCallingPermission(const String16& permission) in checkCallingPermission()
58 bool checkCallingPermission(const String16& permission, int32_t* outPid, int32_t* outUid) in checkCallingPermission()
68 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/services/core/java/com/android/server/connectivity/
DPermissionMonitor.java132 Boolean permission = mApps.get(uid); in startMonitoring() local
152 private boolean hasPermission(PackageInfo app, String permission) { in hasPermission()
240 Boolean permission = mApps.get(appUid); in onAppAdded() local
/frameworks/base/core/java/android/os/
DIPermissionController.aidl22 boolean checkPermission(String permission, int pid, int uid); in checkPermission()
/frameworks/base/services/core/java/com/android/server/firewall/
DSenderPermissionFilter.java31 private SenderPermissionFilter(String permission) { in SenderPermissionFilter()
DIntentFirewall.java581 int checkComponentPermission(String permission, int pid, int uid, in checkComponentPermission()
596 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.java138 public String permission; field in ActivityInfo
DApplicationInfo.java51 public String permission; field in ApplicationInfo
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java482 public int checkPermission(String permission, int pid, int uid) { in checkPermission()
487 public int checkCallingPermission(String permission) { in checkCallingPermission()
492 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission()
498 String permission, int pid, int uid, String message) { in enforcePermission()
503 public void enforceCallingPermission(String permission, String message) { in enforceCallingPermission()
508 public void enforceCallingOrSelfPermission(String permission, String message) { in enforceCallingOrSelfPermission()
/frameworks/base/core/java/android/content/
DContextWrapper.java565 public int checkPermission(String permission, int pid, int uid) { in checkPermission()
570 public int checkCallingPermission(String permission) { in checkCallingPermission()
575 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission()
581 String permission, int pid, int uid, String message) { in enforcePermission()
586 public void enforceCallingPermission(String permission, String message) { in enforceCallingPermission()
592 String permission, String message) { in enforceCallingOrSelfPermission()
DContext.java2922 public abstract int checkPermission(@NonNull String permission, int pid, int uid); in checkPermission()
2946 public abstract int checkCallingPermission(@NonNull String permission); in checkCallingPermission()
2965 public abstract int checkCallingOrSelfPermission(@NonNull String permission); in checkCallingOrSelfPermission()
2979 public abstract void enforcePermission( in enforcePermission()
3000 public abstract void enforceCallingPermission( in enforceCallingPermission()
3016 public abstract void enforceCallingOrSelfPermission( in enforceCallingOrSelfPermission()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DUiccSmsController.java235 public void setPremiumSmsPermission(String packageName, int permission) { in setPremiumSmsPermission()
236 … setPremiumSmsPermissionForSubscriber(getPreferredSmsSubscription(), packageName, permission); in setPremiumSmsPermission() local
240 … public void setPremiumSmsPermissionForSubscriber(long subId, String packageName, int permission) { in setPremiumSmsPermissionForSubscriber()
DWapPushOverSms.java265 String permission; in dispatchWapPdu() local
/frameworks/base/core/java/android/appwidget/
DAppWidgetManager.java957 public void setBindAppWidgetPermission(String packageName, boolean permission) { in setBindAppWidgetPermission()
975 public void setBindAppWidgetPermission(String packageName, int userId, boolean permission) { in setBindAppWidgetPermission()
/frameworks/base/telephony/java/com/android/internal/telephony/
DISms.aidl432 void setPremiumSmsPermission(String packageName, int permission); in setPremiumSmsPermission()
442 void setPremiumSmsPermissionForSubscriber(long subId, String packageName, int permission); in setPremiumSmsPermissionForSubscriber()
/frameworks/base/core/java/android/bluetooth/
DBluetoothGattServer.java570 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/com/android/internal/appwidget/
DIAppWidgetService.aidl61 void setBindAppWidgetPermission(in String packageName, int userId, in boolean permission); in setBindAppWidgetPermission()
/frameworks/base/core/java/android/app/
DContextImpl.java1853 public int checkPermission(String permission, int pid, int uid) { in checkPermission()
1867 public int checkCallingPermission(String permission) { in checkCallingPermission()
1880 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission()
1890 String permission, int resultOfCheck, in enforce()
1898 permission + in enforce() local
1904 String permission, int pid, int uid, String message) { in enforcePermission()
1912 public void enforceCallingPermission(String permission, String message) { in enforceCallingPermission()
1921 String permission, String message) { in enforceCallingOrSelfPermission()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DSearchBar.java704 String permission = "android.permission.RECORD_AUDIO"; in enforceAudioRecordPermission() local
/frameworks/base/core/jni/
Dandroid_os_SELinux.cpp384 ScopedUtfChars permission(env, permissionStr); in checkSELinuxAccess() local
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java73 final String permission;// permission needed to access service field in ServiceRecord

123