Home
last modified time | relevance | path

Searched refs:mCallback_1_0 (Results 1 – 14 of 14) 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/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/barbet/usb/
DUsb.cpp339 if (mCallback_1_0 != NULL) { in switchRole()
340 Return<void> ret = mCallback_1_0->notifyRoleSwitchStatus( in switchRole()
559 sp<V1_1::IUsbCallback> callback_V1_1 = V1_1::IUsbCallback::castFrom(usb->mCallback_1_0); in queryVersionHelper()
560 sp<IUsbCallback> callback_V1_2 = IUsbCallback::castFrom(usb->mCallback_1_0); in queryVersionHelper()
563 if (usb->mCallback_1_0 != NULL) { in queryVersionHelper()
586 ret = usb->mCallback_1_0->notifyPortStatusChange(currentPortStatus, status); in queryVersionHelper()
752 if ((mCallback_1_0 == NULL && callback == NULL) || in setCallback()
753 (mCallback_1_0 != NULL && callback != NULL)) { in setCallback()
758 mCallback_1_0 = callback; in setCallback()
763 mCallback_1_0 = callback; in setCallback()
[all …]
DUsb.h59 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
/device/google/redfin/usb/
DUsb.cpp339 if (mCallback_1_0 != NULL) { in switchRole()
340 Return<void> ret = mCallback_1_0->notifyRoleSwitchStatus( in switchRole()
559 sp<V1_1::IUsbCallback> callback_V1_1 = V1_1::IUsbCallback::castFrom(usb->mCallback_1_0); in queryVersionHelper()
560 sp<IUsbCallback> callback_V1_2 = IUsbCallback::castFrom(usb->mCallback_1_0); in queryVersionHelper()
563 if (usb->mCallback_1_0 != NULL) { in queryVersionHelper()
586 ret = usb->mCallback_1_0->notifyPortStatusChange(currentPortStatus, status); in queryVersionHelper()
752 if ((mCallback_1_0 == NULL && callback == NULL) || in setCallback()
753 (mCallback_1_0 != NULL && callback != NULL)) { in setCallback()
758 mCallback_1_0 = callback; in setCallback()
763 mCallback_1_0 = callback; in setCallback()
[all …]
DUsb.h59 sp<V1_0::IUsbCallback> mCallback_1_0; member
/device/google/bramble/usb/
DUsb.cpp339 if (mCallback_1_0 != NULL) { in switchRole()
340 Return<void> ret = mCallback_1_0->notifyRoleSwitchStatus( in switchRole()
559 sp<V1_1::IUsbCallback> callback_V1_1 = V1_1::IUsbCallback::castFrom(usb->mCallback_1_0); in queryVersionHelper()
560 sp<IUsbCallback> callback_V1_2 = IUsbCallback::castFrom(usb->mCallback_1_0); in queryVersionHelper()
563 if (usb->mCallback_1_0 != NULL) { in queryVersionHelper()
586 ret = usb->mCallback_1_0->notifyPortStatusChange(currentPortStatus, status); in queryVersionHelper()
752 if ((mCallback_1_0 == NULL && callback == NULL) || in setCallback()
753 (mCallback_1_0 != NULL && callback != NULL)) { in setCallback()
758 mCallback_1_0 = callback; in setCallback()
763 mCallback_1_0 = callback; in setCallback()
[all …]
DUsb.h59 sp<V1_0::IUsbCallback> mCallback_1_0; member
/device/google/sunfish/usb/
DUsb.cpp345 if (mCallback_1_0 != NULL) { in switchRole()
346 Return<void> ret = mCallback_1_0->notifyRoleSwitchStatus( in switchRole()
565 sp<V1_1::IUsbCallback> callback_V1_1 = V1_1::IUsbCallback::castFrom(usb->mCallback_1_0); in queryVersionHelper()
566 sp<IUsbCallback> callback_V1_2 = IUsbCallback::castFrom(usb->mCallback_1_0); in queryVersionHelper()
569 if (usb->mCallback_1_0 != NULL) { in queryVersionHelper()
593 ret = usb->mCallback_1_0->notifyPortStatusChange(currentPortStatus, status); in queryVersionHelper()
759 if ((mCallback_1_0 == NULL && callback == NULL) || in setCallback()
760 (mCallback_1_0 != NULL && callback != NULL)) { in setCallback()
765 mCallback_1_0 = callback; in setCallback()
770 mCallback_1_0 = callback; in setCallback()
[all …]
DUsb.h59 sp<V1_0::IUsbCallback> mCallback_1_0; member