/hardware/interfaces/bluetooth/1.0/default/test/ |
D | h4_protocol_unittest.cc | 55 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 …]
|
D | mct_protocol_unittest.cc | 48 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/ |
D | hci_packetizer.cc | 42 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/ |
D | h4_protocol_unittest.cc | 179 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/ |
D | wifi_rtt_controller_aidl_test.cpp | 186 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/ |
D | wifi_rtt_controller_hidl_test.cpp | 180 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/ |
D | wifi_rtt_controller_hidl_test.cpp | 185 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/ |
D | RttResponder.aidl | 38 android.hardware.wifi.RttPreamble preamble;
|
D | WifiRateInfo.aidl | 37 android.hardware.wifi.WifiRatePreamble preamble;
|
D | RttConfig.aidl | 49 android.hardware.wifi.RttPreamble preamble;
|
/hardware/interfaces/wifi/aidl/aidl_api/android.hardware.wifi/current/android/hardware/wifi/ |
D | RttResponder.aidl | 38 android.hardware.wifi.RttPreamble preamble;
|
D | WifiRateInfo.aidl | 37 android.hardware.wifi.WifiRatePreamble preamble;
|
D | RttConfig.aidl | 49 android.hardware.wifi.RttPreamble preamble;
|
/hardware/interfaces/wifi/aidl/aidl_api/android.hardware.wifi/2/android/hardware/wifi/ |
D | RttResponder.aidl | 38 android.hardware.wifi.RttPreamble preamble;
|
D | WifiRateInfo.aidl | 37 android.hardware.wifi.WifiRatePreamble preamble;
|
D | RttConfig.aidl | 49 android.hardware.wifi.RttPreamble preamble;
|
/hardware/interfaces/wifi/aidl/android/hardware/wifi/ |
D | RttResponder.aidl | 28 RttPreamble preamble;
|
D | WifiRateInfo.aidl | 31 WifiRatePreamble preamble;
|
D | RttConfig.aidl | 119 RttPreamble preamble;
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/build_tests/chapters/ |
D | preamble.adoc | 8 [[preamble]] anchor
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/ |
D | preamble.adoc | 8 [[preamble]] anchor
|
/hardware/interfaces/wifi/legacy_headers/include/hardware_legacy/ |
D | rtt.h | 117 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/ |
D | testspec.adoc | 41 include::{chapters}/preamble.adoc[]
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/config/chunkindex/ |
D | custom.patch | 21 <div id="preamble">
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/cereal/common/ |
D | codegen.py | 37 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
|