Home
last modified time | relevance | path

Searched refs:OP_NONE (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/policy/
DSoftRestrictedPermissionPolicy.java25 import static android.app.AppOpsManager.OP_NONE;
59 return OP_NONE;
229 return OP_NONE; in forPermission()
DPermissionPolicyService.java24 import static android.app.AppOpsManager.OP_NONE;
164 if (policy.resolveAppOp() != OP_NONE) { in onStart()
187 if (op == OP_NONE) { in getSwitchOp()
188 return OP_NONE; in getSwitchOp()
575 if (opCode != OP_NONE) { in addOpIfRestricted()
587 if (opCode != OP_NONE) { in addOpIfRestricted()
596 if (op != OP_NONE) { in addOpIfRestricted()
726 if (opCode == OP_NONE) { in addPackage()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowTestUtils.java19 import static android.app.AppOpsManager.OP_NONE;
179 super(service, session, window, token, null, OP_NONE, 0, attrs, 0, 0, in TestWindowState()
DWindowTestsBase.java19 import static android.app.AppOpsManager.OP_NONE;
370 OP_NONE, in createWindow()
/frameworks/base/core/java/android/app/
DContextImpl.java1068 Activity.RESULT_OK, null, null, null, AppOpsManager.OP_NONE, null, false, false, in sendBroadcast()
1085 Activity.RESULT_OK, null, null, receiverPermissions, AppOpsManager.OP_NONE, in sendBroadcast()
1100 Activity.RESULT_OK, null, null, receiverPermissions, AppOpsManager.OP_NONE, in sendBroadcastMultiplePermissions()
1115 Activity.RESULT_OK, null, null, receiverPermissions, AppOpsManager.OP_NONE, in sendBroadcastAsUserMultiplePermissions()
1132 Activity.RESULT_OK, null, null, receiverPermissions, AppOpsManager.OP_NONE, in sendBroadcast()
1166 Activity.RESULT_OK, null, null, receiverPermissions, AppOpsManager.OP_NONE, in sendOrderedBroadcast()
1178 sendOrderedBroadcast(intent, receiverPermission, AppOpsManager.OP_NONE, in sendOrderedBroadcast()
1187 sendOrderedBroadcast(intent, receiverPermission, AppOpsManager.OP_NONE, in sendOrderedBroadcast()
1243 AppOpsManager.OP_NONE, null, false, false, user.getIdentifier()); in sendBroadcastAsUser()
1252 sendBroadcastAsUser(intent, user, receiverPermission, AppOpsManager.OP_NONE); in sendBroadcastAsUser()
[all …]
DActivityManagerNative.java69 broadcastStickyIntent(intent, permission, AppOpsManager.OP_NONE, userId); in broadcastStickyIntent()
DAppOpsManager.java578 public static final int OP_NONE = -1; field in AppOpsManager
2090 if (op == OP_NONE) return "NONE"; in opToName()
2156 return boxedOpCode != null ? boxedOpCode : OP_NONE; in permissionToOpCode()
2844 opNames.get(i)) != AppOpsManager.OP_NONE); in setOpNames()
DActivityManager.java4004 broadcastStickyIntent(intent, AppOpsManager.OP_NONE, userId);
/frameworks/base/services/core/java/com/android/server/am/
DAssistDataRequester.java21 import static android.app.AppOpsManager.OP_NONE;
209 && (mRequestScreenshotAppOps != OP_NONE); in requestData()
DUserController.java385 AppOpsManager.OP_NONE, null, true, false, MY_PID, SYSTEM_UID, in finishUserBoot()
488 null, null, AppOpsManager.OP_NONE, null, false, false, MY_PID, SYSTEM_UID, in finishUserUnlocked()
501 null, null, 0, null, null, null, AppOpsManager.OP_NONE, in finishUserUnlocked()
561 }, 0, null, null, null, AppOpsManager.OP_NONE, in finishUserUnlockedCompleted()
611 AppOpsManager.OP_NONE, null, true, false, MY_PID, SYSTEM_UID, in finishUserUnlockedCompleted()
741 new String[]{INTERACT_ACROSS_USERS}, AppOpsManager.OP_NONE,
782 AppOpsManager.OP_NONE,
933 null, null, 0, null, null, null, AppOpsManager.OP_NONE,
1213 null, null, 0, null, null, null, AppOpsManager.OP_NONE,
1236 new String[]{INTERACT_ACROSS_USERS}, AppOpsManager.OP_NONE,
[all …]
DPreBootBroadcaster.java112 AppOpsManager.OP_NONE, null, true, false, ActivityManagerService.MY_PID, in sendNext()
DBroadcastQueue.java653 if (opCode != AppOpsManager.OP_NONE in deliverToRegisteredReceiverLocked()
685 if (appOp != AppOpsManager.OP_NONE && appOp != r.appOp in deliverToRegisteredReceiverLocked()
717 if (!skip && r.appOp != AppOpsManager.OP_NONE in deliverToRegisteredReceiverLocked()
1373 if (opCode != AppOpsManager.OP_NONE in processNextBroadcastLocked()
1411 if (appOp != AppOpsManager.OP_NONE && appOp != r.appOp in processNextBroadcastLocked()
1427 if (!skip && r.appOp != AppOpsManager.OP_NONE in processNextBroadcastLocked()
DBroadcastRecord.java135 || appOp != AppOpsManager.OP_NONE) { in dump()
DActivityManagerService.java33 import static android.app.AppOpsManager.OP_NONE;
2919 OP_NONE, null, false, false, -1, SYSTEM_UID, Binder.getCallingUid(), in batterySendBroadcast()
4550 null, null, 0, null, null, null, OP_NONE, in finishForceStopPackageLocked()
8955 OP_NONE, null, false, false, UserHandle.USER_ALL); in sendIdleJobTrigger()
9142 null, null, 0, null, null, null, OP_NONE, in systemReady()
9156 new String[] {INTERACT_ACROSS_USERS}, OP_NONE, in systemReady()
14650 null, -1, -1, false, null, null, OP_NONE, null, receivers, in registerReceiver()
15688 requiredPermissions, OP_NONE, bOptions, serialized, in broadcastIntentInPackage()
18448 OP_NONE, null, false, false, MY_PID, SYSTEM_UID, Binder.getCallingUid(), in broadcastGlobalConfigurationChanged()
18459 OP_NONE, null, false, false, MY_PID, SYSTEM_UID, Binder.getCallingUid(), in broadcastGlobalConfigurationChanged()
[all …]
/frameworks/native/libs/binder/include/binder/
DAppOpsManager.h39 OP_NONE = -1, enumerator
/frameworks/base/core/java/android/content/
DContentProvider.java213 volatile int mReadOp = AppOpsManager.OP_NONE;
214 volatile int mWriteOp = AppOpsManager.OP_NONE;
621 if (op != AppOpsManager.OP_NONE) { in noteProxyOp()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java23 import static android.app.AppOpsManager.OP_NONE;
1722 Preconditions.checkArgumentInRange(op, AppOpsManager.OP_NONE, in startWatchingModeWithFlags()
1728 op = (op != AppOpsManager.OP_NONE) ? AppOpsManager.opToSwitch(op) : op; in startWatchingModeWithFlags()
1734 if (op != AppOpsManager.OP_NONE) { in startWatchingModeWithFlags()
2450 return AppOpsManager.OP_NONE; in permissionToOpCode()
3380 op = AppOpsManager.OP_NONE; in parseUserPackageOp()
3527 shell.op != AppOpsManager.OP_NONE ? new int[]{shell.op} : null); in onShellCommand()
3533 shell.op != AppOpsManager.OP_NONE ? new int[]{shell.op} : null); in onShellCommand()
3540 shell.op != AppOpsManager.OP_NONE ? new int[]{shell.op} : null); in onShellCommand()
3544 if (shell.op > AppOpsManager.OP_NONE && shell.op < AppOpsManager._NUM_OP) { in onShellCommand()
[all …]
DHistoricalRegistry.java1698 if (mFilterOp != AppOpsManager.OP_NONE && mFilterOp != ops.getOpCode()) { in visitHistoricalOp()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDpmMockContext.java352 intent, user, receiverPermission, AppOpsManager.OP_NONE, resultReceiver, in sendOrderedBroadcastAsUser()
DDevicePolicyManagerTest.java663 eq(AppOpsManager.OP_NONE), in testRemoveActiveAdmin_sameUserNoMANAGE_DEVICE_ADMINS()
715 eq(AppOpsManager.OP_NONE), in testRemoveActiveAdmin_multipleAdminsInUser()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerService.java881 null, null, null, android.app.AppOpsManager.OP_NONE, null, false, false, in onOverlaysChanged()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java22 import static android.app.AppOpsManager.OP_NONE;
2780 if (mAppOp == OP_NONE || !mAppOpVisibility) { in initAppOpsState()
2795 if (mAppOp != OP_NONE && mAppOpVisibility) { in resetAppOpsState()
2801 if (mAppOp == OP_NONE) { in updateAppOpsState()
DActivityStackSupervisor.java1165 if (opCode == AppOpsManager.OP_NONE) { in getComponentRestrictionForCallingPackage()
1208 if (opCode == AppOpsManager.OP_NONE) { in getActionRestrictionForCallingPackage()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java1275 if (appOp != AppOpsManager.OP_NONE in grantRuntimePermissions()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java5355 if (opCode == AppOpsManager.OP_NONE || mAppOpsManager.checkOpNoThrow(
5381 if (opCode == AppOpsManager.OP_NONE || mAppOpsManager.noteOpNoThrow(

12