/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/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 | 55 HC_BT_HDR* packet = reinterpret_cast<HC_BT_HDR*>(new uint8_t[packet_size]); in WrapPacketAndCopy() local 56 packet->offset = 0; in WrapPacketAndCopy() 57 packet->len = data.size(); in WrapPacketAndCopy() 58 packet->layer_specific = 0; in WrapPacketAndCopy() 59 packet->event = event; in WrapPacketAndCopy() 62 memcpy(packet->data, data.data(), data.size()); in WrapPacketAndCopy() 63 return packet; in WrapPacketAndCopy() 66 bool internal_command_event_match(const hidl_vec<uint8_t>& packet) { in internal_command_event_match() argument 67 uint8_t event_code = packet[0]; in internal_command_event_match() 75 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/google/apf/ |
D | apf_run.c | 65 uint8_t* packet; in main() local 66 uint32_t packet_len = parse_hex(argv[2], &packet); in main() 68 int ret = accept_packet(program, program_len, packet, packet_len, in main() 72 free(packet); in main()
|
D | apf_interpreter.c | 48 const uint8_t* packet, uint32_t packet_len, in accept_packet() argument 69 if ((packet[APF_FRAME_HEADER_SIZE] & 0xf0) == 0x40) { in accept_packet() 70 memory[MEMORY_OFFSET_IPV4_HEADER_SIZE] = (packet[APF_FRAME_HEADER_SIZE] & 15) * 4; in accept_packet() 142 val = (val << 8) | packet[offs++]; in accept_packet() 198 if (memcmp(program + pc, packet + REG, cmp_imm)) in accept_packet()
|
D | apf_interpreter.h | 46 const uint8_t* packet, uint32_t packet_len,
|
/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 2250 * Actual frame content. This is the raw bytes of the corresponding packet. [all …]
|
/hardware/interfaces/radio/1.1/ |
D | types.hal | 180 KeepaliveType type; // The format of the keepalive packet
|
/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
|
D | IRadio.hal | 359 * Setup a packet data connection. If DataCallResponse.status 537 * Deactivate packet data connection and remove from the
|
D | types.hal | 974 // and packet data 981 PS_ALL = 0x10 // Block packet data access due to restriction.
|
/hardware/interfaces/automotive/vehicle/2.0/ |
D | types.hal | 3296 * with a serialized VMS data packet as defined in the VMS protocol.
|