Searched refs:kBase (Results 1 – 4 of 4) sorted by relevance
/packages/modules/Bluetooth/system/gd/hci/ |
D | uuid_unittest.cc | 32 static const Uuid kBase = Uuid::From128BitBE( variable 55 ASSERT_FALSE(kBase.IsEmpty()); in TEST() 59 ASSERT_TRUE(Uuid::kNumBytes16 == kBase.GetShortestRepresentationSize()); in TEST() 68 ASSERT_EQ((uint16_t)0x0000, kBase.As16Bit()); in TEST() 75 ASSERT_EQ((uint32_t)0x00000000, kBase.As32Bit()); in TEST() 82 ASSERT_TRUE(kBase.Is16Bit()); in TEST() 89 ASSERT_EQ(Uuid::From16Bit(0x0000), kBase); in TEST() 105 ASSERT_EQ(Uuid::From32Bit(0x00000000), kBase); in TEST() 126 ASSERT_EQ(UUID_BASE_STR, kBase.ToString()); in TEST() 168 Uuid uuidBe = kBase; in TEST() [all …]
|
D | uuid.cc | 34 Uuid kBase = Uuid::From128BitBE( variable 39 …if (memcmp(uu.data() + kNumBytes32, kBase.uu.data() + kNumBytes32, kNumBytes128 - kNumBytes32) != … in GetShortestRepresentationSize() 67 Uuid ret = kBase; in FromString() 134 Uuid u = kBase; in From16Bit() 142 Uuid u = kBase; in From32Bit()
|
/packages/modules/Bluetooth/system/types/test/bluetooth/ |
D | uuid_unittest.cc | 32 constexpr Uuid kBase = Uuid::From128BitBE( variable 38 EXPECT_FALSE(kBase.IsEmpty()); in TEST() 42 EXPECT_TRUE(Uuid::kNumBytes16 == kBase.GetShortestRepresentationSize()); in TEST() 53 EXPECT_EQ((uint16_t)0x0000, kBase.As16Bit()); in TEST() 60 EXPECT_EQ((uint32_t)0x00000000, kBase.As32Bit()); in TEST() 67 EXPECT_TRUE(kBase.Is16Bit()); in TEST() 72 EXPECT_EQ(Uuid::From16Bit(0x0000), kBase); in TEST() 91 EXPECT_EQ(Uuid::From32Bit(0x00000000), kBase); in TEST() 115 EXPECT_EQ(UUID_BASE_STR, kBase.ToString()); in TEST()
|
/packages/modules/Bluetooth/system/types/bluetooth/ |
D | uuid.cc | 38 constexpr Uuid kBase = Uuid::From128BitBE( variable 44 if (memcmp(uu.data() + kNumBytes32, kBase.uu.data() + kNumBytes32, in GetShortestRepresentationSize() 67 Uuid ret = kBase; in FromString() 110 Uuid u = kBase; in From16Bit() 118 Uuid u = kBase; in From32Bit() 155 bool Uuid::IsBase() const { return *this == kBase; } in IsBase()
|