Home
last modified time | relevance | path

Searched refs:opcode (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/native/libs/vr/libpdx/private/pdx/
Dclient.h73 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 …]
Dmock_client_channel.h21 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,
Dclient_channel.h40 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/core/java/com/android/server/hdmi/
DHdmiCecMessageCache.java53 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()
DNewDeviceAction.java99 int opcode = cmd.getOpcode(); in processCommand() local
108 if (opcode == Constants.MESSAGE_SET_OSD_NAME) { in processCommand()
116 } else if (opcode == Constants.MESSAGE_FEATURE_ABORT) { in processCommand()
124 if (opcode == Constants.MESSAGE_DEVICE_VENDOR_ID) { in processCommand()
129 } else if (opcode == Constants.MESSAGE_FEATURE_ABORT) { in processCommand()
141 private boolean mayProcessCommandIfCached(int destAddress, int opcode) { in mayProcessCommandIfCached() argument
142 HdmiCecMessage message = getCecMessageCache().getMessage(destAddress, opcode); in mayProcessCommandIfCached()
DHdmiCecMessage.java43 public HdmiCecMessage(int source, int destination, int opcode, byte[] params) { in HdmiCecMessage() argument
46 mOpcode = opcode & 0xFF; in HdmiCecMessage()
125 private static String opcodeToString(int opcode) { in opcodeToString() argument
126 switch (opcode) { in opcodeToString()
270 return String.format("Opcode: %02X", opcode); in opcodeToString()
DHdmiCecMessageBuilder.java41 byte opcode = body[0]; in of()
43 return new HdmiCecMessage(src, dest, opcode, params); in of()
701 private static HdmiCecMessage buildCommand(int src, int dest, int opcode) { in buildCommand() argument
702 return new HdmiCecMessage(src, dest, opcode, HdmiCecMessage.EMPTY_PARAM); in buildCommand()
714 private static HdmiCecMessage buildCommand(int src, int dest, int opcode, byte[] params) { in buildCommand() argument
715 return new HdmiCecMessage(src, dest, opcode, params); in buildCommand()
728 int opcode, boolean param) { in buildCommandWithBooleanParam() argument
732 return buildCommand(src, des, opcode, params); in buildCommandWithBooleanParam()
DRequestArcAction.java54 int opcode = cmd.getOpcode(); in processCommand() local
55 switch (opcode) { in processCommand()
DRoutingControlAction.java96 int opcode = cmd.getOpcode(); in processCommand() local
99 && opcode == Constants.MESSAGE_ROUTING_INFORMATION) { in processCommand()
113 && opcode == Constants.MESSAGE_REPORT_POWER_STATUS) { in processCommand()
/frameworks/base/startop/view_compiler/
Ddex_builder.h172 static inline Instruction OpNoArgs(Op opcode) { in OpNoArgs() argument
173 return Instruction{opcode, /*method_id*/ 0, /*dest*/ {}}; in OpNoArgs()
177 static inline Instruction OpWithArgs(Op opcode, std::optional<const Value> dest, T... args) { in OpWithArgs() argument
178 return Instruction{opcode, /*method_id=*/0, /*result_is_object=*/false, dest, args...}; in OpWithArgs()
238 Op opcode() const { return opcode_; } in opcode() function
245 inline Instruction(Op opcode, size_t method_id, std::optional<const Value> dest) in Instruction() argument
246 : opcode_{opcode}, method_id_{method_id}, result_is_object_{false}, dest_{dest}, args_{} {} in Instruction()
249 inline constexpr Instruction(Op opcode, size_t method_id, bool result_is_object, in Instruction() argument
251 : opcode_{opcode}, in Instruction()
266 std::ostream& operator<<(std::ostream& out, const Instruction::Op& opcode);
[all …]
Ddex_builder.cc46 constexpr Opcode InvokeToInvokeRange(Opcode opcode) { in InvokeToInvokeRange() argument
47 switch (opcode) { in InvokeToInvokeRange()
57 LOG(FATAL) << opcode << " is not a recognized invoke opcode."; in InvokeToInvokeRange()
64 std::ostream& operator<<(std::ostream& out, const Instruction::Op& opcode) { in operator <<() argument
65 switch (opcode) { in operator <<()
337 switch (instruction.opcode()) { in EncodeInstruction()
366 void MethodBuilder::EncodeReturn(const Instruction& instruction, ::art::Instruction::Code opcode) { in EncodeReturn() argument
373 Encode11x(opcode, source); in EncodeReturn()
378 CHECK(Instruction::Op::kMove == instruction.opcode() || in EncodeMove()
379 Instruction::Op::kMoveObject == instruction.opcode()); in EncodeMove()
[all …]
/frameworks/av/media/libaaudio/src/binding/
DIAAudioClient.cpp45 void onStreamChange(aaudio_handle_t handle, int32_t opcode, int32_t value) override { in onStreamChange() argument
49 data.writeInt32(opcode); in onStreamChange()
64 int32_t opcode = 0; in onTransact() local
72 data.readInt32(&opcode); in onTransact()
74 onStreamChange(streamHandle, opcode, value); in onTransact()
75 ALOGD("BnAAudioClient onStreamChange(%x, %d, %d)", streamHandle, opcode, value); in onTransact()
DAAudioBinderClient.h111 void onStreamChange(aaudio_handle_t handle, int32_t opcode, int32_t value) { in onStreamChange() argument
134 void onStreamChange(aaudio_handle_t handle, int32_t opcode, int32_t value) { in onStreamChange() argument
137 client->onStreamChange(handle, opcode, value); in onStreamChange()
/frameworks/layoutlib/create/src/com/android/tools/layoutlib/create/
DStubCallMethodAdapter.java257 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 …]
DDelegateMethodAdapter.java354 public void visitInsn(int opcode) { in visitInsn() argument
356 mOrgWriter.visitInsn(opcode); in visitInsn()
375 public void visitMethodInsn(int opcode, String owner, String name, String desc, boolean itf) { in visitMethodInsn() argument
377 mOrgWriter.visitMethodInsn(opcode, owner, name, desc, itf); in visitMethodInsn()
382 public void visitFieldInsn(int opcode, String owner, String name, String desc) { in visitFieldInsn() argument
384 mOrgWriter.visitFieldInsn(opcode, owner, name, desc); in visitFieldInsn()
403 public void visitIntInsn(int opcode, int operand) { in visitIntInsn() argument
405 mOrgWriter.visitIntInsn(opcode, operand); in visitIntInsn()
410 public void visitJumpInsn(int opcode, Label label) { in visitJumpInsn() argument
412 mOrgWriter.visitJumpInsn(opcode, label); in visitJumpInsn()
[all …]
DReplaceMethodCallsAdapter.java155 mi.opcode = Opcodes.INVOKESTATIC; in METHOD_REPLACERS.add()
228 public void visitMethodInsn(int opcode, String owner, String name, String desc, in visitMethodInsn() argument
232 MethodInformation mi = new MethodInformation(opcode, owner, name, desc); in visitMethodInsn()
234 opcode = mi.opcode; in visitMethodInsn()
241 super.visitMethodInsn(opcode, owner, name, desc, itf); in visitMethodInsn()
246 public int opcode; field in ReplaceMethodCallsAdapter.MethodInformation
251 public MethodInformation(int opcode, String owner, String name, String desc) { in MethodInformation() argument
252 this.opcode = opcode; in MethodInformation()
DAfterConstructorMethodAdapter.java78 public void visitInsn(int opcode) { in visitInsn() argument
79 if (opcode == Opcodes.RETURN) { in visitInsn()
83 super.visitInsn(opcode); in visitInsn()
DAbstractClassAdapter.java248 public void visitTypeInsn(int opcode, String type) { in visitTypeInsn() argument
255 super.visitTypeInsn(opcode, type); in visitTypeInsn()
259 public void visitFieldInsn(int opcode, String owner, String name, String desc) { in visitFieldInsn() argument
263 super.visitFieldInsn(opcode, owner, name, desc); in visitFieldInsn()
267 public void visitMethodInsn(int opcode, String owner, String name, String desc, in visitMethodInsn() argument
277 super.visitMethodInsn(opcode, owner, name, desc, itf); in visitMethodInsn()
/frameworks/native/libs/vr/libpdx/
Dclient.cpp83 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/
Dclient_channel.cpp90 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/
Dclient_channel.h50 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/rs/rsov/compiler/spirit/
Dgenerate.py231 def string_for_constructor(opname, opcode, members): argument
270 def string_for_serializer_body(opcode, members): argument
376 opcode = inst['opcode']
401 string_for_constructor(opname, opcode, members),
402 string_for_serializer_body(opcode, members),
424 opcode = inst['opcode']
425 print " %s = %d," % (opname, opcode)
Dcore_defs.h64 OpCodeAndWordCount(uint32_t opcode, uint32_t wordCount) in OpCodeAndWordCount()
65 : mOpCode((uint16_t)opcode), mWordCount((uint16_t)wordCount) {} in OpCodeAndWordCount()
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64InsnHelpers.h212 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/layoutlib/create/tests/com/android/tools/layoutlib/create/
DAsmGeneratorTest.java400 public void visitFieldInsn(int opcode, String owner, String name, String desc) { in visitMethod()
403 super.visitFieldInsn(opcode, owner, name, desc); in visitMethod()
415 public void visitTypeInsn(int opcode, String type) { in visitMethod() argument
417 super.visitTypeInsn(opcode, type); in visitMethod()
421 public void visitMethodInsn(int opcode, String owner, String name, String desc, in visitMethod() argument
425 super.visitMethodInsn(opcode, owner, name, desc, itf); in visitMethod()

123