/frameworks/base/core/java/android/app/ |
D | SyncNotedAppOp.java | 57 public SyncNotedAppOp(@IntRange(from = 0L) int opCode, @Nullable String attributionTag) { in SyncNotedAppOp() 58 this.mOpCode = opCode; in SyncNotedAppOp() 148 int opCode = in.readInt(); in SyncNotedAppOp() local 151 this.mOpCode = opCode; in SyncNotedAppOp()
|
D | RuntimeAppOpAccessMessage.java | 76 @IntRange(from = 0L) int opCode, in RuntimeAppOpAccessMessage() 85 this.mOpCode = opCode; in RuntimeAppOpAccessMessage() 190 int opCode = in.readInt(); in RuntimeAppOpAccessMessage() local 200 this.mOpCode = opCode; in RuntimeAppOpAccessMessage()
|
D | AsyncNotedAppOp.java | 105 @IntRange(from = 0) int opCode, in AsyncNotedAppOp() 110 this.mOpCode = opCode; in AsyncNotedAppOp() 224 int opCode = in.readInt(); in AsyncNotedAppOp() local 230 this.mOpCode = opCode; in AsyncNotedAppOp()
|
D | AppOpsManager.java | 4755 public void increaseAccessCount(int opCode, int uid, @NonNull String packageName, in increaseAccessCount() argument 4758 getOrCreateHistoricalUidOps(uid).increaseAccessCount(opCode, in increaseAccessCount() 4764 public void increaseRejectCount(int opCode, int uid, @NonNull String packageName, in increaseRejectCount() argument 4767 getOrCreateHistoricalUidOps(uid).increaseRejectCount(opCode, in increaseRejectCount() 4773 public void increaseAccessDuration(int opCode, int uid, @NonNull String packageName, in increaseAccessDuration() argument 4776 getOrCreateHistoricalUidOps(uid).increaseAccessDuration(opCode, in increaseAccessDuration() 5086 private void increaseAccessCount(int opCode, @NonNull String packageName, in increaseAccessCount() argument 5090 opCode, attributionTag, uidState, flags, increment); in increaseAccessCount() 5093 private void increaseRejectCount(int opCode, @NonNull String packageName, in increaseRejectCount() argument 5097 opCode, attributionTag, uidState, flags, increment); in increaseRejectCount() [all …]
|
/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/services/core/java/com/android/server/policy/ |
D | PermissionPolicyService.java | 845 private void setUidModeAllowed(int opCode, int uid, @NonNull String packageName) { in setUidModeAllowed() argument 846 setUidMode(opCode, uid, MODE_ALLOWED, packageName); in setUidModeAllowed() 849 private void setUidModeForeground(int opCode, int uid, @NonNull String packageName) { in setUidModeForeground() argument 850 setUidMode(opCode, uid, MODE_FOREGROUND, packageName); in setUidModeForeground() 853 private void setUidModeIgnored(int opCode, int uid, @NonNull String packageName) { in setUidModeIgnored() argument 854 setUidMode(opCode, uid, MODE_IGNORED, packageName); in setUidModeIgnored() 857 private boolean setUidModeIgnoredIfNotAllowed(int opCode, int uid, in setUidModeIgnoredIfNotAllowed() argument 860 opCode), uid, packageName); in setUidModeIgnoredIfNotAllowed() 863 mAppOpsManagerInternal.setUidModeFromPermissionPolicy(opCode, uid, MODE_IGNORED, in setUidModeIgnoredIfNotAllowed() 871 private void setUidMode(int opCode, int uid, int mode, in setUidMode() argument [all …]
|
/frameworks/native/libs/binder/ |
D | IAppOpsService.cpp | 147 virtual bool shouldCollectNotes(int32_t opCode) { in shouldCollectNotes() argument 150 data.writeInt32(opCode); in shouldCollectNotes() 243 const int32_t opCode = permissionToOpCode(permission); in onTransact() local 245 reply->writeInt32(opCode); in onTransact() 268 int32_t opCode = data.readInt32(); in onTransact() local 269 bool shouldCollect = shouldCollectNotes(opCode); in onTransact()
|
/frameworks/native/libs/ui/tests/ |
D | GraphicBufferOverBinder_test.cpp | 99 status_t GetGraphicBuffer(sp<GraphicBuffer>* outBuf, uint32_t opCode) { in GetGraphicBuffer() argument 102 status_t error = mService->transact(opCode, data, &reply); in GetGraphicBuffer()
|
/frameworks/native/libs/gui/tests/ |
D | SurfaceParcelable_test.cpp | 123 uint32_t opCode = GetParam(); in GetSurface() local 126 status_t error = mService->transact(opCode, data, &reply); in GetSurface()
|
/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/include/binder/ |
D | IAppOpsService.h | 53 virtual bool shouldCollectNotes(int32_t opCode) = 0;
|
D | AppOpsManager.h | 169 bool shouldCollectNotes(int32_t opCode);
|
/frameworks/base/media/native/midi/ |
D | amidi.cpp | 431 uint8_t opCode = AMIDI_OPCODE_FLUSH; in AMidiInputPort_sendFlush() local 433 ssize_t numWritten = write(((AMIDI_Port*)inputPort)->ufd, &opCode, numTransferBytes); in AMidiInputPort_sendFlush()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IAppOpsService.aidl | 50 boolean shouldCollectNotes(int opCode); in shouldCollectNotes() argument
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsServiceTest.java | 463 private void assertContainsOp(List<PackageOps> loggedOps, int opCode, long minMillis, in assertContainsOp() argument 473 if (opCode != opEntry.getOp()) { in assertContainsOp()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 3254 private void collectAsyncNotedOp(int uid, @NonNull String packageName, int opCode, in collectAsyncNotedOp() argument 3267 AsyncNotedAppOp asyncNotedOp = new AsyncNotedAppOp(opCode, callingUid, in collectAsyncNotedOp() 3273 reportRuntimeAppOpAccessMessageAsyncLocked(uid, packageName, opCode, in collectAsyncNotedOp() 3284 "Could not forward noteOp of " + opCode + " to " + packageName in collectAsyncNotedOp() 3653 public boolean shouldCollectNotes(int opCode) { in shouldCollectNotes() argument 3654 Preconditions.checkArgumentInRange(opCode, 0, _NUM_OP - 1, "opCode"); in shouldCollectNotes() 3656 String perm = AppOpsManager.opToPermission(opCode); in shouldCollectNotes() 4251 int opCode = Integer.parseInt(parser.getAttributeValue(null, "n")); in readOp() local 4252 Op op = new Op(uidState, pkgName, opCode, uidState.uid); in readOp() 5523 final int opCode = op.op; in dump() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastQueue.java | 639 final int opCode = AppOpsManager.permissionToOpCode(filter.requiredPermission); in deliverToRegisteredReceiverLocked() local 640 if (opCode != AppOpsManager.OP_NONE in deliverToRegisteredReceiverLocked() 641 && mService.getAppOpsManager().noteOpNoThrow(opCode, r.callingUid, in deliverToRegisteredReceiverLocked() 1365 final int opCode = AppOpsManager.permissionToOpCode(info.activityInfo.permission); in processNextBroadcastLocked() local 1366 if (opCode != AppOpsManager.OP_NONE in processNextBroadcastLocked() 1367 … && mService.getAppOpsManager().noteOpNoThrow(opCode, r.callingUid, r.callerPackage, in processNextBroadcastLocked()
|
D | ActiveServices.java | 2545 final int opCode = AppOpsManager.permissionToOpCode(r.permission); in retrieveServiceLocked() local 2546 if (opCode != AppOpsManager.OP_NONE && mAm.getAppOpsManager().checkOpNoThrow( in retrieveServiceLocked() 2547 opCode, callingUid, callingPackage) != AppOpsManager.MODE_ALLOWED) { in retrieveServiceLocked() 2551 + " requires appop " + AppOpsManager.opToName(opCode)); in retrieveServiceLocked()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityStackSupervisor.java | 1164 final int opCode = AppOpsManager.permissionToOpCode(activityInfo.permission); in getComponentRestrictionForCallingPackage() local 1165 if (opCode == AppOpsManager.OP_NONE) { in getComponentRestrictionForCallingPackage() 1169 if (getAppOpsManager().noteOpNoThrow(opCode, callingUid, in getComponentRestrictionForCallingPackage() 1208 final int opCode = AppOpsManager.permissionToOpCode(permission); in getActionRestrictionForCallingPackage() local 1209 if (opCode == AppOpsManager.OP_NONE) { in getActionRestrictionForCallingPackage() 1213 if (getAppOpsManager().noteOpNoThrow(opCode, callingUid, in getActionRestrictionForCallingPackage()
|
/frameworks/native/services/sensorservice/ |
D | SensorService.cpp | 1804 const int32_t opCode = sensor.getRequiredAppOp(); in canAccessSensor() local 1805 const int32_t appOpMode = sAppOpsManager.checkOp(opCode, in canAccessSensor() 1820 if (opCode < 0 || appOpAllowed) { in canAccessSensor() 1826 sAppOpsManager.noteOp(opCode, IPCThreadState::self()->getCallingUid(), opPackageName); in canAccessSensor()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/ |
D | EuiccCard.java | 1412 @OperationCode int opCode) in parseResponseAndCheckSimpleError() argument 1416 throw new EuiccCardErrorException(opCode, root.getChild(Tags.TAG_CTX_1).asInteger()); in parseResponseAndCheckSimpleError()
|
/frameworks/ml/nn/common/include/ |
D | Utils.h | 299 std::string getOperationName(hal::OperationType opCode);
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 5350 final int opCode = AppOpsManager.permissionToOpCode(perm); 5351 if (opCode == AppOpsManager.OP_NONE || mAppOpsManager.checkOpNoThrow( 5352 opCode, uid, packageName) == AppOpsManager.MODE_ALLOWED) { 5376 final int opCode = AppOpsManager.permissionToOpCode(perm); 5377 if (opCode == AppOpsManager.OP_NONE || mAppOpsManager.noteOpNoThrow( 5378 opCode, callingUid, opPackageName) == AppOpsManager.MODE_ALLOWED) {
|
/frameworks/ml/nn/runtime/test/ |
D | TestValidateOperations.cpp | 331 OperationTestBase(ANeuralNetworksOperationType opCode, in OperationTestBase() argument 335 : mOpCode(opCode), mValidInputs(), mValidOutputs(), mInputRankMutators(inputRankMutators) {
|