Home
last modified time | relevance | path

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

/frameworks/native/libs/sensor/tests/
DSensor_test.cpp52 a.getReportingMode() == b.getReportingMode(); in sensorsMatch()
/frameworks/native/libs/sensor/include/sensor/
DSensor.h97 int32_t getReportingMode() const;
/frameworks/native/services/sensorservice/
DSensorList.cpp162 const int reportingMode = s.getReportingMode(); in dump()
252 switch (s.getReportingMode()) { in dump()
DSensorService.cpp1054 si->getSensor().getReportingMode() == AREPORTING_MODE_ONE_SHOT) { in cleanupAutoDisabledSensorLocked()
2054 if (sensor->getSensor().getReportingMode() == AREPORTING_MODE_ON_CHANGE) { in enable()
2065 if (sensor->getSensor().getReportingMode() == AREPORTING_MODE_ON_CHANGE) { in enable()
2128 sensor->getSensor().getReportingMode() == AREPORTING_MODE_CONTINUOUS && in enable()
2249 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/base/core/java/android/hardware/
DSystemSensorManager.java256 if (sensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in registerListenerImpl()
299 if (sensor != null && sensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in unregisterListenerImpl()
327 if (sensor.getReportingMode() != Sensor.REPORTING_MODE_ONE_SHOT) return false; in requestTriggerSensorImpl()
359 if (sensor != null && sensor.getReportingMode() != Sensor.REPORTING_MODE_ONE_SHOT) { in cancelTriggerSensorImpl()
472 if (sensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in cleanupSensorConnection()
DSensor.java951 public int getReportingMode() { in getReportingMode() method in Sensor
/frameworks/base/native/android/
Dsensor.cpp347 return static_cast<Sensor const*>(sensor)->getReportingMode(); in ASensor_getReportingMode()
/frameworks/native/libs/sensor/
DSensor.cpp482 int32_t Sensor::getReportingMode() const { in getReportingMode() function in android::Sensor
/frameworks/base/core/java/android/hardware/input/
DInputDeviceSensorManager.java432 if (sensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in registerListenerInternal()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java2197 doReturn(Sensor.REPORTING_MODE_ONE_SHOT).when(mMotionSensor).getReportingMode(); in testStationaryDetection_QuickDozeOn_NoMotion()
2277 doReturn(Sensor.REPORTING_MODE_ONE_SHOT).when(mMotionSensor).getReportingMode(); in testStationaryDetection_QuickDozeOn_OneShot()
2322 doReturn(Sensor.REPORTING_MODE_CONTINUOUS).when(mMotionSensor).getReportingMode(); in testStationaryDetection_QuickDozeOn_MultiShot()
2370 doReturn(Sensor.REPORTING_MODE_CONTINUOUS).when(mMotionSensor).getReportingMode(); in testStationaryDetection_NoDoze_AfterMotion()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java957 if (mMotionSensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in registerLocked()
973 if (mMotionSensor.getReportingMode() == Sensor.REPORTING_MODE_ONE_SHOT) { in unregisterLocked()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt7955 HSPLandroid/hardware/Sensor;->getReportingMode()I
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt12374 method public int getReportingMode();
/frameworks/base/config/
Dboot-image-profile.txt7958 HSPLandroid/hardware/Sensor;->getReportingMode()I
/frameworks/base/core/api/
Dcurrent.txt18597 method public int getReportingMode();