Home
last modified time | relevance | path

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

/bootable/recovery/install/
Dadb_install.cpp341 std::string usb_state = android::base::GetProperty("sys.usb.state", "none"); in ApplyFromAdb() local
343 if (usb_state != "none" && !SetUsbConfig("none")) { in ApplyFromAdb()
388 if (usb_state != "none") { in ApplyFromAdb()
389 if (!SetUsbConfig(usb_state)) { in ApplyFromAdb()
390 LOG(ERROR) << "Failed to set USB config to " << usb_state; in ApplyFromAdb()
/bootable/recovery/
Drecovery_main.cpp477 std::string usb_state = android::base::GetProperty("sys.usb.state", "none"); in main() local
483 if (usb_config != usb_state) { in main()