Lines Matching refs:guid
241 status_t SoundTrigger::stringToGuid(const char *str, sound_trigger_uuid_t *guid) in stringToGuid() argument
243 if (str == NULL || guid == NULL) { in stringToGuid()
253 guid->timeLow = (uint32_t)tmp[0]; in stringToGuid()
254 guid->timeMid = (uint16_t)tmp[1]; in stringToGuid()
255 guid->timeHiAndVersion = (uint16_t)tmp[2]; in stringToGuid()
256 guid->clockSeq = (uint16_t)tmp[3]; in stringToGuid()
257 guid->node[0] = (uint8_t)tmp[4]; in stringToGuid()
258 guid->node[1] = (uint8_t)tmp[5]; in stringToGuid()
259 guid->node[2] = (uint8_t)tmp[6]; in stringToGuid()
260 guid->node[3] = (uint8_t)tmp[7]; in stringToGuid()
261 guid->node[4] = (uint8_t)tmp[8]; in stringToGuid()
262 guid->node[5] = (uint8_t)tmp[9]; in stringToGuid()
267 status_t SoundTrigger::guidToString(const sound_trigger_uuid_t *guid, char *str, size_t maxLen) in guidToString() argument
269 if (guid == NULL || str == NULL) { in guidToString()
274 guid->timeLow, in guidToString()
275 guid->timeMid, in guidToString()
276 guid->timeHiAndVersion, in guidToString()
277 guid->clockSeq, in guidToString()
278 guid->node[0], in guidToString()
279 guid->node[1], in guidToString()
280 guid->node[2], in guidToString()
281 guid->node[3], in guidToString()
282 guid->node[4], in guidToString()
283 guid->node[5]); in guidToString()