Home
last modified time | relevance | path

Searched refs:isWakeUpSensor (Results 1 – 19 of 19) 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.java77 when(mockNonWakeupProx.isWakeUpSensor()).thenReturn(false); in testRegistersWakeUpProxSensor_givenWakeUpExistsAfterNonWakeup()
81 when(mockWakeupProx.isWakeUpSensor()).thenReturn(true); in testRegistersWakeUpProxSensor_givenWakeUpExistsAfterNonWakeup()
103 when(mockNonWakeupProx.isWakeUpSensor()).thenReturn(false); in testRegistersWakeUpProxSensor_givenNonWakeUpExistsAfterWakeup()
107 when(mockWakeupProx.isWakeUpSensor()).thenReturn(true); in testRegistersWakeUpProxSensor_givenNonWakeUpExistsAfterWakeup()
129 when(mockNonWakeupProx.isWakeUpSensor()).thenReturn(false); in testRegistersNonWakeUpProxSensor_givenNonWakeUpOnly()
/frameworks/native/libs/sensor/include/sensor/
DSensor.h91 bool isWakeUpSensor() const;
/frameworks/native/services/sensorservice/
DSensorList.cpp195 if (s.isWakeUpSensor()) { in dump()
272 proto->write(IS_WAKEUP, s.isWakeUpSensor()); in dump()
DSensorEventConnection.cpp249 if (si != nullptr && si->getSensor().isWakeUpSensor()) { in updateLooperRegistrationLocked()
570 bool wakeUpSensor = si->getSensor().isWakeUpSensor(); in sendPendingFlushEventsLocked()
923 if (sensor.isWakeUpSensor()) { in computeMaxCacheSizeLocked()
930 if (sensor.isWakeUpSensor()) { in computeMaxCacheSizeLocked()
DSensorService.h417 bool isWakeUpSensor(int type) const;
DSensorService.cpp1435 return sensor != nullptr && sensor->getSensor().isWakeUpSensor(); in isWakeUpSensorEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/
DThresholdSensorImpl.java348 if (!requireWakeUp || sensor.isWakeUpSensor()) { in findSensorByType()
/frameworks/base/core/java/android/hardware/
DSensor.java1239 public boolean isWakeUpSensor() { in isWakeUpSensor() method in Sensor
DSensorManager.java541 if (sensor.isWakeUpSensor() == wakeUpSensor) return sensor; in getDefaultSensor()
575 if (sensor.isWakeUpSensor() == wakeUp) { in getDefaultSensor()
/frameworks/base/native/android/
Dsensor.cpp352 return static_cast<Sensor const*>(sensor)->isWakeUpSensor(); in ASensor_isWakeUpSensor()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowOrientationListener.java136 if (s.isWakeUpSensor()) { in WindowOrientationListener()
344 return mSensor.getType() == Sensor.TYPE_DEVICE_ORIENTATION && mSensor.isWakeUpSensor(); in shouldStayEnabledWhileDreaming()
/frameworks/native/libs/sensor/
DSensorManager.cpp350 mSensorList[i]->isWakeUpSensor() == wakeUpSensor) { in assertStateLocked()
DSensor.cpp451 bool Sensor::isWakeUpSensor() const { in isWakeUpSensor() function in android::Sensor
/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.txt7959 HSPLandroid/hardware/Sensor;->isWakeUpSensor()Z
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt12380 method public boolean isWakeUpSensor();
/frameworks/base/config/
Dboot-image-profile.txt7962 HSPLandroid/hardware/Sensor;->isWakeUpSensor()Z
/frameworks/base/core/api/
Dcurrent.txt18606 method public boolean isWakeUpSensor();