/aosp12/system/bt/vendor_libs/test_vendor_lib/types/test/bluetooth/ |
H A D | uuid_unittest.cc | 30 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()
|
/aosp12/system/bt/types/test/bluetooth/ |
H A 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()
|
/aosp12/system/bt/gd/hci/ |
H A D | uuid_unittest.cc | 32 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()
|
H A 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()
|
/aosp12/system/bt/vendor_libs/test_vendor_lib/types/bluetooth/ |
H A D | uuid.cc | 34 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()
|
/aosp12/system/bt/types/bluetooth/ |
H A D | uuid.cc | 35 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()
|
/aosp12/art/libartbase/base/unix_file/ |
H A D | fd_file.cc | 153 : guard_state_(check_usage ? GuardState::kBase : GuardState::kNoCheck), in FdFile() 258 guard_state_ = fd == kInvalidFd ? GuardState::kNoCheck : GuardState::kBase; in Reset() 307 guard_state_ = GuardState::kBase; in Open() 378 moveTo(GuardState::kBase, GuardState::kClosed, "Truncating closed file."); in SetLength() 395 moveTo(GuardState::kBase, GuardState::kClosed, "Writing into closed file."); in Write() 448 moveTo(GuardState::kBase, GuardState::kClosed, "Writing into closed file."); in WriteFullyGeneric()
|
H A D | fd_file.h | 123 kBase, // Base, file has not been flushed or closed. enumerator
|
/aosp12/art/runtime/ |
H A D | runtime_callbacks_test.cc | 112 kBase, enumerator 125 if (state == CallbackState::kBase) { in ThreadStart() 146 CallbackState state = CallbackState::kBase; 165 cb_.state = CallbackState::kBase; // Ignore main thread attach. in TEST_F()
|
/aosp12/frameworks/av/media/libnblog/ |
H A D | PerformanceAnalysis.cpp | 329 const double kBase = log(mean) / log(2.2); in logRound() local 331 log(abs(x - mean) / mean) / log(kBase)) + 2; in logRound()
|