/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 | 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 | 125 bool checkCallingPermission(const String16& permission) in checkCallingPermission() 133 bool checkCallingPermission(const String16& permission, int32_t* outPid, int32_t* outUid) in checkCallingPermission() 143 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 | 99 String packageName, String className, String permission) { in assertActivityRequiresPermission() 122 public void assertReadingContentUriRequiresPermission(Uri uri, String permission) { in assertReadingContentUriRequiresPermission() 141 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/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 | 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 | 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/core/xsd/vts/ |
D | ValidatePermission.cpp | 48 TEST(CheckConfig, permission) { in TEST() argument
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PermissionMonitor.java | 128 public int uidPermission(@NonNull final String permission, final int uid) { in uidPermission() 178 Boolean permission = mApps.get(uid); in startMonitoring() local 223 boolean hasPermission(@NonNull final String permission, final int uid) { in hasPermission() 368 final Boolean permission = highestPermissionForUid(mApps.get(uid), packageName, uid); in onPackageAdded() local 420 Boolean permission = null; in onPackageRemoved() local
|
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationFilter.java | 155 private static int checkUidPermission(IPackageManager packageManager, String permission, in checkUidPermission()
|
/frameworks/native/services/vr/hardware_composer/ |
D | vr_composer.cpp | 14 const bool permission = PermissionCache::checkPermission( in CheckPermission() local
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ContextFixture.java | 500 public void enforceCallingOrSelfPermission(String permission, String message) { in enforceCallingOrSelfPermission() 510 public void enforcePermission(String permission, int pid, int uid, String message) { in enforcePermission() 515 public int checkCallingOrSelfPermission(String permission) { in checkCallingOrSelfPermission() 527 public int checkPermission(String permission, int pid, int uid) { in checkPermission() 746 public void addCallingOrSelfPermission(String permission) { in addCallingOrSelfPermission() 755 public void removeCallingOrSelfPermission(String permission) { in removeCallingOrSelfPermission()
|