Home
last modified time | relevance | path

Searched refs:isWakeUpSensor (Results 1 – 18 of 18) sorted by relevance

/frameworks/native/libs/sensor/tests/
DSensor_test.cpp49 a.isWakeUpSensor() == b.isWakeUpSensor () && in sensorsMatch()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/sensors/
DThresholdSensorImplTest.java76 when(mockNonWakeupProx.isWakeUpSensor()).thenReturn(false); in testRegistersWakeUpProxSensor_givenWakeUpExistsAfterNonWakeup()
80 when(mockWakeupProx.isWakeUpSensor()).thenReturn(true); in testRegistersWakeUpProxSensor_givenWakeUpExistsAfterNonWakeup()
102 when(mockNonWakeupProx.isWakeUpSensor()).thenReturn(false); in testRegistersWakeUpProxSensor_givenNonWakeUpExistsAfterWakeup()
106 when(mockWakeupProx.isWakeUpSensor()).thenReturn(true); in testRegistersWakeUpProxSensor_givenNonWakeUpExistsAfterWakeup()
128 when(mockNonWakeupProx.isWakeUpSensor()).thenReturn(false); in testRegistersNonWakeUpProxSensor_givenNonWakeUpOnly()
/frameworks/native/services/sensorservice/
DSensorList.cpp179 if (s.isWakeUpSensor()) { in dump()
256 proto->write(IS_WAKEUP, s.isWakeUpSensor()); in dump()
DSensorEventConnection.cpp249 if (si != nullptr && si->getSensor().isWakeUpSensor()) { in updateLooperRegistrationLocked()
566 bool wakeUpSensor = si->getSensor().isWakeUpSensor(); in sendPendingFlushEventsLocked()
914 if (sensor.isWakeUpSensor()) { in computeMaxCacheSizeLocked()
921 if (sensor.isWakeUpSensor()) { in computeMaxCacheSizeLocked()
DSensorService.h350 bool isWakeUpSensor(int type) const;
DSensorService.cpp1183 return sensor != nullptr && sensor->getSensor().isWakeUpSensor(); in isWakeUpSensorEvent()
/frameworks/native/libs/sensor/include/sensor/
DSensor.h91 bool isWakeUpSensor() const;
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/
DThresholdSensorImpl.java330 if (!requireWakeUp || sensor.isWakeUpSensor()) { in findSensorByType()
/frameworks/base/core/java/android/hardware/
DSensor.java1131 public boolean isWakeUpSensor() { in isWakeUpSensor() method in Sensor
DSensorManager.java515 if (sensor.isWakeUpSensor() == wakeUpSensor) return sensor; in getDefaultSensor()
549 if (sensor.isWakeUpSensor() == wakeUp) { in getDefaultSensor()
/frameworks/native/libs/sensor/
DSensorManager.cpp220 mSensorList[i]->isWakeUpSensor() == wakeUpSensor) { in getDefaultSensor()
DSensor.cpp431 bool Sensor::isWakeUpSensor() const { in isWakeUpSensor() function in android::Sensor
/frameworks/base/native/android/
Dsensor.cpp342 return static_cast<Sensor const*>(sensor)->isWakeUpSensor(); in ASensor_isWakeUpSensor()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowOrientationListener.java130 if (s.isWakeUpSensor()) { in WindowOrientationListener()
338 return mSensor.getType() == Sensor.TYPE_DEVICE_ORIENTATION && mSensor.isWakeUpSensor(); in shouldStayEnabledWhileDreaming()
/frameworks/base/boot/
Dboot-image-profile.txt8309 HSPLandroid/hardware/Sensor;->isWakeUpSensor()Z
/frameworks/base/core/api/
Dcurrent.txt17514 method public boolean isWakeUpSensor();
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt12380 method public boolean isWakeUpSensor();
/frameworks/base/config/
Dboot-image-profile.txt8304 HSPLandroid/hardware/Sensor;->isWakeUpSensor()Z