/frameworks/base/core/java/android/content/ |
D | PermissionChecker.java | 135 @NonNull String permission, int pid, int uid, @Nullable String packageName, in checkPermissionForDataDelivery() 173 @NonNull String permission, int pid, int uid, @Nullable String packageName) { in checkPermissionForPreflight() 208 @NonNull String permission, @Nullable String message) { in checkSelfPermissionForDataDelivery() 243 @NonNull String permission) { in checkSelfPermissionForPreflight() 278 @NonNull String permission, @Nullable String packageName, in checkCallingPermissionForDataDelivery() 317 @NonNull String permission, @Nullable String packageName) { in checkCallingPermissionForPreflight() 353 @NonNull String permission, @Nullable String attributionTag, @Nullable String message) { in checkCallingOrSelfPermissionForDataDelivery() 390 @NonNull String permission) { in checkCallingOrSelfPermissionForPreflight() 397 static int checkPermissionCommon(@NonNull Context context, @NonNull String permission, in checkPermissionCommon() 427 private static int checkAppOpPermission(@NonNull Context context, @NonNull String permission, in checkAppOpPermission() [all …]
|
/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 | 37 virtual bool checkPermission(const String16& permission, int32_t pid, int32_t uid) in checkPermission() 82 virtual bool isRuntimePermission(const String16& permission) in isRuntimePermission() 117 String16 permission = data.readString16(); in onTransact() local 153 String16 permission = data.readString16(); in onTransact() local
|
D | PermissionController.cpp | 56 bool PermissionController::checkPermission(const String16& permission, int32_t pid, int32_t uid) in checkPermission() 76 bool PermissionController::isRuntimePermission(const String16& permission) in isRuntimePermission()
|
D | IServiceManager.cpp | 124 bool checkCallingPermission(const String16& permission) in checkCallingPermission() 132 bool checkCallingPermission(const String16& permission, int32_t* outPid, int32_t* outUid) in checkCallingPermission() 142 bool checkPermission(const String16& permission, pid_t pid, uid_t uid) in checkPermission()
|
/frameworks/base/tests/testables/src/android/testing/ |
D | TestablePermissions.java | 38 public void setPermission(String permission, int value) { in setPermission() 52 boolean wantsCall(String permission) { in wantsCall() 60 int check(String permission) { in check() 69 public void enforce(String permission) { in enforce()
|
D | TestableContext.java | 316 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission() 324 public int checkCallingPermission(String permission) { in checkCallingPermission() 332 public int checkPermission(String permission, int pid, int uid) { in checkPermission() 340 public int checkPermission(String permission, int pid, int uid, IBinder callerToken) { in checkPermission() 348 public int checkSelfPermission(String permission) { in checkSelfPermission() 356 public void enforceCallingOrSelfPermission(String permission, String message) { in enforceCallingOrSelfPermission() 365 public void enforceCallingPermission(String permission, String message) { in enforceCallingPermission() 374 public void enforcePermission(String permission, int pid, int uid, String message) { in enforcePermission()
|
/frameworks/base/test-base/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/permission/ |
D | PermissionsState.java | 256 public int grantInstallPermission(BasePermission permission) { in grantInstallPermission() 268 public int revokeInstallPermission(BasePermission permission) { in revokeInstallPermission() 281 public int grantRuntimePermission(BasePermission permission, int userId) { in grantRuntimePermission() 298 public int revokeRuntimePermission(BasePermission permission, int userId) { in revokeRuntimePermission() 396 String permission = mPermissions.keyAt(i); in getPermissions() local 482 public boolean updatePermissionFlags(BasePermission permission, int userId, in updatePermissionFlags() 537 final PermissionData permission = mPermissions.valueAt(i); in hasPermissionRequiringReview() local 584 String permission = mPermissions.keyAt(i); in computeGids() local 670 private int grantPermission(BasePermission permission, int userId) { in grantPermission() 694 private int revokePermission(BasePermission permission, int userId) { in revokePermission() [all …]
|
D | DefaultPermissionGrantPolicy.java | 1225 String permission = requestedPermissions[i]; in grantRuntimePermissions() local 1238 String permission = requestedPermissions[requestedPermissionNum]; in grantRuntimePermissions() local 1524 abstract int getPermissionFlags(@NonNull String permission, @NonNull PackageInfo pkg, in getPermissionFlags() 1527 abstract void updatePermissionFlags(@NonNull String permission, @NonNull PackageInfo pkg, in updatePermissionFlags() 1530 abstract void grantPermission(@NonNull String permission, @NonNull PackageInfo pkg, in grantPermission() 1533 abstract void revokePermission(@NonNull String permission, @NonNull PackageInfo pkg, in revokePermission() 1536 abstract boolean isGranted(@NonNull String permission, @NonNull PackageInfo pkg, in isGranted() 1577 @Nullable String getBackgroundPermission(@NonNull String permission) { in getBackgroundPermission() 1672 private @NonNull PermissionState getPermissionState(@NonNull String permission, in getPermissionState() 1700 public int getPermissionFlags(@NonNull String permission, @NonNull PackageInfo pkg, in getPermissionFlags() [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/base/core/java/android/os/ |
D | IPermissionController.aidl | 22 boolean checkPermission(String permission, int pid, int uid); in checkPermission() 25 boolean isRuntimePermission(String permission); in isRuntimePermission()
|
/frameworks/base/core/java/android/content/pm/parsing/component/ |
D | ParsedService.java | 36 private String permission; field in ParsedService 44 public ParsedMainComponent setPermission(String permission) { in setPermission()
|
D | ParsedPermissionUtils.java | 47 permission = new ParsedPermission(); in parsePermission() local 134 ParsedPermission permission = new ParsedPermission(); in parsePermissionTree() local
|
/frameworks/base/core/java/android/app/ |
D | ActivityManagerNative.java | 68 static public void broadcastStickyIntent(Intent intent, String permission, int userId) { in broadcastStickyIntent() 78 static public void broadcastStickyIntent(Intent intent, String permission, int appOp, in broadcastStickyIntent()
|
D | UiAutomation.java | 1036 public void grantRuntimePermission(String packageName, String permission) { in grantRuntimePermission() 1047 public boolean grantRuntimePermission(String packageName, String permission, in grantRuntimePermission() 1059 public void grantRuntimePermissionAsUser(String packageName, String permission, in grantRuntimePermissionAsUser() 1082 public void revokeRuntimePermission(String packageName, String permission) { in revokeRuntimePermission() 1093 public boolean revokeRuntimePermission(String packageName, String permission, in revokeRuntimePermission() 1105 public void revokeRuntimePermissionAsUser(String packageName, String permission, in revokeRuntimePermissionAsUser()
|
D | IUiAutomationConnection.aidl | 49 void grantRuntimePermission(String packageName, String permission, int userId); in grantRuntimePermission() 50 void revokeRuntimePermission(String packageName, String permission, int userId); in revokeRuntimePermission()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockLockSettingsContext.java | 89 public void enforceCallingOrSelfPermission(String permission, String message) { in enforceCallingOrSelfPermission() 94 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilitySecurityPolicy.java | 483 public void enforceCallingPermission(@NonNull String permission, @Nullable String function) { in enforceCallingPermission() 500 public boolean hasPermission(@NonNull String permission) { in hasPermission() 568 public void enforceCallingOrSelfPermission(@NonNull String permission) { in enforceCallingOrSelfPermission() 581 public void enforceCallerIsRecentsOrHasPermission(@NonNull String permission, String func) { in enforceCallerIsRecentsOrHasPermission()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 108 int permission = 0; in getPermissionForUid() local 180 Boolean permission = mApps.get(uid); in startMonitoring() local 232 boolean hasPermission(@NonNull final PackageInfo app, @NonNull final String permission) { in hasPermission() 377 final Boolean permission = highestPermissionForUid(mApps.get(uid), packageName); in onPackageAdded() local 425 Boolean permission = null; in onPackageRemoved() local
|
/frameworks/base/core/xsd/vts/ |
D | ValidatePermission.cpp | 48 TEST(CheckConfig, permission) { in TEST() argument
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayPolicyTestsBase.java | 175 public int checkPermission(String permission, int pid, int uid) { in checkPermission() 180 public int checkPermission(String permission, int pid, int uid, IBinder callerToken) { in checkPermission()
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | SenderPermissionFilter.java | 31 private SenderPermissionFilter(String permission) { in SenderPermissionFilter()
|
/frameworks/base/apex/statsd/aidl/android/os/ |
D | IStatsCompanionService.aidl | 67 boolean checkPermission(String permission, int pid, int uid); in checkPermission()
|
/frameworks/base/core/java/android/permission/ |
D | PermissionManager.java | 530 private static int checkPermissionUncached(@Nullable String permission, int pid, int uid) { in checkPermissionUncached() 563 final String permission; field in PermissionManager.PermissionQuery 567 PermissionQuery(@Nullable String permission, int pid, int uid) { in PermissionQuery() 619 public static int checkPermission(@Nullable String permission, int pid, int uid) { in checkPermission()
|