/device/linaro/hikey/bluetooth/ |
D | bluetooth_hci.cc | 54 [cb](const hidl_vec<uint8_t>& packet) { cb->hciEventReceived(packet); }, in initialize() argument 55 [cb](const hidl_vec<uint8_t>& packet) { cb->aclDataReceived(packet); }, in initialize() argument 56 [cb](const hidl_vec<uint8_t>& packet) { cb->scoDataReceived(packet); }); in initialize() argument 105 Return<void> BluetoothHci::sendHciCommand(const hidl_vec<uint8_t>& packet) { in sendHciCommand() argument 106 hci_->Send(HCI_PACKET_TYPE_COMMAND, packet.data(), packet.size()); in sendHciCommand() 110 Return<void> BluetoothHci::sendAclData(const hidl_vec<uint8_t>& packet) { in sendAclData() argument 111 hci_->Send(HCI_PACKET_TYPE_ACL_DATA, packet.data(), packet.size()); in sendAclData() 115 Return<void> BluetoothHci::sendScoData(const hidl_vec<uint8_t>& packet) { in sendScoData() argument 116 hci_->Send(HCI_PACKET_TYPE_SCO_DATA, packet.data(), packet.size()); in sendScoData()
|
D | bluetooth_hci.h | 51 Return<void> sendHciCommand(const hidl_vec<uint8_t>& packet) override; 52 Return<void> sendAclData(const hidl_vec<uint8_t>& packet) override; 53 Return<void> sendScoData(const hidl_vec<uint8_t>& packet) override;
|
/device/google/cuttlefish/host/frontend/gcastv2/https/ |
D | WebSocketHandler.cpp | 33 uint8_t *packet = &data[offset]; in handleRequest() local 37 const uint8_t headerByte = packet[packetOffset]; in handleRequest() 39 const bool hasMask = (packet[packetOffset + 1] & 0x80) != 0; in handleRequest() 40 size_t payloadLen = packet[packetOffset + 1] & 0x7f; in handleRequest() 48 payloadLen = U16_AT(&packet[packetOffset]); in handleRequest() 55 payloadLen = U64_AT(&packet[packetOffset]); in handleRequest() 65 mask = U32_AT(&packet[packetOffset]); in handleRequest() 75 packet[packetOffset + i] ^= ((mask >> (8 * (3 - (i % 4)))) & 0xff); in handleRequest() 84 sendMessage(&packet[packetOffset], payloadLen, SendMode::pong); in handleRequest() 89 err = handleMessage(headerByte, &packet[packetOffset], payloadLen); in handleRequest()
|
/device/google/cuttlefish/common/frontend/socket_vsock_proxy/ |
D | main.cpp | 56 ssize_t SendAll(const char* packet, ssize_t length) { in SendAll() argument 63 socket_->Send(packet + written, in SendAll() 90 ssize_t Recv(char* packet, ssize_t length) { in Recv() argument 91 auto size = socket_->Read(packet, length); in Recv() 105 char packet[kMaxPacketSize] = {}; in SocketToVsock() local 108 ssize_t length = socket_receiver.Recv(packet, kMaxPacketSize); in SocketToVsock() 109 if (length == 0 || vsock_sender.SendAll(packet, length) < 0) { in SocketToVsock() 118 char packet[kMaxPacketSize] = {}; in VsockToSocket() local 121 ssize_t length = vsock_receiver.Recv(packet, kMaxPacketSize); in VsockToSocket() 125 if (socket_sender.SendAll(packet, length) < 0) { in VsockToSocket()
|
/device/google/contexthub/util/nanotool/ |
D | apptohostevent.cpp | 129 const HostHubRawPacket *packet = GetTypedData(); in IsValid() local 130 if (!packet) { in IsValid() 137 + packet->dataLen)) { in IsValid()
|
/device/google/contexthub/firmware/os/core/ |
D | nanohubCommand.c | 735 struct HostIntfDataBuffer *packet = &mTxNext; in fillBuffer() local 745 length = packet->length + sizeof(packet->evtType); in fillBuffer() 746 if (packet->sensType == SENS_TYPE_INVALID) { in fillBuffer() 747 switch (packet->dataType) { in fillBuffer() 749 packet->evtType = htole32(EVT_APP_TO_HOST); in fillBuffer() 752 packet->evtType = htole32(EVT_RESET_REASON); in fillBuffer() 755 packet->evtType = htole32(EVT_APP_TO_SENSOR_HAL_DATA); in fillBuffer() 759 packet->evtType = htole32(HOST_EVT_DEBUG_LOG); in fillBuffer() 763 packet->evtType = htole32(0x00000000); in fillBuffer() 767 packet->evtType = htole32(EVT_NO_FIRST_SENSOR_EVENT + packet->sensType); in fillBuffer() [all …]
|
D | hostIntfSpi.c | 40 struct NanohubPacket *packet = gRxBuf; in hostIntfSpiRxCallback() local 42 callback(NANOHUB_PACKET_SIZE(packet->len), err); in hostIntfSpiRxCallback()
|
D | hostIntf.c | 192 struct NanohubPacket *packet = (struct NanohubPacket *)buf; in hostIntfGetPayload() local 193 return packet->data; in hostIntfGetPayload() 198 struct NanohubPacket *packet = (struct NanohubPacket *)buf; in hostIntfGetPayloadLen() local 199 return packet->len; in hostIntfGetPayloadLen() 204 struct NanohubPacket *packet = (struct NanohubPacket *)buf; in hostIntfGetFooter() local 205 return (struct NanohubPacketFooter *)(buf + sizeof(*packet) + packet->len); in hostIntfGetFooter() 210 struct NanohubPacket *packet = (struct NanohubPacket *)buf; in hostIntfComputeCrc() local 211 uint32_t crc = crc32(packet, packet->len + sizeof(*packet), CRC_INIT); in hostIntfComputeCrc() 239 struct NanohubPacket *packet = (struct NanohubPacket *)buf; in hostIntfFindHandler() local 250 if (size != NANOHUB_PACKET_SIZE(packet->len)) { in hostIntfFindHandler() [all …]
|
/device/generic/opengl-transport/host/commands/emugen/ |
D | README | 24 Wire Protocol packet structure: 26 A general Encoder->Decoder packet is structured as following: 36 packet will look like: 52 …d to read back the return packet from the server->client stream. The return value in this example … 79 packet. For example, consider the following call: 83 The caller packet will have the following form: 92 The return packet is;
|
/device/google/contexthub/firmware/os/inc/ |
D | nanohubPacket.h | 56 static inline struct NanohubPacketFooter *nanohubGetPacketFooter(struct NanohubPacket *packet) in nanohubGetPacketFooter() argument 58 return (struct NanohubPacketFooter *)(packet->data + packet->len); in nanohubGetPacketFooter()
|
/device/google/contexthub/sensorhal/ |
D | hubconnection.cpp | 1408 } packet = { in sendCalibrationOffsets() local 1415 packet.data.hardwareBias); in sendCalibrationOffsets() 1423 packet.data.softwareBias); in sendCalibrationOffsets() 1426 queueDataInternal(COMMS_SENSOR_GYRO, &packet, sizeof(packet)); in sendCalibrationOffsets() 1437 } packet = { in sendCalibrationOffsets() local 1445 queueDataInternal(COMMS_SENSOR_GYRO, &packet, sizeof(packet)); in sendCalibrationOffsets() 1458 } packet = { in sendCalibrationOffsets() local 1463 std::copy(magBiasData.begin(), magBiasData.end(), packet.mag.bias); in sendCalibrationOffsets() 1464 queueDataInternal(COMMS_SENSOR_MAG, &packet, sizeof(packet)); in sendCalibrationOffsets() 1769 } packet = { in setOperationParameter() local [all …]
|
/device/google/coral/ |
D | WCNSS_qcom_cfg.ini | 162 # (idle packet count and RSSI) is met. 179 # Number of idle packet. 180 # This ini is used to configure the number of Tx/Rx packet, below which
|
D | init.qcom.usb.rc | 1407 # same as 9025, plus data packet logging (DPL) using QDSS 1425 # same as 9026, plus data packet logging (DPL)
|
/device/linaro/dragonboard/db845c/firmware/ |
D | adsp.b13 | 1 …instance(%x)voice_delivery.cpp:VCP: VDS drop now requested but not no packet is queued result %… 15 …ng encoder packet.vsm_actions.cpp:VSM: TX_MAILBOX_PKTEXG: Client error: Failed to get encoder b… 20 …packet size, rc = 0x%08Xvsm_session_cmd_handler.cpp:VSM: GET_VOC_PROPERTIES: command result=%dv…
|
D | adsp.b07 | 1 … for ctrl packet %ddiagpkt.c:failed to connect to LSM trying to register for mask changesdiag.c…
|
/device/google/muskie/ |
D | WCNSS_qcom_cfg.ini | 500 # (idle packet count and RSSI) is met. 509 # when teardown criteria (idle packet count and RSSI) is met. However,
|
/device/google/taimen/ |
D | WCNSS_qcom_cfg.ini | 500 # (idle packet count and RSSI) is met. 509 # when teardown criteria (idle packet count and RSSI) is met. However,
|
/device/google/bonito/ |
D | WCNSS_qcom_cfg.ini | 480 # (idle packet count and RSSI) is met. 489 # when teardown criteria (idle packet count and RSSI) is met. However,
|
/device/google/crosshatch/ |
D | WCNSS_qcom_cfg.ini | 480 # (idle packet count and RSSI) is met. 489 # when teardown criteria (idle packet count and RSSI) is met. However,
|
/device/google/contexthub/firmware/os/drivers/invensense_icm40600/ |
D | invensense_icm40600.c | 2571 struct FifoPacketData packet; local 2585 getFifoData(data, sample_index, &packet); 2591 chip_time_us = (uint64_t)packet.timestamp * CHIP_TIME_RES_US + CHIP_TIME_OFFSET_US; 2594 diff = packet.timestamp - chip_timestamp; 2597 chip_timestamp = packet.timestamp;
|
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 3743 uint8_t *packet; local 3765 packet = (uint8_t*)evtData; 3766 if (packet[0] == sizeof(float)) { 3767 memcpy(&newMagBias, packet+1, sizeof(float));
|