Home
last modified time | relevance | path

Searched refs:requiredPermissions (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DBroadcastSkipPolicy.java291 r.requiredPermissions != null && r.requiredPermissions.length > 0) { in shouldSkipMessage()
298 for (int i = 0; i < r.requiredPermissions.length; i++) { in shouldSkipMessage()
299 String requiredPermission = r.requiredPermissions[i]; in shouldSkipMessage()
357 && !isSignaturePerm(r.requiredPermissions)); in disallowBackgroundStart()
454 if (r.requiredPermissions != null && r.requiredPermissions.length > 0) { in shouldSkipMessage()
466 for (int i = 0; i < r.requiredPermissions.length; i++) { in shouldSkipMessage()
467 String requiredPermission = r.requiredPermissions[i]; in shouldSkipMessage()
514 if ((r.requiredPermissions == null || r.requiredPermissions.length == 0)) { in shouldSkipMessage()
DBroadcastRecord.java105 final @Nullable String[] requiredPermissions; // permissions the caller has required field in BroadcastRecord
281 if ((requiredPermissions != null && requiredPermissions.length > 0) in dump()
284 pw.print(Arrays.toString(requiredPermissions)); in dump()
410 String[] requiredPermissions, String[] excludedPermissions, in BroadcastRecord() argument
421 callingUid, callerInstantApp, resolvedType, requiredPermissions, in BroadcastRecord()
457 requiredPermissions = _requiredPermissions; in BroadcastRecord()
516 requiredPermissions = from.requiredPermissions; in BroadcastRecord()
DActivityManagerService.java15285 Bundle resultExtras, String[] requiredPermissions, String[] excludedPermissions, in broadcastIntentLocked() argument
15291 requiredPermissions, excludedPermissions, excludedPackages, appOp, bOptions, in broadcastIntentLocked()
15301 Bundle resultExtras, String[] requiredPermissions, in broadcastIntentLocked() argument
15313 resultExtras, requiredPermissions, excludedPermissions, excludedPackages, in broadcastIntentLocked()
15358 Bundle resultExtras, String[] requiredPermissions, in broadcastIntentLockedTraced() argument
15907 if (requiredPermissions != null && requiredPermissions.length > 0) { in broadcastIntentLockedTraced()
15909 + " and enforce permissions " + Arrays.toString(requiredPermissions)); in broadcastIntentLockedTraced()
16125 requiredPermissions, excludedPermissions, excludedPackages, appOp, brOptions, in broadcastIntentLockedTraced()
16295 String[] requiredPermissions, int appOp, Bundle bOptions, in broadcastIntent() argument
16298 resultData, resultExtras, requiredPermissions, null, null, appOp, bOptions, in broadcastIntent()
[all …]
DUserController.java3780 Bundle resultExtras, String[] requiredPermissions, int appOp, Bundle bOptions,
3796 requiredPermissions, null, null, appOp, bOptions, false, sticky,
DActivityManagerShellCommand.java999 String[] requiredPermissions = mReceiverPermission == null ? null
1005 receiver, 0, null, null, requiredPermissions, null, null,
/frameworks/base/services/core/java/com/android/server/pm/
DBroadcastHelper.java201 final String[] requiredPermissions = in broadcastIntent() local
211 intent, finishedReceiver, requiredPermissions, userId, in broadcastIntent()
261 final String[] requiredPermissions = {Manifest.permission.RECEIVE_BOOT_COMPLETED}; in sendBootCompletedBroadcastToSystemApp() local
265 requiredPermissions, null, null, android.app.AppOpsManager.OP_NONE, in sendBootCompletedBroadcastToSystemApp()
276 requiredPermissions, null, null, android.app.AppOpsManager.OP_NONE, in sendBootCompletedBroadcastToSystemApp()
333 final String[] requiredPermissions = { in sendDeviceCustomizationReadyBroadcast() local
338 requiredPermissions, null, null, android.app.AppOpsManager.OP_NONE, null, false, in sendDeviceCustomizationReadyBroadcast()
/frameworks/base/core/java/android/permission/
DPermissionControllerService.java503 @NonNull String... requiredPermissions) { in onBind()
504 for (String requiredPermission : requiredPermissions) { in onBind()
513 requiredPermissions)); in onBind()
DPermissionControllerManager.java302 private void enforceSomePermissionsGrantedToSelf(@NonNull String... requiredPermissions) { in enforceSomePermissionsGrantedToSelf() argument
303 for (String requiredPermission : requiredPermissions) { in enforceSomePermissionsGrantedToSelf()
311 + Arrays.toString(requiredPermissions)); in enforceSomePermissionsGrantedToSelf()
/frameworks/base/core/java/android/app/
DBroadcastOptions.java600 public void setRequireAllOfPermissions(@Nullable String[] requiredPermissions) { in setRequireAllOfPermissions() argument
601 mRequireAllOfPermissions = requiredPermissions; in setRequireAllOfPermissions()
DActivityManagerInternal.java852 String[] requiredPermissions, boolean serialized, in broadcastIntent() argument
865 String[] requiredPermissions, in broadcastIntentWithCallback() argument
DIActivityManager.aidl188 in String resultData, in Bundle map, in String[] requiredPermissions, in broadcastIntent() argument
192 …in String resultData, in Bundle map, in String[] requiredPermissions, in String[] excludePermissio… in broadcastIntentWithFeature() argument
/frameworks/base/services/core/java/com/android/server/apphibernation/
DAppHibernationService.java503 final String[] requiredPermissions = {Manifest.permission.RECEIVE_BOOT_COMPLETED}; in unhibernatePackageForUser() local
513 requiredPermissions, in unhibernatePackageForUser()
532 requiredPermissions, in unhibernatePackageForUser()
/frameworks/base/services/core/java/com/android/server/location/provider/
DLocationProviderManager.java1538 Collection<String> requiredPermissions) {
1545 mRequiredPermissions = requiredPermissions;
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
DLocationProviderManagerTest.java214 private void createManager(String name, Collection<String> requiredPermissions) { in createManager() argument
222 mContext, mInjector, name, mPassive, requiredPermissions); in createManager()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java1741 String[] requiredPermissions, int appOp, Bundle bOptions, in broadcastIntent() argument