/frameworks/native/libs/binder/ |
D | PermissionCache.cpp | 38 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()
|
D | IPermissionController.cpp | 39 virtual bool checkPermission(const String16& permission, int32_t pid, int32_t uid) in checkPermission() 64 String16 permission = data.readString16(); in onTransact() local
|
D | IServiceManager.cpp | 50 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/ |
D | AndroidTestCase.java | 92 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/ |
D | PermissionMonitor.java | 132 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/ |
D | IPermissionController.aidl | 22 boolean checkPermission(String permission, int pid, int uid); in checkPermission()
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | SenderPermissionFilter.java | 31 private SenderPermissionFilter(String permission) { in SenderPermissionFilter()
|
D | IntentFirewall.java | 581 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/ |
D | ServiceInfo.java | 34 public String permission; field in ServiceInfo
|
D | ActivityInfo.java | 138 public String permission; field in ActivityInfo
|
D | ApplicationInfo.java | 51 public String permission; field in ApplicationInfo
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockContext.java | 482 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/ |
D | ContextWrapper.java | 565 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()
|
D | Context.java | 2922 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/ |
D | UiccSmsController.java | 235 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()
|
D | WapPushOverSms.java | 265 String permission; in dispatchWapPdu() local
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetManager.java | 957 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/ |
D | ISms.aidl | 432 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/ |
D | BluetoothGattServer.java | 570 int permission = ((characteristic.getKeySize() - 7) << 12) in addService() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountManagerServiceTest.java | 236 public int checkCallingOrSelfPermission(final String permission) { in checkCallingOrSelfPermission()
|
/frameworks/base/core/java/com/android/internal/appwidget/ |
D | IAppWidgetService.aidl | 61 void setBindAppWidgetPermission(in String packageName, int userId, in boolean permission); in setBindAppWidgetPermission()
|
/frameworks/base/core/java/android/app/ |
D | ContextImpl.java | 1853 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/ |
D | SearchBar.java | 704 String permission = "android.permission.RECORD_AUDIO"; in enforceAudioRecordPermission() local
|
/frameworks/base/core/jni/ |
D | android_os_SELinux.cpp | 384 ScopedUtfChars permission(env, permissionStr); in checkSELinuxAccess() local
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ServiceRecord.java | 73 final String permission;// permission needed to access service field in ServiceRecord
|