/hardware/libhardware/modules/sensors/dynamic_sensor/ |
D | HidRawDevice.cpp | 59 for (auto const &packet : digest.packets) { in HidRawDevice() local 61 std::make_pair(packet.type, packet.id), &packet).second == false) { in HidRawDevice() 62 LOG_E << "Same type - report id pair (" << packet.type << ", " << packet.id << ")" in HidRawDevice() 66 reportIdSet.insert(packet.id); in HidRawDevice() 191 const HidParser::ReportPacket *packet = getReportPacket(HidParser::REPORT_TYPE_FEATURE, id); in getFeature() local 192 if (packet == nullptr) { in getFeature() 197 size_t size = packet->getByteSize() + 1; // report id size in getFeature() 230 const HidParser::ReportPacket *packet = getReportPacket(HidParser::REPORT_TYPE_FEATURE, id); in setFeature() local 231 if (packet == nullptr) { in setFeature() 236 size_t size = packet->getByteSize(); in setFeature() [all …]
|
D | HidRawSensorDevice.cpp | 66 for (const auto &packet : digest.packets) { in HidRawSensorDevice() local 67 if (packet.type == HidParser::REPORT_TYPE_INPUT) { // only used for input mapping in HidRawSensorDevice() 68 mSensors.emplace(packet.id/* report id*/, s); in HidRawSensorDevice()
|
D | HidRawSensor.cpp | 145 for (const auto &packet : packets) { in HidRawSensor() local 146 if (packet.type == HidParser::REPORT_TYPE_INPUT && std::any_of( in HidRawSensor() 147 packet.reports.begin(), packet.reports.end(), in HidRawSensor() 152 pPacket = &packet; in HidRawSensor() 396 for (const auto &packet : packets) { in find() local 397 if (packet.type != type) { in find() 401 packet.reports.begin(), packet.reports.end(), in find() 406 if (i != packet.reports.end()) { in find() 452 for (const auto &packet : packets) { in populateFeatureValueFromFeatureReport() local 453 if (packet.type != HidParser::REPORT_TYPE_FEATURE) { in populateFeatureValueFromFeatureReport() [all …]
|
/hardware/google/apf/ |
D | apf_run.c | 98 uint8_t* packet; in packet_handler() local 99 uint32_t packet_len = parse_hex(pkt, &packet); in packet_handler() 103 int ret = accept_packet(program, program_len, ram_len, packet, packet_len, in packet_handler() 107 free(packet); in packet_handler() 111 const uint8_t* packet __unused, uint32_t packet_len __unused, in apf_trace_hook() 187 char* packet = NULL; in main() local 212 packet = optarg; in main() 221 if (packet) { in main() 264 if (!filename && !packet) { in main() 281 packet_handler(program, program_len, ram_len, packet, filter_age); in main()
|
D | apf_interpreter.c | 26 uint32_t program_len, const uint8_t *packet, uint32_t packet_len, 29 #define APF_TRACE_HOOK(pc, regs, program, program_len, packet, packet_len, memory, memory_len) \ argument 46 const uint8_t* packet, uint32_t packet_len, in accept_packet() argument 78 if ((packet[APF_FRAME_HEADER_SIZE] & 0xf0) == 0x40) { in accept_packet() 79 memory[MEMORY_OFFSET_IPV4_HEADER_SIZE] = (packet[APF_FRAME_HEADER_SIZE] & 15) * 4; in accept_packet() 90 APF_TRACE_HOOK(pc, registers, program, program_len, packet, packet_len, memory, ram_len); in accept_packet() 153 val = (val << 8) | packet[offs++]; in accept_packet() 209 if (memcmp(program + pc, packet + REG, cmp_imm)) in accept_packet()
|
D | apf_interpreter.h | 59 const uint8_t* packet, uint32_t packet_len,
|
D | apf_run_test.sh | 15 pkt=$(cat testdata/$testcase.packet)
|
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/ |
D | HidParser.cpp | 233 ReportPacket packet = { in convertGroupToPacket() local 256 .bitOffset = packet.bitSize, in convertGroupToPacket() 260 packet.reports.push_back(digest); in convertGroupToPacket() 261 packet.bitSize += digest.bitSize * digest.count; in convertGroupToPacket() 263 if (!packet.reports.empty()) { in convertGroupToPacket() 264 packets.push_back(std::move(packet)); in convertGroupToPacket() 288 for (const auto &packet : i.packets) { in operator <<() local 289 os << reportTypeToString(packet.type) << " id: " << packet.id in operator <<() 290 << " size: " << packet.bitSize in operator <<() 291 << "b(" << packet.getByteSize() << "B), " in operator <<() [all …]
|
/hardware/interfaces/bluetooth/1.1/default/ |
D | bluetooth_hci.cc | 79 [cb](const hidl_vec<uint8_t>& packet) { in initialize_1_1() argument 80 auto hidl_status = cb->hciEventReceived(packet); in initialize_1_1() 85 [cb](const hidl_vec<uint8_t>& packet) { in initialize_1_1() argument 86 auto hidl_status = cb->aclDataReceived(packet); in initialize_1_1() 91 [cb](const hidl_vec<uint8_t>& packet) { in initialize_1_1() argument 92 auto hidl_status = cb->scoDataReceived(packet); in initialize_1_1() 97 [cb](const hidl_vec<uint8_t>& packet) { in initialize_1_1() argument 98 auto hidl_status = cb->isoDataReceived(packet); in initialize_1_1()
|
D | bluetooth_hci.h | 45 Return<void> sendHciCommand(const hidl_vec<uint8_t>& packet) override;
|
/hardware/interfaces/bluetooth/1.0/default/ |
D | bluetooth_hci.cc | 75 [cb](const hidl_vec<uint8_t>& packet) { in initialize() argument 76 auto hidl_status = cb->hciEventReceived(packet); in initialize() 81 [cb](const hidl_vec<uint8_t>& packet) { in initialize() argument 82 auto hidl_status = cb->aclDataReceived(packet); in initialize() 87 [cb](const hidl_vec<uint8_t>& packet) { in initialize() argument 88 auto hidl_status = cb->scoDataReceived(packet); in initialize()
|
D | vendor_interface.cc | 56 HC_BT_HDR* packet = reinterpret_cast<HC_BT_HDR*>(new uint8_t[packet_size]); in WrapPacketAndCopy() local 57 packet->offset = 0; in WrapPacketAndCopy() 58 packet->len = data.size(); in WrapPacketAndCopy() 59 packet->layer_specific = 0; in WrapPacketAndCopy() 60 packet->event = event; in WrapPacketAndCopy() 63 memcpy(packet->data, data.data(), data.size()); in WrapPacketAndCopy() 64 return packet; in WrapPacketAndCopy() 67 bool internal_command_event_match(const hidl_vec<uint8_t>& packet) { in internal_command_event_match() argument 68 uint8_t event_code = packet[0]; in internal_command_event_match() 76 uint16_t opcode = packet[opcode_offset] | (packet[opcode_offset + 1] << 8); in internal_command_event_match()
|
D | bluetooth_hci.h | 42 Return<void> sendHciCommand(const hidl_vec<uint8_t>& packet) override;
|
/hardware/qcom/camera/msm8998/QCamera2/HAL/ |
D | QCameraMem.cpp | 1402 media_metadata_buffer * packet = in allocateMore() local 1406 packet->eType = kMetadataBufferTypeNativeHandleSource; in allocateMore() 1407 packet->pHandle = NULL; in allocateMore() 1409 packet->buffer_type = kMetadataBufferTypeCameraSource; in allocateMore() 1410 packet->meta_handle = mNativeHandle[i]; in allocateMore() 1470 media_metadata_buffer *packet = in allocateMeta() local 1499 packet->eType = kMetadataBufferTypeNativeHandleSource; in allocateMeta() 1500 packet->pHandle = NULL; in allocateMeta() 1502 packet->buffer_type = kMetadataBufferTypeCameraSource; in allocateMeta() 1503 packet->meta_handle = mNativeHandle[i]; in allocateMeta() [all …]
|
/hardware/interfaces/bluetooth/1.0/ |
D | IBluetoothHciCallbacks.hal | 35 * Send an ACL data packet form the controller to the host. 36 * @param data the ACL HCI packet to be passed to the host stack 41 * Send a SCO data packet form the controller to the host. 42 * @param data the SCO HCI packet to be passed to the host stack
|
D | IBluetoothHci.hal | 62 * Send an HCI ACL data packet (as specified in the Bluetooth Specification 65 * @param data HCI data packet to be sent 71 * Send an SCO data packet (as specified in the Bluetooth Specification 74 * @param data HCI data packet to be sent
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/ |
D | mm_camera.c | 1954 cam_sock_packet_t packet; in mm_camera_map_buf() local 1955 memset(&packet, 0, sizeof(cam_sock_packet_t)); in mm_camera_map_buf() 1956 packet.msg_type = CAM_MAPPING_TYPE_FD_MAPPING; in mm_camera_map_buf() 1957 packet.payload.buf_map.type = buf_type; in mm_camera_map_buf() 1958 packet.payload.buf_map.fd = fd; in mm_camera_map_buf() 1959 packet.payload.buf_map.size = size; in mm_camera_map_buf() 1960 packet.payload.buf_map.buffer = buffer; in mm_camera_map_buf() 1963 &packet, in mm_camera_map_buf() 1969 my_obj->sessionid, &packet); in mm_camera_map_buf() 1994 cam_sock_packet_t packet; in mm_camera_map_bufs() local [all …]
|
D | mm_camera_stream.c | 2140 cam_sock_packet_t packet; in mm_stream_map_buf() local 2141 memset(&packet, 0, sizeof(cam_sock_packet_t)); in mm_stream_map_buf() 2142 packet.msg_type = CAM_MAPPING_TYPE_FD_MAPPING; in mm_stream_map_buf() 2143 packet.payload.buf_map.type = buf_type; in mm_stream_map_buf() 2144 packet.payload.buf_map.fd = fd; in mm_stream_map_buf() 2145 packet.payload.buf_map.size = size; in mm_stream_map_buf() 2146 packet.payload.buf_map.stream_id = my_obj->server_stream_id; in mm_stream_map_buf() 2147 packet.payload.buf_map.frame_idx = frame_idx; in mm_stream_map_buf() 2148 packet.payload.buf_map.plane_idx = plane_idx; in mm_stream_map_buf() 2149 packet.payload.buf_map.buffer = buffer; in mm_stream_map_buf() [all …]
|
/hardware/interfaces/bluetooth/1.1/ |
D | IBluetoothHciCallbacks.hal | 27 * Send a ISO data packet form the controller to the host. 28 * @param data the ISO HCI packet to be passed to the host stack
|
D | IBluetoothHci.hal | 38 * Send an ISO data packet (as specified in the Bluetooth Core 41 * @param data HCI data packet to be sent
|
/hardware/interfaces/neuralnetworks/1.2/ |
D | IPreparedModel.hal | 177 * packet, it must dequeue the entire packet from the 179 * packet that exceeds the length of the FMQ. 190 * packet, it must dequeue the entire packet from the 191 * resultChannel. If the packet's length exceeds the 193 * result packet; instead, the service must send a 194 * packet consisting of the error code
|
D | types.t | 480 * in these descriptions as a 'packet'. 501 * Type to describe the high-level layout of the packet. 505 * How many elements the packet contains, including the 550 * packetInformation is the first element of the packet and describes the 551 * remainder of the packet. 608 * in these descriptions as a 'packet'. 624 * Type to describe the high-level layout of the packet. 628 * How many elements the packet contains, including the 661 * packetInformation is the first element of the packet and describes the 662 * remainder of the packet. It additionally includes the status of the
|
/hardware/interfaces/wifi/1.0/ |
D | IWifiStaIface.hal | 32 * APF (Android Packet Filter) is a BPF like packet filtering 88 * Support for keep alive packet offload. 431 * @param ipPacketData IP packet contents to be transmitted. 434 * @param srcAddress Source MAC address of the packet. 435 * @param dstAddress Destination MAC address of the packet. 436 * @param periodInMs Interval at which this packet must be transmitted. 478 * API to start packet fate monitoring. 481 * - When HAL is unloaded, all packet fate buffers must be cleared. 482 * - The packet fates are used to monitor the state of packets transmitted/ 518 * to the packet fates. [all …]
|
D | types.hal | 252 * Version of the packet filter interpreter supported 433 * WME Best Effort Access Category packet counters. 437 * WME Background Access Category packet counters. 441 * WME Video Access Category packet counters. 445 * WME Voice Access Category packet counters. 681 * publish discovery sessions. Describes the addressing of the packet responding to an ACTIVE 685 BROADCAST = 0, // Respond with a broadcast packet 686 UNICAST, // Respond with a unicast packet 1413 * The match filter from the discovery packet (publish or subscribe) which caused service 2251 * Actual frame content. This is the raw bytes of the corresponding packet. [all …]
|
/hardware/interfaces/radio/1.2/ |
D | IRadio.hal | 123 * Setup a packet data connection. If DataCallResponse.status returns DataCallFailCause:NONE, 174 * Deactivate packet data connection and remove from the data call list. An
|