Searched refs:uu (Results 1 – 10 of 10) sorted by relevance
/system/bt/types/bluetooth/ |
D | uuid.cc | 41 if (memcmp(uu.data() + kNumBytes32, kBase.uu.data() + kNumBytes32, in GetShortestRepresentationSize() 46 if (uu[0] == 0 && uu[1] == 0) return kNumBytes16; in GetShortestRepresentationSize() 55 uint16_t Uuid::As16Bit() const { return (((uint16_t)uu[2]) << 8) + uu[3]; } in As16Bit() 58 return (((uint32_t)uu[0]) << 24) + (((uint32_t)uu[1]) << 16) + in As32Bit() 59 (((uint32_t)uu[2]) << 8) + uu[3]; in As32Bit() 68 uint8_t* p = ret.uu.data(); in FromString() 109 u.uu[2] = (uint8_t)((0xFF00 & uuid16) >> 8); in From16Bit() 110 u.uu[3] = (uint8_t)(0x00FF & uuid16); in From16Bit() 117 u.uu[0] = (uint8_t)((0xFF000000 & uuid32) >> 24); in From32Bit() 118 u.uu[1] = (uint8_t)((0x00FF0000 & uuid32) >> 16); in From32Bit() [all …]
|
D | uuid.h | 117 constexpr Uuid(const UUID128Bit& val) : uu{val} {}; in Uuid() 120 UUID128Bit uu; variable
|
/system/bt/vendor_libs/test_vendor_lib/types/bluetooth/ |
D | uuid.cc | 39 …if (memcmp(uu.data() + kNumBytes32, kBase.uu.data() + kNumBytes32, kNumBytes128 - kNumBytes32) != … in GetShortestRepresentationSize() 43 if (uu[0] == 0 && uu[1] == 0) return kNumBytes16; in GetShortestRepresentationSize() 53 return (((uint16_t)uu[2]) << 8) + uu[3]; in As16Bit() 57 return (((uint32_t)uu[0]) << 24) + (((uint32_t)uu[1]) << 16) + (((uint32_t)uu[2]) << 8) + uu[3]; in As32Bit() 66 uint8_t* p = ret.uu.data(); in FromString() 104 u.uu[2] = (uint8_t)((0xFF00 & uuid16) >> 8); in From16Bit() 105 u.uu[3] = (uint8_t)(0x00FF & uuid16); in From16Bit() 112 u.uu[0] = (uint8_t)((0xFF000000 & uuid32) >> 24); in From32Bit() 113 u.uu[1] = (uint8_t)((0x00FF0000 & uuid32) >> 16); in From32Bit() 114 u.uu[2] = (uint8_t)((0x0000FF00 & uuid32) >> 8); in From32Bit() [all …]
|
D | uuid.h | 114 constexpr Uuid(const UUID128Bit& val) : uu{val} {}; in Uuid() 117 UUID128Bit uu; variable
|
/system/bt/gd/hci/ |
D | uuid.cc | 39 …if (memcmp(uu.data() + kNumBytes32, kBase.uu.data() + kNumBytes32, kNumBytes128 - kNumBytes32) != … in GetShortestRepresentationSize() 43 if (uu[0] == 0 && uu[1] == 0) { in GetShortestRepresentationSize() 55 return (((uint16_t)uu[2]) << 8) + uu[3]; in As16Bit() 59 return (((uint32_t)uu[0]) << 24) + (((uint32_t)uu[1]) << 16) + (((uint32_t)uu[2]) << 8) + uu[3]; in As32Bit() 68 uint8_t* p = ret.uu.data(); in FromString() 136 u.uu[2] = (uint8_t)((0xFF00 & uuid16) >> 8); in From16Bit() 137 u.uu[3] = (uint8_t)(0x00FF & uuid16); in From16Bit() 144 u.uu[0] = (uint8_t)((0xFF000000 & uuid32) >> 24); in From32Bit() 145 u.uu[1] = (uint8_t)((0x00FF0000 & uuid32) >> 16); in From32Bit() 146 u.uu[2] = (uint8_t)((0x0000FF00 & uuid32) >> 8); in From32Bit() [all …]
|
D | uuid.h | 53 return uu.data(); in data() 57 return uu.data(); in data() 126 constexpr Uuid(const UUID128Bit& val) : uu{val} {}; in Uuid() 129 UUID128Bit uu = {}; variable
|
/system/bt/binder/android/os/ |
D | parcel_uuid.cc | 31 auto uu = uuid.To128BitBE(); in uuid_lsb() local 34 lsb |= uu[i]; in uuid_lsb() 43 auto uu = uuid.To128BitBE(); in uuid_msb() local 46 msb |= uu[i]; in uuid_msb() 70 std::array<uint8_t, Uuid::kNumBytes128> uu; in readFromParcel() local 72 uu[7 - i] = (uuid_msb >> (8 * i)) & 0xFF; in readFromParcel() 73 uu[15 - i] = (uuid_lsb >> (8 * i)) & 0xFF; in readFromParcel() 76 uuid = Uuid::From128BitBE(uu); in readFromParcel()
|
/system/core/trusty/coverage/ |
D | uuid.cpp | 32 uuid_t uu; in str_to_uuid() local 33 static_assert(sizeof(uu) == sizeof(*uuid)); in str_to_uuid() 35 if (uuid_parse(str, uu)) { in str_to_uuid() 39 memcpy(uuid, uu, sizeof(*uuid)); in str_to_uuid()
|
/system/apex/apexer/ |
D | apexer.py | 507 uu = str(uuid.uuid5(uuid.NAMESPACE_URL, 'www.android.com')) 508 cmd.extend(['-U', uu]) 509 cmd.extend(['-E', 'hash_seed=' + uu]) 567 uu = str(uuid.uuid5(uuid.NAMESPACE_URL, 'www.android.com')) 568 cmd.extend(['-U', uu])
|
/system/bt/tools/bdtool/ |
D | adapter.c | 213 fprintf(stdout, "%02x", uuid->uu[j]); in parse_properties()
|