Home
last modified time | relevance | path

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

/frameworks/native/services/sensorservice/
DSensorDevice.cpp198 HalConnectionStatus status = connectHidlServiceV2_1(); in connectHidlService()
199 if (status == HalConnectionStatus::DOES_NOT_EXIST) { in connectHidlService()
203 if (status == HalConnectionStatus::DOES_NOT_EXIST) { in connectHidlService()
206 return (status == HalConnectionStatus::CONNECTED); in connectHidlService()
209 SensorDevice::HalConnectionStatus SensorDevice::connectHidlServiceV1_0() { in connectHidlServiceV1_0()
212 HalConnectionStatus connectionStatus = HalConnectionStatus::UNKNOWN; in connectHidlServiceV1_0()
218 connectionStatus = HalConnectionStatus::DOES_NOT_EXIST; in connectHidlServiceV1_0()
229 connectionStatus = HalConnectionStatus::CONNECTED; in connectHidlServiceV1_0()
235 connectionStatus = HalConnectionStatus::FAILED_TO_CONNECT; in connectHidlServiceV1_0()
243 SensorDevice::HalConnectionStatus SensorDevice::connectHidlServiceV2_0() { in connectHidlServiceV2_0()
[all …]
DSensorDevice.h228 enum HalConnectionStatus { enum
234 HalConnectionStatus connectHidlServiceV1_0();
235 HalConnectionStatus connectHidlServiceV2_0();
236 HalConnectionStatus connectHidlServiceV2_1();
237 HalConnectionStatus initializeHidlServiceV2_X();