Searched defs:requiredPermission (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/timezone/
H A DPermissionHelper.java26 void enforceCallerHasPermission(String requiredPermission) throws SecurityException; argument
H A DRulesManagerServiceHelperImpl.java43 public void enforceCallerHasPermission(String requiredPermission) { argument
44 mContext.enforceCallingPermission(requiredPermission, null /* message */);
/frameworks/base/services/core/java/com/android/server/am/
H A DBroadcastFilter.java30 final String requiredPermission; field in class:BroadcastFilter
42 requiredPermission = _requiredPermission;
52 if (requiredPermission != null) {
53 proto.write(BroadcastFilterProto.REQUIRED_PERMISSION, requiredPermission);
75 if (requiredPermission != null) {
76 pw.print(prefix); pw.print("requiredPermission="); pw.println(requiredPermission);
H A DPendingIntentRecord.java238 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) {
240 requiredPermission, null, null, 0, 0, 0, options);
244 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) {
246 requiredPermission, null, null, 0, 0, 0, options);
251 String requiredPermission, IBinder resultTo, String resultWho, int requestCode,
374 requiredPermission, options, (finishedReceiver != null),
237 send(int code, Intent intent, String resolvedType, IBinder whitelistToken, IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) argument
243 sendWithResult(int code, Intent intent, String resolvedType, IBinder whitelistToken, IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) argument
249 sendInner(int code, Intent intent, String resolvedType, IBinder whitelistToken, IIntentReceiver finishedReceiver, String requiredPermission, IBinder resultTo, String resultWho, int requestCode, int flagsMask, int flagsValues, Bundle options) argument
H A DActivityManagerService.java8441 IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) {
8444 whitelistToken, finishedReceiver, requiredPermission, options);
8457 requiredPermission, options);
21179 if (bf.requiredPermission == null) {
21956 String requiredPermission, Bundle bOptions, boolean serialized, boolean sticky,
21962 String[] requiredPermissions = requiredPermission == null ? null
21963 : new String[] {requiredPermission};
8439 sendIntentSender(IIntentSender target, IBinder whitelistToken, int code, Intent intent, String resolvedType, IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) argument
21953 broadcastIntentInPackage(String packageName, int uid, Intent intent, String resolvedType, IIntentReceiver resultTo, int resultCode, String resultData, Bundle resultExtras, String requiredPermission, Bundle bOptions, boolean serialized, boolean sticky, int userId) argument
[all...]
/frameworks/base/core/java/android/content/
H A DIntentSender.java174 * @param requiredPermission Name of permission that a recipient of the PendingIntent
185 OnFinished onFinished, Handler handler, String requiredPermission)
196 requiredPermission, null);
184 sendIntent(Context context, int code, Intent intent, OnFinished onFinished, Handler handler, String requiredPermission) argument
/frameworks/base/core/java/android/app/
H A DPendingIntent.java808 * @param requiredPermission Name of permission that a recipient of the PendingIntent
825 @Nullable String requiredPermission)
827 send(context, code, intent, onFinished, handler, requiredPermission, null);
853 * @param requiredPermission Name of permission that a recipient of the PendingIntent
872 @Nullable String requiredPermission, @Nullable Bundle options)
874 if (sendAndReturnResult(context, code, intent, onFinished, handler, requiredPermission,
886 @Nullable String requiredPermission, @Nullable Bundle options)
897 requiredPermission, options);
823 send(Context context, int code, @Nullable Intent intent, @Nullable OnFinished onFinished, @Nullable Handler handler, @Nullable String requiredPermission) argument
870 send(Context context, int code, @Nullable Intent intent, @Nullable OnFinished onFinished, @Nullable Handler handler, @Nullable String requiredPermission, @Nullable Bundle options) argument
884 sendAndReturnResult(Context context, int code, @Nullable Intent intent, @Nullable OnFinished onFinished, @Nullable Handler handler, @Nullable String requiredPermission, @Nullable Bundle options) argument
/frameworks/base/core/jni/
H A Dandroid_hardware_SensorManager.cpp64 jfieldID requiredPermission; member in struct:__anon839::SensorOffsets
109 sensorOffsets.requiredPermission =
165 jstring requiredPermission = local
180 env->SetObjectField(sensor, sensorOffsets.requiredPermission,
181 requiredPermission);
/frameworks/native/services/sensorservice/
H A DSensorService.cpp1547 const String8& requiredPermission = sensor.getRequiredPermission(); local
1549 if (requiredPermission.length() <= 0) {
1557 hasPermission = checkPermission(String16(requiredPermission),
1560 hasPermission = PermissionCache::checkCallingPermission(String16(requiredPermission));

Completed in 95 milliseconds