Home
last modified time | relevance | path

Searched refs:opMode (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/app/
DSyncNotedAppOp.java66 public SyncNotedAppOp(int opMode, @IntRange(from = 0L) int opCode, in SyncNotedAppOp() argument
74 this.mOpMode = opMode; in SyncNotedAppOp()
234 int opMode = in.readInt(); in SyncNotedAppOp() local
239 this.mOpMode = opMode; in SyncNotedAppOp()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java284 int opMode = iAppOps.checkOperation(code, testPackageUid, TEST_APP_PACKAGE_NAME); in assertOpBlockedOnSuspend() local
286 opMode); in assertOpBlockedOnSuspend()
289 opMode = iAppOps.checkOperation(code, testPackageUid, TEST_APP_PACKAGE_NAME); in assertOpBlockedOnSuspend()
291 opMode); in assertOpBlockedOnSuspend()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpMigrationHelperImpl.java152 int opMode = appOpCodeModes.valueAt(modeIndex); in getAppOpModesForOpName() local
153 appOpNameModes.put(AppOpsManager.opToPublicName(opCode), opMode); in getAppOpModesForOpName() local
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java1203 final int opMode = performOpTransaction(context, attributionSource.getToken(), op, in checkAppOpPermission() local
1210 switch (opMode) { in checkAppOpPermission()
1308 final int opMode = performOpTransaction(context, attributionSource.getToken(), op, in checkRuntimePermission() local
1313 switch (opMode) { in checkRuntimePermission()
1466 final int opMode = performOpTransaction(context, current.getToken(), op, current, in checkOp() local
1471 switch (opMode) { in checkOp()
1511 final int opMode = appOpsManager.unsafeCheckOpRawNoThrow(op, in performOpTransaction() local
1514 if (!selfAccess && opMode == AppOpsManager.MODE_ALLOWED && next != null) { in performOpTransaction()
1523 return opMode; in performOpTransaction()
/frameworks/base/core/java/android/os/
DEnvironment.java1509 final int opMode = in isExternalStorageManager() local
1512 switch (opMode) { in isExternalStorageManager()
1523 throw new IllegalStateException("Unknown AppOpsManager mode " + opMode); in isExternalStorageManager()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DDetectorSession.java896 int opMode = mAppOpsManager.unsafeCheckOpNoThrow( in enforcePermissionsForDataDelivery() local
900 if (opMode == MODE_DEFAULT || opMode == MODE_ALLOWED) { in enforcePermissionsForDataDelivery()
/frameworks/base/telephony/common/com/android/internal/telephony/
DTelephonyPermissions.java484 int opMode = appOps.noteOpNoThrow(AppOpsManager.OPSTR_USE_ICC_AUTH_WITH_DEVICE_IDENTIFIER, in checkCallingOrSelfUseIccAuthWithDeviceIdentifier() local
486 switch (opMode) { in checkCallingOrSelfUseIccAuthWithDeviceIdentifier()
/frameworks/base/services/permission/java/com/android/server/permission/access/appop/
DAppOpService.kt331 modes.forEachIndexed { _, opName, opMode -> in <lambda>() method
332 opSparseArray.put(AppOpsManager.strOpToOp(opName), opMode) in <lambda>()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java4887 final int opMode = mIAppOpsService.checkOperation( in hasExternalStorageAccess() local
4889 if (opMode == AppOpsManager.MODE_DEFAULT) { in hasExternalStorageAccess()
4894 return opMode == AppOpsManager.MODE_ALLOWED; in hasExternalStorageAccess()