Home
last modified time | relevance | path

Searched refs:mCallback_1_0 (Results 1 – 8 of 8) sorted by relevance

/device/google/bonito/usb/
DUsb.cpp256 if (mCallback_1_0 != NULL) { in switchRole()
258 mCallback_1_0->notifyRoleSwitchStatus(portName, newRole, in switchRole()
475 sp<IUsbCallback> callback_V1_1 = IUsbCallback::castFrom(mCallback_1_0); in queryPortStatus()
478 if (mCallback_1_0 != NULL) { in queryPortStatus()
493 ret = mCallback_1_0->notifyPortStatusChange(currentPortStatus, status); in queryPortStatus()
535 if (payload->usb->mCallback_1_0 != NULL) { in uevent_event()
536 sp<IUsbCallback> callback_V1_1 = IUsbCallback::castFrom(payload->usb->mCallback_1_0); in uevent_event()
557 ret = payload->usb->mCallback_1_0->notifyPortStatusChange( in uevent_event()
673 if ((mCallback_1_0 == NULL && callback == NULL) || in setCallback()
674 (mCallback_1_0 != NULL && callback != NULL)) { in setCallback()
[all …]
DUsb.h50 sp<V1_0::IUsbCallback> mCallback_1_0; member
/device/google/wahoo/usb/
DUsb.cpp282 if (mCallback_1_0 != NULL) { in switchRole()
284 mCallback_1_0->notifyRoleSwitchStatus(portName, newRole, in switchRole()
501 sp<IUsbCallback> callback_V1_1 = IUsbCallback::castFrom(mCallback_1_0); in queryPortStatus()
504 if (mCallback_1_0 != NULL) { in queryPortStatus()
519 ret = mCallback_1_0->notifyPortStatusChange(currentPortStatus, status); in queryPortStatus()
562 if (payload->usb->mCallback_1_0 != NULL) { in uevent_event()
563 sp<IUsbCallback> callback_V1_1 = IUsbCallback::castFrom(payload->usb->mCallback_1_0); in uevent_event()
584 ret = payload->usb->mCallback_1_0->notifyPortStatusChange( in uevent_event()
708 if ((mCallback_1_0 == NULL && callback == NULL) || in setCallback()
709 (mCallback_1_0 != NULL && callback != NULL)) { in setCallback()
[all …]
DUsb.h50 sp<V1_0::IUsbCallback> mCallback_1_0; member
/device/google/crosshatch/usb/
DUsb.cpp258 if (mCallback_1_0 != NULL) { in switchRole()
260 mCallback_1_0->notifyRoleSwitchStatus(portName, newRole, in switchRole()
477 sp<IUsbCallback> callback_V1_1 = IUsbCallback::castFrom(mCallback_1_0); in queryPortStatus()
480 if (mCallback_1_0 != NULL) { in queryPortStatus()
495 ret = mCallback_1_0->notifyPortStatusChange(currentPortStatus, status); in queryPortStatus()
539 if (payload->usb->mCallback_1_0 != NULL) { in uevent_event()
540 sp<IUsbCallback> callback_V1_1 = IUsbCallback::castFrom(payload->usb->mCallback_1_0); in uevent_event()
561 ret = payload->usb->mCallback_1_0->notifyPortStatusChange( in uevent_event()
677 if ((mCallback_1_0 == NULL && callback == NULL) || in setCallback()
678 (mCallback_1_0 != NULL && callback != NULL)) { in setCallback()
[all …]
DUsb.h50 sp<V1_0::IUsbCallback> mCallback_1_0; member
/device/google/coral/usb/
DUsb.cpp340 if (mCallback_1_0 != NULL) { in switchRole()
341 Return<void> ret = mCallback_1_0->notifyRoleSwitchStatus( in switchRole()
560 sp<V1_1::IUsbCallback> callback_V1_1 = V1_1::IUsbCallback::castFrom(usb->mCallback_1_0); in queryVersionHelper()
561 sp<IUsbCallback> callback_V1_2 = IUsbCallback::castFrom(usb->mCallback_1_0); in queryVersionHelper()
564 if (usb->mCallback_1_0 != NULL) { in queryVersionHelper()
587 ret = usb->mCallback_1_0->notifyPortStatusChange(currentPortStatus, status); in queryVersionHelper()
753 if ((mCallback_1_0 == NULL && callback == NULL) || in setCallback()
754 (mCallback_1_0 != NULL && callback != NULL)) { in setCallback()
759 mCallback_1_0 = callback; in setCallback()
764 mCallback_1_0 = callback; in setCallback()
[all …]
DUsb.h59 sp<V1_0::IUsbCallback> mCallback_1_0; member