Home
last modified time | relevance | path

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

/frameworks/native/libs/sensor/tests/
DSensor_test.cpp52 a.getReportingMode() == b.getReportingMode(); in sensorsMatch()
/frameworks/native/services/sensorservice/
DSensorList.cpp146 const int reportingMode = s.getReportingMode(); in dump()
236 switch (s.getReportingMode()) { in dump()
DSensorService.cpp891 si->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in cleanupAutoDisabledSensorLocked()
1718 if (sensor->getSensor().getReportingMode() == AREPORTING_MODE_ON_CHANGE) { in enable()
1729 if (sensor->getSensor().getReportingMode() == AREPORTING_MODE_ON_CHANGE) { in enable()
1792 sensor->getSensor().getReportingMode() == AREPORTING_MODE_CONTINUOUS && in enable()
1913 if (sensor->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in flushSensor()
DSensorEventConnection.cpp206 if (si != nullptr && si->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in hasOneShotSensors()
/frameworks/native/libs/sensor/include/sensor/
DSensor.h97 int32_t getReportingMode() const;
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java182 if (sensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in registerListenerImpl()
225 if (sensor != null && sensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in unregisterListenerImpl()
253 if (sensor.getReportingMode() != Sensor.REPORTING_MODE_ONE_SHOT) return false; in requestTriggerSensorImpl()
285 if (sensor != null && sensor.getReportingMode() != Sensor.REPORTING_MODE_ONE_SHOT) { in cancelTriggerSensorImpl()
371 if (sensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in cleanupSensorConnection()
DSensor.java844 public int getReportingMode() { in getReportingMode() method in Sensor
/frameworks/base/native/android/
Dsensor.cpp337 return static_cast<Sensor const*>(sensor)->getReportingMode(); in ASensor_getReportingMode()
/frameworks/native/libs/sensor/
DSensor.cpp462 int32_t Sensor::getReportingMode() const { in getReportingMode() function in android::Sensor
/frameworks/base/core/java/android/hardware/input/
DInputDeviceSensorManager.java441 if (sensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in registerListenerInternal()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java1821 doReturn(Sensor.REPORTING_MODE_ONE_SHOT).when(mMotionSensor).getReportingMode(); in testStationaryDetection_QuickDozeOn_NoMotion()
1901 doReturn(Sensor.REPORTING_MODE_ONE_SHOT).when(mMotionSensor).getReportingMode(); in testStationaryDetection_QuickDozeOn_OneShot()
1945 doReturn(Sensor.REPORTING_MODE_CONTINUOUS).when(mMotionSensor).getReportingMode(); in testStationaryDetection_QuickDozeOn_MultiShot()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java815 if (mMotionSensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in registerLocked()
831 if (mMotionSensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in unregisterLocked()
/frameworks/base/boot/
Dboot-image-profile.txt8305 HSPLandroid/hardware/Sensor;->getReportingMode()I
/frameworks/base/core/api/
Dcurrent.txt17505 method public int getReportingMode();
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt12374 method public int getReportingMode();
/frameworks/base/config/
Dboot-image-profile.txt8300 HSPLandroid/hardware/Sensor;->getReportingMode()I