Lines Matching defs:aId
2783 HRESULT Console::attachUSBDevice(const com::Guid &aId, const com::Utf8Str &aCaptureFilename)
2809 return mControl->CaptureUSBDevice(Bstr(aId.toString()).raw(), Bstr(aCaptureFilename).raw());
2817 HRESULT Console::detachUSBDevice(const com::Guid &aId, ComPtr<IUSBDevice> &aDevice)
2828 if ((*it)->i_id() == aId)
2839 aId.raw());
2848 HRESULT rc = mControl->DetachUSBDevice(Bstr(aId.toString()).raw(), false /* aDone */);
2863 rc = mControl->DetachUSBDevice(Bstr(aId.toString()).raw(), true /* aDone */);
2915 HRESULT Console::findUSBDeviceById(const com::Guid &aId, ComPtr<IUSBDevice> &aDevice)
2930 if (Utf8Str(id) == aId.toString())
2942 Guid(aId).raw());
3080 HRESULT Console::addDiskEncryptionPassword(const com::Utf8Str &aId, const com::Utf8Str &aPassword,
3083 if ( aId.isEmpty()
3093 int rc = m_pKeyStore->addSecretKey(aId, pbKey, cbKey);
3098 hrc = i_configureEncryptionForDisk(aId, &cDisksConfigured);
3102 rc = m_pKeyStore->retainSecretKey(aId, &pKey);
3107 m_pKeyStore->releaseSecretKey(aId);
3189 HRESULT Console::removeDiskEncryptionPassword(const com::Utf8Str &aId)
3191 if (aId.isEmpty())
3197 int rc = m_pKeyStore->retainSecretKey(aId, &pKey);
3201 m_pKeyStore->releaseSecretKey(aId);
3202 rc = m_pKeyStore->deleteSecretKey(aId);
3207 aId.c_str());
3210 aId.c_str(), rc);
4425 * @param aId The ID to look for.
5475 HRESULT Console::i_onUSBDeviceDetach(IN_BSTR aId,
5479 Guid Uuid(aId);
5480 LogFlowThisFunc(("aId={%RTuuid} aError=%p\n", Uuid.raw(), aError));