Lines Matching refs:mUniState

84     mUniState = (HostUSBDeviceState)aUsb->enmState;
87 mPrevUniState = mUniState;
122 mUniState = kHostUSBDeviceState_Invalid;
368 if (mUniState == kHostUSBDeviceState_Unsupported)
372 if (mUniState == kHostUSBDeviceState_UsedByHost)
376 if (mUniState == kHostUSBDeviceState_UsedByVM)
385 if (mUniState >= kHostUSBDeviceState_FirstTransitional)
389 if ( mUniState != kHostUSBDeviceState_Unused
390 && mUniState != kHostUSBDeviceState_HeldByProxy
391 && mUniState != kHostUSBDeviceState_Capturable)
397 AssertReturn( mUniState == kHostUSBDeviceState_HeldByProxy
398 || mUniState == kHostUSBDeviceState_Unused
399 || mUniState == kHostUSBDeviceState_Capturable,
407 if (mUniState == kHostUSBDeviceState_HeldByProxy)
472 AssertReturn( mUniState == kHostUSBDeviceState_Capturing
473 || mUniState == kHostUSBDeviceState_HeldByProxy
474 || mUniState == kHostUSBDeviceState_AttachingToVM,
551 Assert( mUniState == kHostUSBDeviceState_AttachingToVM
552 || mUniState == kHostUSBDeviceState_UsedByVM);
613 if (mUniState != kHostUSBDeviceState_UsedByVM)
619 AssertMsgReturn( mUniState == kHostUSBDeviceState_DetachingFromVM /** @todo capturing for VM
621 || (mUniState == kHostUSBDeviceState_UsedByVM && aAbnormal),
633 else if (aAbnormal && mUniState == kHostUSBDeviceState_UsedByVM)
676 if ( mUniState == kHostUSBDeviceState_Unused
677 || mUniState == kHostUSBDeviceState_Capturable)
679 AssertMsgReturn(mUniState == kHostUSBDeviceState_HeldByProxy, ("{%s} %s\n", mName, i_getStateName()), E_UNEXPECTED);
723 AssertMsgReturn( mUniState == kHostUSBDeviceState_Unused
724 || mUniState == kHostUSBDeviceState_Capturable
725 || mUniState == kHostUSBDeviceState_HeldByProxy,
732 if (mUniState == kHostUSBDeviceState_HeldByProxy)
770 switch (mUniState)
845 if (mUniState < kHostUSBDeviceState_FirstTransitional)
870 && ( mUniState == kHostUSBDeviceState_UsedByVM
871 || mUniState == kHostUSBDeviceState_AttachingToVM))
1165 switch (mUniState)
1226 switch (mUniState)
1285 switch (mUniState)
1353 switch (mUniState)
1369 if (mUniState == kHostUSBDeviceState_AttachingToVM)
1407 switch (mUniState)
1482 const HostUSBDeviceState enmState = mUniState;
1488 *aIgnoreMachine = mUniState == kHostUSBDeviceState_ReleasingToHost ? mMachine : NULL;
1507 if (mUniState == kHostUSBDeviceState_AttachingToVM)
1767 if ( aNewState == mUniState
1779 HostUSBDeviceState NewPrevState = mUniState;
1780 switch (mUniState)
1951 switch (mUniState)
1989 AssertReleaseMsgFailedReturn(("this=%p mUniState=%d\n", this, mUniState), false);
2038 AssertReleaseMsgFailedReturn(("this=%p mUniState=%d\n", this, mUniState), false);
2151 AssertReleaseMsgFailedReturn(("this=%p mUniState=%d\n", this, mUniState), false);
2166 mUniState = aNewState;
2194 switch (mUniState)
2213 AssertReleaseMsgFailedReturn(("this=%p mUniState=%d\n", this, mUniState), false);
2235 HostUSBDeviceState enmState = mUniState;
2263 AssertReleaseMsgFailedReturn(("this=%p mUniState=%d\n", this, mUniState), false);
2292 AssertReleaseMsgFailedReturn(("this=%p mUniState=%d\n", this, mUniState), false);
2318 AssertReleaseMsgFailedReturn(("this=%p mUniState=%d\n", this, mUniState), false);
2347 AssertReleaseMsgFailedReturn(("this=%p mUniState=%d\n", this, mUniState), false);
2367 AssertReleaseMsgFailedReturn(("this=%p mUniState=%d\n", this, mUniState), false);
2380 AssertReleaseMsgFailedReturn(("this=%p mUniState=%d\n", this, enmState), false);
2401 HostUSBDeviceState enmState = mUniState;
2426 AssertReleaseMsgFailedReturn(("this=%p mUniState=%d\n", this, mUniState), false);
2442 AssertReleaseMsgFailedReturn(("this=%p mUniState=%d\n", this, mUniState), false);
2459 switch (mUniState)
2516 AssertReleaseMsgFailedReturn(("this=%p mUniState=%d\n", this, mUniState), USBDeviceState_NotSupported);