Searched refs:SetUsbConfig (Results 1 – 2 of 2) sorted by relevance
57 static bool SetUsbConfig(const std::string& state) { in SetUsbConfig() function314 if (!SetUsbConfig("sideload")) { in CreateMinadbdServiceAndExecuteCommands()342 if (usb_state != "none" && !SetUsbConfig("none")) { in ApplyFromAdb()383 if (!SetUsbConfig("none")) { in ApplyFromAdb()388 if (!SetUsbConfig(usb_state)) { in ApplyFromAdb()
190 static bool SetUsbConfig(const std::string& state) { in SetUsbConfig() function480 if (!SetUsbConfig("none")) { in main()483 if (!SetUsbConfig(usb_config)) { in main()