/hardware/interfaces/usb/aidl/android/hardware/usb/ |
D | IUsbCallback.aidl | 50 void notifyRoleSwitchStatus(in String portName, in PortRole newRole, in Status retval, in notifyRoleSwitchStatus() argument 62 void notifyEnableUsbDataStatus(in String portName, boolean enable, in Status retval, in notifyEnableUsbDataStatus() argument 72 void notifyEnableUsbDataWhileDockedStatus(in String portName, in Status retval, in notifyEnableUsbDataWhileDockedStatus() argument 85 void notifyContaminantEnabledStatus(in String portName, boolean enable, in Status retval, in notifyContaminantEnabledStatus() argument 95 void notifyQueryPortStatus(in String portName, in Status retval, long transactionId); in notifyQueryPortStatus() argument 107 …void notifyLimitPowerTransferStatus(in String portName, boolean limit, in Status retval, long tran… in notifyLimitPowerTransferStatus() argument 116 void notifyResetUsbPortStatus(in String portName, in Status retval, long transactionId); in notifyResetUsbPortStatus() argument
|
D | IUsb.aidl | 38 …void enableContaminantPresenceDetection(in String portName, in boolean enable, long transactionId); in enableContaminantPresenceDetection() argument 49 void enableUsbData(in String portName, boolean enable, long transactionId); in enableUsbData() argument 58 void enableUsbDataWhileDocked(in String portName, long transactionId); in enableUsbDataWhileDocked() argument 93 void switchRole(in String portName, in PortRole role, long transactionId); in switchRole() argument 106 void limitPowerTransfer(in String portName, boolean limit, long transactionId); in limitPowerTransfer() argument 115 void resetUsbPort(in String portName, long transactionId); in resetUsbPort() argument
|
D | PortStatus.aidl | 37 String portName;
|
/hardware/interfaces/usb/aidl/aidl_api/android.hardware.usb/1/android/hardware/usb/ |
D | IUsb.aidl | 37 …oneway void enableContaminantPresenceDetection(in String portName, in boolean enable, long transac… in enableContaminantPresenceDetection() argument 38 oneway void enableUsbData(in String portName, boolean enable, long transactionId); in enableUsbData() argument 39 oneway void enableUsbDataWhileDocked(in String portName, long transactionId); in enableUsbDataWhileDocked() argument 42 …oneway void switchRole(in String portName, in android.hardware.usb.PortRole role, long transaction… in switchRole() argument 43 oneway void limitPowerTransfer(in String portName, boolean limit, long transactionId); in limitPowerTransfer() argument 44 oneway void resetUsbPort(in String portName, long transactionId); in resetUsbPort() argument
|
D | IUsbCallback.aidl | 38 …oneway void notifyRoleSwitchStatus(in String portName, in android.hardware.usb.PortRole newRole, i… in notifyRoleSwitchStatus() argument 39 …oneway void notifyEnableUsbDataStatus(in String portName, boolean enable, in android.hardware.usb.… in notifyEnableUsbDataStatus() argument 40 …oneway void notifyEnableUsbDataWhileDockedStatus(in String portName, in android.hardware.usb.Statu… in notifyEnableUsbDataWhileDockedStatus() argument 41 …oneway void notifyContaminantEnabledStatus(in String portName, boolean enable, in android.hardware… in notifyContaminantEnabledStatus() argument 42 …oneway void notifyQueryPortStatus(in String portName, in android.hardware.usb.Status retval, long … in notifyQueryPortStatus() argument 43 …oneway void notifyLimitPowerTransferStatus(in String portName, boolean limit, in android.hardware.… in notifyLimitPowerTransferStatus() argument 44 …oneway void notifyResetUsbPortStatus(in String portName, in android.hardware.usb.Status retval, lo… in notifyResetUsbPortStatus() argument
|
D | PortStatus.aidl | 37 String portName;
|
/hardware/interfaces/usb/aidl/aidl_api/android.hardware.usb/3/android/hardware/usb/ |
D | IUsb.aidl | 37 …oneway void enableContaminantPresenceDetection(in String portName, in boolean enable, long transac… in enableContaminantPresenceDetection() argument 38 oneway void enableUsbData(in String portName, boolean enable, long transactionId); in enableUsbData() argument 39 oneway void enableUsbDataWhileDocked(in String portName, long transactionId); in enableUsbDataWhileDocked() argument 42 …oneway void switchRole(in String portName, in android.hardware.usb.PortRole role, long transaction… in switchRole() argument 43 oneway void limitPowerTransfer(in String portName, boolean limit, long transactionId); in limitPowerTransfer() argument 44 oneway void resetUsbPort(in String portName, long transactionId); in resetUsbPort() argument
|
D | IUsbCallback.aidl | 38 …oneway void notifyRoleSwitchStatus(in String portName, in android.hardware.usb.PortRole newRole, i… in notifyRoleSwitchStatus() argument 39 …oneway void notifyEnableUsbDataStatus(in String portName, boolean enable, in android.hardware.usb.… in notifyEnableUsbDataStatus() argument 40 …oneway void notifyEnableUsbDataWhileDockedStatus(in String portName, in android.hardware.usb.Statu… in notifyEnableUsbDataWhileDockedStatus() argument 41 …oneway void notifyContaminantEnabledStatus(in String portName, boolean enable, in android.hardware… in notifyContaminantEnabledStatus() argument 42 …oneway void notifyQueryPortStatus(in String portName, in android.hardware.usb.Status retval, long … in notifyQueryPortStatus() argument 43 …oneway void notifyLimitPowerTransferStatus(in String portName, boolean limit, in android.hardware.… in notifyLimitPowerTransferStatus() argument 44 …oneway void notifyResetUsbPortStatus(in String portName, in android.hardware.usb.Status retval, lo… in notifyResetUsbPortStatus() argument
|
D | PortStatus.aidl | 37 String portName;
|
/hardware/interfaces/usb/aidl/aidl_api/android.hardware.usb/current/android/hardware/usb/ |
D | IUsb.aidl | 37 …oneway void enableContaminantPresenceDetection(in String portName, in boolean enable, long transac… in enableContaminantPresenceDetection() argument 38 oneway void enableUsbData(in String portName, boolean enable, long transactionId); in enableUsbData() argument 39 oneway void enableUsbDataWhileDocked(in String portName, long transactionId); in enableUsbDataWhileDocked() argument 42 …oneway void switchRole(in String portName, in android.hardware.usb.PortRole role, long transaction… in switchRole() argument 43 oneway void limitPowerTransfer(in String portName, boolean limit, long transactionId); in limitPowerTransfer() argument 44 oneway void resetUsbPort(in String portName, long transactionId); in resetUsbPort() argument
|
D | IUsbCallback.aidl | 38 …oneway void notifyRoleSwitchStatus(in String portName, in android.hardware.usb.PortRole newRole, i… in notifyRoleSwitchStatus() argument 39 …oneway void notifyEnableUsbDataStatus(in String portName, boolean enable, in android.hardware.usb.… in notifyEnableUsbDataStatus() argument 40 …oneway void notifyEnableUsbDataWhileDockedStatus(in String portName, in android.hardware.usb.Statu… in notifyEnableUsbDataWhileDockedStatus() argument 41 …oneway void notifyContaminantEnabledStatus(in String portName, boolean enable, in android.hardware… in notifyContaminantEnabledStatus() argument 42 …oneway void notifyQueryPortStatus(in String portName, in android.hardware.usb.Status retval, long … in notifyQueryPortStatus() argument 43 …oneway void notifyLimitPowerTransferStatus(in String portName, boolean limit, in android.hardware.… in notifyLimitPowerTransferStatus() argument 44 …oneway void notifyResetUsbPortStatus(in String portName, in android.hardware.usb.Status retval, lo… in notifyResetUsbPortStatus() argument
|
D | PortStatus.aidl | 37 String portName;
|
/hardware/interfaces/usb/aidl/aidl_api/android.hardware.usb/2/android/hardware/usb/ |
D | IUsb.aidl | 37 …oneway void enableContaminantPresenceDetection(in String portName, in boolean enable, long transac… in enableContaminantPresenceDetection() argument 38 oneway void enableUsbData(in String portName, boolean enable, long transactionId); in enableUsbData() argument 39 oneway void enableUsbDataWhileDocked(in String portName, long transactionId); in enableUsbDataWhileDocked() argument 42 …oneway void switchRole(in String portName, in android.hardware.usb.PortRole role, long transaction… in switchRole() argument 43 oneway void limitPowerTransfer(in String portName, boolean limit, long transactionId); in limitPowerTransfer() argument 44 oneway void resetUsbPort(in String portName, long transactionId); in resetUsbPort() argument
|
D | IUsbCallback.aidl | 38 …oneway void notifyRoleSwitchStatus(in String portName, in android.hardware.usb.PortRole newRole, i… in notifyRoleSwitchStatus() argument 39 …oneway void notifyEnableUsbDataStatus(in String portName, boolean enable, in android.hardware.usb.… in notifyEnableUsbDataStatus() argument 40 …oneway void notifyEnableUsbDataWhileDockedStatus(in String portName, in android.hardware.usb.Statu… in notifyEnableUsbDataWhileDockedStatus() argument 41 …oneway void notifyContaminantEnabledStatus(in String portName, boolean enable, in android.hardware… in notifyContaminantEnabledStatus() argument 42 …oneway void notifyQueryPortStatus(in String portName, in android.hardware.usb.Status retval, long … in notifyQueryPortStatus() argument 43 …oneway void notifyLimitPowerTransferStatus(in String portName, boolean limit, in android.hardware.… in notifyLimitPowerTransferStatus() argument 44 …oneway void notifyResetUsbPortStatus(in String portName, in android.hardware.usb.Status retval, lo… in notifyResetUsbPortStatus() argument
|
D | PortStatus.aidl | 37 String portName;
|
/hardware/interfaces/usb/aidl/vts/ |
D | VtsAidlUsbTargetTest.cpp | 87 parent_.usb_last_port_status.portName = in notifyPortStatusChange() 88 currentPortStatus[0].portName.c_str(); in notifyPortStatusChange() 289 ALOGI("UsbAidlTest queryPortStatus end: %s", usb_last_port_status.portName.c_str()); in TEST_P() 314 ALOGI("UsbAidlTest DataStatusCheck portName: %s", usb_last_port_status.portName.c_str()); in TEST_P() 368 if (!usb_last_port_status.portName.empty()) { in TEST_P() 369 string portBeingSwitched = usb_last_port_status.portName; in TEST_P() 407 if (!usb_last_port_status.portName.empty()) { in TEST_P() 408 string portBeingSwitched = usb_last_port_status.portName; in TEST_P() 444 if (!usb_last_port_status.portName.empty()) { in TEST_P() 445 ALOGI("portname:%s", usb_last_port_status.portName.c_str()); in TEST_P() [all …]
|
/hardware/interfaces/usb/1.0/default/ |
D | Usb.cpp | 52 std::string appendRoleNodeHelper(const std::string portName, PortRoleType type) { in appendRoleNodeHelper() argument 53 std::string node("/sys/class/dual_role_usb/" + portName); in appendRoleNodeHelper() 85 Return<void> Usb::switchRole(const hidl_string& portName, in switchRole() argument 87 std::string filename = appendRoleNodeHelper(std::string(portName.c_str()), in switchRole() 102 mCallback->notifyRoleSwitchStatus(portName, newRole, in switchRole() 111 Return<void> ret = mCallback->notifyRoleSwitchStatus(portName, newRole, Status::ERROR); in switchRole() 118 Status getCurrentRoleHelper(std::string portName, in getCurrentRoleHelper() argument 125 portName + "/power_role"; in getCurrentRoleHelper() 129 portName + "/data_role"; in getCurrentRoleHelper() 133 portName + "/mode"; in getCurrentRoleHelper() [all …]
|
D | Usb.h | 36 Return<void> switchRole(const hidl_string& portName, const PortRole& role) override;
|
/hardware/interfaces/usb/aidl/default/ |
D | Usb.cpp | 135 string appendRoleNodeHelper(const string &portName, PortRole::Tag tag) { in appendRoleNodeHelper() argument 136 string node(kTypecPath + portName); in appendRoleNodeHelper() 181 void switchToDrp(const string &portName) { in switchToDrp() argument 182 string filename = appendRoleNodeHelper(string(portName.c_str()), PortRole::mode); in switchToDrp() 200 bool switchMode(const string &portName, const PortRole &in_role, struct Usb *usb) { in switchMode() argument 201 string filename = appendRoleNodeHelper(string(portName.c_str()), in_role.getTag()); in switchMode() 248 switchToDrp(string(portName.c_str())); in switchMode() 351 Status getAccessoryConnected(const string &portName, string *accessory) { in getAccessoryConnected() argument 352 string filename = kTypecPath + portName + "-partner/accessory_mode"; in getAccessoryConnected() 363 Status getCurrentRoleHelper(const string &portName, bool connected, PortRole *currentRole) { in getCurrentRoleHelper() argument [all …]
|
/hardware/interfaces/usb/1.0/vts/functional/ |
D | VtsHalUsbV1_0TargetTest.cpp | 72 parent_.usb_last_port_status.portName = in notifyPortStatusChange() 73 currentPortStatus[0].portName.c_str(); in notifyPortStatusChange() 189 ALOGI("rightafter: %s", usb_last_port_status.portName.c_str()); in TEST_P() 228 if (!usb_last_port_status.portName.empty()) { in TEST_P() 229 hidl_string portBeingSwitched = usb_last_port_status.portName; in TEST_P() 274 if (!usb_last_port_status.portName.empty()) { in TEST_P() 275 hidl_string portBeingSwitched = usb_last_port_status.portName; in TEST_P()
|
/hardware/interfaces/usb/1.2/ |
D | IUsb.hal | 37 * @param portName name of the port. 41 oneway enableContaminantPresenceDetection(string portName, bool enable); 59 * @param portName name of the port. 64 oneway enableContaminantPresenceProtection(string portName, bool enable);
|
/hardware/interfaces/usb/1.1/vts/functional/ |
D | VtsHalUsbV1_1TargetTest.cpp | 98 arg.usb_last_port_status.status.portName = currentPortStatus[0].status.portName.c_str(); in notifyPortStatusChange_1_1() 170 if (!res.args->usb_last_port_status.status.portName.empty()) { in TEST_P()
|
/hardware/interfaces/usb/1.2/vts/functional/ |
D | VtsHalUsbV1_2TargetTest.cpp | 115 arg.usb_last_port_status.status_1_1.status.portName = in notifyPortStatusChange_1_2() 116 currentPortStatus[0].status_1_1.status.portName; in notifyPortStatusChange_1_2() 250 res.args->usb_last_port_status.status_1_1.status.portName, !currentStatus); in TEST_P() 284 res.args->usb_last_port_status.status_1_1.status.portName, !currentStatus); in TEST_P() 316 res.args->usb_last_port_status.status_1_1.status.portName, !currentStatus); in TEST_P() 350 res.args->usb_last_port_status.status_1_1.status.portName, !currentStatus); in TEST_P()
|
/hardware/interfaces/usb/1.0/ |
D | IUsbCallback.hal | 40 * @param portName name of the port for which the roleswap is requested. 44 oneway notifyRoleSwitchStatus(string portName, PortRole newRole, Status retval);
|
D | IUsb.hal | 29 * @param portName name of the port for which the role has to be changed 32 oneway switchRole(string portName, PortRole role);
|