Home
last modified time | relevance | path

Searched refs:SetUsbConfig (Results 1 – 2 of 2) sorted by relevance

/bootable/recovery/install/
Dadb_install.cpp57 static bool SetUsbConfig(const std::string& state) { in SetUsbConfig() function
314 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()
/bootable/recovery/
Drecovery_main.cpp190 static bool SetUsbConfig(const std::string& state) { in SetUsbConfig() function
480 if (!SetUsbConfig("none")) { in main()
483 if (!SetUsbConfig(usb_config)) { in main()