Searched defs:session (Results 1 - 25 of 34) sorted by relevance

12

/vbox/src/VBox/Frontends/VBoxHeadless/testcase/
H A DtstHeadless.cpp82 ComPtr <ISession> session; local
90 rc = session.createInprocObject(CLSID_Session);
92 RTPrintf("ERROR: failed to create a session object!\n");
117 RTPrintf("Opening a new (remote) session...\n");
119 LaunchVMProcess(session, Bstr("vrdp").raw(),
122 RTPrintf("Waiting for the remote session to open...\n");
138 RTPrintf("Remote session has been successfully opened.\n");
143 RTPrintf("Opening an existing session...\n");
144 CHECK_ERROR_BREAK(m, LockMachine(session, LockType_Shared));
147 CHECK_ERROR_BREAK(session, COMGETTE
[all...]
/vbox/src/VBox/Main/webservice/samples/php/
H A Dclienttest.php53 $session = $websessionManager->getSessionObject($virtualbox->handle); variable
55 $machine->lockMachine($session->handle, "Shared");
58 $console = $session->console;
92 $session->unlockMachine();
95 $session->releaseRemote();
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/clonevm/
H A DUIWizardCloneVM.cpp76 /* Open session: */
77 CSession session = vboxGlobal().openSession(m_machine.GetId()); local
78 if (session.isNull())
82 CMachine machine = session.GetMachine();
106 session.UnlockMachine();
/vbox/src/VBox/Main/testcase/
H A DtstVBoxAPIWin.cpp183 ISession *session = NULL; local
198 /* Create the session object. */
203 (void**)&session);
210 /* Start a VM session using the delivered VBox GUI. */
211 rc = machine->LaunchVMProcess(session, sessiontype,
215 printf("Could not open remote session! rc = 0x%x\n", rc);
224 session->get_Console(&console);
229 printf("Press enter to power off VM and close the session...\n");
239 /* Close the session. */
240 rc = session
[all...]
H A DtstAPI.cpp227 ComPtr<ISession> session; local
250 rc = session.createInprocObject(CLSID_Session);
252 RTPrintf("ERROR: failed to create a session object!\n");
528 rc = session->COMGETTER(Machine)(machine.asOutParam());
529 RTPrintf("session->COMGETTER(Machine)=%08X\n", rc);
538 rc = session->COMGETTER(State)(&state);
539 RTPrintf("session->COMGETTER(State)=%08X\n", rc);
1017 // open a (direct) session
1027 RTPrintf("Opening a session for this machine...\n");
1028 CHECK_RC_BREAK(virtualBox->OpenSession(session, gui
[all...]
H A DtstVBoxAPIXPCOM.cpp246 * In order to manipulate the registered machine, we must open a session
249 nsCOMPtr<ISession> session; local
262 getter_AddRefs(session));
265 printf("Error, could not instantiate session object! rc=%#x\n", rc);
269 rc = machine->LockMachine(session, LockType_Write);
272 printf("Error, could not lock the machine for the session! rc=%#x\n", rc);
279 * it from the opened session object.
281 rc = session->GetMachine(getter_AddRefs(sessionMachine));
284 printf("Error, could not get machine session! rc=%#x\n", rc);
402 * It is always important to close the open session whe
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/runtime/
H A DUIDnDDrag.cpp49 UIDnDDrag::UIDnDDrag(CSession &session, argument
54 : m_session(session)
136 int UIDnDDrag::RetrieveData(const CSession &session, argument
147 CGuest guest = session.GetConsole().GetGuest();
H A DUIDnDMIMEData.cpp43 UIDnDMimeData::UIDnDMimeData(CSession &session, argument
48 : m_Session(session)
H A DUIMachine.cpp54 /* Create temporary session: */
55 CSession session = vboxGlobal().openSession(strID, KLockType_VM); local
56 if (session.isNull())
60 CMachine machine = session.GetMachine();
74 /* Unlock session finally: */
75 session.UnlockMachine();
200 /* Try to prepare session UI: */
213 /* Try to initialize session UI: */
223 /* Try to create session UI: */
289 /* Destroy session U
[all...]
H A DUIDnDHandler.cpp101 Qt::DropAction UIDnDHandler::dragDrop(CSession &session, CDnDTarget &dndTarget, argument
106 CGuest guest = session.GetConsole().GetGuest();
170 int UIDnDHandler::dragIsPending(CSession &session, CDnDSource &dndSource, argument
184 CGuest guest = session.GetConsole().GetGuest();
237 UIDnDDrag *pDrag = new UIDnDDrag(session, dndSource, lstFmtNative,
251 NOREF(session);
H A DUIMachineWindow.cpp102 /* Prepare session-connections: */
159 /* Cleanup session connections: */
206 CSession& UIMachineWindow::session() const function in class:UIMachineWindow
208 return uisession()->session();
H A DUIDnDDataObject_win.cpp41 UIDnDDataObject::UIDnDDataObject(CSession &session, argument
45 : mSession(session),
H A DUIMachineView.cpp759 CSession& UIMachineView::session() const function in class:UIMachineView
761 return uisession()->session();
1452 DnDHandler()->dragIsPending(session(), dndSource, screenId(), this /* pParent */);
1465 Qt::DropAction result = DnDHandler()->dragDrop(session(),
H A DUISession.h100 /** Returns the session instance. */
101 CSession& session() { return m_session; } function in class:UISession
102 /** Returns the session's machine instance. */
104 /** Returns the session's console instance. */
389 /** Holds the session instance. */
391 /** Holds the session's machine instance. */
393 /** Holds the session's console instance. */
/vbox/src/VBox/Frontends/VirtualBox/src/
H A DVBoxSnapshotDetailsDlg.cpp112 /* We need a session when we manipulate the snapshot data of a machine. */
113 CSession session = vboxGlobal().openExistingSession(mSnapshot.GetMachine().GetId()); local
114 if (session.isNull())
120 /* Close the session again. */
121 session.UnlockMachine();
/vbox/src/VBox/Frontends/VirtualBox/src/wizards/newvm/
H A DUIWizardNewVM.cpp222 CSession session = vboxGlobal().openSession(strMachineId); local
223 if (!session.isNull())
225 CMachine machine = session.GetMachine();
262 session.UnlockMachine();
/vbox/src/VBox/Frontends/VBoxFB/
H A DVBoxFB.cpp200 nsCOMPtr<ISession> session; local
204 getter_AddRefs(session));
211 // open session for this VM
212 rc = virtualBox->OpenSession(session, NS_ConvertUTF8toUTF16(uuid).get());
219 session->GetMachine(getter_AddRefs(machine));
226 session->GetConsole(getter_AddRefs(console));
/vbox/src/VBox/Frontends/VBoxManage/
H A DVBoxManage.cpp481 * Get the remote VirtualBox object and create a local session object.
484 ComPtr<ISession> session; local
491 hrc = session.createInprocObject(CLSID_Session);
493 RTMsgError("Failed to create a session object!");
594 HandlerArg handlerArg = { 0, NULL, virtualBox, session };
630 /* Although all handlers should always close the session if they open it,
632 * leaving the direct session not closed will turn the machine state to
635 session->UnlockMachine();
H A DVBoxManage.h140 ComPtr<ISession> session; member in struct:HandlerArg
/vbox/src/VBox/Additions/linux/lightdm-greeter/liblightdm-gobject-1.5.0/
H A Dsession.c14 #include "lightdm/session.h"
50 LightDMSession *session; local
66 g_warning ("Ignoring session without name");
88 session = g_object_new (LIGHTDM_TYPE_SESSION, NULL);
89 priv = GET_PRIVATE (session);
104 return session;
140 g_warning ("Failed to load session file %s: %s:", path, error->message);
146 LightDMSession *session; local
149 session = load_session (key_file, key);
150 if (session)
260 lightdm_session_get_key(LightDMSession *session) argument
275 lightdm_session_get_name(LightDMSession *session) argument
290 lightdm_session_get_comment(LightDMSession *session) argument
297 lightdm_session_init(LightDMSession *session) argument
[all...]
/vbox/src/VBox/Devices/Network/lwip-new/src/netif/ppp/
H A Dppp_oe.c209 * Find the interface handling the specified session.
215 pppoe_find_softc_by_session(u_int session, struct netif *rcvif) argument
219 if (session == 0) {
225 && sc->sc_session == session) {
259 PPPDEBUG(LOG_DEBUG, ("pppoe: alien host unique tag, no session found\n"));
283 /* analyze and handle a single received packet while not in session state */
288 u16_t session, plen; local
320 session = 0;
331 session = ntohs(ph->session);
563 u16_t session, plen; local
947 pppoe_send_padt(struct netif *outgoing_if, u_int session, const u8_t *dest) argument
[all...]
/vbox/src/VBox/Main/cbinding/
H A DtstCAPIGlue.c432 * @param session ptr to ISession object
435 static void registerActiveEventListener(IVirtualBox *virtualBox, ISession *session, BSTR machineId) argument
440 rc = ISession_get_Console(session, &console);
542 * @param session ptr to ISession object
545 static void registerPassiveEventListener(IVirtualBox *virtualBox, ISession *session, BSTR machineId) argument
550 rc = ISession_get_Console(session, &console);
732 * @param session ptr to ISession object
735 static void startVM(const char *argv0, IVirtualBox *virtualBox, ISession *session, BSTR id) argument
776 rc = IMachine_LaunchVMProcess(machine, session, sessionType, env, &progress);
783 printf("Waiting for the remote session t
834 listVMs(const char *argv0, IVirtualBox *virtualBox, ISession *session) argument
999 ISession *session = NULL; local
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/selector/
H A DUISelectorWindow.cpp495 /* Open a session to modify VM: */
496 CSession session = vboxGlobal().openSession(pItem->id()); local
497 if (session.isNull())
500 /* Get session machine: */
501 CMachine machine = session.GetMachine();
507 session.UnlockMachine();
540 /* Open a session to modify VM state: */
541 CSession session = vboxGlobal().openExistingSession(pItem->id()); local
542 if (session.isNull())
545 /* Get session consol
591 CSession session = vboxGlobal().openExistingSession(pItem->id()); local
619 CSession session = vboxGlobal().openExistingSession(pItem->id()); local
676 CSession session = vboxGlobal().openExistingSession(pItem->id()); local
717 CSession session = vboxGlobal().openExistingSession(pItem->id()); local
1769 CSession session = vboxGlobal().openExistingSession(pItem->id()); local
[all...]
H A DVBoxSnapshotsWgt.cpp507 /* Whether another direct session is open or not */
530 /* Enable/disable the details action regardless of the session state */
637 /* Open a direct session (this call will handle all errors): */
638 CSession session = vboxGlobal().openSession(mMachineId); local
639 if (session.isNull())
643 CMachine machine = session.GetMachine();
655 session.UnlockMachine();
680 /* Open a direct session (this call will handle all errors) */
682 CSession session; local
684 session
823 CSession session; local
[all...]
/vbox/src/VBox/Frontends/VBoxHeadless/
H A DVBoxHeadless.cpp893 ComPtr<ISession> session; local
923 rc = pVirtualBoxClient->COMGETTER(Session)(session.asOutParam());
926 RTPrintf("Failed to get session object (rc=%Rhrc)!\n", rc);
957 Log(("VBoxHeadless: Opening a session with machine (id={%s})...\n",
960 // open a session
961 CHECK_ERROR_BREAK(m, LockMachine(session, LockType_VM));
966 CHECK_ERROR_BREAK(session, COMGETTER(Console)(console.asOutParam()));
1324 /* No more access to the 'console' object, which will be uninitialized by the next session->Close call. */
1330 * Close the session. This will also uninitialize the console and
1333 Log(("VBoxHeadless: Closing the session
[all...]

Completed in 190 milliseconds

12