Home
last modified time | relevance | path

Searched refs:preamble (Results 1 – 25 of 50) sorted by relevance

12

/hardware/interfaces/bluetooth/1.0/default/test/
Dh4_protocol_unittest.cc55 MATCHER_P3(HidlVecMatches, preamble, preamble_length, payload, "") {
61 if (memcmp(preamble, arg.data(), preamble_length) != 0) {
120 char preamble[5] = {HCI_PACKET_TYPE_ACL_DATA, 19, 92, 0, 0}; in WriteAndExpectInboundAclData() local
122 preamble[3] = length & 0xFF; in WriteAndExpectInboundAclData()
123 preamble[4] = (length >> 8) & 0xFF; in WriteAndExpectInboundAclData()
126 TEMP_FAILURE_RETRY(write(fake_uart_, preamble, sizeof(preamble))); in WriteAndExpectInboundAclData()
132 EXPECT_CALL(acl_cb_, Call(HidlVecMatches(preamble + 1, sizeof(preamble) - 1, in WriteAndExpectInboundAclData()
147 char preamble[4] = {HCI_PACKET_TYPE_SCO_DATA, 20, 17, 0}; in WriteAndExpectInboundScoData() local
148 preamble[3] = strlen(payload) & 0xFF; in WriteAndExpectInboundScoData()
151 TEMP_FAILURE_RETRY(write(fake_uart_, preamble, sizeof(preamble))); in WriteAndExpectInboundScoData()
[all …]
Dmct_protocol_unittest.cc48 MATCHER_P3(HidlVecMatches, preamble, preamble_length, payload, "") {
54 if (memcmp(preamble, arg.data(), preamble_length) != 0) {
121 char preamble[4] = {19, 92, 0, 0}; in WriteAndExpectInboundAclData() local
123 preamble[2] = length & 0xFF; in WriteAndExpectInboundAclData()
124 preamble[3] = (length >> 8) & 0xFF; in WriteAndExpectInboundAclData()
128 write(fake_uart_[CH_ACL_IN], preamble, sizeof(preamble))); in WriteAndExpectInboundAclData()
135 Call(HidlVecMatches(preamble, sizeof(preamble), payload))) in WriteAndExpectInboundAclData()
149 char preamble[2] = {9, 0}; in WriteAndExpectInboundEvent() local
150 preamble[1] = strlen(payload) & 0xFF; in WriteAndExpectInboundEvent()
153 TEMP_FAILURE_RETRY(write(fake_uart_[CH_EVT], preamble, sizeof(preamble))); in WriteAndExpectInboundEvent()
[all …]
/hardware/interfaces/bluetooth/1.0/default/
Dhci_packetizer.cc42 size_t HciGetPacketLengthForType(HciPacketType type, const uint8_t* preamble) { in HciGetPacketLengthForType() argument
45 return (((preamble[offset + 1]) << 8) | preamble[offset]); in HciGetPacketLengthForType()
47 return ((((preamble[offset + 1]) & 0x3f) << 8) | preamble[offset]); in HciGetPacketLengthForType()
49 return preamble[offset]; in HciGetPacketLengthForType()
/hardware/interfaces/bluetooth/hci/test/
Dh4_protocol_unittest.cc179 char preamble[3] = {static_cast<uint8_t>(PacketType::EVENT), 9, 0}; in WriteInboundEvent() local
180 preamble[2] = strlen(payload) & 0xFF; in WriteInboundEvent()
210 char preamble[5] = {static_cast<uint8_t>(PacketType::ACL_DATA), 19, 92, 0, in WriteAndExpectManyInboundAclDataPackets() local
213 preamble[3] = length & 0xFF; in WriteAndExpectManyInboundAclDataPackets()
214 preamble[4] = (length >> 8) & 0xFF; in WriteAndExpectManyInboundAclDataPackets()
216 EXPECT_CALL(acl_cb_, Call(PacketMatches(preamble + 1, sizeof(preamble) - 1, in WriteAndExpectManyInboundAclDataPackets()
221 TEMP_FAILURE_RETRY(write(chip_uart_fd_, preamble, sizeof(preamble))); in WriteAndExpectManyInboundAclDataPackets()
232 char preamble[5] = {static_cast<uint8_t>(PacketType::ACL_DATA), 19, 92, 0, in WriteAndExpectManyAclDataPacketsDifferentOffsetsShort() local
235 preamble[3] = length & 0xFF; in WriteAndExpectManyAclDataPacketsDifferentOffsetsShort()
236 preamble[4] = 0; in WriteAndExpectManyAclDataPacketsDifferentOffsetsShort()
[all …]
/hardware/interfaces/wifi/aidl/vts/functional/
Dwifi_rtt_controller_aidl_test.cpp186 config.preamble = RttPreamble::HT; in TEST_P()
224 config.preamble = RttPreamble::HT; in TEST_P()
252 int preamble = 1; in TEST_P() local
257 preamble <<= 1; in TEST_P()
269 config.preamble = static_cast<RttPreamble>(preamble); in TEST_P()
/hardware/interfaces/wifi/1.6/vts/functional/
Dwifi_rtt_controller_hidl_test.cpp180 config.preamble = RttPreamble::HT; in TEST_P()
209 int preamble = 1; in TEST_P() local
213 preamble <<= 1; in TEST_P()
229 config.preamble = (RttPreamble)preamble; in TEST_P()
/hardware/interfaces/wifi/1.4/vts/functional/
Dwifi_rtt_controller_hidl_test.cpp185 config.preamble = RttPreamble::HT; in TEST_P()
218 int preamble = 1; in TEST_P() local
222 preamble <<= 1; in TEST_P()
238 config.preamble = (RttPreamble)preamble; in TEST_P()
/hardware/interfaces/wifi/aidl/aidl_api/android.hardware.wifi/1/android/hardware/wifi/
DRttResponder.aidl38 android.hardware.wifi.RttPreamble preamble;
DWifiRateInfo.aidl37 android.hardware.wifi.WifiRatePreamble preamble;
DRttConfig.aidl49 android.hardware.wifi.RttPreamble preamble;
/hardware/interfaces/wifi/aidl/aidl_api/android.hardware.wifi/current/android/hardware/wifi/
DRttResponder.aidl38 android.hardware.wifi.RttPreamble preamble;
DWifiRateInfo.aidl37 android.hardware.wifi.WifiRatePreamble preamble;
DRttConfig.aidl49 android.hardware.wifi.RttPreamble preamble;
/hardware/interfaces/wifi/aidl/aidl_api/android.hardware.wifi/2/android/hardware/wifi/
DRttResponder.aidl38 android.hardware.wifi.RttPreamble preamble;
DWifiRateInfo.aidl37 android.hardware.wifi.WifiRatePreamble preamble;
DRttConfig.aidl49 android.hardware.wifi.RttPreamble preamble;
/hardware/interfaces/wifi/aidl/android/hardware/wifi/
DRttResponder.aidl28 RttPreamble preamble;
DWifiRateInfo.aidl31 WifiRatePreamble preamble;
DRttConfig.aidl119 RttPreamble preamble;
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/build_tests/chapters/
Dpreamble.adoc8 [[preamble]] anchor
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/
Dpreamble.adoc8 [[preamble]] anchor
/hardware/interfaces/wifi/legacy_headers/include/hardware_legacy/
Drtt.h117 wifi_rtt_preamble preamble; // RTT preamble to be used in the RTT frames member
391 wifi_rtt_preamble preamble; member
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/build_tests/
Dtestspec.adoc41 include::{chapters}/preamble.adoc[]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/config/chunkindex/
Dcustom.patch21 <div id="preamble">
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/cereal/common/
Dcodegen.py37 self.preamble = ""
55 self.file.write(self.preamble)
109 return self._headerFileModule.preamble
113 self._headerFileModule.preamble = value
125 return self._implFileModule.preamble
129 self._implFileModule.preamble = value

12