Home
last modified time | relevance | path

Searched refs:getDefaultSensor (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/
DFakeSensorManager.java64 .getDefaultSensor(Sensor.TYPE_PROXIMITY); in FakeSensorManager()
90 public Sensor getDefaultSensor(int type) { in getDefaultSensor() method in FakeSensorManager
91 Sensor s = super.getDefaultSensor(type); in getDefaultSensor()
97 return getDefaultSensor(type, false /* wakeup */); in getDefaultSensor()
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorManager.cpp121 ASensorRef ASensorManager::getDefaultSensor(int type) { in getDefaultSensor() function in ASensorManager
126 Return<void> ret = mManager->getDefaultSensor( in getDefaultSensor()
238 return manager->getDefaultSensor(type); in ASensorManager_getDefaultSensor()
DASensorManager.h38 ASensorRef getDefaultSensor(int type);
/frameworks/native/services/sensorservice/hidl/
DSensorManager.cpp83 Return<void> SensorManager::getDefaultSensor(SensorType type, getDefaultSensor_cb _hidl_cb) { in getDefaultSensor() function in android::frameworks::sensorservice::V1_0::implementation::SensorManager
84 ::android::Sensor const* sensor = getInternalManager().getDefaultSensor(static_cast<int>(type)); in getDefaultSensor()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/whitebalance/
DAmbientSensorTest.java81 when(mSensorManagerMock.getDefaultSensor(Sensor.TYPE_LIGHT)).thenReturn(mLightSensor); in testAmbientBrightnessSensorCallback_NoCallbacks()
101 when(mSensorManagerMock.getDefaultSensor(Sensor.TYPE_LIGHT)).thenReturn(mLightSensor); in testAmbientBrightnessSensorCallback_CallbacksCalled()
/frameworks/native/libs/sensor/include/sensor/
DSensorManager.h61 Sensor const* getDefaultSensor(int type);
/frameworks/native/services/sensorservice/hidl/include/sensorservicehidl/
DSensorManager.h51 Return<void> getDefaultSensor(SensorType type, getDefaultSensor_cb _hidl_cb) override;
/frameworks/base/services/core/java/com/android/server/policy/
DWakeGestureListener.java46 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_WAKE_GESTURE); in WakeGestureListener()
DDisplayFoldController.java163 final Sensor proxSensor = sensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY); in createWithProxSensor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardLiftController.kt36 private val pickupSensor = asyncSensorManager.getDefaultSensor(Sensor.TYPE_PICK_UP_GESTURE)
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DMotionSensor.java56 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LINEAR_ACCELERATION); in onPrepare()
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp74 Sensor const* accelerometer = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER); in main()
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
DBalls.java88 mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER), in onResume()
/frameworks/base/core/java/android/view/
DOrientationEventListener.java71 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in OrientationEventListener()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DMotionSensorWTime.java62 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LINEAR_ACCELERATION); in onPrepare()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeSensors.java98 mSensorManager.getDefaultSensor(Sensor.TYPE_SIGNIFICANT_MOTION), in DozeSensors()
104 mSensorManager.getDefaultSensor(Sensor.TYPE_PICK_UP_GESTURE), in DozeSensors()
307 sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY); in ProxSensor()
/frameworks/hardware/interfaces/sensorservice/1.0/
DREADME29 manager->getDefaultSensor(SensorType::GYROSCOPE,
110 manager->getDefaultSensor(SensorType::GYROSCOPE,
DISensorManager.hal50 getDefaultSensor(SensorType type)
/frameworks/base/core/java/android/hardware/
DLegacySensorManager.java114 Sensor sensor = mSensorManager.getDefaultSensor(type); in registerLegacyListener()
166 Sensor sensor = mSensorManager.getDefaultSensor(type); in unregisterLegacyListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DProximitySensor.java67 sensor = sensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY); in ProximitySensor()
/frameworks/base/services/core/java/com/android/server/
DSensorNotificationService.java75 mMetaSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_DYNAMIC_SENSOR_META); in onBootPhase()
DGestureLauncherService.java237 mCameraLaunchSensor = sensorManager.getDefaultSensor( in registerCameraLaunchGesture()
286 mCameraLiftTriggerSensor = sensorManager.getDefaultSensor( in registerCameraLiftTrigger()
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DAmbientSensor.java251 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LIGHT); in AmbientBrightnessSensor()
/frameworks/native/libs/sensor/
DSensorManager.cpp200 Sensor const* SensorManager::getDefaultSensor(int type) in getDefaultSensor() function in android::SensorManager
/frameworks/base/services/core/java/com/android/server/power/
DWirelessChargerDetector.java149 mGravitySensor = sensorManager.getDefaultSensor(Sensor.TYPE_GRAVITY); in WirelessChargerDetector()

12