/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecMessage.java | 52 protected HdmiCecMessage(int source, int destination, int opcode, byte[] params, in HdmiCecMessage() argument 56 mOpcode = opcode & 0xFF; in HdmiCecMessage() 61 private HdmiCecMessage(int source, int destination, int opcode, byte[] params) { in HdmiCecMessage() argument 62 this(source, destination, opcode, params, in HdmiCecMessage() 63 HdmiCecMessageValidator.validate(source, destination, opcode & 0xFF, params)); in HdmiCecMessage() 76 static HdmiCecMessage build(int source, int destination, int opcode, byte[] params) { in build() argument 77 switch (opcode & 0xFF) { in build() 83 return new HdmiCecMessage(source, destination, opcode & 0xFF, params); in build() 87 static HdmiCecMessage build(int source, int destination, int opcode) { in build() argument 88 return new HdmiCecMessage(source, destination, opcode, EMPTY_PARAM); in build() [all …]
|
D | HdmiCecMessageCache.java | 53 public HdmiCecMessage getMessage(int address, int opcode) { in getMessage() argument 59 return messages.get(opcode); in getMessage() 85 int opcode = message.getOpcode(); in cacheMessage() local 86 if (!isCacheable(opcode)) { in cacheMessage() 96 messages.put(opcode, message); in cacheMessage() 99 private boolean isCacheable(int opcode) { in isCacheable() argument 100 return CACHEABLE_OPCODES.contains(opcode); in isCacheable()
|
D | NewDeviceAction.java | 100 int opcode = cmd.getOpcode(); in processCommand() local 109 if (opcode == Constants.MESSAGE_SET_OSD_NAME) { in processCommand() 117 } else if (opcode == Constants.MESSAGE_FEATURE_ABORT) { in processCommand() 125 if (opcode == Constants.MESSAGE_DEVICE_VENDOR_ID) { in processCommand() 130 } else if (opcode == Constants.MESSAGE_FEATURE_ABORT) { in processCommand() 142 private boolean mayProcessCommandIfCached(int destAddress, int opcode) { in mayProcessCommandIfCached() argument 143 HdmiCecMessage message = getCecMessageCache().getMessage(destAddress, opcode); in mayProcessCommandIfCached()
|
D | HdmiCecAtomWriter.java | 162 int initiatorLogicalAddress, int destinationLogicalAddress, int opcode, in writeHdmiCecMessageReportedAtom() argument 171 opcode, in writeHdmiCecMessageReportedAtom() 207 int destinationLogicalAddress, int opcode, int sendMessageResult) { in MessageReportedGenericArgs() argument 212 this.mOpcode = opcode; in MessageReportedGenericArgs()
|
D | RequestArcAction.java | 54 int opcode = cmd.getOpcode(); in processCommand() local 55 switch (opcode) { in processCommand()
|
D | CecMessageBuffer.java | 93 private boolean replaceMessageIfBuffered(HdmiCecMessage message, int opcode) { in replaceMessageIfBuffered() argument 96 if (bufferedMessage.getOpcode() == opcode) { in replaceMessageIfBuffered()
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
D | client.h | 73 Status<void> SendImpulse(int opcode); 74 Status<void> SendImpulse(int opcode, const void* buffer, size_t length); 213 Status<T> Send(int opcode) { in Send() argument 214 return SendVector<T>(opcode, nullptr, 0, nullptr, 0); in Send() 218 Status<T> Send(int opcode, const void* send_buffer, size_t send_length, in Send() argument 224 return SendVector<T>(opcode, send ? &send_vector : nullptr, send ? 1 : 0, in Send() 229 Status<T> SendVector(int opcode, const iovec* send_vector, size_t send_count, in SendVector() argument 232 SendTransaction(opcode, &ret, send_vector, send_count, receive_vector, in SendVector() 238 Status<T> SendVector(int opcode, const iovec (&send_vector)[send_count], in SendVector() argument 240 return SendVector<T>(opcode, send_vector, send_count, receive_vector, in SendVector() [all …]
|
D | mock_client_channel.h | 21 Status<void>(int opcode, const void* buffer, size_t length)); 23 Status<int>(void* transaction_state, int opcode, 27 Status<LocalHandle>(void* transaction_state, int opcode, 32 Status<LocalChannelHandle>(void* transaction_state, int opcode,
|
D | client_channel.h | 40 virtual Status<void> SendImpulse(int opcode, const void* buffer, 43 virtual Status<int> SendWithInt(void* transaction_state, int opcode, 48 void* transaction_state, int opcode, const iovec* send_vector, 51 void* transaction_state, int opcode, const iovec* send_vector,
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | HdmiCecMessageTest.java | 38 int opcode = 0x7f; in testEqualsHdmiCecMessage() local 44 HdmiCecMessage.build(source, destination, opcode, params1), in testEqualsHdmiCecMessage() 45 HdmiCecMessage.build(source, destination, opcode, params1)) in testEqualsHdmiCecMessage() 46 .addEqualityGroup(HdmiCecMessage.build(source, destination, opcode, params2)) in testEqualsHdmiCecMessage() 47 .addEqualityGroup(HdmiCecMessage.build(source + 1, destination, opcode, params1)) in testEqualsHdmiCecMessage() 48 .addEqualityGroup(HdmiCecMessage.build(source, destination + 1, opcode, params1)) in testEqualsHdmiCecMessage() 49 .addEqualityGroup(HdmiCecMessage.build(source, destination, opcode + 1, params1)) in testEqualsHdmiCecMessage()
|
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/ |
D | StaticInitMethodAdapter.java | 179 public void visitInsn(int opcode) { in visitInsn() argument 181 mRenamedMethodWriter.visitInsn(opcode); in visitInsn() 200 public void visitMethodInsn(int opcode, String owner, String name, String desc, boolean itf) { in visitMethodInsn() argument 202 mRenamedMethodWriter.visitMethodInsn(opcode, owner, name, desc, itf); in visitMethodInsn() 207 public void visitFieldInsn(int opcode, String owner, String name, String desc) { in visitFieldInsn() argument 209 mRenamedMethodWriter.visitFieldInsn(opcode, owner, name, desc); in visitFieldInsn() 228 public void visitIntInsn(int opcode, int operand) { in visitIntInsn() argument 230 mRenamedMethodWriter.visitIntInsn(opcode, operand); in visitIntInsn() 235 public void visitJumpInsn(int opcode, Label label) { in visitJumpInsn() argument 237 mRenamedMethodWriter.visitJumpInsn(opcode, label); in visitJumpInsn() [all …]
|
D | StubCallMethodAdapter.java | 257 public void visitInsn(int opcode) { in visitInsn() argument 259 switch (opcode) { in visitInsn() 272 mParentVisitor.visitInsn(opcode); in visitInsn() 292 public void visitMethodInsn(int opcode, String owner, String name, String desc, boolean itf) { in visitMethodInsn() argument 294 mParentVisitor.visitMethodInsn(opcode, owner, name, desc, itf); in visitMethodInsn() 299 public void visitFieldInsn(int opcode, String owner, String name, String desc) { in visitFieldInsn() argument 301 mParentVisitor.visitFieldInsn(opcode, owner, name, desc); in visitFieldInsn() 320 public void visitIntInsn(int opcode, int operand) { in visitIntInsn() argument 322 mParentVisitor.visitIntInsn(opcode, operand); in visitIntInsn() 327 public void visitJumpInsn(int opcode, Label label) { in visitJumpInsn() argument [all …]
|
D | DelegateMethodAdapter.java | 371 public void visitInsn(int opcode) { in visitInsn() argument 373 mOrgWriter.visitInsn(opcode); in visitInsn() 392 public void visitMethodInsn(int opcode, String owner, String name, String desc, boolean itf) { in visitMethodInsn() argument 394 mOrgWriter.visitMethodInsn(opcode, owner, name, desc, itf); in visitMethodInsn() 399 public void visitFieldInsn(int opcode, String owner, String name, String desc) { in visitFieldInsn() argument 401 mOrgWriter.visitFieldInsn(opcode, owner, name, desc); in visitFieldInsn() 420 public void visitIntInsn(int opcode, int operand) { in visitIntInsn() argument 422 mOrgWriter.visitIntInsn(opcode, operand); in visitIntInsn() 427 public void visitJumpInsn(int opcode, Label label) { in visitJumpInsn() argument 429 mOrgWriter.visitJumpInsn(opcode, label); in visitJumpInsn() [all …]
|
D | ReplaceMethodCallsAdapter.java | 55 public void visitMethodInsn(int opcode, String owner, String name, String desc, in visitMethodInsn() argument 59 MethodInformation mi = new MethodInformation(opcode, owner, name, desc); in visitMethodInsn() 61 opcode = mi.opcode; in visitMethodInsn() 68 super.visitMethodInsn(opcode, owner, name, desc, itf); in visitMethodInsn()
|
D | ICreateInfo.java | 153 public int opcode; field in ICreateInfo.MethodInformation 158 public MethodInformation(int opcode, String owner, String name, String desc) { in MethodInformation() argument 159 this.opcode = opcode; in MethodInformation()
|
D | AfterConstructorMethodAdapter.java | 78 public void visitInsn(int opcode) { in visitInsn() argument 79 if (opcode == Opcodes.RETURN) { in visitInsn() 83 super.visitInsn(opcode); in visitInsn()
|
D | CreateInfo.java | 409 mi.opcode = Opcodes.INVOKESTATIC; in replace() 513 mi.opcode = Opcodes.INVOKESTATIC; in replace() 595 mi.opcode = Opcodes.INVOKESTATIC; in replace() 624 mi.opcode = Opcodes.INVOKESTATIC; in replace() 639 mi.opcode = Opcodes.INVOKESTATIC; in replace() 654 mi.opcode = Opcodes.INVOKESTATIC; in replace() 668 mi.opcode = Opcodes.INVOKESTATIC; in replace()
|
/frameworks/base/startop/view_compiler/ |
D | dex_builder.h | 201 static inline Instruction OpNoArgs(Op opcode) { in OpNoArgs() argument 202 return Instruction{opcode, /*index_argument*/ 0, /*dest*/ {}}; in OpNoArgs() 206 static inline Instruction OpWithArgs(Op opcode, std::optional<const Value> dest, in OpWithArgs() argument 208 return Instruction{opcode, /*index_argument=*/0, /*result_is_object=*/false, dest, args...}; in OpWithArgs() 290 Op opcode() const { return opcode_; } in opcode() function 297 inline Instruction(Op opcode, size_t index_argument, std::optional<const Value> dest) in Instruction() argument 298 : opcode_{opcode}, in Instruction() 305 inline Instruction(Op opcode, size_t index_argument, bool result_is_object, in Instruction() argument 307 : opcode_{opcode}, in Instruction() 322 std::ostream& operator<<(std::ostream& out, const Instruction::Op& opcode); [all …]
|
D | dex_builder.cc | 42 constexpr ::dex::Opcode InvokeToInvokeRange(::dex::Opcode opcode) { in InvokeToInvokeRange() argument 43 switch (opcode) { in InvokeToInvokeRange() 53 LOG(FATAL) << opcode << " is not a recognized invoke opcode."; in InvokeToInvokeRange() 69 std::ostream& operator<<(std::ostream& out, const Instruction::Op& opcode) { in operator <<() argument 70 switch (opcode) { in operator <<() 384 switch (instruction.opcode()) { in EncodeInstruction() 418 void MethodBuilder::EncodeReturn(const Instruction& instruction, ::dex::Opcode opcode) { in EncodeReturn() argument 425 Encode11x(opcode, source); in EncodeReturn() 430 CHECK(Instruction::Op::kMove == instruction.opcode() || in EncodeMove() 431 Instruction::Op::kMoveObject == instruction.opcode()); in EncodeMove() [all …]
|
/frameworks/native/libs/vr/libpdx/ |
D | client.cpp | 83 Status<void> Client::SendImpulse(int opcode) { in SendImpulse() argument 90 status = channel_->SendImpulse(opcode, nullptr, 0); in SendImpulse() 95 Status<void> Client::SendImpulse(int opcode, const void* buffer, in SendImpulse() argument 103 status = channel_->SendImpulse(opcode, buffer, length); in SendImpulse() 143 void Transaction::SendTransaction(int opcode, Status<void>* ret, in SendTransaction() argument 157 state_, opcode, send_vector, send_count, receive_vector, receive_count); in SendTransaction() 167 void Transaction::SendTransaction(int opcode, Status<int>* ret, in SendTransaction() argument 183 state_, opcode, send_vector, send_count, receive_vector, receive_count); in SendTransaction() 188 void Transaction::SendTransaction(int opcode, Status<LocalHandle>* ret, in SendTransaction() argument 204 state_, opcode, send_vector, send_count, receive_vector, receive_count); in SendTransaction() [all …]
|
/frameworks/native/libs/vr/libpdx_uds/ |
D | client_channel.cpp | 90 TransactionState* transaction_state, int opcode, in SendRequest() argument 94 InitRequest(&transaction_state->request, opcode, send_len, max_recv_len, in SendRequest() 162 Status<void> ClientChannel::SendImpulse(int opcode, const void* buffer, in SendImpulse() argument 173 InitRequest(&request, opcode, length, 0, true); in SendImpulse() 178 Status<int> ClientChannel::SendAndReceive(void* transaction_state, int opcode, in SendAndReceive() argument 195 opcode, send_vector, send_count, max_recv_len); in SendAndReceive() 210 Status<int> ClientChannel::SendWithInt(void* transaction_state, int opcode, in SendWithInt() argument 215 return SendAndReceive(transaction_state, opcode, send_vector, send_count, in SendWithInt() 220 void* transaction_state, int opcode, const iovec* send_vector, in SendWithFileHandle() argument 223 SendAndReceive(transaction_state, opcode, send_vector, send_count, in SendWithFileHandle() [all …]
|
/frameworks/native/libs/vr/libpdx_uds/private/uds/ |
D | client_channel.h | 50 Status<void> SendImpulse(int opcode, const void* buffer, 53 Status<int> SendWithInt(void* transaction_state, int opcode, 57 Status<LocalHandle> SendWithFileHandle(void* transaction_state, int opcode, 63 void* transaction_state, int opcode, const iovec* send_vector, 85 Status<int> SendAndReceive(void* transaction_state, int opcode,
|
/frameworks/native/libs/permission/ |
D | AppOpsManager.cpp | 172 bool AppOpsManager::shouldCollectNotes(int32_t opcode) { in shouldCollectNotes() argument 176 if (appOpsToNote[opcode] == 0) { in shouldCollectNotes() 177 if (getService()->shouldCollectNotes(opcode)) { in shouldCollectNotes() 178 appOpsToNote[opcode] = 2; in shouldCollectNotes() 180 appOpsToNote[opcode] = 1; in shouldCollectNotes() 184 return appOpsToNote[opcode] == 2; in shouldCollectNotes()
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
D | AArch64InsnHelpers.h | 212 unsigned opcode = (insn >> 12) & 0xf; in isMemOp() local 215 switch (opcode) { in isMemOp() 241 unsigned opcode = (insn >> 13) & 0x7; in isMemOp() local 244 switch (opcode) { in isMemOp()
|
/frameworks/base/tools/lock_agent/ |
D | agent.cpp | 110 if (bytecode->opcode == OP_MONITOR_ENTER) { in transform() 115 if (bytecode->opcode == OP_MONITOR_EXIT) { in transform() 178 static void addInst(CodeIr* cIr, lir::Instruction* instructionAfter, Opcode opcode, in addInst() argument 182 instruction->opcode = opcode; in addInst() 191 void addCall(CodeIr* cIr, lir::Instruction* instructionAfter, Opcode opcode, ir::Type* type, in addCall() argument 202 addInst(cIr, instructionAfter, opcode, in addCall() 206 void addCall(CodeIr* cIr, lir::Instruction* instructionAfter, Opcode opcode, ir::Type* type, in addCall() argument 214 addInst(cIr, instructionAfter, opcode, in addCall()
|