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.java640 if (filter.requiredPermission != null) { in deliverToRegisteredReceiverLocked()
641 int perm = mService.checkComponentPermission(filter.requiredPermission, in deliverToRegisteredReceiverLocked()
648 + " requires " + filter.requiredPermission in deliverToRegisteredReceiverLocked()
652 final int opCode = AppOpsManager.permissionToOpCode(filter.requiredPermission); in deliverToRegisteredReceiverLocked()
661 filter.requiredPermission) in deliverToRegisteredReceiverLocked()
669 String requiredPermission = r.requiredPermissions[i]; in deliverToRegisteredReceiverLocked() local
670 int perm = mService.checkComponentPermission(requiredPermission, in deliverToRegisteredReceiverLocked()
678 + " requires " + requiredPermission in deliverToRegisteredReceiverLocked()
684 int appOp = AppOpsManager.permissionToOpCode(requiredPermission); in deliverToRegisteredReceiverLocked()
695 requiredPermission) in deliverToRegisteredReceiverLocked()
[all …]
DActivityManagerService.java5463 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) { in sendIntentSender() argument
5466 whitelistToken, finishedReceiver, requiredPermission, options); in sendIntentSender()
5479 requiredPermission, options); in sendIntentSender()
14858 if (bf.requiredPermission == null) { in checkBroadcastFromSystem()
15677 String requiredPermission, Bundle bOptions, boolean serialized, boolean sticky, in broadcastIntentInPackage() argument
15683 String[] requiredPermissions = requiredPermission == null ? null in broadcastIntentInPackage()
15684 : new String[] {requiredPermission}; in broadcastIntentInPackage()
18333 int resultCode, String resultData, Bundle resultExtras, String requiredPermission, in broadcastIntentInPackage() argument
18339 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/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.java255 int resultCode, String resultData, Bundle resultExtras, String requiredPermission, in broadcastIntentInPackage() argument
DIActivityManager.aidl116 in String requiredPermission, int userId, int flags); in registerReceiver() argument
541 in String requiredPermission, in Bundle options); in sendIntentSender() 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/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.cpp1691 const String8& requiredPermission = sensor.getRequiredPermission(); in hasPermissionForSensor() local
1695 hasPermission = checkPermission(String16(requiredPermission), in hasPermissionForSensor()
1698 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.java824 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) {
840 IIntentReceiver finishedReceiver, String requiredPermission,
DPackageInstallerSession.java885 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.java7585 boolean canUseManagedServices(String pkg, Integer userId, String requiredPermission) {
7596 if (requiredPermission != null) {
7598 if (mPackageManager.checkPermission(requiredPermission, pkg, userId)

12