Lines Matching refs:aId

1455     /** @todo tighten checks on aId? */
1577 NULL); /* const Guid *aId */
1888 HRESULT VirtualBox::getGuestOSType(const com::Utf8Str &aId,
1901 if (typeId.compare(aId, Bstr::CaseInsensitive) == 0)
1910 aId.c_str());
2351 * @param aId UUID of the progress operation to remove
2355 HRESULT VirtualBox::i_removeProgress(IN_GUID aId)
2365 size_t cnt = m->mapProgressOperations.erase(aId);
2644 MachineEvent(VirtualBox *aVB, VBoxEventType_T aWhat, const Guid &aId, BOOL aBool)
2645 : CallbackEvent(aVB, aWhat), id(aId.toUtf16())
2649 MachineEvent(VirtualBox *aVB, VBoxEventType_T aWhat, const Guid &aId, MachineState_T aState)
2650 : CallbackEvent(aVB, aWhat), id(aId.toUtf16())
2702 void VirtualBox::i_onMachineStateChange(const Guid &aId, MachineState_T aState)
2704 i_postEvent(new MachineEvent(this, VBoxEventType_OnMachineStateChanged, aId, aState));
2710 void VirtualBox::i_onMachineDataChange(const Guid &aId, BOOL aTemporary)
2712 i_postEvent(new MachineEvent(this, VBoxEventType_OnMachineDataChanged, aId, aTemporary));
2718 BOOL VirtualBox::i_onExtraDataCanChange(const Guid &aId, IN_BSTR aKey, IN_BSTR aValue,
2722 aId.toString().c_str(), aKey, aValue));
2728 Bstr id = aId.toUtf16();
2779 void VirtualBox::i_onExtraDataChange(const Guid &aId, IN_BSTR aKey, IN_BSTR aValue)
2781 i_postEvent(new ExtraDataEvent(this, aId, aKey, aValue));
2787 void VirtualBox::i_onMachineRegistered(const Guid &aId, BOOL aRegistered)
2789 i_postEvent(new MachineEvent(this, VBoxEventType_OnMachineRegistered, aId, aRegistered));
2811 void VirtualBox::i_onSessionStateChange(const Guid &aId, SessionState_T aState)
2813 i_postEvent(new SessionEvent(this, aId, aState));
3078 * @param aId Machine UUID to look for.
3085 HRESULT VirtualBox::i_findMachine(const Guid &aId,
3112 if (pMachine->i_getId() == aId)
3125 aId.raw());
3303 * @param aId ID of the hard disk. Must not be empty.
3397 * @param aId ID of the image file (unused when NULL).
3408 const Guid *aId,
3413 AssertReturn(aId || !aLocation.isEmpty(), E_INVALIDARG);
3455 found = ( aId
3456 && pMedium->i_getId() == *aId)
3482 if (aId)
3485 aId->raw(),
3725 * @param aId UUID to check.
3732 HRESULT VirtualBox::i_checkMediaForConflicts(const Guid &aId,
3737 AssertReturn(!aId.isZero() && !aLocation.isEmpty(), E_FAIL);
3750 if (aId.isValid() && !aId.isZero())
3751 rc = i_findHardDiskById(aId, false /* aSetError */, &pMediumFound);
3759 rc = i_findDVDOrFloppyImage(DeviceType_DVD, &aId, aLocation, false /* aSetError */, &pMediumFound);
3766 rc = i_findDVDOrFloppyImage(DeviceType_Floppy, &aId, aLocation, false /* aSetError */, &pMediumFound);
3780 && (idFound == aId)
3799 * @param aId The UUID to check.
3803 bool VirtualBox::i_isMediaUuidInUse(const Guid &aId, DeviceType_T deviceType)
3806 AssertReturn(!aId.isZero(), true);
3818 rc = i_findHardDiskById(aId, false /* aSetError */, &pMediumFound);
3821 rc = i_findDVDOrFloppyImage(DeviceType_DVD, &aId, Utf8Str::Empty, false /* aSetError */, &pMediumFound);
3824 rc = i_findDVDOrFloppyImage(DeviceType_Floppy, &aId, Utf8Str::Empty, false /* aSetError */, &pMediumFound);