Home
last modified time | relevance | path

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

/frameworks/native/libs/sensor/tests/
DSensor_test.cpp52 a.getReportingMode() == b.getReportingMode(); in sensorsMatch()
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java151 if (sensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in registerListenerImpl()
194 if (sensor != null && sensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in unregisterListenerImpl()
222 if (sensor.getReportingMode() != Sensor.REPORTING_MODE_ONE_SHOT) return false; in requestTriggerSensorImpl()
254 if (sensor != null && sensor.getReportingMode() != Sensor.REPORTING_MODE_ONE_SHOT) { in cancelTriggerSensorImpl()
340 if (sensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in cleanupSensorConnection()
DSensor.java819 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.cpp605 si->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in cleanupAutoDisabledSensorLocked()
1339 if (sensor->getSensor().getReportingMode() == AREPORTING_MODE_ON_CHANGE) { in enable()
1403 sensor->getSensor().getReportingMode() == AREPORTING_MODE_CONTINUOUS && in enable()
1520 if (sensor->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in flushSensor()
DSensorEventConnection.cpp140 if (si != nullptr && si->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in hasOneShotSensors()
/frameworks/base/native/android/
Dsensor.cpp328 return static_cast<Sensor const*>(sensor)->getReportingMode(); in ASensor_getReportingMode()
/frameworks/native/libs/sensor/
DSensor.cpp439 int32_t Sensor::getReportingMode() const { in getReportingMode() function in android::Sensor
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java451 if (mMotionSensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in registerLocked()
466 if (mMotionSensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in unregisterLocked()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt12374 method public int getReportingMode();
/frameworks/base/config/
Dhiddenapi-public-dex.txt14643 Landroid/hardware/Sensor;->getReportingMode()I
Dboot-image-profile.txt2226 HPLandroid/hardware/Sensor;->getReportingMode()I
/frameworks/base/api/
Dcurrent.txt15533 method public int getReportingMode();