Searched refs:chan (Results 1 – 6 of 6) sorted by relevance
/system/core/trusty/confirmationui/fuzz/ |
D | msg_fuzzer.cpp | 78 static bool Init(int chan, int dma_buf) { in Init() argument 100 int rc = tipc_send(chan, iov, countof(iov), &shm, 1); in Init() 105 rc = read(chan, &hdr, sizeof(hdr)); in Init() 113 static bool Msg(int chan, const uint8_t* data, size_t size) { in Msg() argument 134 int rc = tipc_send(chan, iov, countof(iov), NULL, 0); in Msg() 139 rc = readv(chan, iov, countof(iov)); in Msg() 156 int chan = *ta.GetRawFd(); in LLVMFuzzerTestOneInput() local 159 bool success = Init(chan, dma_buf); in LLVMFuzzerTestOneInput() 166 success = Msg(chan, data, size); in LLVMFuzzerTestOneInput()
|
/system/bt/gd/l2cap/fuzz/ |
D | channel_fuzz_controller.cc | 26 …ntroller::ChannelFuzzController(Handler* l2cap_handler, std::shared_ptr<DynamicChannelImpl> chan) { in ChannelFuzzController() argument 27 EnqueueType* queue = reinterpret_cast<EnqueueType*>(chan->GetQueueUpEnd()); in ChannelFuzzController() 31 …Controller::ChannelFuzzController(Handler* l2cap_handler, std::shared_ptr<FixedChannelImpl> chan) { in ChannelFuzzController() argument 32 EnqueueType* queue = reinterpret_cast<EnqueueType*>(chan->GetQueueUpEnd()); in ChannelFuzzController()
|
D | channel_fuzz_controller.h | 35 …zController(os::Handler* l2cap_handler, std::shared_ptr<l2cap::internal::DynamicChannelImpl> chan); 37 …ller(os::Handler* l2cap_handler, std::shared_ptr<l2cap::classic::internal::FixedChannelImpl> chan);
|
/system/core/trusty/apploader/fuzz/ |
D | app_fuzzer.cpp | 50 static bool SendLoadMsg(int chan, int dma_buf, size_t dma_buf_size) { in SendLoadMsg() argument 72 int rc = tipc_send(chan, iov, 2, &shm, 1); in SendLoadMsg() 79 rc = read(chan, &resp, sizeof(resp)); in SendLoadMsg()
|
/system/bt/stack/eatt/ |
D | eatt_impl.h | 144 auto chan = std::make_shared<EattChannel>(eatt_dev->bda_, cid, peer_mtu, in eatt_l2cap_connect_ind() local 146 eatt_dev->eatt_channels.insert({cid, chan}); in eatt_l2cap_connect_ind() 148 chan->EattChannelSetState(EattChannelState::EATT_CHANNEL_OPENED); in eatt_l2cap_connect_ind() 322 auto chan = std::make_shared<EattChannel>(eatt_dev->bda_, cid, 0, in connect_eatt() local 324 eatt_dev->eatt_channels.insert({cid, chan}); in connect_eatt()
|
/system/bt/stack/gatt/ |
D | gatt_main.cc | 47 static void gatt_le_connect_cback(uint16_t chan, const RawAddress& bd_addr, 50 static void gatt_le_data_ind(uint16_t chan, const RawAddress& bd_addr, 416 static void gatt_le_connect_cback(uint16_t chan, const RawAddress& bd_addr, in gatt_le_connect_cback() argument 568 static void gatt_le_data_ind(uint16_t chan, const RawAddress& bd_addr, in gatt_le_data_ind() argument
|