Lines Matching full:role
72 // Usb Hal will call this object upon role switch or port query.
100 // Callback method for the status of role switch operation.
223 // Status of the last role switch operation.
226 // Port role information of the last role switch operation.
229 // Flag to indicate the invocation of role switch callback.
337 PortRole role; in TEST_P() local
338 role.set<PortRole::powerRole>(PortPowerRole::SOURCE); in TEST_P()
340 const auto& ret = usb->switchRole("", role, transactionId); in TEST_P()
350 * Test switching the power role of usb port.
352 * If there is at least one usb port, a power role switch
359 PortRole role; in TEST_P() local
360 role.set<PortRole::powerRole>(PortPowerRole::SOURCE); in TEST_P()
370 ALOGI("switchPower role portname:%s", portBeingSwitched.c_str()); in TEST_P()
373 const auto& ret = usb->switchRole(portBeingSwitched, role, transactionId); in TEST_P()
389 * Test switching the data role of usb port.
391 * If there is at least one usb port, a data role switch
398 PortRole role; in TEST_P() local
399 role.set<PortRole::dataRole>(PortDataRole::DEVICE); in TEST_P()
412 const auto& ret = usb->switchRole(portBeingSwitched, role, transactionId); in TEST_P()