Home
last modified time | relevance | path

Searched refs:current_usb_power_operation_mode (Results 1 – 4 of 4) sorted by relevance

/device/google/zumapro/usb/gadget/
DUsbGadget.cpp459 std::string current_usb_power_operation_mode, current_usb_type; in setCurrentUsbFunctions() local
531 if (ReadFileToString(CURRENT_USB_POWER_OPERATION_MODE_PATH, &current_usb_power_operation_mode)) in setCurrentUsbFunctions()
532 current_usb_power_operation_mode = Trim(current_usb_power_operation_mode); in setCurrentUsbFunctions()
536 (current_usb_power_operation_mode == "default" || in setCurrentUsbFunctions()
537 current_usb_power_operation_mode == "1.5A")) { in setCurrentUsbFunctions()
/device/google/gs201/usb/gadget/
DUsbGadget.cpp477 std::string current_usb_power_operation_mode, current_usb_type; in setCurrentUsbFunctions() local
546 if (ReadFileToString(CURRENT_USB_POWER_OPERATION_MODE_PATH, &current_usb_power_operation_mode)) in setCurrentUsbFunctions()
547 current_usb_power_operation_mode = Trim(current_usb_power_operation_mode); in setCurrentUsbFunctions()
551 (current_usb_power_operation_mode == "default" || in setCurrentUsbFunctions()
552 current_usb_power_operation_mode == "1.5A")) { in setCurrentUsbFunctions()
/device/google/zuma/usb/gadget/
DUsbGadget.cpp495 std::string current_usb_power_operation_mode, current_usb_type; in setCurrentUsbFunctions() local
559 if (ReadFileToString(CURRENT_USB_POWER_OPERATION_MODE_PATH, &current_usb_power_operation_mode)) in setCurrentUsbFunctions()
560 current_usb_power_operation_mode = Trim(current_usb_power_operation_mode); in setCurrentUsbFunctions()
564 (current_usb_power_operation_mode == "default" || in setCurrentUsbFunctions()
565 current_usb_power_operation_mode == "1.5A")) { in setCurrentUsbFunctions()
/device/google/gs101/usb/gadget/
DUsbGadget.cpp543 std::string current_usb_power_operation_mode, current_usb_type; in setCurrentUsbFunctions() local
612 if (ReadFileToString(CURRENT_USB_POWER_OPERATION_MODE_PATH, &current_usb_power_operation_mode)) in setCurrentUsbFunctions()
613 current_usb_power_operation_mode = Trim(current_usb_power_operation_mode); in setCurrentUsbFunctions()
617 (current_usb_power_operation_mode == "default" || in setCurrentUsbFunctions()
618 current_usb_power_operation_mode == "1.5A")) { in setCurrentUsbFunctions()