Searched refs:sensor_ptr (Results 1 – 4 of 4) sorted by relevance
/hardware/google/camera/common/sensor_listener/ |
D | goog_sensor_environment.cc | 75 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()
|
D | goog_sensor_motion.cc | 91 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/ |
D | goog_sensor_motion_test.cc | 41 void CheckLatestNMotionEvents(const sp<GoogSensorMotion>& sensor_ptr, in CheckLatestNMotionEvents() argument 53 sensor_ptr->GetLatestNSensorEvents(num_events, ×tamps, in CheckLatestNMotionEvents() 70 const sp<GoogSensorMotion>& sensor_ptr) { in CheckQuerySensorEventsBetweenTimestamps() argument 83 sensor_ptr->QuerySensorEventsBetweenTimestamps( in CheckQuerySensorEventsBetweenTimestamps()
|
D | goog_sensor_environment_test.cc | 39 void CheckLatestNEvents(const sp<GoogSensorEnvironment>& sensor_ptr, in CheckLatestNEvents() argument 49 sensor_ptr->GetLatestNSensorEvents(num_events, ×tamps, &event_data, in CheckLatestNEvents()
|