/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/ |
D | FakeSensorManager.java | 64 .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/ |
D | ASensorManager.cpp | 121 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()
|
D | ASensorManager.h | 38 ASensorRef getDefaultSensor(int type);
|
/frameworks/native/services/sensorservice/hidl/ |
D | SensorManager.cpp | 83 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/ |
D | AmbientSensorTest.java | 81 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/ |
D | SensorManager.h | 61 Sensor const* getDefaultSensor(int type);
|
/frameworks/native/services/sensorservice/hidl/include/sensorservicehidl/ |
D | SensorManager.h | 51 Return<void> getDefaultSensor(SensorType type, getDefaultSensor_cb _hidl_cb) override;
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | WakeGestureListener.java | 46 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_WAKE_GESTURE); in WakeGestureListener()
|
D | DisplayFoldController.java | 163 final Sensor proxSensor = sensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY); in createWithProxSensor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardLiftController.kt | 36 private val pickupSensor = asyncSensorManager.getDefaultSensor(Sensor.TYPE_PICK_UP_GESTURE)
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | MotionSensor.java | 56 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LINEAR_ACCELERATION); in onPrepare()
|
/frameworks/native/services/sensorservice/tests/ |
D | sensorservicetest.cpp | 74 Sensor const* accelerometer = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER); in main()
|
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/ |
D | Balls.java | 88 mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER), in onResume()
|
/frameworks/base/core/java/android/view/ |
D | OrientationEventListener.java | 71 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in OrientationEventListener()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | MotionSensorWTime.java | 62 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LINEAR_ACCELERATION); in onPrepare()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeSensors.java | 98 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/ |
D | README | 29 manager->getDefaultSensor(SensorType::GYROSCOPE, 110 manager->getDefaultSensor(SensorType::GYROSCOPE,
|
D | ISensorManager.hal | 50 getDefaultSensor(SensorType type)
|
/frameworks/base/core/java/android/hardware/ |
D | LegacySensorManager.java | 114 Sensor sensor = mSensorManager.getDefaultSensor(type); in registerLegacyListener() 166 Sensor sensor = mSensorManager.getDefaultSensor(type); in unregisterLegacyListener()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | ProximitySensor.java | 67 sensor = sensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY); in ProximitySensor()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SensorNotificationService.java | 75 mMetaSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_DYNAMIC_SENSOR_META); in onBootPhase()
|
D | GestureLauncherService.java | 237 mCameraLaunchSensor = sensorManager.getDefaultSensor( in registerCameraLaunchGesture() 286 mCameraLiftTriggerSensor = sensorManager.getDefaultSensor( in registerCameraLiftTrigger()
|
/frameworks/base/services/core/java/com/android/server/display/whitebalance/ |
D | AmbientSensor.java | 251 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LIGHT); in AmbientBrightnessSensor()
|
/frameworks/native/libs/sensor/ |
D | SensorManager.cpp | 200 Sensor const* SensorManager::getDefaultSensor(int type) in getDefaultSensor() function in android::SensorManager
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | WirelessChargerDetector.java | 149 mGravitySensor = sensorManager.getDefaultSensor(Sensor.TYPE_GRAVITY); in WirelessChargerDetector()
|