Home
last modified time | relevance | path

Searched defs:appOp (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
DFakeAppOpsHelper.java44 public void setAppOpAllowed(int appOp, String packageName, boolean allowed) { in setAppOpAllowed()
50 public boolean isAppOpStarted(int appOp, String packageName) { in isAppOpStarted()
55 public int getAppOpNoteCount(int appOp, String packageName) { in getAppOpNoteCount()
61 public boolean startOpNoThrow(int appOp, CallerIdentity callerIdentity) { in startOpNoThrow()
71 public void finishOp(int appOp, CallerIdentity callerIdentity) { in finishOp()
78 public boolean checkOpNoThrow(int appOp, CallerIdentity callerIdentity) { in checkOpNoThrow()
84 public boolean noteOp(int appOp, CallerIdentity callerIdentity) { in noteOp()
94 public boolean noteOpNoThrow(int appOp, CallerIdentity callerIdentity) { in noteOpNoThrow()
103 private AppOp getOp(String packageName, int appOp) { in getOp()
/frameworks/base/services/core/java/com/android/server/location/injector/
DSystemAppOpsHelper.java60 public boolean startOpNoThrow(int appOp, CallerIdentity callerIdentity) { in startOpNoThrow()
78 public void finishOp(int appOp, CallerIdentity callerIdentity) { in finishOp()
94 public boolean checkOpNoThrow(int appOp, CallerIdentity callerIdentity) { in checkOpNoThrow()
109 public boolean noteOp(int appOp, CallerIdentity callerIdentity) { in noteOp()
126 public boolean noteOpNoThrow(int appOp, CallerIdentity callerIdentity) { in noteOpNoThrow()
DAppOpsHelper.java68 public abstract boolean startOpNoThrow(int appOp, CallerIdentity callerIdentity); in startOpNoThrow()
73 public abstract void finishOp(int appOp, CallerIdentity callerIdentity); in finishOp()
78 public abstract boolean checkOpNoThrow(int appOp, CallerIdentity callerIdentity); in checkOpNoThrow()
83 public abstract boolean noteOp(int appOp, CallerIdentity callerIdentity); in noteOp()
88 public abstract boolean noteOpNoThrow(int appOp, CallerIdentity callerIdentity); in noteOpNoThrow()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastSkipPolicy.java254 int appOp = AppOpsManager.permissionToOpCode(excludedPermission); in shouldSkipMessage() local
328 int appOp = AppOpsManager.permissionToOpCode(requiredPermission); in shouldSkipMessage() local
495 int appOp = AppOpsManager.permissionToOpCode(requiredPermission); in shouldSkipMessage() local
534 int appOp = AppOpsManager.permissionToOpCode(excludedPermission); in shouldSkipMessage() local
635 private boolean noteOpForManifestReceiver(int appOp, BroadcastRecord r, ResolveInfo info, in noteOpForManifestReceiver()
650 private boolean noteOpForManifestReceiverInner(int appOp, BroadcastRecord r, ResolveInfo info, in noteOpForManifestReceiverInner()
DBroadcastRecord.java108 final int appOp; // an app op that is associated with this broadcast field in BroadcastRecord
411 String[] excludedPackages, int appOp, in BroadcastRecord()
DAppPermissionTracker.java283 UidGrantedPermissionState(int uid, @Nullable String permission, int appOp) { in UidGrantedPermissionState()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java330 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast()
357 public void sendOrderedBroadcast(Intent intent, String receiverPermission, int appOp, in sendOrderedBroadcast()
390 int appOp) { in sendBroadcastAsUser()
405 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser()
414 String receiverPermission, int appOp, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser()
/frameworks/base/core/java/android/app/
DActivityManagerNative.java78 static public void broadcastStickyIntent(Intent intent, String permission, int appOp, in broadcastStickyIntent()
DContextImpl.java1375 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast()
1385 null /*excludedPermissions=*/, null, appOp, null, false, false, getUserId()); in sendBroadcast() local
1435 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast()
1443 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast()
1473 null /*excludedPermissions=*/, null, appOp, options, true, false, getUserId()); in sendOrderedBroadcast() local
1519 String receiverPermission, int appOp) { in sendBroadcastAsUser()
1528 null /*excludedPermissions=*/, null, appOp, null, false, false, in sendBroadcastAsUser() local
1545 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser()
1553 String receiverPermission, int appOp, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser()
1581 null /*excludedPermissions=*/, null, appOp, options, true, false, in sendOrderedBroadcastAsUser() local
DActivityManager.java5601 public static void broadcastStickyIntent(Intent intent, int appOp, int userId) { in broadcastStickyIntent()
5610 public static void broadcastStickyIntent(Intent intent, int appOp, Bundle options, int userId) { in broadcastStickyIntent()
5620 int appOp, Bundle options, int userId) { in broadcastStickyIntent()
DIActivityManager.aidl189 int appOp, in Bundle options, boolean serialized, boolean sticky, int userId); in broadcastIntent()
193 …in String[] excludePackages, int appOp, in Bundle options, boolean serialized, boolean sticky, int… in broadcastIntentWithFeature()
DAppOpsManager.java3287 public static int opToDefaultMode(@NonNull String appOp) { in opToDefaultMode()
8095 public void setUidMode(@NonNull String appOp, int uid, @Mode int mode) { in setUidMode()
/frameworks/av/services/audiopolicy/service/
DAudioRecordClient.cpp92 int32_t appOp, in OpRecordAudioMonitor()
/frameworks/base/ravenwood/junit-impl-src/android/platform/test/ravenwood/
DRavenwoodBaseContext.java382 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast()
400 int appOp, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, in sendOrderedBroadcast()
423 int appOp) { in sendBroadcastAsUser()
436 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser()
443 String receiverPermission, int appOp, Bundle options, in sendOrderedBroadcastAsUser()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java519 public void sendOrderedBroadcast(Intent intent, String receiverPermission, int appOp, in sendOrderedBroadcast()
539 String receiverPermission, int appOp) { in sendBroadcastAsUser()
569 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser()
582 String receiverPermission, int appOp, Bundle options, in sendOrderedBroadcastAsUser()
/frameworks/base/test-mock/src/android/test/mock/
DMockContext.java399 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast()
427 public void sendOrderedBroadcast(Intent intent, String receiverPermission, int appOp, in sendOrderedBroadcast()
455 String receiverPermission, int appOp) { in sendBroadcastAsUser()
469 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser()
477 String receiverPermission, int appOp, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DApplicationContext.java612 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast()
648 public void sendOrderedBroadcast(Intent intent, String receiverPermission, int appOp, in sendOrderedBroadcast()
684 int appOp) { in sendBroadcastAsUser()
703 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser()
713 String receiverPermission, int appOp, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser()
DBridgeContext.java1827 public void sendBroadcast(Intent intent, String receiverPermission, int appOp) { in sendBroadcast()
1854 public void sendOrderedBroadcast(Intent intent, String receiverPermission, int appOp, in sendOrderedBroadcast()
1878 String receiverPermission, int appOp) { in sendBroadcastAsUser()
1891 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser()
1899 String receiverPermission, int appOp, Bundle options, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWapPushOverSms.java466 String appOp; in getAppOpsStringPermissionForIntent() local
DInboundSmsHandler.java1327 public void dispatchIntent(Intent intent, String permission, String appOp, in dispatchIntent()
/frameworks/base/core/java/android/content/
DContextWrapper.java552 public void sendBroadcast(Intent intent, @Nullable String receiverPermission, int appOp) { in sendBroadcast()
593 Intent intent, @Nullable String receiverPermission, int appOp, in sendOrderedBroadcast()
622 @Nullable String receiverPermission, int appOp) { in sendBroadcastAsUser()
638 @Nullable String receiverPermission, int appOp, in sendOrderedBroadcastAsUser()
648 @Nullable String receiverPermission, int appOp, @Nullable Bundle options, in sendOrderedBroadcastAsUser()
DContext.java2621 String receiverPermission, int appOp); in sendBroadcast()
2775 String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcast()
2853 UserHandle user, @Nullable String receiverPermission, int appOp); in sendBroadcastAsUser()
2900 @Nullable String receiverPermission, int appOp, BroadcastReceiver resultReceiver, in sendOrderedBroadcastAsUser()
2914 @Nullable String receiverPermission, int appOp, @Nullable Bundle options, in sendOrderedBroadcastAsUser()
/frameworks/base/core/java/com/android/internal/app/
DIAppOpsService.aidl83 in SyncNotedAppOp appOp, String message); in reportRuntimeAppOpAccessMessageAndGetConfig()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java1741 String[] requiredPermissions, int appOp, Bundle bOptions, in broadcastIntent()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java1083 WindowState parentWindow, int appOp, WindowManager.LayoutParams a, int viewVisibility, in WindowState()

12