Home | History | Annotate | Download | only in gui

Lines Matching full:sensor

28 #include <gui/Sensor.h>
35 Sensor::Sensor()
43 Sensor::Sensor(struct sensor_t const* hwSensor, int halVersion)
71 ALOGE("Sensor maxDelay overflow error %s %" PRId64, mName.string(),
83 // Set reportingMode for all android defined sensor types, set wake-up flag only for proximity
84 // sensor, significant motion, tilt, pick_up gesture, wake gesture and glance gesture on older
219 // This is an OEM defined sensor on an older HAL. Use minDelay to determine the
220 // reporting mode of the sensor.
241 ALOGE("Reporting Mode incorrect: sensor %s handle=%d type=%d "
250 Sensor::~Sensor()
254 const String8& Sensor::getName() const {
258 const String8& Sensor::getVendor() const {
262 int32_t Sensor::getHandle() const {
266 int32_t Sensor::getType() const {
270 float Sensor::getMinValue() const {
274 float Sensor::getMaxValue() const {
278 float Sensor::getResolution() const {
282 float Sensor::getPowerUsage() const {
286 int32_t Sensor::getMinDelay() const {
290 nsecs_t Sensor::getMinDelayNs() const {
294 int32_t Sensor::getVersion() const {
298 int32_t Sensor::getFifoReservedEventCount() const {
302 int32_t Sensor::getFifoMaxEventCount() const {
306 const String8& Sensor::getStringType() const {
310 const String8& Sensor::getRequiredPermission() const {
314 int32_t Sensor::getMaxDelay() const {
318 int32_t Sensor::getFlags() const {
322 bool Sensor::isWakeUpSensor() const {
326 int32_t Sensor::getReportingMode() const {
330 size_t Sensor::getFlattenedSize() const
346 status_t Sensor::flatten(void* buffer, size_t size) const {
370 status_t Sensor::unflatten(void const* buffer, size_t size) {
408 void Sensor::flattenString8(void*& buffer, size_t& size,
416 bool Sensor::unflattenString8(void const*& buffer, size_t& size, String8& outputString8) {