Lines Matching refs:halUuid
29 void UuidUtils::uuidFromHal(const audio_uuid_t& halUuid, Uuid* uuid) { in uuidFromHal() argument
30 uuid->timeLow = halUuid.timeLow; in uuidFromHal()
31 uuid->timeMid = halUuid.timeMid; in uuidFromHal()
32 uuid->versionAndTimeHigh = halUuid.timeHiAndVersion; in uuidFromHal()
33 uuid->variantAndClockSeqHigh = halUuid.clockSeq; in uuidFromHal()
34 memcpy(uuid->node.data(), halUuid.node, uuid->node.size()); in uuidFromHal()
37 void UuidUtils::uuidToHal(const Uuid& uuid, audio_uuid_t* halUuid) { in uuidToHal() argument
38 halUuid->timeLow = uuid.timeLow; in uuidToHal()
39 halUuid->timeMid = uuid.timeMid; in uuidToHal()
40 halUuid->timeHiAndVersion = uuid.versionAndTimeHigh; in uuidToHal()
41 halUuid->clockSeq = uuid.variantAndClockSeqHigh; in uuidToHal()
42 memcpy(halUuid->node, uuid.node.data(), uuid.node.size()); in uuidToHal()
45 std::string UuidUtils::uuidToString(const audio_uuid_t& halUuid) { in uuidToString() argument
47 snprintf(str, sizeof(str), "%08x-%04x-%04x-%04x-%02x%02x%02x%02x%02x%02x", halUuid.timeLow, in uuidToString()
48 halUuid.timeMid, halUuid.timeHiAndVersion, halUuid.clockSeq, halUuid.node[0], in uuidToString()
49 halUuid.node[1], halUuid.node[2], halUuid.node[3], halUuid.node[4], halUuid.node[5]); in uuidToString()