/system/bt/types/ |
D | class_of_device.cc | 27 static_assert(sizeof(ClassOfDevice) == ClassOfDevice::kLength, 30 ClassOfDevice::ClassOfDevice(const uint8_t (&class_of_device)[kLength]) { in ClassOfDevice() argument 31 std::copy(class_of_device, class_of_device + kLength, cod); in ClassOfDevice() 54 for (size_t i = 0; i < kLength; i++) { in FromString() 71 std::copy(from, from + kLength, cod); in FromOctets() 72 return kLength; in FromOctets()
|
D | class_of_device.h | 26 static constexpr unsigned int kLength = 3; 28 uint8_t cod[kLength]; 31 ClassOfDevice(const uint8_t (&class_of_device)[kLength]);
|
D | raw_address.cc | 33 std::copy(addr, addr + kLength, address); in RawAddress() 66 std::copy(from, from + kLength, address); in FromOctets() 67 return kLength; in FromOctets()
|
D | raw_address.h | 26 static constexpr unsigned int kLength = 6; 28 uint8_t address[kLength];
|
/system/bt/vendor_libs/test_vendor_lib/types/ |
D | class_of_device.cc | 27 static_assert(sizeof(ClassOfDevice) == ClassOfDevice::kLength, "ClassOfDevice must be 3 bytes long!… 29 ClassOfDevice::ClassOfDevice(const uint8_t (&class_of_device)[kLength]) { in ClassOfDevice() argument 30 std::copy(class_of_device, class_of_device + kLength, cod); in ClassOfDevice() 51 for (size_t i = 0; i < kLength; i++) { in FromString() 68 std::copy(from, from + kLength, cod); in FromOctets() 69 return kLength; in FromOctets()
|
D | class_of_device.h | 26 static constexpr unsigned int kLength = 3; 28 uint8_t cod[kLength]; 31 ClassOfDevice(const uint8_t (&class_of_device)[kLength]);
|
D | address.cc | 33 std::copy(addr, addr + kLength, address); in Address() 64 std::copy(from, from + kLength, address); in FromOctets() 65 return kLength; in FromOctets()
|
D | address.h | 26 static constexpr unsigned int kLength = 6; 28 uint8_t address[kLength];
|
/system/core/libunwindstack/tests/ |
D | MemoryOfflineBufferTest.cpp | 35 buffer_.resize(kLength); in SetUpTestCase() 36 for (size_t i = 0; i < kLength; i++) { in SetUpTestCase() 43 static constexpr size_t kLength = 0x2000; member in unwindstack::MemoryOfflineBufferTest 45 static constexpr uint64_t kEnd = kStart + kLength; 74 ASSERT_TRUE(memory_->ReadFully(kStart + kLength - 105, buffer.data(), 105)); in TEST_F() 75 ASSERT_NO_FATAL_FAILURE(VerifyBuffer(buffer.data(), kLength - 105, 105)); in TEST_F() 80 ASSERT_EQ(100U, memory_->Read(kStart + kLength - 100, buffer.data(), buffer.size())); in TEST_F() 81 VerifyBuffer(buffer.data(), kLength - 100, 100); in TEST_F()
|
/system/bt/gd/common/ |
D | class_of_device.cc | 31 static_assert(sizeof(ClassOfDevice) == ClassOfDevice::kLength, "ClassOfDevice must be 3 bytes long!… 33 ClassOfDevice::ClassOfDevice(const uint8_t (&class_of_device)[kLength]) { in ClassOfDevice() argument 34 std::copy(class_of_device, class_of_device + kLength, cod); in ClassOfDevice() 89 std::copy(from, from + kLength, cod); in FromOctets() 90 return kLength; in FromOctets()
|
D | class_of_device.h | 28 static constexpr unsigned int kLength = 3; 30 uint8_t cod[kLength]; 33 ClassOfDevice(const uint8_t (&class_of_device)[kLength]);
|
D | address.cc | 35 std::copy(addr, addr + kLength, address); in Address() 82 std::copy(from, from + kLength, address); in FromOctets() 83 return kLength; in FromOctets()
|
D | address.h | 28 static constexpr unsigned int kLength = 6; 30 uint8_t address[kLength];
|
D | class_of_device_unittest.cc | 55 size_t expected_result = ClassOfDevice::kLength; in TEST()
|
/system/bt/vendor_libs/test_vendor_lib/packets/link_layer/ |
D | link_layer_packet_view.cc | 28 CHECK(raw->size() >= Link::kSizeBytes + Link::kTypeBytes + 2 * Address::kLength); in Create() 42 size_t offset = Link::kSizeBytes + Link::kTypeBytes + Address::kLength; in GetDestinationAddress() 47 return SubViewLittleEndian(Link::kSizeBytes + Link::kTypeBytes + 2 * Address::kLength, size()); in GetPayload()
|
/system/bt/vendor_libs/test_vendor_lib/packets/hci/ |
D | event_payload_builder.cc | 61 if (payload_.size() + Address::kLength > max_bytes_) return false; in AddPayloadAddress() 63 for (size_t i = 0; i < Address::kLength; i++) { in AddPayloadAddress()
|
/system/bt/gd/packet/ |
D | raw_builder.cc | 63 if (payload_.size() + Address::kLength > max_bytes_) return false; in AddAddress() 65 for (size_t i = 0; i < Address::kLength; i++) { in AddAddress()
|
/system/bt/vendor_libs/test_vendor_lib/packets/ |
D | raw_builder.cc | 61 if (payload_.size() + Address::kLength > max_bytes_) return false; in AddAddress() 63 for (size_t i = 0; i < Address::kLength; i++) { in AddAddress()
|
/system/bt/common/ |
D | address_obfuscator.cc | 52 address.address, address.kLength, result.data(), in Obfuscate()
|
/system/bt/types/test/ |
D | class_of_device_unittest.cc | 53 size_t expected_result = ClassOfDevice::kLength; in TEST()
|
D | raw_address_unittest.cc | 71 size_t expected_result = RawAddress::kLength; in TEST()
|
/system/bt/vendor_libs/test_vendor_lib/types/test/ |
D | class_of_device_unittest.cc | 53 size_t expected_result = ClassOfDevice::kLength; in TEST()
|
/system/bt/service/ |
D | low_energy_client.h | 38 return memcmp(a.address, b.address, RawAddress::kLength) < 0; in operator()
|
/system/bt/service/hal/ |
D | fake_bluetooth_interface.cc | 124 property.len = RawAddress::kLength; in NotifyAdapterAddressPropertyChanged()
|
/system/bt/device/src/ |
D | interop.cc | 83 CHECK(length < RawAddress::kLength); in interop_database_add()
|