/system/core/libappfuse/tests/ |
D | FuseBridgeLoopTest.cc | 64 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 …]
|
D | FuseBufferTest.cc | 71 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/ |
D | tags_int.h | 34 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);
|
D | rw_int.h | 873 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/ |
D | tags_int.cc | 107 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()
|
D | rw_t1t.cc | 121 ((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 …]
|
D | rw_t2t.cc | 46 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()
|
D | rw_t1t_ndef.cc | 101 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()
|
D | ce_t3t.cc | 157 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/ |
D | fuse_media.c | 32 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/ |
D | FuseBridgeLoop.cc | 182 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()
|
D | FuseBuffer.cc | 190 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()
|
D | FuseAppLoop.cc | 93 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/ |
D | hal_fakes.cc | 37 uint8_t opcode, uint8_t* data, in SimulatePacketArrival() argument 50 buffer[1] = (mt == NCI_MT_DATA) ? 0 : opcode; in SimulatePacketArrival()
|
D | hal_fakes.h | 25 uint8_t opcode, uint8_t* data, size_t size);
|
/system/core/trusty/storage/proxy/ |
D | rpmb.c | 93 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/ |
D | DwarfOpTest.cpp | 109 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/ |
D | nfc_integration_fuzzer_impl.cc | 265 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()
|
D | nfc_integration_fuzzer.proto | 159 oneof opcode { oneof 361 optional Opcode opcode = 4; field
|
/system/core/libappfuse/include/libappfuse/ |
D | FuseBuffer.h | 70 void Reset(uint32_t data_length, uint32_t opcode, uint64_t unique);
|
/system/nfc/src/include/ |
D | nfc_hal_int.h | 102 uint16_t opcode; member
|
/system/nfc/src/nfa/include/ |
D | nfa_ee_int.h | 386 uint8_t opcode; member
|
/system/nfc/src/nfa/ee/ |
D | nfa_ee_main.cc | 353 cbk.opcode = NCI_MSG_RF_SET_ROUTING; in nfa_ee_proc_evt()
|
D | nfa_ee_act.cc | 2316 if (p_rsp->opcode == NCI_MSG_RF_SET_ROUTING) nfa_ee_cb.wait_rsp--; in nfa_ee_nci_wait_rsp()
|
/system/extras/simpleperf/ |
D | ETMDecoder.cpp | 887 while (ReadMem(instr_info_.instr_addr, 4, &instr_info_.opcode)) { in FindNextBranch()
|