Home
last modified time | relevance | path

Searched refs:getReportingMode (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/libs/sensor/tests/
DSensor_test.cpp52 a.getReportingMode() == b.getReportingMode(); in sensorsMatch()
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java152 if (sensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in registerListenerImpl()
195 if (sensor != null && sensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in unregisterListenerImpl()
223 if (sensor.getReportingMode() != Sensor.REPORTING_MODE_ONE_SHOT) return false; in requestTriggerSensorImpl()
255 if (sensor != null && sensor.getReportingMode() != Sensor.REPORTING_MODE_ONE_SHOT) { in cancelTriggerSensorImpl()
341 if (sensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in cleanupSensorConnection()
DSensor.java826 public int getReportingMode() { in getReportingMode() method in Sensor
/frameworks/native/libs/sensor/include/sensor/
DSensor.h97 int32_t getReportingMode() const;
/frameworks/native/services/sensorservice/
DSensorList.cpp138 const int reportingMode = s.getReportingMode(); in dump()
DSensorService.cpp699 si->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in cleanupAutoDisabledSensorLocked()
1457 if (sensor->getSensor().getReportingMode() == AREPORTING_MODE_ON_CHANGE) { in enable()
1468 if (sensor->getSensor().getReportingMode() == AREPORTING_MODE_ON_CHANGE) { in enable()
1533 sensor->getSensor().getReportingMode() == AREPORTING_MODE_CONTINUOUS && in enable()
1655 if (sensor->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in flushSensor()
DSensorEventConnection.cpp148 if (si != nullptr && si->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in hasOneShotSensors()
/frameworks/base/native/android/
Dsensor.cpp337 return static_cast<Sensor const*>(sensor)->getReportingMode(); in ASensor_getReportingMode()
/frameworks/native/libs/sensor/
DSensor.cpp454 int32_t Sensor::getReportingMode() const { in getReportingMode() function in android::Sensor
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java689 if (mMotionSensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in registerLocked()
704 if (mMotionSensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in unregisterLocked()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt12374 method public int getReportingMode();
/frameworks/base/api/
Dcurrent.txt16330 method public int getReportingMode();