Home
last modified time | relevance | path

Searched refs:uu (Results 1 – 9 of 9) sorted by relevance

/system/bt/types/bluetooth/
Duuid.cc40 if (memcmp(uu.data() + kNumBytes32, kBase.uu.data() + kNumBytes32, in GetShortestRepresentationSize()
45 if (uu[0] == 0 && uu[1] == 0) return kNumBytes16; in GetShortestRepresentationSize()
54 uint16_t Uuid::As16Bit() const { return (((uint16_t)uu[2]) << 8) + uu[3]; } in As16Bit()
57 return (((uint32_t)uu[0]) << 24) + (((uint32_t)uu[1]) << 16) + in As32Bit()
58 (((uint32_t)uu[2]) << 8) + uu[3]; in As32Bit()
67 uint8_t* p = ret.uu.data(); in FromString()
108 u.uu[2] = (uint8_t)((0xFF00 & uuid16) >> 8); in From16Bit()
109 u.uu[3] = (uint8_t)(0x00FF & uuid16); in From16Bit()
116 u.uu[0] = (uint8_t)((0xFF000000 & uuid32) >> 24); in From32Bit()
117 u.uu[1] = (uint8_t)((0x00FF0000 & uuid32) >> 16); in From32Bit()
[all …]
Duuid.h114 constexpr Uuid(const UUID128Bit& val) : uu{val} {}; in Uuid()
117 UUID128Bit uu; variable
/system/bt/vendor_libs/test_vendor_lib/types/bluetooth/
Duuid.cc39 …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 …]
Duuid.h114 constexpr Uuid(const UUID128Bit& val) : uu{val} {}; in Uuid()
117 UUID128Bit uu; variable
/system/bt/binder/android/os/
Dparcel_uuid.cc31 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/apex/apexer/
Dapexer.py252 uu = str(uuid.uuid5(uuid.NAMESPACE_URL, "www.android.com"))
253 cmd.extend(['-U', uu])
254 cmd.extend(['-E', 'hash_seed=' + uu])
/system/bt/tools/bdtool/
Dadapter.c213 fprintf(stdout, "%02x", uuid->uu[j]); in parse_properties()
/system/core/libpixelflinger/
Dscanline.cpp1027 int uu = m_s >> 16; in get_uv() local
1029 if (uu < 0) in get_uv()
1030 uu = 0; in get_uv()
1031 if (uu > m_width_m1) in get_uv()
1032 uu = m_width_m1; in get_uv()
1037 u = uu; in get_uv()
/system/bt/stack/sdp/
Dsdp_main.cc578 p_ccb->p_db->uuid_filters[p_ccb->cur_uuid_idx].uu.uuid16, NULL))) in sdp_disconnect()