Lines Matching refs:mCallback
124 if (mCallback != NULL) { in switchRole()
125 Return<void> ret = mCallback->notifyRoleSwitchStatus( in switchRole()
145 if (mCallback != NULL) { in switchRole()
147 mCallback->notifyRoleSwitchStatus(portName, newRole, Status::ERROR); in switchRole()
356 if (mCallback != NULL) { in queryPortStatus()
358 mCallback->notifyPortStatusChange(currentPortStatus, status); in queryPortStatus()
391 if (payload->usb->mCallback != NULL) { in uevent_event()
394 Return<void> ret = payload->usb->mCallback->notifyPortStatusChange( in uevent_event()
486 if ((mCallback == NULL && callback == NULL) || in setCallback()
487 (mCallback != NULL && callback != NULL)) { in setCallback()
488 mCallback = callback; in setCallback()
493 mCallback = callback; in setCallback()
497 if (mCallback == NULL) { in setCallback()
515 mCallback = NULL; in setCallback()