/frameworks/base/obex/javax/obex/ |
D | ClientSession.java | 459 public boolean sendRequest(int opCode, byte[] head, HeaderSet header, in sendRequest() argument 472 if (opCode == ObexHelper.OBEX_OPCODE_PUT) { in sendRequest() 475 } else if (opCode == ObexHelper.OBEX_OPCODE_GET) { in sendRequest() 479 } else if (opCode == ObexHelper.OBEX_OPCODE_GET_FINAL) { in sendRequest() 489 out.write((byte)opCode); in sendRequest() 521 if (opCode == ObexHelper.OBEX_OPCODE_CONNECT) { in sendRequest() 562 if (opCode == ObexHelper.OBEX_OPCODE_ABORT) { in sendRequest() 598 return sendRequest(opCode, sendHeaders, header, privateInput, false); in sendRequest()
|
D | ClientOperation.java | 441 private boolean sendRequest(int opCode) throws IOException { in sendRequest() argument 489 if (!mParent.sendRequest(opCode, sendHeader, mReplyHeader, mPrivateInput, false)) { in sendRequest() 512 opCode |= ObexHelper.OBEX_OPCODE_FINAL_BIT_MASK; in sendRequest() 537 && ((opCode & ObexHelper.OBEX_OPCODE_FINAL_BIT_MASK) != 0)) { in sendRequest() 555 if ((opCode & ObexHelper.OBEX_OPCODE_FINAL_BIT_MASK) == 0) { in sendRequest() 568 if (!mParent.sendRequest(opCode, null, mReplyHeader, mPrivateInput, mSrmActive)) { in sendRequest() 576 && (!mParent.sendRequest(opCode, out.toByteArray(), in sendRequest()
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
D | Metrics.java | 447 @FileOp int opCode = FILEOP_OTHER_ERROR; in logFileOperationErrors() local 450 opCode = FILEOP_COPY_ERROR; in logFileOperationErrors() 453 opCode = FILEOP_DELETE_ERROR; in logFileOperationErrors() 456 opCode = FILEOP_MOVE_ERROR; in logFileOperationErrors() 460 logHistogram(context, COUNT_FILEOP_SYSTEM, opCode); in logFileOperationErrors() 463 logHistogram(context, COUNT_FILEOP_EXTERNAL, opCode); in logFileOperationErrors()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/ |
D | FrameParser.java | 326 int opCode = getUnsignedShort(data); in parseArpPacket() local 327 switch (opCode) { in parseArpPacket() 335 mTypeString = "Operation " + opCode; in parseArpPacket()
|
/frameworks/native/libs/binder/ |
D | IAppOpsService.cpp | 204 const int32_t opCode = permissionToOpCode(permission); in onTransact() local 206 reply->writeInt32(opCode); in onTransact()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastQueue.java | 509 final int opCode = AppOpsManager.permissionToOpCode(filter.requiredPermission); in deliverToRegisteredReceiverLocked() local 510 if (opCode != AppOpsManager.OP_NONE in deliverToRegisteredReceiverLocked() 511 && mService.mAppOpsService.noteOperation(opCode, r.callingUid, in deliverToRegisteredReceiverLocked() 1001 final int opCode = AppOpsManager.permissionToOpCode(info.activityInfo.permission); in processNextBroadcast() local 1002 if (opCode != AppOpsManager.OP_NONE in processNextBroadcast() 1003 && mService.mAppOpsService.noteOperation(opCode, r.callingUid, in processNextBroadcast()
|
D | ActivityStackSupervisor.java | 1483 final int opCode = AppOpsManager.permissionToOpCode(activityInfo.permission); in getComponentRestrictionForCallingPackage() local 1484 if (opCode == AppOpsManager.OP_NONE) { in getComponentRestrictionForCallingPackage() 1488 if (mService.mAppOpsService.noteOperation(opCode, callingUid, in getComponentRestrictionForCallingPackage() 1527 final int opCode = AppOpsManager.permissionToOpCode(permission); in getActionRestrictionForCallingPackage() local 1528 if (opCode == AppOpsManager.OP_NONE) { in getActionRestrictionForCallingPackage() 1532 if (mService.mAppOpsService.noteOperation(opCode, callingUid, in getActionRestrictionForCallingPackage()
|
D | ActiveServices.java | 1374 final int opCode = AppOpsManager.permissionToOpCode(r.permission); in retrieveServiceLocked() local 1375 if (opCode != AppOpsManager.OP_NONE && mAm.mAppOpsService.noteOperation( in retrieveServiceLocked() 1376 opCode, callingUid, callingPackage) != AppOpsManager.MODE_ALLOWED) { in retrieveServiceLocked() 1380 + " requires appop " + AppOpsManager.opToName(opCode)); in retrieveServiceLocked()
|
/frameworks/native/services/sensorservice/ |
D | SensorService.cpp | 1256 const int32_t opCode = sensor.getRequiredAppOp(); in canAccessSensor() local 1257 if (opCode >= 0) { in canAccessSensor() 1259 if (appOps.noteOp(opCode, IPCThreadState::self()->getCallingUid(), opPackageName) in canAccessSensor() 1262 operation, sensor.getName().string(), opCode); in canAccessSensor()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 1406 final Integer opCode = sRuntimePermToOp.get(permission); in permissionToOp() local 1407 if (opCode == null) { in permissionToOp() 1410 return sOpToString[opCode]; in permissionToOp()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 4963 final int opCode = AppOpsManager.permissionToOpCode(perm); in isPermitted() local 4964 if (opCode == AppOpsManager.OP_NONE || mAppOpsManager.noteOp( in isPermitted() 4965 opCode, callingUid, opPackageName) == AppOpsManager.MODE_ALLOWED) { in isPermitted()
|