Searched refs:rawDescriptor (Results 1 – 3 of 3) sorted by relevance
689 std::string rawDescriptor; in generateDescriptor() local690 rawDescriptor += StringPrintf(":%04x:%04x:", identifier.vendor, identifier.product); in generateDescriptor()693 rawDescriptor += "uniqueId:"; in generateDescriptor()694 rawDescriptor += identifier.uniqueId; in generateDescriptor()696 rawDescriptor += StringPrintf("nonce:%04x", identifier.nonce); in generateDescriptor()705 rawDescriptor += "name:"; in generateDescriptor()706 rawDescriptor += identifier.name; in generateDescriptor()708 rawDescriptor += "location:"; in generateDescriptor()709 rawDescriptor += identifier.location; in generateDescriptor()712 identifier.descriptor = sha1(rawDescriptor); in generateDescriptor()[all …]
299 jint pid, jint bus, jbyteArray rawDescriptor, jobject callback) { in openDevice() argument305 std::vector<uint8_t> desc = getData(env, rawDescriptor); in openDevice()
381 const char16_t* rawDescriptor = reinterpret_cast<const char16_t*>(descriptorChars); in getInterfaceDescriptor() local383 mDescriptor = String16(rawDescriptor, rawDescriptorLen); in getInterfaceDescriptor()