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.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.cpp685 si->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in cleanupAutoDisabledSensorLocked()
1422 if (sensor->getSensor().getReportingMode() == AREPORTING_MODE_ON_CHANGE) { in enable()
1433 if (sensor->getSensor().getReportingMode() == AREPORTING_MODE_ON_CHANGE) { in enable()
1496 sensor->getSensor().getReportingMode() == AREPORTING_MODE_CONTINUOUS && in enable()
1618 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/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java1691 doReturn(Sensor.REPORTING_MODE_ONE_SHOT).when(mMotionSensor).getReportingMode(); in testStationaryDetection_QuickDozeOn_NoMotion()
1771 doReturn(Sensor.REPORTING_MODE_ONE_SHOT).when(mMotionSensor).getReportingMode(); in testStationaryDetection_QuickDozeOn_OneShot()
1815 doReturn(Sensor.REPORTING_MODE_CONTINUOUS).when(mMotionSensor).getReportingMode(); in testStationaryDetection_QuickDozeOn_MultiShot()
/frameworks/base/services/core/java/com/android/server/
DDeviceIdleController.java779 if (mMotionSensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in registerLocked()
795 if (mMotionSensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in unregisterLocked()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt12374 method public int getReportingMode();
/frameworks/base/non-updatable-api/
Dcurrent.txt16347 method public int getReportingMode();
/frameworks/base/api/
Dcurrent.txt16347 method public int getReportingMode();