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
48 requiredPermission = _requiredPermission; in BroadcastFilter()
59 if (requiredPermission != null) { in dumpDebug()
60 proto.write(BroadcastFilterProto.REQUIRED_PERMISSION, requiredPermission); in dumpDebug()
82 if (requiredPermission != null) { in dumpBroadcastFilterState()
83 pw.print(prefix); pw.print("requiredPermission="); pw.println(requiredPermission); in dumpBroadcastFilterState()
DPendingIntentRecord.java304 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) { in send() argument
306 requiredPermission, null, null, 0, 0, 0, options); in send()
310 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) { in sendWithResult() argument
312 requiredPermission, null, null, 0, 0, 0, options); in sendWithResult()
343 IIntentReceiver finishedReceiver, String requiredPermission, IBinder resultTo, in sendInner() argument
529 requiredPermission, options, (finishedReceiver != null), false, in sendInner()
DBroadcastQueue.java726 if (filter.requiredPermission != null) { in deliverToRegisteredReceiverLocked()
727 int perm = mService.checkComponentPermission(filter.requiredPermission, in deliverToRegisteredReceiverLocked()
734 + " requires " + filter.requiredPermission in deliverToRegisteredReceiverLocked()
738 final int opCode = AppOpsManager.permissionToOpCode(filter.requiredPermission); in deliverToRegisteredReceiverLocked()
748 filter.requiredPermission) in deliverToRegisteredReceiverLocked()
796 String requiredPermission = r.requiredPermissions[i]; in deliverToRegisteredReceiverLocked() local
797 int perm = mService.checkComponentPermission(requiredPermission, in deliverToRegisteredReceiverLocked()
805 + " requires " + requiredPermission in deliverToRegisteredReceiverLocked()
811 int appOp = AppOpsManager.permissionToOpCode(requiredPermission); in deliverToRegisteredReceiverLocked()
823 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/content/
DIntentSender.java192 OnFinished onFinished, Handler handler, String requiredPermission) in sendIntent() argument
194 sendIntent(context, code, intent, onFinished, handler, requiredPermission, in sendIntent()
227 OnFinished onFinished, Handler handler, String requiredPermission, in sendIntent() argument
239 requiredPermission, options); in sendIntent()
DIIntentSender.aidl26 IIntentReceiver finishedReceiver, String requiredPermission, in Bundle options); in send() 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/services/core/java/com/android/server/rollback/
DLocalIntentReceiver.java39 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) {
/frameworks/base/core/java/android/app/
DPendingIntent.java934 @Nullable String requiredPermission) in send() argument
936 send(context, code, intent, onFinished, handler, requiredPermission, null); in send()
981 @Nullable String requiredPermission, @Nullable Bundle options) in send() argument
983 if (sendAndReturnResult(context, code, intent, onFinished, handler, requiredPermission, in send()
995 @Nullable String requiredPermission, @Nullable Bundle options) in sendAndReturnResult() argument
1017 requiredPermission, options); in sendAndReturnResult()
DActivityManagerInternal.java417 String requiredPermission, Bundle bOptions, boolean serialized, boolean sticky, in broadcastIntentInPackage() argument
713 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options); in sendIntentSender() argument
DIActivityManager.aidl129 in String requiredPermission, int userId, int flags); in registerReceiver() argument
132 in IntentFilter filter, in String requiredPermission, int userId, int flags); in registerReceiverWithFeature() argument
543 in String requiredPermission, in Bundle options); in sendIntentSender() argument
/frameworks/base/core/jni/
Dandroid_hardware_SensorManager.cpp64 jfieldID requiredPermission; member
110 sensorOffsets.requiredPermission = in nativeClassInit()
179 jstring requiredPermission = in translateNativeSensorToJavaSensor() local
194 env->SetObjectField(sensor, sensorOffsets.requiredPermission, in translateNativeSensorToJavaSensor()
195 requiredPermission); in translateNativeSensorToJavaSensor()
/frameworks/native/services/sensorservice/
DSensorInterface.cpp30 .name = "", .vendor = "", .stringType = "", .requiredPermission = ""};
DLimitedAxesImuSensor.cpp36 .requiredPermission = ""};
DSensorDevice.cpp220 (strcmp(prevSensor.requiredPermission, newSensor.requiredPermission) != 0) || in sensorIsEquivalent()
DAidlSensorHalWrapper.cpp89 dst->requiredPermission = strdup(src.requiredPermission.c_str()); in convertToSensor()
/frameworks/native/services/sensorservice/hidl/
Dutils.cpp50 dst.requiredPermission = src.getRequiredPermission(); in convertSensor()
/frameworks/native/libs/sensor/tests/
DSensor_test.cpp70 hwSensor.requiredPermission = ""; in getTestSensorT()
/frameworks/base/core/java/com/android/internal/app/
DSuspendedAppActivity.java106 final String requiredPermission = Manifest.permission.SEND_SHOW_SUSPENDED_APP_DETAILS; in getMoreDetailsActivity() local
110 && requiredPermission.equals(resolvedInfo.activityInfo.permission)) { in getMoreDetailsActivity()
/frameworks/native/libs/sensor/
DSensor.cpp308 if (halVersion > SENSORS_DEVICE_API_VERSION_1_0 && hwSensor.requiredPermission) { in Sensor()
309 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/core/java/android/permission/
DPermissionControllerService.java448 for (String requiredPermission : requiredPermissions) { in onBind()
449 if (checkCallingPermission(requiredPermission) in onBind()
DPermissionControllerManager.java302 for (String requiredPermission : requiredPermissions) { in enforceSomePermissionsGrantedToSelf()
303 if (mContext.checkSelfPermission(requiredPermission) in enforceSomePermissionsGrantedToSelf()
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DContextHubClientBroker.java854 String requiredPermission = Manifest.permission.ACCESS_CONTEXT_HUB; in doSendPendingIntent() local
857 requiredPermission, null /* options */); in doSendPendingIntent()

12