Home
last modified time | relevance | path

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

/system/core/libappfuse/tests/
DFuseBridgeLoopTest.cc64 void CheckNotImpl(uint32_t opcode) { in CheckNotImpl() argument
65 SCOPED_TRACE((std::ostringstream() << "opcode: " << opcode).str()); in CheckNotImpl()
68 request_.header.opcode = opcode; in CheckNotImpl()
78 void CheckProxy(uint32_t opcode) { in CheckProxy() argument
79 SCOPED_TRACE((std::ostringstream() << "opcode: " << opcode).str()); in CheckProxy()
82 request_.header.opcode = opcode; in CheckProxy()
83 request_.header.unique = opcode; // Use opcode as unique. in CheckProxy()
89 EXPECT_EQ(opcode, request_.header.opcode); in CheckProxy()
90 EXPECT_EQ(opcode, request_.header.unique); in CheckProxy()
94 response_.header.unique = opcode; // Use opcode as unique. in CheckProxy()
[all …]
DFuseBufferTest.cc71 request.header.opcode = 1; in TEST()
86 EXPECT_EQ(1u, request.header.opcode); in TEST()
163 buffer.request.header.opcode = FUSE_INIT; in TEST()
/system/nfc/src/nfc/include/
Dtags_int.h34 uint8_t opcode; member
61 uint8_t opcode; member
74 extern const tT1T_CMD_RSP_INFO* t1t_cmd_to_rsp_info(uint8_t opcode);
82 extern const tT2T_CMD_RSP_INFO* t2t_cmd_to_rsp_info(uint8_t opcode);
Drw_int.h873 extern tNFC_STATUS rw_t1t_send_dyn_cmd(uint8_t opcode, uint8_t add,
875 extern tNFC_STATUS rw_t1t_send_static_cmd(uint8_t opcode, uint8_t add,
/system/nfc/src/nfc/tags/
Dtags_int.cc107 const tT1T_CMD_RSP_INFO* t1t_cmd_to_rsp_info(uint8_t opcode) { in t1t_cmd_to_rsp_info() argument
112 if (opcode == p->opcode) { in t1t_cmd_to_rsp_info()
182 const tT2T_CMD_RSP_INFO* t2t_cmd_to_rsp_info(uint8_t opcode) { in t2t_cmd_to_rsp_info() argument
187 if (opcode == p->opcode) { in t2t_cmd_to_rsp_info()
Drw_t1t.cc121 ((p_cmd_rsp_info->opcode != T1T_CMD_RALL) && in rw_t1t_data_cback()
122 (p_cmd_rsp_info->opcode != T1T_CMD_RID) && (*p != p_t1t->addr))) in rw_t1t_data_cback()
149 rw_t1t_get_state_name(p_t1t->state).c_str(), p_cmd_rsp_info->opcode); in rw_t1t_data_cback()
161 p_cmd_rsp_info->opcode); in rw_t1t_data_cback()
175 p_t1t->prev_cmd_rsp_info.addr = ((p_cmd_rsp_info->opcode != T1T_CMD_RALL) && in rw_t1t_data_cback()
176 (p_cmd_rsp_info->opcode != T1T_CMD_RID)) in rw_t1t_data_cback()
180 p_t1t->prev_cmd_rsp_info.op_code = p_cmd_rsp_info->opcode; in rw_t1t_data_cback()
186 if (p_cmd_rsp_info->opcode == T1T_CMD_RID) { in rw_t1t_data_cback()
324 tNFC_STATUS rw_t1t_send_static_cmd(uint8_t opcode, uint8_t add, uint8_t dat) { in rw_t1t_send_static_cmd() argument
327 const tT1T_CMD_RSP_INFO* p_cmd_rsp_info = t1t_cmd_to_rsp_info(opcode); in rw_t1t_send_static_cmd()
[all …]
Drw_t2t.cc46 static tNFC_STATUS rw_t2t_send_cmd(uint8_t opcode, uint8_t* p_dat);
97 p_cmd_rsp_info->opcode); in rw_t2t_proc_data()
140 ((p_cmd_rsp_info->opcode == T2T_CMD_WRITE) && in rw_t2t_proc_data()
348 tNFC_STATUS rw_t2t_send_cmd(uint8_t opcode, uint8_t* p_dat) { in rw_t2t_send_cmd() argument
351 const tT2T_CMD_RSP_INFO* p_cmd_rsp_info = t2t_cmd_to_rsp_info(opcode); in rw_t2t_send_cmd()
363 UINT8_TO_STREAM(p, opcode); in rw_t2t_send_cmd()
383 p_cmd_rsp_info->opcode); in rw_t2t_send_cmd()
Drw_t1t_ndef.cc101 if (p_info->opcode == T1T_CMD_RALL) { in rw_t1t_handle_rsp()
103 } else if (p_info->opcode == T1T_CMD_RSEG) { in rw_t1t_handle_rsp()
113 } else if (p_info->opcode == T1T_CMD_READ8) { in rw_t1t_handle_rsp()
196 if (p_cmd_rsp_info->opcode == T1T_CMD_RSEG) { in rw_t1t_extract_lock_bytes()
199 } else if (p_cmd_rsp_info->opcode == T1T_CMD_READ8) { in rw_t1t_extract_lock_bytes()
202 } else if (p_cmd_rsp_info->opcode == T1T_CMD_RALL) { in rw_t1t_extract_lock_bytes()
219 if (p_cmd_rsp_info->opcode == T1T_CMD_RSEG) { in rw_t1t_extract_lock_bytes()
221 } else if (p_cmd_rsp_info->opcode == T1T_CMD_READ8) { in rw_t1t_extract_lock_bytes()
223 } else if (p_cmd_rsp_info->opcode == T1T_CMD_RALL) { in rw_t1t_extract_lock_bytes()
1227 switch (p_cmd_rsp_info->opcode) { in rw_t1t_handle_ndef_read_rsp()
Dce_t3t.cc157 void ce_t3t_send_rsp(tCE_CB* p_ce_cb, uint8_t* p_nfcid2, uint8_t opcode, in ce_t3t_send_rsp() argument
173 UINT8_TO_STREAM(p_dst, opcode); in ce_t3t_send_rsp()
/system/bpfprogs/
Dfuse_media.c32 switch (fa->opcode) {
230 if (fa->opcode & FUSE_PREFILTER)
231 bpf_printk("Prefilter *** UNKNOWN *** opcode: %d", fa->opcode & FUSE_OPCODE_FILTER);
232 else if (fa->opcode & FUSE_POSTFILTER)
234 fa->opcode & FUSE_OPCODE_FILTER);
236 bpf_printk("*** UNKNOWN *** opcode: %d", fa->opcode);
/system/core/libappfuse/
DFuseBridgeLoop.cc182 const uint32_t opcode = buffer_.request.header.opcode; in ReadFromDevice() local
184 LOG(VERBOSE) << "Read a fuse packet, opcode=" << opcode << " unique=" << unique; in ReadFromDevice()
188 switch (opcode) { in ReadFromDevice()
200 if (opcode == FUSE_OPEN || opcode == FUSE_RELEASE) { in ReadFromDevice()
201 opcode_map_.emplace(buffer_.request.header.unique, opcode); in ReadFromDevice()
219 if (opcode == FUSE_INIT) { in ReadFromDevice()
233 << " header.opcode=" << buffer_.request.header.opcode in WriteToProxy()
DFuseBuffer.cc190 uint32_t data_length, uint32_t opcode, uint64_t unique) { in Reset() argument
193 header.opcode = opcode; in Reset()
252 LOG(VERBOSE) << "NOTIMPL op=" << request.header.opcode << " uniq=" in HandleNotImpl()
DFuseAppLoop.cc93 const uint32_t opcode = buffer->request.header.opcode; in HandleMessage() local
94 LOG(VERBOSE) << "Read a fuse packet, opcode=" << opcode; in HandleMessage()
95 switch (opcode) { in HandleMessage()
/system/nfc/src/fuzzers/integration/fakes/
Dhal_fakes.cc37 uint8_t opcode, uint8_t* data, in SimulatePacketArrival() argument
50 buffer[1] = (mt == NCI_MT_DATA) ? 0 : opcode; in SimulatePacketArrival()
Dhal_fakes.h25 uint8_t opcode, uint8_t* data, size_t size);
/system/core/trusty/storage/proxy/
Drpmb.c93 uint8_t opcode; member
335 cmd->opcode = MMC_WRITE_MULTIPLE_BLOCK; in send_mmc_rpmb_req()
341 ALOGI("opcode: 0x%x, write_flag: 0x%x\n", cmd->opcode, cmd->write_flag); in send_mmc_rpmb_req()
351 cmd->opcode = MMC_WRITE_MULTIPLE_BLOCK; in send_mmc_rpmb_req()
357 ALOGI("opcode: 0x%x, write_flag: 0x%x\n", cmd->opcode, cmd->write_flag); in send_mmc_rpmb_req()
367 cmd->opcode = MMC_READ_MULTIPLE_BLOCK; in send_mmc_rpmb_req()
372 ALOGI("opcode: 0x%x, write_flag: 0x%x\n", cmd->opcode, cmd->write_flag); in send_mmc_rpmb_req()
/system/unwinding/libunwindstack/tests/
DDwarfOpTest.cpp109 for (size_t opcode = 0xa0; opcode < 256; opcode++) { in TYPED_TEST_P() local
110 opcode_buffer.push_back(opcode); in TYPED_TEST_P()
1335 for (uint8_t opcode = 0x29; opcode <= 0x2e; opcode++) { in TYPED_TEST_P() local
1336 opcode_buffer[0] = opcode; in TYPED_TEST_P()
1337 opcode_buffer[3] = opcode; in TYPED_TEST_P()
1341 ASSERT_EQ(opcode, this->op_->cur_op()); in TYPED_TEST_P()
1345 ASSERT_EQ(opcode, this->op_->cur_op()); in TYPED_TEST_P()
/system/nfc/src/fuzzers/integration/
Dnfc_integration_fuzzer_impl.cc265 uint8_t opcode = static_cast<uint8_t>(packet.opcode()); in DoPacket() local
272 opcode = 0; in DoPacket()
275 g_fake_hal->SimulatePacketArrival(mt, pbf, gid, opcode, in DoPacket()
Dnfc_integration_fuzzer.proto159 oneof opcode { oneof
361 optional Opcode opcode = 4; field
/system/core/libappfuse/include/libappfuse/
DFuseBuffer.h70 void Reset(uint32_t data_length, uint32_t opcode, uint64_t unique);
/system/nfc/src/include/
Dnfc_hal_int.h102 uint16_t opcode; member
/system/nfc/src/nfa/include/
Dnfa_ee_int.h386 uint8_t opcode; member
/system/nfc/src/nfa/ee/
Dnfa_ee_main.cc353 cbk.opcode = NCI_MSG_RF_SET_ROUTING; in nfa_ee_proc_evt()
Dnfa_ee_act.cc2316 if (p_rsp->opcode == NCI_MSG_RF_SET_ROUTING) nfa_ee_cb.wait_rsp--; in nfa_ee_nci_wait_rsp()
/system/extras/simpleperf/
DETMDecoder.cpp887 while (ReadMem(instr_info_.instr_addr, 4, &instr_info_.opcode)) { in FindNextBranch()