Home
last modified time | relevance | path

Searched refs:kBase (Results 1 – 6 of 6) sorted by relevance

/system/bt/gd/hci/
Duuid_unittest.cc32 static const Uuid kBase = Uuid::From128BitBE( variable
37 ASSERT_FALSE(kBase.IsEmpty()); in TEST()
41 ASSERT_TRUE(Uuid::kNumBytes16 == kBase.GetShortestRepresentationSize()); in TEST()
50 ASSERT_EQ((uint16_t)0x0000, kBase.As16Bit()); in TEST()
57 ASSERT_EQ((uint32_t)0x00000000, kBase.As32Bit()); in TEST()
64 ASSERT_TRUE(kBase.Is16Bit()); in TEST()
71 ASSERT_EQ(Uuid::From16Bit(0x0000), kBase); in TEST()
87 ASSERT_EQ(Uuid::From32Bit(0x00000000), kBase); in TEST()
108 ASSERT_EQ(UUID_BASE_STR, kBase.ToString()); in TEST()
Duuid.cc34 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()
/system/bt/types/test/bluetooth/
Duuid_unittest.cc32 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()
/system/bt/vendor_libs/test_vendor_lib/types/test/bluetooth/
Duuid_unittest.cc30 constexpr Uuid kBase = Uuid::From128BitBE( variable
35 EXPECT_FALSE(kBase.IsEmpty()); in TEST()
39 EXPECT_TRUE(Uuid::kNumBytes16 == kBase.GetShortestRepresentationSize()); in TEST()
48 EXPECT_EQ((uint16_t)0x0000, kBase.As16Bit()); in TEST()
55 EXPECT_EQ((uint32_t)0x00000000, kBase.As32Bit()); in TEST()
62 EXPECT_TRUE(kBase.Is16Bit()); in TEST()
67 EXPECT_EQ(Uuid::From16Bit(0x0000), kBase); in TEST()
83 EXPECT_EQ(Uuid::From32Bit(0x00000000), kBase); in TEST()
104 EXPECT_EQ(UUID_BASE_STR, kBase.ToString()); in TEST()
/system/bt/types/bluetooth/
Duuid.cc35 constexpr Uuid kBase = Uuid::From128BitBE( variable
41 if (memcmp(uu.data() + kNumBytes32, kBase.uu.data() + kNumBytes32, in GetShortestRepresentationSize()
64 Uuid ret = kBase; in FromString()
107 Uuid u = kBase; in From16Bit()
115 Uuid u = kBase; in From32Bit()
/system/bt/vendor_libs/test_vendor_lib/types/bluetooth/
Duuid.cc34 constexpr Uuid kBase = Uuid::From128BitBE( variable
39 …if (memcmp(uu.data() + kNumBytes32, kBase.uu.data() + kNumBytes32, kNumBytes128 - kNumBytes32) != … in GetShortestRepresentationSize()
62 Uuid ret = kBase; in FromString()
102 Uuid u = kBase; in From16Bit()
110 Uuid u = kBase; in From32Bit()