Home
last modified time | relevance | path

Searched refs:OP_NONE (Results 1 – 25 of 31) 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/
DActivityManagerNative.java64 broadcastStickyIntent(intent, permission, AppOpsManager.OP_NONE, userId); in broadcastStickyIntent()
DContextImpl.java1051 Activity.RESULT_OK, null, null, null, AppOpsManager.OP_NONE, null, false, false, in sendBroadcast()
1068 Activity.RESULT_OK, null, null, receiverPermissions, AppOpsManager.OP_NONE, in sendBroadcast()
1083 Activity.RESULT_OK, null, null, receiverPermissions, AppOpsManager.OP_NONE, in sendBroadcastMultiplePermissions()
1098 Activity.RESULT_OK, null, null, receiverPermissions, AppOpsManager.OP_NONE, in sendBroadcastAsUserMultiplePermissions()
1115 Activity.RESULT_OK, null, null, receiverPermissions, AppOpsManager.OP_NONE, in sendBroadcast()
1149 Activity.RESULT_OK, null, null, receiverPermissions, AppOpsManager.OP_NONE, in sendOrderedBroadcast()
1161 sendOrderedBroadcast(intent, receiverPermission, AppOpsManager.OP_NONE, in sendOrderedBroadcast()
1170 sendOrderedBroadcast(intent, receiverPermission, AppOpsManager.OP_NONE, in sendOrderedBroadcast()
1226 AppOpsManager.OP_NONE, null, false, false, user.getIdentifier()); in sendBroadcastAsUser()
1235 sendBroadcastAsUser(intent, user, receiverPermission, AppOpsManager.OP_NONE); in sendBroadcastAsUser()
[all …]
DAppOpsManager.java578 public static final int OP_NONE = -1; field in AppOpsManager
2039 if (op == OP_NONE) return "NONE"; in opToName()
2103 return boxedOpCode != null ? boxedOpCode : OP_NONE; in permissionToOpCode()
2791 opNames.get(i)) != AppOpsManager.OP_NONE); in setOpNames()
DActivityManager.java3975 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.java380 AppOpsManager.OP_NONE, null, true, false, MY_PID, SYSTEM_UID, in finishUserBoot()
481 null, null, AppOpsManager.OP_NONE, null, false, false, MY_PID, SYSTEM_UID, in finishUserUnlocked()
494 null, null, 0, null, null, null, AppOpsManager.OP_NONE, in finishUserUnlocked()
553 }, 0, null, null, null, AppOpsManager.OP_NONE, in finishUserUnlockedCompleted()
592 AppOpsManager.OP_NONE, null, true, false, MY_PID, SYSTEM_UID, in finishUserUnlockedCompleted()
722 new String[]{INTERACT_ACROSS_USERS}, AppOpsManager.OP_NONE,
762 AppOpsManager.OP_NONE,
911 null, null, 0, null, null, null, AppOpsManager.OP_NONE,
1182 null, null, 0, null, null, null, AppOpsManager.OP_NONE,
1205 new String[]{INTERACT_ACROSS_USERS}, AppOpsManager.OP_NONE,
[all …]
DPreBootBroadcaster.java112 AppOpsManager.OP_NONE, null, true, false, ActivityManagerService.MY_PID, in sendNext()
DBroadcastQueue.java648 if (opCode != AppOpsManager.OP_NONE in deliverToRegisteredReceiverLocked()
680 if (appOp != AppOpsManager.OP_NONE && appOp != r.appOp in deliverToRegisteredReceiverLocked()
712 if (!skip && r.appOp != AppOpsManager.OP_NONE in deliverToRegisteredReceiverLocked()
1368 if (opCode != AppOpsManager.OP_NONE in processNextBroadcastLocked()
1406 if (appOp != AppOpsManager.OP_NONE && appOp != r.appOp in processNextBroadcastLocked()
1422 if (!skip && r.appOp != AppOpsManager.OP_NONE in processNextBroadcastLocked()
DBroadcastRecord.java135 || appOp != AppOpsManager.OP_NONE) { in dump()
DActivityManagerService.java32 import static android.app.AppOpsManager.OP_NONE;
2891 OP_NONE, null, false, false, -1, SYSTEM_UID, Binder.getCallingUid(), in batterySendBroadcast()
4526 null, null, 0, null, null, null, OP_NONE, in finishForceStopPackageLocked()
8924 OP_NONE, null, false, false, UserHandle.USER_ALL); in sendIdleJobTrigger()
9097 null, null, 0, null, null, null, OP_NONE, in systemReady()
9111 new String[] {INTERACT_ACROSS_USERS}, OP_NONE, in systemReady()
14566 null, -1, -1, false, null, null, OP_NONE, null, receivers, in registerReceiver()
15599 requiredPermissions, OP_NONE, bOptions, serialized, in broadcastIntentInPackage()
18343 OP_NONE, null, false, false, MY_PID, SYSTEM_UID, Binder.getCallingUid(), in broadcastGlobalConfigurationChanged()
18354 OP_NONE, null, false, false, MY_PID, SYSTEM_UID, Binder.getCallingUid(), in broadcastGlobalConfigurationChanged()
[all …]
DActivityManagerShellCommand.java721 android.app.AppOpsManager.OP_NONE, null, true, false, mUserId);
/frameworks/native/libs/binder/include/binder/
DAppOpsManager.h39 OP_NONE = -1, enumerator
/frameworks/base/telephony/java/com/android/internal/telephony/
DTelephonyPermissions.java492 if (opCode != AppOpsManager.OP_NONE) { in checkReadPhoneNumber()
505 if (opCode != AppOpsManager.OP_NONE) { in checkReadPhoneNumber()
/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;
1713 Preconditions.checkArgumentInRange(op, AppOpsManager.OP_NONE, in startWatchingModeWithFlags()
1719 op = (op != AppOpsManager.OP_NONE) ? AppOpsManager.opToSwitch(op) : op; in startWatchingModeWithFlags()
1725 if (op != AppOpsManager.OP_NONE) { in startWatchingModeWithFlags()
2421 return AppOpsManager.OP_NONE; in permissionToOpCode()
3308 op = AppOpsManager.OP_NONE; in parseUserPackageOp()
3455 shell.op != AppOpsManager.OP_NONE ? new int[]{shell.op} : null); in onShellCommand()
3461 shell.op != AppOpsManager.OP_NONE ? new int[]{shell.op} : null); in onShellCommand()
3468 shell.op != AppOpsManager.OP_NONE ? new int[]{shell.op} : null); in onShellCommand()
3472 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.java350 intent, user, receiverPermission, AppOpsManager.OP_NONE, resultReceiver, in sendOrderedBroadcastAsUser()
/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;
2740 if (mAppOp == OP_NONE || !mAppOpVisibility) { in initAppOpsState()
2755 if (mAppOp != OP_NONE && mAppOpVisibility) { in resetAppOpsState()
2761 if (mAppOp == OP_NONE) { in updateAppOpsState()
DActivityStackSupervisor.java1162 if (opCode == AppOpsManager.OP_NONE) { in getComponentRestrictionForCallingPackage()
1205 if (opCode == AppOpsManager.OP_NONE) { in getActionRestrictionForCallingPackage()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java1270 if (appOp != AppOpsManager.OP_NONE in grantRuntimePermissions()

12