Searched refs:current_usb_power_operation_mode (Results 1 – 4 of 4) sorted by relevance
459 std::string current_usb_power_operation_mode, current_usb_type; in setCurrentUsbFunctions() local531 if (ReadFileToString(CURRENT_USB_POWER_OPERATION_MODE_PATH, ¤t_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()
477 std::string current_usb_power_operation_mode, current_usb_type; in setCurrentUsbFunctions() local546 if (ReadFileToString(CURRENT_USB_POWER_OPERATION_MODE_PATH, ¤t_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()
495 std::string current_usb_power_operation_mode, current_usb_type; in setCurrentUsbFunctions() local559 if (ReadFileToString(CURRENT_USB_POWER_OPERATION_MODE_PATH, ¤t_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()
543 std::string current_usb_power_operation_mode, current_usb_type; in setCurrentUsbFunctions() local612 if (ReadFileToString(CURRENT_USB_POWER_OPERATION_MODE_PATH, ¤t_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()