/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 | 85 uint8_t* packet; in packet_handler() local 86 uint32_t packet_len = parse_hex(pkt, &packet); in packet_handler() 88 int ret = accept_packet(program, program_len, ram_len, packet, packet_len, in packet_handler() 92 free(packet); in packet_handler() 97 const uint8_t* packet, const uint32_t* memory) { in apf_trace_hook() argument 102 (void)packet; in apf_trace_hook() 178 char* packet = NULL; in main() local 203 packet = optarg; in main() 212 if (packet) { in main() 255 if (!filename && !packet) { in main() [all …]
|
D | apf_interpreter.c | 26 const uint8_t* packet, const uint32_t* memory); 28 #define APF_TRACE_HOOK(pc, regs, program, packet, memory) \ argument 45 const uint8_t* packet, uint32_t packet_len, in accept_packet() argument 77 if ((packet[APF_FRAME_HEADER_SIZE] & 0xf0) == 0x40) { in accept_packet() 78 memory[MEMORY_OFFSET_IPV4_HEADER_SIZE] = (packet[APF_FRAME_HEADER_SIZE] & 15) * 4; in accept_packet() 89 APF_TRACE_HOOK(pc, registers, program, packet, memory); in accept_packet() 152 val = (val << 8) | packet[offs++]; in accept_packet() 208 if (memcmp(program + pc, packet + REG, cmp_imm)) in accept_packet()
|
D | apf_interpreter.h | 59 const uint8_t* packet, uint32_t packet_len,
|
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/ |
D | HidParser.cpp | 233 ReportPacket packet = { in convertGroupToPacket() local 255 .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.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/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
|
/hardware/interfaces/radio/1.1/ |
D | types.hal | 180 KeepaliveType type; // The format of the keepalive packet
|
/hardware/google/av/media/codecs/vorbis/ |
D | C2SoftVorbisDec.cpp | 381 pack.packet = &ref; in process()
|
/hardware/interfaces/radio/1.4/ |
D | IRadio.hal | 41 * Setup a packet data connection. If DataCallResponse.status returns DataCallFailCause:NONE,
|
D | types.hal | 1234 * SIM was marked by the network as invalid for the circuit and/or packet service domain. 1392 * Specifies the type of packet data protocol which is defined in TS 27.007 section 10.1.1. 1416 * Transfer of Non-IP data to external packet data network
|
/hardware/interfaces/radio/1.0/ |
D | IRadioIndication.hal | 242 * packet to the MS by the BTS as coded in 3GPP 23.041 Section 9.4.2.2
|
/hardware/interfaces/neuralnetworks/1.2/ |
D | types.hal | 5109 * in these descriptions as a 'packet'. 5130 * Type to describe the high-level layout of the packet. 5134 * How many elements the packet contains, including the 5179 * packetInformation is the first element of the packet and describes the 5180 * remainder of the packet. 5237 * in these descriptions as a 'packet'. 5253 * Type to describe the high-level layout of the packet. 5257 * How many elements the packet contains, including the 5290 * packetInformation is the first element of the packet and describes the 5291 * remainder of the packet. It additionally includes the status of the
|
/hardware/interfaces/automotive/vehicle/2.0/ |
D | types.hal | 3368 * with a serialized VMS data packet as defined in the VMS protocol. 3376 * provider description packet as defined in the VMS protocol. 3383 * A response from the VMS service to the publisher that contains a provider description packet 3398 … * A response from the VMS service to the subscribers that contains a provider description packet
|