Home
last modified time | relevance | path

Searched refs:GetEnergy (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/resourceschedule/device_standby/plugins/extend_constraints/src/
H A Dmotion_sensor_monitor.cpp69 …SERVICE_LOGD("sensor motion: %{public}lf, threshold: %{public}d", MotionSensorMonitor::GetEnergy(), in AcceleromterCallback()
71 if (MotionSensorMonitor::GetEnergy() > StandbyConfigManager::GetInstance()-> in AcceleromterCallback()
87 …ERVICE_LOGD("sensor motion: %{public}lf, threshold: %{public}lf", MotionSensorMonitor::GetEnergy(), in RepeatAcceleromterCallback()
89 if (MotionSensorMonitor::GetEnergy() > StandbyConfigManager::GetInstance()-> in RepeatAcceleromterCallback()
104 double MotionSensorMonitor::GetEnergy() in GetEnergy() function in OHOS::DevStandbyMgr::MotionSensorMonitor
/ohos5.0/foundation/resourceschedule/device_standby/plugins/extend_constraints/include/
H A Dmotion_sensor_monitor.h40 static double GetEnergy();
/ohos5.0/foundation/resourceschedule/device_standby/plugins/test/unittest/
H A Dmotion_sensor_monitor_test.cpp133 EXPECT_EQ(repeatedMotionConstraint->GetEnergy(), energy);
H A Dstandby_plugin_unit_test.cpp740 EXPECT_TRUE(repeatedMotionConstraint->GetEnergy() == 0);
763 EXPECT_NE(repeatedMotionConstraint->GetEnergy(), 0);