Home
last modified time | relevance | path

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

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCellBroadcastHandler.java78 int appOp; in handleBroadcastSms() local
84 appOp = AppOpsManager.OP_RECEIVE_EMERGECY_SMS; in handleBroadcastSms()
89 appOp = AppOpsManager.OP_RECEIVE_SMS; in handleBroadcastSms()
93 mContext.sendOrderedBroadcast(intent, receiverPermission, appOp, mReceiver, in handleBroadcastSms()
DWapPushOverSms.java266 int appOp; in dispatchWapPdu() local
270 appOp = AppOpsManager.OP_RECEIVE_MMS; in dispatchWapPdu()
273 appOp = AppOpsManager.OP_RECEIVE_WAP_PUSH; in dispatchWapPdu()
295 handler.dispatchIntent(intent, permission, appOp, receiver, UserHandle.OWNER); in dispatchWapPdu()
DInboundSmsHandler.java772 protected void dispatchIntent(Intent intent, String permission, int appOp, in dispatchIntent() argument
802 mContext.sendOrderedBroadcastAsUser(intent, targetUser, permission, appOp, in dispatchIntent()
807 mContext.sendOrderedBroadcastAsUser(intent, user, permission, appOp, in dispatchIntent()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastRecord.java52 final int appOp; // an app op that is associated with this broadcast field in BroadcastRecord
101 if (requiredPermission != null || appOp != AppOpsManager.OP_NONE) { in dump()
103 pw.print(" appOp="); pw.println(appOp); in dump()
191 appOp = _appOp; in BroadcastRecord()
DBroadcastQueue.java474 if (r.appOp != AppOpsManager.OP_NONE) { in deliverToRegisteredReceiverLocked()
475 int mode = mService.mAppOpsService.noteOperation(r.appOp, in deliverToRegisteredReceiverLocked()
479 "App op " + r.appOp + " not allowed for broadcast to uid " in deliverToRegisteredReceiverLocked()
792 if (r.appOp != AppOpsManager.OP_NONE) { in processNextBroadcast()
793 int mode = mService.mAppOpsService.noteOperation(r.appOp, in processNextBroadcast()
797 "App op " + r.appOp + " not allowed for broadcast to uid " in processNextBroadcast()
DActivityManagerService.java15425 Bundle map, String requiredPermission, int appOp,
15750 appOp, registeredReceivers, resultTo, resultCode, resultData, map,
15840 requiredPermission, appOp, receivers, resultTo, resultCode,
15891 String requiredPermission, int appOp, boolean serialized, boolean sticky, int userId) {
15903 resultCode, resultData, map, requiredPermission, appOp, serialized, sticky,
/frameworks/base/core/java/android/content/
DContextWrapper.java386 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() argument
387 mBase.sendBroadcast(intent, receiverPermission, appOp); in sendBroadcast()
409 Intent intent, String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
412 mBase.sendOrderedBroadcast(intent, receiverPermission, appOp, in sendOrderedBroadcast()
439 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
442 mBase.sendOrderedBroadcastAsUser(intent, user, receiverPermission, appOp, resultReceiver, in sendOrderedBroadcastAsUser()
DContext.java1428 String receiverPermission, int appOp); in sendBroadcast() argument
1505 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
1580 @Nullable String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
/frameworks/base/test-runner/src/android/test/mock/
DMockContext.java320 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() argument
339 public void sendOrderedBroadcast(Intent intent, String receiverPermission, int appOp, in sendOrderedBroadcast() argument
366 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java1257 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() argument
1276 public void sendOrderedBroadcast(Intent intent, String receiverPermission, int appOp, in sendOrderedBroadcast() argument
1302 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
/frameworks/base/core/java/android/app/
DContextImpl.java1348 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast() argument
1355 Activity.RESULT_OK, null, null, receiverPermission, appOp, false, false, in sendBroadcast() local
1387 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast() argument
1413 initialCode, initialData, initialExtras, receiverPermission, appOp, in sendOrderedBroadcast() local
1455 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser() argument
1481 appOp, true, false, user.getIdentifier()); in sendOrderedBroadcastAsUser() local
DIActivityManager.java107 int appOp, boolean serialized, boolean sticky, int userId) throws RemoteException; in broadcastIntent() argument
DActivityManagerNative.java438 int appOp = data.readInt(); in onTransact() local
443 resultCode, resultData, resultExtras, perm, appOp, in onTransact()
2771 String requiredPermission, int appOp, boolean serialized, in broadcastIntent() argument
2785 data.writeInt(appOp); in broadcastIntent()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java328 WindowState attachedWindow, int appOp, int seq, WindowManager.LayoutParams a, in WindowState() argument
333 mAppOp = appOp; in WindowState()
DWindowManagerService.java2252 int[] appOp = new int[1]; in addWindow() local
2253 int res = mPolicy.checkAddPermission(attrs, appOp); in addWindow()
2387 attachedWindow, appOp[0], seq, attrs, viewVisibility, displayContent); in addWindow()