Home
last modified time | relevance | path

Searched refs:opCode (Results 1 – 3 of 3) sorted by relevance

/packages/apps/DocumentsUI/src/com/android/documentsui/
DMetrics.java580 @FileOp int opCode = FILEOP_OTHER_ERROR; in logFileOperationErrors() local
583 opCode = FILEOP_COPY_ERROR; in logFileOperationErrors()
586 opCode = FILEOP_COMPRESS_ERROR; in logFileOperationErrors()
589 opCode = FILEOP_EXTRACT_ERROR; in logFileOperationErrors()
592 opCode = FILEOP_DELETE_ERROR; in logFileOperationErrors()
595 opCode = FILEOP_MOVE_ERROR; in logFileOperationErrors()
599 logHistogram(context, COUNT_FILEOP_SYSTEM, opCode); in logFileOperationErrors()
602 logHistogram(context, COUNT_FILEOP_EXTERNAL, opCode); in logFileOperationErrors()
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomServiceImpl.java1333 final int opCode = AppOpsManager.permissionToOpCode(permission); in enforceAnswerCallPermission()
1334 if (opCode != AppOpsManager.OP_NONE in enforceAnswerCallPermission()
1335 && mAppOpsManager.checkOp(opCode, uid, packageName) in enforceAnswerCallPermission()
/packages/services/Telephony/src/com/android/phone/
DPhoneInterfaceManager.java3272 int opCode = mAppOps.permissionToOpCode(android.Manifest.permission.READ_SMS); in canReadPhoneNumber() local
3273 if (opCode != AppOpsManager.OP_NONE) { in canReadPhoneNumber()
3274 return mAppOps.noteOp(opCode, Binder.getCallingUid(), callingPackage) in canReadPhoneNumber()
3285 int opCode = mAppOps.permissionToOpCode(android.Manifest.permission.READ_PHONE_NUMBERS); in canReadPhoneNumber() local
3286 if (opCode != AppOpsManager.OP_NONE) { in canReadPhoneNumber()
3287 return mAppOps.noteOp(opCode, Binder.getCallingUid(), callingPackage) in canReadPhoneNumber()