/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmMockContext.java | 283 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() argument 284 spiedContext.sendBroadcast(intent, receiverPermission, appOp); in sendBroadcast() 310 public void sendOrderedBroadcast(Intent intent, String receiverPermission, int appOp, in sendOrderedBroadcast() argument 313 spiedContext.sendOrderedBroadcast(intent, receiverPermission, appOp, resultReceiver, in sendOrderedBroadcast() 343 int appOp) { in sendBroadcastAsUser() argument 344 spiedContext.sendBroadcastAsUser(intent, user, receiverPermission, appOp); in sendBroadcastAsUser() 358 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument 361 intent, user, receiverPermission, appOp, null, resultReceiver, in sendOrderedBroadcastAsUser() 367 String receiverPermission, int appOp, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument 369 spiedContext.sendOrderedBroadcastAsUser(intent, user, receiverPermission, appOp, options, in sendOrderedBroadcastAsUser()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManagerNative.java | 78 static public void broadcastStickyIntent(Intent intent, String permission, int appOp, in broadcastStickyIntent() argument 80 ActivityManager.broadcastStickyIntent(intent, appOp, userId); in broadcastStickyIntent()
|
D | ContextImpl.java | 1140 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() argument 1149 Activity.RESULT_OK, null, null, receiverPermissions, appOp, null, false, false, in sendBroadcast() local 1193 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument 1196 sendOrderedBroadcast(intent, receiverPermission, appOp, in sendOrderedBroadcast() 1201 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument 1229 initialCode, initialData, initialExtras, receiverPermissions, appOp, in sendOrderedBroadcast() local 1274 String receiverPermission, int appOp) { in sendBroadcastAsUser() argument 1282 Activity.RESULT_OK, null, null, receiverPermissions, appOp, null, false, false, in sendBroadcastAsUser() local 1299 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument 1301 sendOrderedBroadcastAsUser(intent, user, receiverPermission, appOp, in sendOrderedBroadcastAsUser() [all …]
|
D | AppOpsManager.java | 2187 public static int opToDefaultMode(@NonNull String appOp) { in opToDefaultMode() argument 2188 return opToDefaultMode(strOpToOp(appOp)); in opToDefaultMode() 4611 public void setUidMode(String appOp, int uid, @Mode int mode) { in setUidMode() argument 4613 mService.setUidMode(AppOpsManager.strOpToOp(appOp), uid, mode); in setUidMode()
|
D | IActivityManager.aidl | 123 int appOp, in Bundle options, boolean serialized, boolean sticky, int userId); in broadcastIntent() argument
|
D | ActivityManager.java | 4012 public static void broadcastStickyIntent(Intent intent, int appOp, int userId) { 4016 null /*permission*/, appOp, null, false, true, userId);
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastRecord.java | 63 final int appOp; // an app op that is associated with this broadcast field in BroadcastRecord 135 || appOp != AppOpsManager.OP_NONE) { in dump() 138 pw.print(" appOp="); pw.println(appOp); in dump() 254 appOp = _appOp; in BroadcastRecord() 292 appOp = from.appOp; in BroadcastRecord() 348 requiredPermissions, appOp, options, splitReceivers, resultTo, resultCode, in splitRecipientsLocked()
|
D | BroadcastQueue.java | 684 int appOp = AppOpsManager.permissionToOpCode(requiredPermission); in deliverToRegisteredReceiverLocked() local 685 if (appOp != AppOpsManager.OP_NONE && appOp != r.appOp in deliverToRegisteredReceiverLocked() 686 && mService.mAppOpsService.noteOperation(appOp, in deliverToRegisteredReceiverLocked() 717 if (!skip && r.appOp != AppOpsManager.OP_NONE in deliverToRegisteredReceiverLocked() 718 && mService.mAppOpsService.noteOperation(r.appOp, in deliverToRegisteredReceiverLocked() 726 + " requires appop " + AppOpsManager.opToName(r.appOp) in deliverToRegisteredReceiverLocked() 1410 int appOp = AppOpsManager.permissionToOpCode(requiredPermission); in processNextBroadcastLocked() local 1411 if (appOp != AppOpsManager.OP_NONE && appOp != r.appOp in processNextBroadcastLocked() 1412 && mService.mAppOpsService.noteOperation(appOp, in processNextBroadcastLocked() 1427 if (!skip && r.appOp != AppOpsManager.OP_NONE in processNextBroadcastLocked() [all …]
|
D | UserController.java | 2274 Bundle resultExtras, String[] requiredPermissions, int appOp, Bundle bOptions, 2280 resultCode, resultData, resultExtras, requiredPermissions, appOp, bOptions,
|
D | ActivityManagerService.java | 14889 Bundle resultExtras, String[] requiredPermissions, int appOp, Bundle bOptions, in broadcastIntentLocked() argument 14893 resultCode, resultData, resultExtras, requiredPermissions, appOp, bOptions, ordered, in broadcastIntentLocked() 14902 Bundle resultExtras, String[] requiredPermissions, int appOp, Bundle bOptions, in broadcastIntentLocked() argument 15433 requiredPermissions, appOp, brOptions, registeredReceivers, resultTo, in broadcastIntentLocked() 15530 requiredPermissions, appOp, brOptions, receivers, resultTo, resultCode, in broadcastIntentLocked() 15651 String[] requiredPermissions, int appOp, Bundle bOptions, in broadcastIntent() argument 15666 requiredPermissions, appOp, bOptions, serialized, sticky, in broadcastIntent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationListController.java | 103 public void updateNotificationsForAppOp(int appOp, int uid, String pkg, boolean showIcon) { in updateNotificationsForAppOp() argument 108 .getNotificationData().updateAppOp(appOp, uid, pkg, foregroundKey, showIcon); in updateNotificationsForAppOp()
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 481 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() argument 482 mBase.sendBroadcast(intent, receiverPermission, appOp); in sendBroadcast() 517 Intent intent, String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument 520 mBase.sendOrderedBroadcast(intent, receiverPermission, appOp, in sendOrderedBroadcast() 546 String receiverPermission, int appOp) { in sendBroadcastAsUser() argument 547 mBase.sendBroadcastAsUser(intent, user, receiverPermission, appOp); in sendBroadcastAsUser() 561 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument 563 mBase.sendOrderedBroadcastAsUser(intent, user, receiverPermission, appOp, resultReceiver, in sendOrderedBroadcastAsUser() 570 String receiverPermission, int appOp, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument 572 mBase.sendOrderedBroadcastAsUser(intent, user, receiverPermission, appOp, options, in sendOrderedBroadcastAsUser()
|
D | Context.java | 2136 String receiverPermission, int appOp); in sendBroadcast() argument 2263 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument 2339 UserHandle user, @Nullable String receiverPermission, int appOp); in sendBroadcastAsUser() argument 2385 @Nullable String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument 2398 @Nullable String receiverPermission, int appOp, @Nullable Bundle options, in sendOrderedBroadcastAsUser() argument
|
/frameworks/base/test-mock/src/android/test/mock/ |
D | MockContext.java | 382 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() argument 410 public void sendOrderedBroadcast(Intent intent, String receiverPermission, int appOp, in sendOrderedBroadcast() argument 438 String receiverPermission, int appOp) { in sendBroadcastAsUser() argument 452 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument 460 String receiverPermission, int appOp, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationData.java | 226 public void updateAppOp(int appOp, int uid, String pkg, String key, boolean showIcon) { in updateAppOp() argument 235 entry.mActiveAppOps.add(appOp); in updateAppOp() 237 entry.mActiveAppOps.remove(appOp); in updateAppOp()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | WapPushOverSms.java | 651 String appOp; in getAppOpsStringPermissionForIntent() local 653 appOp = AppOpsManager.OPSTR_RECEIVE_MMS; in getAppOpsStringPermissionForIntent() 655 appOp = AppOpsManager.OPSTR_RECEIVE_WAP_PUSH; in getAppOpsStringPermissionForIntent() 657 return appOp; in getAppOpsStringPermissionForIntent()
|
D | InboundSmsHandler.java | 1130 public void dispatchIntent(Intent intent, String permission, String appOp, in dispatchIntent() argument 1169 .sendOrderedBroadcast(intent, Activity.RESULT_OK, permission, appOp, in dispatchIntent() 1180 .sendOrderedBroadcast(intent, Activity.RESULT_OK, permission, appOp, in dispatchIntent()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | ContextFixture.java | 394 public void sendOrderedBroadcast(Intent intent, String receiverPermission, int appOp, in sendOrderedBroadcast() argument 414 String receiverPermission, int appOp) { in sendBroadcastAsUser() argument 438 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument 451 String receiverPermission, int appOp, Bundle options, in sendOrderedBroadcastAsUser() argument
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgeContext.java | 1687 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() argument 1714 public void sendOrderedBroadcast(Intent intent, String receiverPermission, int appOp, in sendOrderedBroadcast() argument 1738 String receiverPermission, int appOp) { in sendBroadcastAsUser() argument 1751 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument 1759 String receiverPermission, int appOp, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
|
/frameworks/base/services/core/java/com/android/server/pm/permission/ |
D | DefaultPermissionGrantPolicy.java | 1274 int appOp = AppOpsManager.permissionToOpCode(permission); in grantRuntimePermissions() local 1275 if (appOp != AppOpsManager.OP_NONE in grantRuntimePermissions() 1276 && AppOpsManager.opToDefaultMode(appOp) in grantRuntimePermissions() 1282 Log.i(TAG, "Granting OP_" + AppOpsManager.opToName(appOp) in grantRuntimePermissions() 1286 appOp, pkg.applicationInfo.uid, AppOpsManager.MODE_ALLOWED); in grantRuntimePermissions()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | UserControllerTest.java | 608 String[] requiredPermissions, int appOp, Bundle bOptions, boolean ordered, in broadcastIntent() argument
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowState.java | 718 WindowState parentWindow, int appOp, int seq, WindowManager.LayoutParams a, in WindowState() argument 720 this(service, s, c, token, parentWindow, appOp, seq, a, viewVisibility, ownerId, in WindowState() 735 WindowState parentWindow, int appOp, int seq, WindowManager.LayoutParams a, in WindowState() argument 741 mAppOp = appOp; in WindowState()
|
D | WindowManagerService.java | 1245 int[] appOp = new int[1]; in addWindow() local 1246 int res = mPolicy.checkAddPermission(attrs, appOp); in addWindow() 1432 appOp[0], seq, attrs, viewVisibility, session.mUid, in addWindow()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | Vpn.java | 919 for (final int appOp : toChange) { in setPackageAuthorization() 921 appOp, in setPackageAuthorization()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageManagerService.java | 19392 String appOp = AppOpsManager.permissionToOp(permName); 19393 if (appOp != null) { 19394 mHandler.post(() -> appOpsManager.setUidMode(appOp, uid,
|