Home
last modified time | relevance | path

Searched refs:REPORTING_MODE_ONE_SHOT (Results 1 – 7 of 7) sorted by relevance

/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.java735 public static final int REPORTING_MODE_ONE_SHOT = 2; field in 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()
/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.txt12382 field public static final int REPORTING_MODE_ONE_SHOT = 2; // 0x2
/frameworks/base/non-updatable-api/
Dcurrent.txt16358 field public static final int REPORTING_MODE_ONE_SHOT = 2; // 0x2
/frameworks/base/api/
Dcurrent.txt16358 field public static final int REPORTING_MODE_ONE_SHOT = 2; // 0x2