Home
last modified time | relevance | path

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

/ohos5.0/foundation/resourceschedule/device_standby/plugins/extend_constraints/src/
H A Dmotion_sensor_monitor.cpp33 double MotionSensorMonitor::energy_ = 0; member in OHOS::DevStandbyMgr::MotionSensorMonitor
106 return energy_; in GetEnergy()
111 energy_ = energy; in SetEnergy()
123 energy_ += (diff.x * diff.x) + (diff.y * diff.y) + (diff.z * diff.z); in AddEnergy()
219 energy_ = 0; in StartMonitoringInner()
/ohos5.0/foundation/resourceschedule/device_standby/plugins/test/unittest/
H A Dmotion_sensor_monitor_test.cpp79 repeatedMotionConstraint->energy_ = 10000;
101 repeatedMotionConstraint->energy_ = 10000;
H A Dstandby_plugin_unit_test.cpp454 repeatedMotionConstraint->energy_ = 1;
741 repeatedMotionConstraint->energy_ = 10000;
764 repeatedMotionConstraint->energy_ = 10000;
/ohos5.0/foundation/resourceschedule/device_standby/plugins/extend_constraints/include/
H A Dmotion_sensor_monitor.h64 static double energy_; variable