Home
last modified time | relevance | path

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

/drivers/peripheral/sensor/test/benchmarktest/
Dsensor_benchmark_test.cpp76 EXPECT_EQ(SENSOR_SUCCESS, ret); in BENCHMARK_F()
97 EXPECT_EQ(SENSOR_SUCCESS, ret); in BENCHMARK_F()
100 EXPECT_EQ(SENSOR_SUCCESS, ret); in BENCHMARK_F()
121 EXPECT_EQ(SENSOR_SUCCESS, ret); in BENCHMARK_F()
124 EXPECT_EQ(SENSOR_SUCCESS, ret); in BENCHMARK_F()
144 EXPECT_EQ(SENSOR_SUCCESS, ret); in BENCHMARK_F()
149 EXPECT_EQ(SENSOR_SUCCESS, ret); in BENCHMARK_F()
152 EXPECT_EQ(SENSOR_SUCCESS, ret); in BENCHMARK_F()
156 EXPECT_EQ(SENSOR_SUCCESS, ret); in BENCHMARK_F()
178 EXPECT_EQ(SENSOR_SUCCESS, ret); in BENCHMARK_F()
[all …]
/drivers/peripheral/sensor/test/unittest/hdi/
Dhdf_sensor_hdi_test.cpp134 EXPECT_EQ(SENSOR_SUCCESS, ret);
162 EXPECT_EQ(SENSOR_SUCCESS, ret);
164 EXPECT_EQ(SENSOR_SUCCESS, ret);
180 EXPECT_EQ(SENSOR_SUCCESS, ret);
182 EXPECT_EQ(SENSOR_SUCCESS, ret);
216 EXPECT_EQ(SENSOR_SUCCESS, ret);
222 EXPECT_EQ(SENSOR_SUCCESS, ret);
224 EXPECT_EQ(SENSOR_SUCCESS, ret);
227 EXPECT_EQ(SENSOR_SUCCESS, ret);
266 EXPECT_EQ(SENSOR_SUCCESS, ret);
[all …]
/drivers/peripheral/sensor/test/unittest/common/
Dhdf_sensor_test.cpp119 return SENSOR_SUCCESS; in TraditionalSensorTestDataCallback()
126 return SENSOR_SUCCESS; in MedicalSensorTestDataCallback()
190 ASSERT_EQ(SENSOR_SUCCESS, ret);
194 EXPECT_EQ(SENSOR_SUCCESS, ret);
208 EXPECT_EQ(SENSOR_SUCCESS, ret);
210 EXPECT_EQ(SENSOR_SUCCESS, ret);
240 EXPECT_EQ(SENSOR_SUCCESS, ret);
242 EXPECT_EQ(SENSOR_SUCCESS, ret);
348 EXPECT_EQ(SENSOR_SUCCESS, ret);
356 EXPECT_EQ(SENSOR_SUCCESS, ret);
[all …]
/drivers/peripheral/sensor/hdi_impl/
Dsensor_impl.cpp46 return SENSOR_SUCCESS; in ReportSensorEventsData()
68 return SENSOR_SUCCESS; in ReportSensorEventsData()
80 return SENSOR_SUCCESS; in TradtionalSensorDataCallback()
92 return SENSOR_SUCCESS; in MedicalSensorDataCallback()
149 if (ret != SENSOR_SUCCESS) { in GetAllSensorInfo()
195 if (ret != SENSOR_SUCCESS) { in Enable()
213 if (ret != SENSOR_SUCCESS) { in Disable()
232 if (ret != SENSOR_SUCCESS) { in SetBatch()
251 if (ret != SENSOR_SUCCESS) { in SetMode()
270 if (ret != SENSOR_SUCCESS) { in SetOption()
[all …]
/drivers/peripheral/sensor/hal/src/
Dsensor_manager.c51 if (ret != SENSOR_SUCCESS) { in GetSensorServiceList()
90 return SENSOR_SUCCESS; in GetSensorServiceList()
139 if (ret != SENSOR_SUCCESS) { in InitSensorManager()
147 return SENSOR_SUCCESS; in InitSensorManager()
162 if (InitSensorManager() != SENSOR_SUCCESS) { in NewSensorInterfaceInstance()
177 return SENSOR_SUCCESS; in FreeSensorInterfaceInstance()
190 return SENSOR_SUCCESS; in FreeSensorInterfaceInstance()
Dsensor_controller.c133 if (SetSensorIdClassification() != SENSOR_SUCCESS) { in GetSensorInfoFromReply()
137 return SENSOR_SUCCESS; in GetSensorInfoFromReply()
161 return SENSOR_SUCCESS; in GetSensorInfo()
183 if (ret != SENSOR_SUCCESS) { in GetSensorInfo()
198 if (GetSensorInfoFromReply(reply) != SENSOR_SUCCESS) { in GetSensorInfo()
210 return SENSOR_SUCCESS; in GetSensorInfo()
236 if (ret != SENSOR_SUCCESS) { in SendSensorMsg()
240 return SENSOR_SUCCESS; in SendSensorMsg()
264 if (ret != SENSOR_SUCCESS) { in EnableSensor()
295 if (ret != SENSOR_SUCCESS) { in DisableSensor()
[all …]
Dsensor_channel.c174 return SENSOR_SUCCESS; in OnSensorEventReceived()
199 … (HdfIoServiceGroupAddService(manager->serviceGroup, pos->ioService) != SENSOR_SUCCESS)) { in AddSensorDevServiceGroup()
208 if (ret != SENSOR_SUCCESS) { in AddSensorDevServiceGroup()
215 return SENSOR_SUCCESS; in AddSensorDevServiceGroup()
237 return SENSOR_SUCCESS; in Register()
240 if (ret == SENSOR_SUCCESS) { in Register()
267 return SENSOR_SUCCESS; in Unregister()
271 if (ret != SENSOR_SUCCESS) { in Unregister()
283 return SENSOR_SUCCESS; in Unregister()
/drivers/peripheral/sensor/hdi_service/
Dsensor_if_service.cpp78 if (ret != SENSOR_SUCCESS) { in Init()
96 if (ret != SENSOR_SUCCESS) { in GetAllSensorInfo()
136 if (ret != SENSOR_SUCCESS) { in Enable()
154 if (ret != SENSOR_SUCCESS) { in Disable()
173 if (ret != SENSOR_SUCCESS) { in SetBatch()
192 if (ret != SENSOR_SUCCESS) { in SetMode()
211 if (ret != SENSOR_SUCCESS) { in SetOption()
230 if (ret != SENSOR_SUCCESS) { in Register()
249 if (ret != SENSOR_SUCCESS) { in Unregister()
/drivers/peripheral/sensor/interfaces/include/
Dsensor_type.h60 SENSOR_SUCCESS = 0, /**< The operation is successful. */ enumerator