Home
last modified time | relevance | path

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

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