/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CellBroadcastHandler.java | 93 int appOp; in handleBroadcastSms() local 112 appOp = AppOpsManager.OP_RECEIVE_EMERGECY_SMS; in handleBroadcastSms() 126 receiverPermission, appOp, null, getHandler(), Activity.RESULT_OK, in handleBroadcastSms() 138 appOp, mReceiver, getHandler(), Activity.RESULT_OK, null, null); in handleBroadcastSms() 149 appOp = AppOpsManager.OP_RECEIVE_SMS; in handleBroadcastSms() 155 mContext.sendOrderedBroadcastAsUser(intent, UserHandle.ALL, receiverPermission, appOp, in handleBroadcastSms()
|
D | WapPushOverSms.java | 641 int appOp; in getAppOpsPermissionForIntent() local 643 appOp = AppOpsManager.OP_RECEIVE_MMS; in getAppOpsPermissionForIntent() 645 appOp = AppOpsManager.OP_RECEIVE_WAP_PUSH; in getAppOpsPermissionForIntent() 647 return appOp; in getAppOpsPermissionForIntent()
|
D | InboundSmsHandler.java | 1116 public void dispatchIntent(Intent intent, String permission, int appOp, in dispatchIntent() argument 1159 mContext.sendOrderedBroadcastAsUser(intent, targetUser, permission, appOp, opts, in dispatchIntent() 1164 mContext.sendOrderedBroadcastAsUser(intent, user, permission, appOp, opts, in dispatchIntent()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmMockContext.java | 281 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() argument 282 spiedContext.sendBroadcast(intent, receiverPermission, appOp); in sendBroadcast() 308 public void sendOrderedBroadcast(Intent intent, String receiverPermission, int appOp, in sendOrderedBroadcast() argument 311 spiedContext.sendOrderedBroadcast(intent, receiverPermission, appOp, resultReceiver, in sendOrderedBroadcast() 341 int appOp) { in sendBroadcastAsUser() argument 342 spiedContext.sendBroadcastAsUser(intent, user, receiverPermission, appOp); in sendBroadcastAsUser() 356 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument 359 intent, user, receiverPermission, appOp, null, resultReceiver, in sendOrderedBroadcastAsUser() 365 String receiverPermission, int appOp, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument 367 spiedContext.sendOrderedBroadcastAsUser(intent, user, receiverPermission, appOp, options, in sendOrderedBroadcastAsUser()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManagerNative.java | 73 static public void broadcastStickyIntent(Intent intent, String permission, int appOp, in broadcastStickyIntent() argument 75 ActivityManager.broadcastStickyIntent(intent, appOp, userId); in broadcastStickyIntent()
|
D | ContextImpl.java | 1123 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() argument 1132 Activity.RESULT_OK, null, null, receiverPermissions, appOp, null, false, false, in sendBroadcast() local 1176 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument 1179 sendOrderedBroadcast(intent, receiverPermission, appOp, in sendOrderedBroadcast() 1184 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument 1212 initialCode, initialData, initialExtras, receiverPermissions, appOp, in sendOrderedBroadcast() local 1257 String receiverPermission, int appOp) { in sendBroadcastAsUser() argument 1265 Activity.RESULT_OK, null, null, receiverPermissions, appOp, null, false, false, in sendBroadcastAsUser() local 1282 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument 1284 sendOrderedBroadcastAsUser(intent, user, receiverPermission, appOp, in sendOrderedBroadcastAsUser() [all …]
|
D | AppOpsManager.java | 2134 public static int opToDefaultMode(@NonNull String appOp) { in opToDefaultMode() argument 2135 return opToDefaultMode(strOpToOp(appOp)); in opToDefaultMode() 4557 public void setUidMode(String appOp, int uid, @Mode int mode) { in setUidMode() argument 4559 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 | 3983 public static void broadcastStickyIntent(Intent intent, int appOp, int userId) { 3987 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 | 679 int appOp = AppOpsManager.permissionToOpCode(requiredPermission); in deliverToRegisteredReceiverLocked() local 680 if (appOp != AppOpsManager.OP_NONE && appOp != r.appOp in deliverToRegisteredReceiverLocked() 681 && mService.mAppOpsService.noteOperation(appOp, in deliverToRegisteredReceiverLocked() 712 if (!skip && r.appOp != AppOpsManager.OP_NONE in deliverToRegisteredReceiverLocked() 713 && mService.mAppOpsService.noteOperation(r.appOp, in deliverToRegisteredReceiverLocked() 721 + " requires appop " + AppOpsManager.opToName(r.appOp) in deliverToRegisteredReceiverLocked() 1405 int appOp = AppOpsManager.permissionToOpCode(requiredPermission); in processNextBroadcastLocked() local 1406 if (appOp != AppOpsManager.OP_NONE && appOp != r.appOp in processNextBroadcastLocked() 1407 && mService.mAppOpsService.noteOperation(appOp, in processNextBroadcastLocked() 1422 if (!skip && r.appOp != AppOpsManager.OP_NONE in processNextBroadcastLocked() [all …]
|
D | UserController.java | 2229 Bundle resultExtras, String[] requiredPermissions, int appOp, Bundle bOptions, 2235 resultCode, resultData, resultExtras, requiredPermissions, appOp, bOptions,
|
D | ActivityManagerService.java | 14797 Bundle resultExtras, String[] requiredPermissions, int appOp, Bundle bOptions, in broadcastIntentLocked() argument 14801 resultCode, resultData, resultExtras, requiredPermissions, appOp, bOptions, ordered, in broadcastIntentLocked() 14810 Bundle resultExtras, String[] requiredPermissions, int appOp, Bundle bOptions, in broadcastIntentLocked() argument 15336 requiredPermissions, appOp, brOptions, registeredReceivers, resultTo, in broadcastIntentLocked() 15433 requiredPermissions, appOp, brOptions, receivers, resultTo, resultCode, in broadcastIntentLocked() 15554 String[] requiredPermissions, int appOp, Bundle bOptions, in broadcastIntent() argument 15569 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 | 478 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() argument 479 mBase.sendBroadcast(intent, receiverPermission, appOp); in sendBroadcast() 513 Intent intent, String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument 516 mBase.sendOrderedBroadcast(intent, receiverPermission, appOp, in sendOrderedBroadcast() 542 String receiverPermission, int appOp) { in sendBroadcastAsUser() argument 543 mBase.sendBroadcastAsUser(intent, user, receiverPermission, appOp); in sendBroadcastAsUser() 557 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument 559 mBase.sendOrderedBroadcastAsUser(intent, user, receiverPermission, appOp, resultReceiver, in sendOrderedBroadcastAsUser() 566 String receiverPermission, int appOp, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument 568 mBase.sendOrderedBroadcastAsUser(intent, user, receiverPermission, appOp, options, in sendOrderedBroadcastAsUser()
|
D | Context.java | 2126 String receiverPermission, int appOp); in sendBroadcast() argument 2253 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument 2329 UserHandle user, @Nullable String receiverPermission, int appOp); in sendBroadcastAsUser() argument 2375 @Nullable String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument 2388 @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/tests/telephonytests/src/com/android/internal/telephony/ |
D | ContextFixture.java | 383 public void sendOrderedBroadcast(Intent intent, String receiverPermission, int appOp, in sendOrderedBroadcast() argument 403 String receiverPermission, int appOp) { in sendBroadcastAsUser() argument 422 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument 435 String receiverPermission, int appOp, Bundle options, in sendOrderedBroadcastAsUser() argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | SmsApplication.java | 561 for (int appOp : DEFAULT_APP_EXCLUSIVE_APPOPS) { in tryFixExclusiveSmsAppops() 562 int mode = appOps.checkOp(appOp, applicationData.mUid, in tryFixExclusiveSmsAppops() 566 + AppOpsManager.modeToName(appOp) + ": " in tryFixExclusiveSmsAppops() 569 appOps.setUidMode(appOp, applicationData.mUid, AppOpsManager.MODE_ALLOWED); in tryFixExclusiveSmsAppops()
|
/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 | 1269 int appOp = AppOpsManager.permissionToOpCode(permission); in grantRuntimePermissions() local 1270 if (appOp != AppOpsManager.OP_NONE in grantRuntimePermissions() 1271 && AppOpsManager.opToDefaultMode(appOp) in grantRuntimePermissions() 1277 Log.i(TAG, "Granting OP_" + AppOpsManager.opToName(appOp) in grantRuntimePermissions() 1281 appOp, pkg.applicationInfo.uid, AppOpsManager.MODE_ALLOWED); in grantRuntimePermissions()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | UserControllerTest.java | 570 String[] requiredPermissions, int appOp, Bundle bOptions, boolean ordered, in broadcastIntent() argument
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowManagerService.java | 1224 int[] appOp = new int[1]; in addWindow() local 1225 int res = mPolicy.checkAddPermission(attrs, appOp); in addWindow() 1411 appOp[0], seq, attrs, viewVisibility, session.mUid, in addWindow()
|