Home
last modified time | relevance | path

Searched refs:hasSensor (Results 1 – 11 of 11) sorted by relevance

/frameworks/native/include/input/
DInputDevice.h335 inline void setHasSensor(bool hasSensor) { mHasSensor = hasSensor; } in setHasSensor() argument
336 inline bool hasSensor() const { return mHasSensor; } in hasSensor() function
/frameworks/base/core/java/android/view/
DInputDevice.java505 boolean hasButtonUnderPad, boolean hasSensor, boolean hasBattery, int usiVersionMajor, in InputDevice() argument
532 mHasSensor = hasSensor; in InputDevice()
703 public Builder setHasSensor(boolean hasSensor) { in setHasSensor() argument
704 mHasSensor = hasSensor; in setHasSensor()
1383 public boolean hasSensor() { in hasSensor() method in InputDevice
/frameworks/native/services/sensorservice/
DSensorEventConnection.h59 bool hasSensor(int32_t handle) const;
DSensorEventConnection.cpp191 bool SensorService::SensorEventConnection::hasSensor(int32_t handle) const { in hasSensor() function in android::SensorService::SensorEventConnection
DSensorService.cpp1049 if (connection->hasSensor(handle)) { in cleanupAutoDisabledSensorLocked()
1878 if (c->hasSensor(handle)) { in cleanupConnection()
/frameworks/base/core/jni/
Dandroid_view_InputDevice.cpp90 deviceInfo.hasButtonUnderPad(), deviceInfo.hasSensor(), in android_view_InputDevice_create()
/frameworks/base/core/java/android/hardware/input/
DInputDeviceSensorManager.java98 if (inputDevice != null && inputDevice.hasSensor()) { in updateInputDeviceSensorInfoLocked()
451 if (!inputDevice.hasSensor()) { in registerListenerInternal()
/frameworks/base/tests/Input/src/android/hardware/input/
DInputDeviceSensorManagerTest.java164 if (device.hasSensor()) { in getSensorDevice()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DAnyMotionDetector.java157 public boolean hasSensor() { in hasSensor() method in AnyMotionDetector
DDeviceIdleController.java3904 if (mUseMotionSensor && mAnyMotionDetector.hasSensor()) { in stepIdleStateLocked()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java268 public boolean hasSensor() { in hasSensor() method in DeviceIdleControllerTest.AnyMotionDetectorForTest