/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastFilter.java | 30 final String requiredPermission; field in BroadcastFilter 42 requiredPermission = _requiredPermission; in BroadcastFilter() 52 if (requiredPermission != null) { in writeToProto() 53 proto.write(BroadcastFilterProto.REQUIRED_PERMISSION, requiredPermission); in writeToProto() 75 if (requiredPermission != null) { in dumpBroadcastFilterState() 76 pw.print(prefix); pw.print("requiredPermission="); pw.println(requiredPermission); in dumpBroadcastFilterState()
|
D | PendingIntentRecord.java | 269 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) { in send() argument 271 requiredPermission, null, null, 0, 0, 0, options); in send() 275 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) { in sendWithResult() argument 277 requiredPermission, null, null, 0, 0, 0, options); in sendWithResult() 281 IIntentReceiver finishedReceiver, String requiredPermission, IBinder resultTo, in sendInner() argument 434 finishedReceiver, code, null, null, requiredPermission, options, in sendInner()
|
D | BroadcastQueue.java | 635 if (filter.requiredPermission != null) { in deliverToRegisteredReceiverLocked() 636 int perm = mService.checkComponentPermission(filter.requiredPermission, in deliverToRegisteredReceiverLocked() 643 + " requires " + filter.requiredPermission in deliverToRegisteredReceiverLocked() 647 final int opCode = AppOpsManager.permissionToOpCode(filter.requiredPermission); in deliverToRegisteredReceiverLocked() 656 filter.requiredPermission) in deliverToRegisteredReceiverLocked() 664 String requiredPermission = r.requiredPermissions[i]; in deliverToRegisteredReceiverLocked() local 665 int perm = mService.checkComponentPermission(requiredPermission, in deliverToRegisteredReceiverLocked() 673 + " requires " + requiredPermission in deliverToRegisteredReceiverLocked() 679 int appOp = AppOpsManager.permissionToOpCode(requiredPermission); in deliverToRegisteredReceiverLocked() 690 requiredPermission) in deliverToRegisteredReceiverLocked() [all …]
|
D | ActivityManagerService.java | 5434 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) { in sendIntentSender() argument 5437 whitelistToken, finishedReceiver, requiredPermission, options); in sendIntentSender() 5450 requiredPermission, options); in sendIntentSender() 14774 if (bf.requiredPermission == null) { in checkBroadcastFromSystem() 15588 String requiredPermission, Bundle bOptions, boolean serialized, boolean sticky, in broadcastIntentInPackage() argument 15594 String[] requiredPermissions = requiredPermission == null ? null in broadcastIntentInPackage() 15595 : new String[] {requiredPermission}; in broadcastIntentInPackage() 18228 int resultCode, String resultData, Bundle resultExtras, String requiredPermission, in broadcastIntentInPackage() argument 18234 resultData, resultExtras, requiredPermission, bOptions, serialized, sticky, in broadcastIntentInPackage()
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
D | RulesManagerServiceHelperImpl.java | 43 public void enforceCallerHasPermission(String requiredPermission) { in enforceCallerHasPermission() argument 44 mContext.enforceCallingPermission(requiredPermission, null /* message */); in enforceCallerHasPermission()
|
D | PermissionHelper.java | 26 void enforceCallerHasPermission(String requiredPermission) throws SecurityException; in enforceCallerHasPermission() argument
|
/frameworks/base/core/java/android/content/ |
D | IIntentSender.aidl | 26 IIntentReceiver finishedReceiver, String requiredPermission, in Bundle options); in send() argument
|
D | IntentSender.java | 187 OnFinished onFinished, Handler handler, String requiredPermission) in sendIntent() argument 198 requiredPermission, null); in sendIntent()
|
/frameworks/base/core/java/android/app/ |
D | PendingIntent.java | 829 @Nullable String requiredPermission) in send() argument 831 send(context, code, intent, onFinished, handler, requiredPermission, null); in send() 876 @Nullable String requiredPermission, @Nullable Bundle options) in send() argument 878 if (sendAndReturnResult(context, code, intent, onFinished, handler, requiredPermission, in send() 890 @Nullable String requiredPermission, @Nullable Bundle options) in sendAndReturnResult() argument 901 requiredPermission, options); in sendAndReturnResult()
|
D | ActivityManagerInternal.java | 267 int resultCode, String resultData, Bundle resultExtras, String requiredPermission, in broadcastIntentInPackage() argument
|
D | IActivityManager.aidl | 116 in String requiredPermission, int userId, int flags); in registerReceiver() argument 529 in String requiredPermission, in Bundle options); in sendIntentSender() argument
|
/frameworks/base/core/jni/ |
D | android_hardware_SensorManager.cpp | 64 jfieldID requiredPermission; member 109 sensorOffsets.requiredPermission = in nativeClassInit() 165 jstring requiredPermission = in translateNativeSensorToJavaSensor() local 180 env->SetObjectField(sensor, sensorOffsets.requiredPermission, in translateNativeSensorToJavaSensor() 181 requiredPermission); in translateNativeSensorToJavaSensor()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | LocalIntentReceiver.java | 39 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) {
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SuspendedAppActivity.java | 66 final String requiredPermission = Manifest.permission.SEND_SHOW_SUSPENDED_APP_DETAILS; in getMoreDetailsActivity() local 69 && requiredPermission.equals(resolvedInfo.activityInfo.permission)) { in getMoreDetailsActivity()
|
/frameworks/native/services/sensorservice/ |
D | SensorInterface.cpp | 29 .name = "", .vendor = "", .stringType = "", .requiredPermission = ""};
|
D | SensorDevice.cpp | 311 (strcmp(prevSensor.requiredPermission, newSensor.requiredPermission) != 0) || in sensorIsEquivalent()
|
D | SensorService.cpp | 1728 const String8& requiredPermission = sensor.getRequiredPermission(); in hasPermissionForSensor() local 1732 hasPermission = checkPermission(String16(requiredPermission), in hasPermissionForSensor() 1735 hasPermission = PermissionCache::checkCallingPermission(String16(requiredPermission)); in hasPermissionForSensor()
|
/frameworks/native/services/sensorservice/hidl/ |
D | utils.cpp | 50 dst.requiredPermission = src.getRequiredPermission(); in convertSensor()
|
/frameworks/native/libs/sensor/tests/ |
D | Sensor_test.cpp | 70 hwSensor.requiredPermission = ""; in getTestSensorT()
|
/frameworks/native/libs/sensor/ |
D | Sensor.cpp | 276 if (halVersion > SENSORS_DEVICE_API_VERSION_1_0 && hwSensor.requiredPermission) { in Sensor() 277 mRequiredPermission = hwSensor.requiredPermission; in Sensor()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | RestoreUtils.java | 212 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) {
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | StagingManager.java | 670 IIntentReceiver finishedReceiver, String requiredPermission,
|
D | PackageInstallerSession.java | 922 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) {
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageManagerTests.java | 173 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) {
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 7357 boolean canUseManagedServices(String pkg, Integer userId, String requiredPermission) { 7368 if (requiredPermission != null) { 7370 if (mPackageManager.checkPermission(requiredPermission, pkg, userId)
|