/hardware/interfaces/usb/aidl/default/ |
D | Usb.cpp | 135 string appendRoleNodeHelper(const string &portName, PortRole::Tag tag) { in appendRoleNodeHelper() 139 case PortRole::dataRole: in appendRoleNodeHelper() 141 case PortRole::powerRole: in appendRoleNodeHelper() 143 case PortRole::mode: in appendRoleNodeHelper() 150 string convertRoletoString(PortRole role) { in convertRoletoString() 151 if (role.getTag() == PortRole::powerRole) { in convertRoletoString() 152 if (role.get<PortRole::powerRole>() == PortPowerRole::SOURCE) in convertRoletoString() 154 else if (role.get<PortRole::powerRole>() == PortPowerRole::SINK) in convertRoletoString() 156 } else if (role.getTag() == PortRole::dataRole) { in convertRoletoString() 157 if (role.get<PortRole::dataRole>() == PortDataRole::HOST) in convertRoletoString() [all …]
|
D | Usb.h | 38 using ::aidl::android::hardware::usb::PortRole; 53 ScopedAStatus switchRole(const string& in_portName, const PortRole& in_role,
|
/hardware/interfaces/usb/aidl/android/hardware/usb/ |
D | IUsb.aidl | 20 import android.hardware.usb.PortRole; 93 void switchRole(in String portName, in PortRole role, long transactionId); in switchRole()
|
D | IUsbCallback.aidl | 18 import android.hardware.usb.PortRole; 50 void notifyRoleSwitchStatus(in String portName, in PortRole newRole, in Status retval, in notifyRoleSwitchStatus()
|
D | PortRole.aidl | 27 union PortRole {
|
/hardware/interfaces/usb/1.0/vts/functional/ |
D | VtsHalUsbV1_0TargetTest.cpp | 40 using ::android::hardware::usb::V1_0::PortRole; 88 const PortRole& newRole, in notifyRoleSwitchStatus() 152 PortRole usb_last_port_role; 198 struct PortRole role; in TEST_P() 219 struct PortRole role; in TEST_P() 265 struct PortRole role; in TEST_P()
|
/hardware/interfaces/usb/1.0/default/ |
D | Usb.h | 24 using ::android::hardware::usb::V1_0::PortRole; 36 Return<void> switchRole(const hidl_string& portName, const PortRole& role) override;
|
D | Usb.cpp | 65 std::string convertRoletoString(PortRole role) { in convertRoletoString() 86 const PortRole& newRole) { in switchRole()
|
/hardware/interfaces/usb/aidl/vts/ |
D | VtsAidlUsbTargetTest.cpp | 57 using ::aidl::android::hardware::usb::PortRole; 101 ScopedAStatus notifyRoleSwitchStatus(const string& /*portName*/, const PortRole& newRole, in notifyRoleSwitchStatus() 227 PortRole usb_last_port_role; 337 PortRole role; in TEST_P() 338 role.set<PortRole::powerRole>(PortPowerRole::SOURCE); in TEST_P() 359 PortRole role; in TEST_P() 360 role.set<PortRole::powerRole>(PortPowerRole::SOURCE); in TEST_P() 398 PortRole role; in TEST_P() 399 role.set<PortRole::dataRole>(PortDataRole::DEVICE); in TEST_P()
|
/hardware/interfaces/usb/aidl/aidl_api/android.hardware.usb/2/android/hardware/usb/ |
D | PortRole.aidl | 36 union PortRole {
|
D | IUsb.aidl | 42 …oneway void switchRole(in String portName, in android.hardware.usb.PortRole role, long transaction… in switchRole()
|
D | IUsbCallback.aidl | 38 …oneway void notifyRoleSwitchStatus(in String portName, in android.hardware.usb.PortRole newRole, i… in notifyRoleSwitchStatus()
|
/hardware/interfaces/usb/aidl/aidl_api/android.hardware.usb/1/android/hardware/usb/ |
D | PortRole.aidl | 36 union PortRole {
|
D | IUsb.aidl | 42 …oneway void switchRole(in String portName, in android.hardware.usb.PortRole role, long transaction… in switchRole()
|
D | IUsbCallback.aidl | 38 …oneway void notifyRoleSwitchStatus(in String portName, in android.hardware.usb.PortRole newRole, i… in notifyRoleSwitchStatus()
|
/hardware/interfaces/usb/aidl/aidl_api/android.hardware.usb/current/android/hardware/usb/ |
D | PortRole.aidl | 36 union PortRole {
|
D | IUsb.aidl | 42 …oneway void switchRole(in String portName, in android.hardware.usb.PortRole role, long transaction… in switchRole()
|
D | IUsbCallback.aidl | 38 …oneway void notifyRoleSwitchStatus(in String portName, in android.hardware.usb.PortRole newRole, i… in notifyRoleSwitchStatus()
|
/hardware/interfaces/usb/aidl/aidl_api/android.hardware.usb/3/android/hardware/usb/ |
D | PortRole.aidl | 36 union PortRole {
|
D | IUsb.aidl | 42 …oneway void switchRole(in String portName, in android.hardware.usb.PortRole role, long transaction… in switchRole()
|
D | IUsbCallback.aidl | 38 …oneway void notifyRoleSwitchStatus(in String portName, in android.hardware.usb.PortRole newRole, i… in notifyRoleSwitchStatus()
|
/hardware/interfaces/usb/1.1/vts/functional/ |
D | VtsHalUsbV1_1TargetTest.cpp | 41 using ::android::hardware::usb::V1_0::PortRole; 114 const PortRole& /*newRole*/, Status /*retval*/) override { in notifyRoleSwitchStatus() argument
|
/hardware/interfaces/usb/1.0/ |
D | IUsbCallback.hal | 44 oneway notifyRoleSwitchStatus(string portName, PortRole newRole, Status retval);
|
D | IUsb.hal | 32 oneway switchRole(string portName, PortRole role);
|
/hardware/interfaces/usb/1.2/vts/functional/ |
D | VtsHalUsbV1_2TargetTest.cpp | 45 using ::android::hardware::usb::V1_0::PortRole; 139 const PortRole& /*newRole*/, Status /*retval*/) override { in notifyRoleSwitchStatus() argument
|