Home
last modified time | relevance | path

Searched refs:requiredPermission (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/am/
DBroadcastFilter.java32 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()
DPendingIntentRecord.java302 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()
DBroadcastQueue.java642 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/
DRulesManagerServiceHelperImpl.java43 public void enforceCallerHasPermission(String requiredPermission) { in enforceCallerHasPermission() argument
44 mContext.enforceCallingPermission(requiredPermission, null /* message */); in enforceCallerHasPermission()
DPermissionHelper.java26 void enforceCallerHasPermission(String requiredPermission) throws SecurityException; in enforceCallerHasPermission() argument
/frameworks/base/core/java/android/hardware/input/
DInputSensorInfo.java86 @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/
DIIntentSender.aidl26 IIntentReceiver finishedReceiver, String requiredPermission, in Bundle options); in send() argument
DIntentSender.java191 OnFinished onFinished, Handler handler, String requiredPermission) in sendIntent() argument
202 requiredPermission, null); in sendIntent()
/frameworks/base/services/core/java/com/android/server/rollback/
DLocalIntentReceiver.java39 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) {
/frameworks/base/core/java/android/app/
DPendingIntent.java908 @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()
DIActivityManager.aidl126 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
DActivityManagerInternal.java378 String requiredPermission, Bundle bOptions, boolean serialized, boolean sticky, in broadcastIntentInPackage() argument
/frameworks/base/core/jni/
Dandroid_hardware_SensorManager.cpp64 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/
Dutils.cpp50 dst.requiredPermission = src.getRequiredPermission(); in convertSensor()
/frameworks/native/services/sensorservice/
DSensorInterface.cpp30 .name = "", .vendor = "", .stringType = "", .requiredPermission = ""};
DSensorDevice.cpp380 (strcmp(prevSensor.requiredPermission, newSensor.requiredPermission) != 0) || in sensorIsEquivalent()
DSensorService.cpp1980 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/
DSensor_test.cpp70 hwSensor.requiredPermission = ""; in getTestSensorT()
/frameworks/base/core/java/com/android/internal/app/
DSuspendedAppActivity.java104 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/
DPermissionControllerService.java394 for (String requiredPermission : requiredPermissions) { in onBind()
395 if (checkCallingPermission(requiredPermission) in onBind()
DPermissionControllerManager.java256 for (String requiredPermission : requiredPermissions) { in enforceSomePermissionsGrantedToSelf()
257 if (mContext.checkSelfPermission(requiredPermission) in enforceSomePermissionsGrantedToSelf()
/frameworks/native/libs/sensor/
DSensor.cpp284 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/
DRestoreUtils.java214 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) {
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DContextHubClientBroker.java830 String requiredPermission = mHasAccessContextHubPermission in doSendPendingIntent() local
835 requiredPermission, null /* options */); in doSendPendingIntent()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp197 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()

12