Home
last modified time | relevance | path

Searched refs:driver_id (Results 1 – 9 of 9) sorted by relevance

/test/vts/drivers/hal/common/driver_manager/
DVtsHalDriverManager.cpp218 DriverId driver_id = FindDriverIdInternal(spec_msg, interface_pt, true); in RegisterDriver() local
219 if (driver_id == kInvalidDriverId) { in RegisterDriver()
220 driver_id = hal_driver_map_.size(); in RegisterDriver()
222 driver_id, HalDriverInfo(spec_msg, interface_pt, std::move(driver)))); in RegisterDriver()
227 return driver_id; in RegisterDriver()
260 DriverId driver_id = FindDriverIdInternal(spec_msg); in GetDriverIdForHidlHalInterface() local
261 if (driver_id == kInvalidDriverId) { in GetDriverIdForHidlHalInterface()
264 driver_id = LoadTargetComponent("", driver_lib_path, HAL_HIDL, 0, in GetDriverIdForHidlHalInterface()
268 return driver_id; in GetDriverIdForHidlHalInterface()
359 DriverId driver_id = kInvalidDriverId; in GetDriverWithCallMsg() local
[all …]
/test/vts/utils/python/mirror/
Dhal_mirror.py90 driver_id = self.LaunchMirrorDriver(
102 self._driver_id = driver_id
186 def GetHalMirrorForInterface(self, interface_name, driver_id=None): argument
209 if not driver_id:
210 driver_id = self._driver_id
212 return HalMirror(self._client, self._callback_server, driver_id,
Dmirror_object.py144 driver_id = self._client.LaunchDriverService(
158 if driver_id == -1:
163 return driver_id
Dlib_mirror.py80 driver_id = self.LaunchMirrorDriver(
91 self._driver_id = driver_id
Dnative_entity_mirror.py71 driver_id=None, argument
75 self._driver_id = driver_id
242 driver_id = result.hidl_interface_id
248 nested_interface_name, driver_id)
/test/vts/drivers/hal/server/
DSocketServer.cpp50 int32_t driver_id = driver_manager_->LoadTargetComponent( in LoadHal() local
54 LOG(DEBUG) << "Result: " << driver_id; in LoadHal()
55 return driver_id; in LoadHal()
122 int32_t driver_id = LoadHal( in ProcessOneCommand() local
131 if (driver_id == -1) { in ProcessOneCommand()
136 response_message.set_return_value(driver_id); in ProcessOneCommand()
/test/vts/drivers/hal/replayer/
DVtsHidlHalReplayer.cpp143 int32_t driver_id = driver_manager_->GetDriverIdForHidlHalInterface( in ReplayTrace() local
146 if (driver_id == kInvalidDriverId) { in ReplayTrace()
153 func_call_msg.set_hal_driver_id(driver_id); in ReplayTrace()
167 driver_id, expected_result_msg.func_msg(), result_msg)) { in ReplayTrace()
/test/vts/agents/hal/
DAgentRequestHandler.cpp254 int32_t driver_id = client->LoadHal( local
258 if (driver_id == -1) {
263 response_msg.set_result(to_string(driver_id));
/test/vts/proto/
DComponentSpecificationMessage.proto189 // HAL driver ID, if set (e.g., >0), use the given driver_id to get the