Home
last modified time | relevance | path

Searched refs:OP_QUERY (Results 1 – 17 of 17) sorted by relevance

/developtools/hdc/src/host/
Dserver.cpp322 case OP_QUERY: { in AdminDaemonMap()
387 AdminDaemonMap(OP_QUERY, hSession->connectKey, hdiOld); in NotifyInstanceSessionFree()
456 AdminDaemonMap(OP_QUERY, connectKey, hdiOld); in UpdateHdiInfo()
612 HSession hSessionByQuery = AdminSession(OP_QUERY, hChannel->targetSessionId, nullptr); in FetchCommand()
669 case OP_QUERY: { in AdminForwardMap()
720 hdcServer->AdminDaemonMap(OP_QUERY, hSession->connectKey, pDi); in UsbPreConnect()
754 hdcServer->AdminDaemonMap(OP_QUERY, hSession->connectKey, pDi); in UartPreConnect()
804 AdminDaemonMap(OP_QUERY, connectKey, hdi); in CreateConnect()
812 AdminDaemonMap(OP_QUERY, connectKey, hdi); in CreateConnect()
848 AdminDaemonMap(OP_QUERY, connectKey, hdiQuery); in CreateConnect()
[all …]
Dserver_for_client.cpp207 ptrServer->AdminDaemonMap(OP_QUERY, hChannel->connectKey, hdi); in SendToDaemon()
271 ptrServer->AdminDaemonMap(OP_QUERY, target, hdi); in OrderConnecTargetResult()
347 (reinterpret_cast<HdcServer *>(ptrServer))->AdminDaemonMap(OP_QUERY, connectKey, hdiOld); in CommandRemoveSession()
367 ptrServer->AdminForwardMap(OP_QUERY, forwardKey, hfi); in RemoveFportkey()
372 HSession hSession = ptrServer->AdminSession(OP_QUERY, hfi->sessionId, nullptr); in RemoveFportkey()
705 ptrServer->AdminDaemonMap(OP_QUERY, hChannel->connectKey, hdi); in FindAliveSessionFromDaemonMap()
835 ptrServer->AdminDaemonMap(OP_QUERY, hChannel->connectKey, hdi); in ReadChannel()
882 HSession hSession = ptrServer->AdminSession(OP_QUERY, sessionId, nullptr); in FindAliveSession()
Dhost_uart.cpp438 server.AdminDaemonMap(OP_QUERY, connectKey, diOldPtr); in EnumSerialPort()
545 server.AdminDaemonMap(OP_QUERY, port, hdi); in EnumSerialPort()
554 server.AdminDaemonMap(OP_QUERY, port, hdi); in EnumSerialPort()
630 return server.AdminSession(OP_QUERY, sessionId, nullptr); in EnumSerialPort()
Dhost_usb.cpp336 pServer->AdminDaemonMap(OP_QUERY, hUSB->serialNumber, pDi); in UpdateUSBDaemonInfo()
/developtools/hdc/test/unittest/common/
Dhost_uart_test.cpp323 EXPECT_CALL(mockServer, AdminDaemonMap(OP_QUERY, "COMX", _))
326 EXPECT_CALL(mockServer, AdminDaemonMap(OP_QUERY, "COMY", _))
355 EXPECT_CALL(mockServer, AdminDaemonMap(OP_QUERY, "COMX", _))
358 EXPECT_CALL(mockServer, AdminDaemonMap(OP_QUERY, "COMY", _))
361 EXPECT_CALL(mockServer, AdminDaemonMap(OP_QUERY, "COMZ", _))
392 EXPECT_CALL(mockServer, AdminDaemonMap(OP_QUERY, testSerialPortName, _))
744 EXPECT_CALL(mockServer, AdminSession(OP_QUERY, sessionId, nullptr))
DHdcJdwpTest.cpp105 ASSERT_NE(mJdwpTest->AdminContext(OP_QUERY, 1212, nullptr), nullptr)
Ddaemon_uart_test.cpp659 EXPECT_CALL(mockDaemon, AdminSession(OP_QUERY, sessionId, nullptr))
667 EXPECT_CALL(mockDaemon, AdminSession(OP_QUERY, sessionId, nullptr))
699 EXPECT_CALL(mockDaemon, AdminSession(OP_QUERY, sessionId, nullptr))
/developtools/hdc/src/daemon/
Djdwp.cpp330 case OP_QUERY: { in AdminContext()
376 HCtxJdwp ctx = (HCtxJdwp)AdminContext(OP_QUERY, targetPID, nullptr); in SendJdwpNewFD()
412 HCtxJdwp ctx = (HCtxJdwp)AdminContext(OP_QUERY, pid, nullptr); in SendArkNewFD()
476 HCtxJdwp ctx = (HCtxJdwp)AdminContext(OP_QUERY, targetPID, nullptr); in CheckPIDExist()
657 … HCtxJdwp ctx = static_cast<HCtxJdwp>(thisClass->AdminContext(OP_QUERY, targetPID, nullptr)); in FdEventPollThread()
Ddaemon_uart.cpp167 HSession hSession = daemon.AdminSession(OP_QUERY, sessionId, nullptr); in ResetOldSession()
181 HSession hSession = daemon.AdminSession(OP_QUERY, sessionId, nullptr); in GetSession()
Ddaemon_usb.cpp223 HSession hSession = daemon->AdminSession(OP_QUERY, sessionId, nullptr); in ResetOldSession()
481 hChildSession = daemon->AdminSession(OP_QUERY, sessionId, nullptr); in DispatchToWorkThread()
/developtools/hdc/src/common/
Dtask.cpp110 HSession hSession = sessionBase->AdminSession(OP_QUERY, taskInfo->sessionId, nullptr); in ThreadCtrlCommunicate()
Dsession.cpp401 } while (AdminSession(OP_QUERY, uid, nullptr) != nullptr); in GetSessionPseudoUid()
639 HSession hSession = AdminSession(OP_QUERY, sessionId, nullptr); in FreeSession()
667 case OP_QUERY: in AdminSession()
758 case OP_QUERY: in AdminTask()
819 HSession hSession = AdminSession(OP_QUERY, sessionId, nullptr); in Send()
1236 hSession = thisClass->AdminSession(OP_QUERY, hTask->sessionId, nullptr); in ReChildLoopForSessionClear()
1371 hTaskInfo = AdminTask(OP_QUERY, hSession, channelId, nullptr); in DispatchTaskData()
Dchannel.cpp370 } while (AdminChannel(OP_QUERY, uid, nullptr) != nullptr); in GetChannelPseudoUid()
491 HChannel hChannel = AdminChannel(OP_QUERY, channelId, nullptr); in FreeChannel()
517 case OP_QUERY: in AdminChannel()
Dforward.cpp178 if (!(ctx = (HCtxForward)AdminContext(OP_QUERY, id, nullptr))) { in FreeContext()
702 case OP_QUERY: in AdminContext()
796 if (!(ctx = (HCtxForward)AdminContext(OP_QUERY, id, nullptr))) { in ForwardCommandDispatch()
Ddefine_plus.h100 OP_QUERY, enumerator
/developtools/hdc/hdc_rust/src/cffi/host/
Dhost_usb.h38 OP_QUERY, enumerator
Dhost_usb.cpp197 AdminDaemonMap(OP_QUERY, hUSB->serialNumber, pDi); in UpdateUSBDaemonInfo()
624 case OP_QUERY: { in OpenDeviceMyNeed()