/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() 71 virtual bool isRuntimePermission(const String16& permission) in isRuntimePermission() 93 String16 permission = data.readString16(); in onTransact() local 118 String16 permission = data.readString16(); in onTransact() local
|
D | IServiceManager.cpp | 51 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()
|
D | IAppOpsService.cpp | 116 virtual int32_t permissionToOpCode(const String16& permission) { in permissionToOpCode() 203 String16 permission = data.readString16(); in onTransact() local
|
/frameworks/support/core-utils/java/android/support/v4/content/ |
D | PermissionChecker.java | 93 public static int checkPermission(@NonNull Context context, @NonNull String permission, in checkPermission() 131 @NonNull String permission) { in checkSelfPermission() 149 @NonNull String permission, String packageName) { in checkCallingPermission() 168 @NonNull String permission) { in checkCallingOrSelfPermission()
|
/frameworks/base/core/java/android/content/ |
D | PermissionChecker.java | 91 public static int checkPermission(@NonNull Context context, @NonNull String permission, in checkPermission() 130 @NonNull String permission) { in checkSelfPermission() 148 @NonNull String permission, @Nullable String packageName) { in checkCallingPermission() 167 @NonNull String permission) { in checkCallingOrSelfPermission()
|
/frameworks/native/services/nativeperms/android/os/ |
D | IPermissionController.aidl | 22 boolean checkPermission(String permission, int pid, int uid); in checkPermission() 24 boolean isRuntimePermission(String permission); in isRuntimePermission()
|
/frameworks/base/core/java/android/os/ |
D | IPermissionController.aidl | 22 boolean checkPermission(String permission, int pid, int uid); in checkPermission() 24 boolean isRuntimePermission(String permission); in isRuntimePermission()
|
/frameworks/base/legacy-test/src/android/test/ |
D | AndroidTestCase.java | 100 String packageName, String className, String permission) { in assertActivityRequiresPermission() 123 public void assertReadingContentUriRequiresPermission(Uri uri, String permission) { in assertReadingContentUriRequiresPermission() 142 public void assertWritingContentUriRequiresPermission(Uri uri, String permission) { in assertWritingContentUriRequiresPermission()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PermissionsState.java | 185 public int grantInstallPermission(BasePermission permission) { in grantInstallPermission() 197 public int revokeInstallPermission(BasePermission permission) { in revokeInstallPermission() 210 public int grantRuntimePermission(BasePermission permission, int userId) { in grantRuntimePermission() 227 public int revokeRuntimePermission(BasePermission permission, int userId) { in revokeRuntimePermission() 311 String permission = mPermissions.keyAt(i); in getPermissions() local 396 public boolean updatePermissionFlags(BasePermission permission, int userId, in updatePermissionFlags() 444 final PermissionData permission = mPermissions.valueAt(i); in hasPermissionRequiringReview() local 485 String permission = mPermissions.keyAt(i); in computeGids() local 559 private int grantPermission(BasePermission permission, int userId) { in grantPermission() 583 private int revokePermission(BasePermission permission, int userId) { in revokePermission() [all …]
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | ChipsUtil.java | 32 void onPermissionCheck(String permission, boolean granted); in onPermissionCheck() 62 public static int checkPermission(Context context, String permission) { in checkPermission()
|
/frameworks/support/v13/java/android/support/v13/app/ |
D | FragmentCompat.java | 37 boolean shouldShowRequestPermissionRationale(Fragment fragment, String permission); in shouldShowRequestPermissionRationale() 73 public boolean shouldShowRequestPermissionRationale(Fragment fragment, String permission) { in shouldShowRequestPermissionRationale() 94 public boolean shouldShowRequestPermissionRationale(Fragment fragment, String permission) { in shouldShowRequestPermissionRationale() 240 @NonNull String permission) { in shouldShowRequestPermissionRationale()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockLockSettingsContext.java | 65 public void enforceCallingOrSelfPermission(String permission, String message) { in enforceCallingOrSelfPermission() 70 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission()
|
/frameworks/native/services/nativeperms/ |
D | nativeperms.cpp | 37 ::android::binder::Status checkPermission( in checkPermission() 57 ::android::binder::Status isRuntimePermission( in isRuntimePermission()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 136 Boolean permission = mApps.get(uid); in startMonitoring() local 156 private boolean hasPermission(final PackageInfo app, final String permission) { in hasPermission() 259 final Boolean permission = highestPermissionForUid(mApps.get(appUid), appName); in onAppAdded() local 276 Boolean permission = null; in onAppRemoved() local
|
/frameworks/base/core/java/android/app/ |
D | ActivityManagerNative.java | 58 static public void broadcastStickyIntent(Intent intent, String permission, int userId) { in broadcastStickyIntent() 68 static public void broadcastStickyIntent(Intent intent, String permission, int appOp, in broadcastStickyIntent()
|
D | IUiAutomationConnection.aidl | 47 void grantRuntimePermission(String packageName, String permission, int userId); in grantRuntimePermission() 48 void revokeRuntimePermission(String packageName, String permission, int userId); in revokeRuntimePermission()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/ |
D | CachedBluetoothDevice.java | 690 int permission = mDevice.getPhonebookAccessPermission(); in getPhonebookPermissionChoice() local 700 int permission = BluetoothDevice.ACCESS_UNKNOWN; in setPhonebookPermissionChoice() local 733 int permission = mDevice.getMessageAccessPermission(); in getMessagePermissionChoice() local 743 int permission = BluetoothDevice.ACCESS_UNKNOWN; in setMessagePermissionChoice() local 753 int permission = mDevice.getSimAccessPermission(); in getSimPermissionChoice() local 763 int permission = BluetoothDevice.ACCESS_UNKNOWN; in setSimPermissionChoice() local
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | SenderPermissionFilter.java | 31 private SenderPermissionFilter(String permission) { in SenderPermissionFilter()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowContainerController.java | 67 boolean checkCallingPermission(String permission, String func) { in checkCallingPermission()
|
/frameworks/support/compat/java/android/support/v4/content/pm/ |
D | ShortcutManagerCompat.java | 63 String permission = info.activityInfo.permission; in isRequestPinShortcutSupported() local
|
/frameworks/support/compat/java/android/support/v4/app/ |
D | AppOpsManagerCompat.java | 59 public static String permissionToOp(@NonNull String permission) { in permissionToOp()
|
/frameworks/native/services/vr/hardware_composer/ |
D | vr_composer.cpp | 14 const bool permission = PermissionCache::checkPermission( in CheckPermission() local
|
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/ |
D | MainActivity.java | 84 String []permission = { in checkPermission() local
|
/frameworks/base/core/java/android/content/pm/ |
D | ServiceInfo.java | 34 public String permission; field in ServiceInfo
|