Home
last modified time | relevance | path

Searched refs:kOctets (Results 1 – 4 of 4) sorted by relevance

/system/bt/vendor_libs/test_vendor_lib/src/
Dbt_address.cc46 for (size_t i = 0; i < kOctets; i++) { in FromString()
49 address_ |= (octet << (8 * ((kOctets - 1) - i))); in FromString()
55 if (octets.size() < kOctets) return false; in FromVector()
58 for (size_t i = 0; i < kOctets; i++) { in FromVector()
66 for (size_t i = 0; i < kOctets; i++) { in ToVector()
75 for (size_t i = 0; i < kOctets; i++) { in ToString()
76 uint64_t octet = (address_ >> (8 * ((kOctets - 1) - i))) & 0xff; in ToString()
78 if (i != kOctets - 1) ss << std::string(":"); in ToString()
Dpacket.cc64 if (BtAddress::kOctets + payload_.size() > kMaxPacketOctets) return false; in AddPayloadBtAddress()
/system/bt/vendor_libs/test_vendor_lib/include/
Dbt_address.h33 static const size_t kOctets = 6; // "X0:X1:X2:X3:X4:X5" variable
/system/bt/vendor_libs/test_vendor_lib/test/
Dbt_address_unittest.cc178 EXPECT_TRUE(octets1.size() == BtAddress::kOctets); in TEST_F()
180 EXPECT_TRUE(octets1.size() == (2 * BtAddress::kOctets)); in TEST_F()