/frameworks/base/core/java/android/content/ |
D | PermissionChecker.java | 124 @NonNull String permission, int pid, int uid, @Nullable String packageName) { in checkPermissionForDataDelivery() 161 @NonNull String permission, int pid, int uid, @Nullable String packageName) { in checkPermissionForPreflight() 195 @NonNull String permission) { in checkSelfPermissionForDataDelivery() 230 @NonNull String permission) { in checkSelfPermissionForPreflight() 263 @NonNull String permission, @Nullable String packageName) { in checkCallingPermissionForDataDelivery() 301 @NonNull String permission, @Nullable String packageName) { in checkCallingPermissionForPreflight() 335 @NonNull String permission) { in checkCallingOrSelfPermissionForDataDelivery() 370 @NonNull String permission) { in checkCallingOrSelfPermissionForPreflight() 377 private static int checkPermissionCommon(@NonNull Context context, @NonNull String permission, in checkPermissionCommon()
|
/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() 84 virtual bool isRuntimePermission(const String16& permission) in isRuntimePermission() 119 String16 permission = data.readString16(); in onTransact() local 155 String16 permission = data.readString16(); in onTransact() local
|
D | IServiceManager.cpp | 57 bool checkCallingPermission(const String16& permission) in checkCallingPermission() 65 bool checkCallingPermission(const String16& permission, int32_t* outPid, int32_t* outUid) in checkCallingPermission() 75 bool checkPermission(const String16& permission, pid_t pid, uid_t uid) in checkPermission()
|
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()
|
/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/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/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 | 196 public int grantInstallPermission(BasePermission permission) { in grantInstallPermission() 208 public int revokeInstallPermission(BasePermission permission) { in revokeInstallPermission() 221 public int grantRuntimePermission(BasePermission permission, int userId) { in grantRuntimePermission() 238 public int revokeRuntimePermission(BasePermission permission, int userId) { in revokeRuntimePermission() 336 String permission = mPermissions.keyAt(i); in getPermissions() local 422 public boolean updatePermissionFlags(BasePermission permission, int userId, in updatePermissionFlags() 477 final PermissionData permission = mPermissions.valueAt(i); in hasPermissionRequiringReview() local 524 String permission = mPermissions.keyAt(i); in computeGids() local 608 private int grantPermission(BasePermission permission, int userId) { in grantPermission() 632 private int revokePermission(BasePermission permission, int userId) { in revokePermission() [all …]
|
D | PermissionSettings.java | 211 void putPermissionLocked(@NonNull String permName, @NonNull BasePermission permission) { in putPermissionLocked() 216 void putPermissionTreeLocked(@NonNull String permName, @NonNull BasePermission permission) { in putPermissionTreeLocked()
|
/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/native/services/nativeperms/ |
D | nativeperms.cpp | 37 ::android::binder::Status checkPermission( in checkPermission() 57 ::android::binder::Status isRuntimePermission( in isRuntimePermission()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | MockLockSettingsContext.java | 71 public void enforceCallingOrSelfPermission(String permission, String message) { in enforceCallingOrSelfPermission() 76 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManagerNative.java | 63 static public void broadcastStickyIntent(Intent intent, String permission, int userId) { in broadcastStickyIntent() 73 static public void broadcastStickyIntent(Intent intent, String permission, int appOp, in broadcastStickyIntent()
|
D | UiAutomation.java | 1005 public void grantRuntimePermission(String packageName, String permission) { in grantRuntimePermission() 1016 public boolean grantRuntimePermission(String packageName, String permission, in grantRuntimePermission() 1028 public void grantRuntimePermissionAsUser(String packageName, String permission, in grantRuntimePermissionAsUser() 1051 public void revokeRuntimePermission(String packageName, String permission) { in revokeRuntimePermission() 1062 public boolean revokeRuntimePermission(String packageName, String permission, in revokeRuntimePermission() 1074 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/wmtests/src/com/android/server/wm/ |
D | DisplayPolicyTestsBase.java | 166 public int checkPermission(String permission, int pid, int uid) { in checkPermission() 171 public int checkPermission(String permission, int pid, int uid, IBinder callerToken) { in checkPermission()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 108 int permission = 0; in getPermissionForUid() local 175 Boolean permission = mApps.get(uid); in startMonitoring() local 227 boolean hasPermission(@NonNull final PackageInfo app, @NonNull final String permission) { in hasPermission() 371 final Boolean permission = highestPermissionForUid(mApps.get(uid), packageName); in onPackageAdded() local 419 Boolean permission = null; in onPackageRemoved() local
|
/frameworks/base/core/xsd/vts/ |
D | ValidatePermission.cpp | 48 TEST(CheckConfig, permission) { in TEST() argument
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | SenderPermissionFilter.java | 31 private SenderPermissionFilter(String permission) { in SenderPermissionFilter()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | WifiPermissionsUtil.java | 71 int permission = mWifiPermissionsWrapper.getOverrideWifiConfigPermission(uid); in checkConfigOverridePermission() local 87 int permission = mWifiPermissionsWrapper.getChangeWifiConfigPermission(uid); in checkChangePermission() local 103 int permission = mWifiPermissionsWrapper.getAccessWifiStatePermission(uid); in checkWifiAccessPermission() local
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ServiceListing.java | 57 String setting, String intentAction, String permission, String noun) { in ServiceListing() 209 public Builder setPermission(String permission) { in setPermission()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ContextFixture.java | 470 public void enforceCallingOrSelfPermission(String permission, String message) { in enforceCallingOrSelfPermission() 480 public void enforcePermission(String permission, int pid, int uid, String message) { in enforcePermission() 485 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission() 497 public int checkPermission(String permission, int pid, int uid) { in checkPermission() 704 public void addCallingOrSelfPermission(String permission) { in addCallingOrSelfPermission() 713 public void removeCallingOrSelfPermission(String permission) { in removeCallingOrSelfPermission()
|