Lines Matching refs:rawDescriptor
667 std::string rawDescriptor; in generateDescriptor() local
668 rawDescriptor += StringPrintf(":%04x:%04x:", identifier.vendor, identifier.product); in generateDescriptor()
671 rawDescriptor += "uniqueId:"; in generateDescriptor()
672 rawDescriptor += identifier.uniqueId; in generateDescriptor()
674 rawDescriptor += StringPrintf("nonce:%04x", identifier.nonce); in generateDescriptor()
683 rawDescriptor += "name:"; in generateDescriptor()
684 rawDescriptor += identifier.name; in generateDescriptor()
686 rawDescriptor += "location:"; in generateDescriptor()
687 rawDescriptor += identifier.location; in generateDescriptor()
690 identifier.descriptor = sha1(rawDescriptor); in generateDescriptor()
691 return rawDescriptor; in generateDescriptor()
703 std::string rawDescriptor = generateDescriptor(identifier); in assignDescriptorLocked() local
709 rawDescriptor = generateDescriptor(identifier); in assignDescriptorLocked()
712 ALOGV("Created descriptor: raw=%s, cooked=%s", rawDescriptor.c_str(), in assignDescriptorLocked()