Searched refs:g_sensorPerformanceDev (Results 1 – 1 of 1) sorted by relevance
34 const struct SensorInterface *g_sensorPerformanceDev = nullptr; variable66 g_sensorPerformanceDev = NewSensorInterfaceInstance(); in SetUpTestCase()67 if (g_sensorPerformanceDev == nullptr) { in SetUpTestCase()74 if (g_sensorPerformanceDev != nullptr) { in TearDownTestCase()76 g_sensorPerformanceDev = nullptr; in TearDownTestCase()101 int ret = g_sensorPerformanceDev->Register(0, SensorTestDataCallback);124 int ret = g_sensorPerformanceDev->GetAllSensors(&sensorInfo, &count);145 int ret = g_sensorPerformanceDev->Enable(SENSOR_ID);190 int ret = g_sensorPerformanceDev->Disable(SENSOR_ID);211 int ret = g_sensorPerformanceDev->SetMode(SENSOR_ID, 1);[all …]