Home
last modified time | relevance | path

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

/hardware/google/camera/common/sensor_listener/
Dgoog_sensor_environment.cc75 sp<GoogSensorEnvironment> sensor_ptr = in Create() local
77 if (sensor_ptr == nullptr) { in Create()
82 status_t result = sensor_ptr->Enable(); in Create()
85 __LINE__, sensor_ptr->GetSensorName()); in Create()
88 __LINE__, sensor_ptr->GetSensorName()); in Create()
91 return sensor_ptr; in Create()
Dgoog_sensor_motion.cc91 sp<GoogSensorMotion> sensor_ptr = new GoogSensorMotion( in Create() local
93 if (sensor_ptr == nullptr) { in Create()
98 status_t result = sensor_ptr->Enable(); in Create()
101 __LINE__, sensor_ptr->GetSensorName()); in Create()
104 __LINE__, sensor_ptr->GetSensorName()); in Create()
107 return sensor_ptr; in Create()
/hardware/google/camera/common/sensor_listener/tests/
Dgoog_sensor_motion_test.cc41 void CheckLatestNMotionEvents(const sp<GoogSensorMotion>& sensor_ptr, in CheckLatestNMotionEvents() argument
53 sensor_ptr->GetLatestNSensorEvents(num_events, &timestamps, in CheckLatestNMotionEvents()
70 const sp<GoogSensorMotion>& sensor_ptr) { in CheckQuerySensorEventsBetweenTimestamps() argument
83 sensor_ptr->QuerySensorEventsBetweenTimestamps( in CheckQuerySensorEventsBetweenTimestamps()
Dgoog_sensor_environment_test.cc39 void CheckLatestNEvents(const sp<GoogSensorEnvironment>& sensor_ptr, in CheckLatestNEvents() argument
49 sensor_ptr->GetLatestNSensorEvents(num_events, &timestamps, &event_data, in CheckLatestNEvents()