/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastFilter.java | 30 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()
|
D | PendingIntentRecord.java | 269 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()
|
D | BroadcastQueue.java | 640 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 …]
|
D | ActivityManagerService.java | 5463 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/ |
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/app/ |
D | PendingIntent.java | 829 @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()
|
D | ActivityManagerInternal.java | 255 int resultCode, String resultData, Bundle resultExtras, String requiredPermission, in broadcastIntentInPackage() argument
|
D | IActivityManager.aidl | 116 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/ |
D | IIntentSender.aidl | 26 IIntentReceiver finishedReceiver, String requiredPermission, in Bundle options); in send() argument
|
D | IntentSender.java | 187 OnFinished onFinished, Handler handler, String requiredPermission) in sendIntent() argument 198 requiredPermission, null); in sendIntent()
|
/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/base/services/core/java/com/android/server/rollback/ |
D | LocalIntentReceiver.java | 39 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) {
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SuspendedAppActivity.java | 66 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/ |
D | SensorInterface.cpp | 29 .name = "", .vendor = "", .stringType = "", .requiredPermission = ""};
|
D | SensorDevice.cpp | 311 (strcmp(prevSensor.requiredPermission, newSensor.requiredPermission) != 0) || in sensorIsEquivalent()
|
D | SensorService.cpp | 1691 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/ |
D | utils.cpp | 50 dst.requiredPermission = src.getRequiredPermission(); in convertSensor()
|
/frameworks/native/libs/sensor/tests/ |
D | Sensor_test.cpp | 70 hwSensor.requiredPermission = ""; in getTestSensorT()
|
/frameworks/native/libs/sensor/ |
D | Sensor.cpp | 276 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/ |
D | RestoreUtils.java | 212 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) {
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | StagingManager.java | 824 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) { 840 IIntentReceiver finishedReceiver, String requiredPermission,
|
D | PackageInstallerSession.java | 885 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) {
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | PackageManagerTests.java | 173 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) {
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 7585 boolean canUseManagedServices(String pkg, Integer userId, String requiredPermission) { 7596 if (requiredPermission != null) { 7598 if (mPackageManager.checkPermission(requiredPermission, pkg, userId)
|