Searched refs:accessory (Results 1 – 8 of 8) sorted by relevance
351 Status getAccessoryConnected(const string &portName, string *accessory) { in getAccessoryConnected() argument354 if (!ReadFileToString(filename, accessory)) { in getAccessoryConnected()358 *accessory = Trim(*accessory); in getAccessoryConnected()366 string accessory; in getCurrentRoleHelper() local387 if (getAccessoryConnected(portName, &accessory) != Status::SUCCESS) { in getCurrentRoleHelper()390 if (accessory == "analog_audio") { in getCurrentRoleHelper()393 } else if (accessory == "debug") { in getCurrentRoleHelper()
31 * Android open accessory protocol function.
31 "android.hardware.usb.accessory.prebuilt.xml",
37 * or other accessory.
514 /** USB accessory mode: Android device is USB device and dock is USB host */
521 /** USB accessory mode: Android device is USB device and dock is USB host */
583 /** USB accessory mode: Android device is USB device and dock is USB host */
632 /** USB accessory mode: Android device is USB device and dock is USB host */