/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastFilter.java | 32 final String requiredPermission; field in BroadcastFilter 46 requiredPermission = _requiredPermission; in BroadcastFilter() 56 if (requiredPermission != null) { in dumpDebug() 57 proto.write(BroadcastFilterProto.REQUIRED_PERMISSION, requiredPermission); in dumpDebug() 79 if (requiredPermission != null) { in dumpBroadcastFilterState() 80 pw.print(prefix); pw.print("requiredPermission="); pw.println(requiredPermission); in dumpBroadcastFilterState()
|
D | PendingIntentRecord.java | 302 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) { in send() argument 304 requiredPermission, null, null, 0, 0, 0, options); in send() 308 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) { in sendWithResult() argument 310 requiredPermission, null, null, 0, 0, 0, options); in sendWithResult() 314 IIntentReceiver finishedReceiver, String requiredPermission, IBinder resultTo, in sendInner() argument 483 requiredPermission, options, (finishedReceiver != null), false, in sendInner()
|
D | BroadcastQueue.java | 642 if (filter.requiredPermission != null) { in deliverToRegisteredReceiverLocked() 643 int perm = mService.checkComponentPermission(filter.requiredPermission, in deliverToRegisteredReceiverLocked() 650 + " requires " + filter.requiredPermission in deliverToRegisteredReceiverLocked() 654 final int opCode = AppOpsManager.permissionToOpCode(filter.requiredPermission); in deliverToRegisteredReceiverLocked() 664 filter.requiredPermission) in deliverToRegisteredReceiverLocked() 712 String requiredPermission = r.requiredPermissions[i]; in deliverToRegisteredReceiverLocked() local 713 int perm = mService.checkComponentPermission(requiredPermission, in deliverToRegisteredReceiverLocked() 721 + " requires " + requiredPermission in deliverToRegisteredReceiverLocked() 727 int appOp = AppOpsManager.permissionToOpCode(requiredPermission); in deliverToRegisteredReceiverLocked() 739 requiredPermission) in deliverToRegisteredReceiverLocked() [all …]
|
/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/hardware/input/ |
D | InputSensorInfo.java | 86 @NonNull String requiredPermission, in InputSensorInfo() argument 108 this.mRequiredPermission = requiredPermission; in InputSensorInfo() 271 String requiredPermission = in.readString(); in InputSensorInfo() local 294 this.mRequiredPermission = requiredPermission; in InputSensorInfo()
|
/frameworks/base/core/java/android/content/ |
D | IIntentSender.aidl | 26 IIntentReceiver finishedReceiver, String requiredPermission, in Bundle options); in send() argument
|
D | IntentSender.java | 191 OnFinished onFinished, Handler handler, String requiredPermission) in sendIntent() argument 202 requiredPermission, null); in sendIntent()
|
/frameworks/base/services/core/java/com/android/server/rollback/ |
D | LocalIntentReceiver.java | 39 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) {
|
/frameworks/base/core/java/android/app/ |
D | PendingIntent.java | 908 @Nullable String requiredPermission) in send() argument 910 send(context, code, intent, onFinished, handler, requiredPermission, null); in send() 955 @Nullable String requiredPermission, @Nullable Bundle options) in send() argument 957 if (sendAndReturnResult(context, code, intent, onFinished, handler, requiredPermission, in send() 969 @Nullable String requiredPermission, @Nullable Bundle options) in sendAndReturnResult() argument 991 requiredPermission, options); in sendAndReturnResult()
|
D | IActivityManager.aidl | 126 in String requiredPermission, int userId, int flags); in registerReceiver() argument 129 in IntentFilter filter, in String requiredPermission, int userId, int flags); in registerReceiverWithFeature() argument 524 in String requiredPermission, in Bundle options); in sendIntentSender() argument
|
D | ActivityManagerInternal.java | 378 String requiredPermission, Bundle bOptions, boolean serialized, boolean sticky, in broadcastIntentInPackage() 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/native/services/sensorservice/hidl/ |
D | utils.cpp | 50 dst.requiredPermission = src.getRequiredPermission(); in convertSensor()
|
/frameworks/native/services/sensorservice/ |
D | SensorInterface.cpp | 30 .name = "", .vendor = "", .stringType = "", .requiredPermission = ""};
|
D | SensorDevice.cpp | 380 (strcmp(prevSensor.requiredPermission, newSensor.requiredPermission) != 0) || in sensorIsEquivalent()
|
D | SensorService.cpp | 1980 const String8& requiredPermission = sensor.getRequiredPermission(); in hasPermissionForSensor() local 1984 hasPermission = checkPermission(String16(requiredPermission), in hasPermissionForSensor() 1987 hasPermission = PermissionCache::checkCallingPermission(String16(requiredPermission)); in hasPermissionForSensor()
|
/frameworks/native/libs/sensor/tests/ |
D | Sensor_test.cpp | 70 hwSensor.requiredPermission = ""; in getTestSensorT()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SuspendedAppActivity.java | 104 final String requiredPermission = Manifest.permission.SEND_SHOW_SUSPENDED_APP_DETAILS; in getMoreDetailsActivity() local 108 && requiredPermission.equals(resolvedInfo.activityInfo.permission)) { in getMoreDetailsActivity()
|
/frameworks/base/core/java/android/permission/ |
D | PermissionControllerService.java | 394 for (String requiredPermission : requiredPermissions) { in onBind() 395 if (checkCallingPermission(requiredPermission) in onBind()
|
D | PermissionControllerManager.java | 256 for (String requiredPermission : requiredPermissions) { in enforceSomePermissionsGrantedToSelf() 257 if (mContext.checkSelfPermission(requiredPermission) in enforceSomePermissionsGrantedToSelf()
|
/frameworks/native/libs/sensor/ |
D | Sensor.cpp | 284 if (halVersion > SENSORS_DEVICE_API_VERSION_1_0 && hwSensor.requiredPermission) { in Sensor() 285 mRequiredPermission = hwSensor.requiredPermission; in Sensor()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | RestoreUtils.java | 214 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) {
|
/frameworks/base/services/core/java/com/android/server/location/contexthub/ |
D | ContextHubClientBroker.java | 830 String requiredPermission = mHasAccessContextHubPermission in doSendPendingIntent() local 835 requiredPermission, null /* options */); in doSendPendingIntent()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_input_InputManagerService.cpp | 197 jfieldID requiredPermission; member 2185 jstring requiredPermission, jint maxDelay, jint flags, in createInputSensorInfo() argument 2202 env->SetObjectField(sensorInfo, gInputSensorInfo.requiredPermission, requiredPermission); in createInputSensorInfo() 2581 GET_FIELD_ID(gInputSensorInfo.requiredPermission, gInputSensorInfo.clazz, "mRequiredPermission", in register_android_server_InputManager()
|