/drivers/peripheral/sensor/test/fuzztest/sensorsetmode_fuzzer/ |
D | sensorsetmode_fuzzer.cpp | 29 if (!g_sensorInterface->SetMode(*(int32_t *)data, *(int32_t *)data)) { in SensorSetModeFuzzTest()
|
/drivers/peripheral/sensor/test/benchmarktest/ |
D | sensor_benchmark_test.cpp | 237 BENCHMARK_F(SensorBenchmarkTest, SetMode)(benchmark::State &state) in BENCHMARK_F() argument 248 ret = g_sensorInterface->SetMode(0, SENSOR_MODE_ON_CHANGE); in BENCHMARK_F() 250 ret = g_sensorInterface->SetMode(0, SENSOR_MODE_REALTIME); in BENCHMARK_F() 261 BENCHMARK_REGISTER_F(SensorBenchmarkTest, SetMode)->
|
/drivers/hdf_core/framework/model/sensor/driver/include/ |
D | sensor_device_if.h | 18 int32_t (*SetMode)(int32_t mode); member
|
/drivers/hdf_core/framework/model/sensor/driver/ppg/ |
D | sensor_ppg_driver.h | 23 int32_t (*SetMode)(uint32_t mode); member
|
D | sensor_ppg_driver.c | 162 CHECK_NULL_PTR_RETURN_VALUE(drvData->chipData.opsCall.SetMode, HDF_ERR_INVALID_PARAM); in SetPpgMode() 169 ret = drvData->chipData.opsCall.SetMode(mode); in SetPpgMode() 220 .ops.SetMode = SetPpgMode, in RegisterSensorDev()
|
/drivers/peripheral/sensor/interfaces/include/ |
D | sensor_if.h | 122 int32_t (*SetMode)(int32_t sensorId, int32_t mode); member
|
/drivers/peripheral/sensor/test/unittest/hdi/ |
D | hdf_sensor_hdi_test.cpp | 334 ret = g_sensorInterface->SetMode(iter.sensorId, SENSOR_MODE_ON_CHANGE); 337 ret = g_sensorInterface->SetMode(iter.sensorId, SENSOR_MODE_REALTIME); 361 int32_t ret = g_sensorInterface->SetMode(ABNORMAL_SENSORID, SENSOR_MODE_REALTIME); 382 ret = g_sensorInterface->SetMode(iter.sensorId, SENSOR_MODE_DEFAULT);
|
/drivers/peripheral/sensor/interfaces/v1_0/ |
D | isensor_interface_vdi.h | 51 virtual int32_t SetMode(int32_t sensorId, int32_t mode) = 0;
|
/drivers/peripheral/sensor/hdi_impl/ |
D | sensor_impl.h | 40 int32_t SetMode(int32_t sensorId, int32_t mode) override;
|
D | sensor_impl.cpp | 239 int32_t SensorImpl::SetMode(int32_t sensorId, int32_t mode) in SetMode() function in OHOS::HDI::Sensor::V1_1::SensorImpl 243 if (sensorInterface == nullptr || sensorInterface->SetMode == nullptr) { in SetMode() 249 int32_t ret = sensorInterface->SetMode(sensorId, mode); in SetMode()
|
/drivers/peripheral/sensor/hdi_service/ |
D | sensor_if_service.h | 40 int32_t SetMode(int32_t sensorId, int32_t mode) override;
|
D | sensor_if_service.cpp | 181 int32_t SensorIfService::SetMode(int32_t sensorId, int32_t mode) in SetMode() function in OHOS::HDI::Sensor::V1_1::SensorIfService 191 int32_t ret = sensorVdiImpl_->SetMode(sensorId, mode); in SetMode()
|
/drivers/hdf_core/framework/model/sensor/driver/common/src/ |
D | sensor_device_manager.c | 199 static int32_t SetMode(struct SensorDeviceInfo *deviceInfo, struct HdfSBuf *data, struct HdfSBuf *r… in SetMode() function 206 CHECK_NULL_PTR_RETURN_VALUE(deviceInfo->ops.SetMode, HDF_ERR_INVALID_PARAM); in SetMode() 213 return deviceInfo->ops.SetMode(mode); in SetMode() 264 {SENSOR_OPS_CMD_SET_MODE, SetMode}, // SENSOR_CMD_SET_MODE
|
/drivers/peripheral/sensor/test/unittest/common/ |
D | hdf_sensor_test.cpp | 476 ret = g_sensorDev->SetMode(info->sensorId, SENSOR_MODE_ON_CHANGE); 479 ret = g_sensorDev->SetMode(info->sensorId, SENSOR_MODE_REALTIME); 530 ret = g_sensorDev->SetMode(info->sensorId, SENSOR_MODE_DEFAULT);
|
/drivers/hdf_core/framework/test/unittest/sensor/ |
D | hdf_sensor_test.c | 208 .SetMode = SensorSetModeTest, in InitSensorDriverTest()
|
/drivers/peripheral/sensor/test/performance/hdi/ |
D | hdf_sensor_hdi_performance_test.cpp | 189 int ret = g_sensorInterface->SetMode(SENSOR_ID, 1);
|
/drivers/peripheral/sensor/test/performance/common/ |
D | hdf_sensor_performance_test.cpp | 211 int ret = g_sensorPerformanceDev->SetMode(SENSOR_ID, 1);
|
/drivers/hdf_core/framework/include/wifi/ |
D | wifi_mac80211_ops.h | 484 int32_t (*SetMode)(NetDevice *netDev, enum WlanWorkMode mode); member
|
/drivers/hdf_core/framework/model/sensor/driver/pedometer/ |
D | sensor_pedometer_driver.c | 230 deviceInfo->ops.SetMode = SetPedometerMode; in InitPedometerOps()
|
/drivers/hdf_core/framework/model/sensor/driver/barometer/ |
D | sensor_barometer_driver.c | 227 deviceInfo->ops.SetMode = SetBarometerMode; in InitBarometerOps()
|
/drivers/hdf_core/framework/model/sensor/driver/accel/ |
D | sensor_gravity_driver.c | 234 deviceInfo->ops.SetMode = SetGravityMode; in InitGravityOps()
|
/drivers/hdf_core/framework/model/sensor/driver/gyro/ |
D | sensor_gyro_driver.c | 227 deviceInfo->ops.SetMode = SetGyroMode; in InitGyroOps()
|
/drivers/hdf_core/framework/model/sensor/driver/proximity/ |
D | sensor_proximity_driver.c | 230 deviceInfo->ops.SetMode = SetProximityMode; in InitProximityOps()
|
/drivers/hdf_core/framework/model/sensor/driver/temperature/ |
D | sensor_temperature_driver.c | 231 deviceInfo->ops.SetMode = SetTemperatureMode; in InitTemperatureOps()
|
/drivers/hdf_core/framework/model/sensor/driver/humidity/ |
D | sensor_humidity_driver.c | 229 deviceInfo->ops.SetMode = SetHumidityMode; in InitHumidityOps()
|