Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/am/
DBroadcastFilter.java30 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()
DPendingIntentRecord.java269 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()
DBroadcastQueue.java635 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 …]
DActivityManagerService.java5434 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/
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/
DIIntentSender.aidl26 IIntentReceiver finishedReceiver, String requiredPermission, in Bundle options); in send() argument
DIntentSender.java187 OnFinished onFinished, Handler handler, String requiredPermission) in sendIntent() argument
198 requiredPermission, null); in sendIntent()
/frameworks/base/core/java/android/app/
DPendingIntent.java829 @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()
DActivityManagerInternal.java267 int resultCode, String resultData, Bundle resultExtras, String requiredPermission, in broadcastIntentInPackage() argument
DIActivityManager.aidl116 in String requiredPermission, int userId, int flags); in registerReceiver() argument
529 in String requiredPermission, in Bundle options); in sendIntentSender() 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/base/services/core/java/com/android/server/rollback/
DLocalIntentReceiver.java39 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) {
/frameworks/base/core/java/com/android/internal/app/
DSuspendedAppActivity.java66 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/
DSensorInterface.cpp29 .name = "", .vendor = "", .stringType = "", .requiredPermission = ""};
DSensorDevice.cpp311 (strcmp(prevSensor.requiredPermission, newSensor.requiredPermission) != 0) || in sensorIsEquivalent()
DSensorService.cpp1728 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/
Dutils.cpp50 dst.requiredPermission = src.getRequiredPermission(); in convertSensor()
/frameworks/native/libs/sensor/tests/
DSensor_test.cpp70 hwSensor.requiredPermission = ""; in getTestSensorT()
/frameworks/native/libs/sensor/
DSensor.cpp276 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/
DRestoreUtils.java212 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) {
/frameworks/base/services/core/java/com/android/server/pm/
DStagingManager.java670 IIntentReceiver finishedReceiver, String requiredPermission,
DPackageInstallerSession.java922 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) {
/frameworks/base/core/tests/coretests/src/android/content/pm/
DPackageManagerTests.java173 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) {
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java7357 boolean canUseManagedServices(String pkg, Integer userId, String requiredPermission) {
7368 if (requiredPermission != null) {
7370 if (mPackageManager.checkPermission(requiredPermission, pkg, userId)

12