Home
last modified time | relevance | path

Searched refs:mOpCode (Results 1 – 6 of 6) sorted by relevance

/aosp12/frameworks/base/core/java/android/app/
H A DSyncNotedAppOp.java51 private final @IntRange(from = 0L, to = AppOpsManager._NUM_OP - 1) int mOpCode; field in SyncNotedAppOp
67 this.mOpCode = opCode; in SyncNotedAppOp()
69 IntRange.class, null, mOpCode, in SyncNotedAppOp()
111 return AppOpsManager.opToPublicName(mOpCode); in getOp()
168 && mOpCode == that.mOpCode in equals()
181 _hash = 31 * _hash + mOpCode; in hashCode()
197 dest.writeInt(mOpCode); in writeToParcel()
220 this.mOpCode = opCode; in SyncNotedAppOp()
222 IntRange.class, null, mOpCode, in SyncNotedAppOp()
H A DAsyncNotedAppOp.java46 private final @IntRange(from = 0) int mOpCode; field in AsyncNotedAppOp
64 return AppOpsManager.opToPublicName(mOpCode); in getOp()
70 Preconditions.checkArgumentInRange(mOpCode, 0, AppOpsManager._NUM_OP - 1, "opCode"); in onConstructed()
110 this.mOpCode = opCode; in AsyncNotedAppOp()
112 IntRange.class, null, mOpCode, in AsyncNotedAppOp()
174 && mOpCode == that.mOpCode in equals()
188 _hash = 31 * _hash + mOpCode; in hashCode()
205 dest.writeInt(mOpCode); in writeToParcel()
230 this.mOpCode = opCode; in AsyncNotedAppOp()
232 IntRange.class, null, mOpCode, in AsyncNotedAppOp()
H A DRuntimeAppOpAccessMessage.java41 private final @IntRange(from = 0L, to = AppOpsManager._NUM_OP - 1) int mOpCode; field in RuntimeAppOpAccessMessage
52 return AppOpsManager.opToPublicName(mOpCode); in getOp()
83 this.mOpCode = opCode; in RuntimeAppOpAccessMessage()
85 IntRange.class, null, mOpCode, in RuntimeAppOpAccessMessage()
168 dest.writeInt(mOpCode); in writeToParcel()
198 this.mOpCode = opCode; in RuntimeAppOpAccessMessage()
200 IntRange.class, null, mOpCode, in RuntimeAppOpAccessMessage()
/aosp12/packages/modules/NeuralNetworks/runtime/test/
H A DTestValidateOperations.cpp426 if (mOpCode == ANEURALNETWORKS_RANK) { in testMutatingInputOperandCode()
434 if ((mOpCode == ANEURALNETWORKS_TRANSPOSE_CONV_2D || in testMutatingInputOperandCode()
435 mOpCode == ANEURALNETWORKS_DEPTHWISE_CONV_2D) && in testMutatingInputOperandCode()
446 if (mOpCode == ANEURALNETWORKS_CAST && i == 0) { in testMutatingInputOperandCode()
464 if (mOpCode == ANEURALNETWORKS_DEQUANTIZE && i == 0) { in testMutatingInputOperandCode()
502 if ((mOpCode == ANEURALNETWORKS_ARGMIN || mOpCode == ANEURALNETWORKS_ARGMAX) && in testMutatingInputOperandCode()
554 if (mOpCode == ANEURALNETWORKS_DEQUANTIZE && in testMutatingOutputOperandCode()
569 if (mOpCode == ANEURALNETWORKS_CAST && i == 0 && in testMutatingOutputOperandCode()
591 if (mOpCode == ANEURALNETWORKS_LSTM) { in testMutatingInputOperandCounts()
607 if (mOpCode == ANEURALNETWORKS_SPLIT) { in testMutatingOutputOperandCounts()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/appop/
H A DDiscreteRegistry.java485 int mOpCode; field in DiscreteRegistry.AttributionChain.OpEvent
493 mOpCode = opCode; in OpEvent()
500 && Objects.equals(attributionTag, mAttributionTag) && mOpCode == opCode in matches()
509 && mOpCode == other.mOpCode; in packageOpEquals()
/aosp12/packages/apps/Stk/src/com/android/stk/
H A DStkAppService.java123 protected int mOpCode = -1; field in StkAppService.StkContext
565 mStkContext[slotId].mOpCode = opcode; in handleMessage()
1565 uriData.toString() + " , " + mStkContext[slotId].mOpCode + ", " in launchMenuActivity()
1575 if (mStkContext[slotId].mOpCode == OP_LAUNCH_APP && in launchMenuActivity()