Home
last modified time | relevance | path

Searched refs:HalConnectionStatus (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/sensorservice/
DSensorDevice.cpp155 HalConnectionStatus status = connectHidlServiceV2_0(); in connectHidlService()
156 if (status == HalConnectionStatus::DOES_NOT_EXIST) { in connectHidlService()
159 return (status == HalConnectionStatus::CONNECTED); in connectHidlService()
162 SensorDevice::HalConnectionStatus SensorDevice::connectHidlServiceV1_0() { in connectHidlServiceV1_0()
165 HalConnectionStatus connectionStatus = HalConnectionStatus::UNKNOWN; in connectHidlServiceV1_0()
171 connectionStatus = HalConnectionStatus::DOES_NOT_EXIST; in connectHidlServiceV1_0()
182 connectionStatus = HalConnectionStatus::CONNECTED; in connectHidlServiceV1_0()
188 connectionStatus = HalConnectionStatus::FAILED_TO_CONNECT; in connectHidlServiceV1_0()
196 SensorDevice::HalConnectionStatus SensorDevice::connectHidlServiceV2_0() { in connectHidlServiceV2_0()
197 HalConnectionStatus connectionStatus = HalConnectionStatus::UNKNOWN; in connectHidlServiceV2_0()
[all …]
DSensorDevice.h199 enum HalConnectionStatus { enum
205 HalConnectionStatus connectHidlServiceV1_0();
206 HalConnectionStatus connectHidlServiceV2_0();