/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | AutomaticBrightnessControllerTest.java | 128 listener.onSensorChanged(TestUtils.createSensorEvent(lightSensor, (int) lux1)); in testNoHysteresisAtMinBrightness() 143 listener.onSensorChanged(TestUtils.createSensorEvent(lightSensor, (int) lux2)); in testNoHysteresisAtMinBrightness() 174 listener.onSensorChanged(TestUtils.createSensorEvent(lightSensor, (int) lux1)); in testNoHysteresisAtMaxBrightness() 189 listener.onSensorChanged(TestUtils.createSensorEvent(lightSensor, (int) lux2)); in testNoHysteresisAtMaxBrightness()
|
D | BrightnessTrackerTest.java | 258 mInjector.mSensorListener.onSensorChanged(createSensorEvent(1.0f)); in testBrightnessEvent() 291 mInjector.mSensorListener.onSensorChanged(createSensorEvent(1000.0f)); in testBrightnessFullPopulatedEvent() 325 mInjector.mSensorListener.onSensorChanged(createSensorEvent(1.0f)); in testIgnoreAutomaticBrightnessChange() 359 mInjector.mSensorListener.onSensorChanged(createSensorEvent(1.0f)); in testLimitedBufferSize() 362 mInjector.mSensorListener.onSensorChanged(createSensorEvent(1.0f)); in testLimitedBufferSize() 385 mInjector.mSensorListener.onSensorChanged(createSensorEvent(i + 1.0f)); in testLimitedSensorEvents() 541 mInjector.mSensorListener.onSensorChanged(createSensorEvent(2000.0f)); in testWriteThenRead() 544 mInjector.mSensorListener.onSensorChanged(createSensorEvent(3000.0f)); in testWriteThenRead() 589 mInjector.mSensorListener.onSensorChanged(createSensorEvent(1000.0f)); in testWritePrunesOldEvents() 591 mInjector.mSensorListener.onSensorChanged(createSensorEvent(2000.0f)); in testWritePrunesOldEvents() [all …]
|
/frameworks/base/core/java/android/view/ |
D | OrientationEventListener.java | 118 public void onSensorChanged(SensorEvent event) { in onSensorChanged() method in OrientationEventListener.SensorEventListenerImpl 139 mOldListener.onSensorChanged(Sensor.TYPE_ACCELEROMETER, event.values); in onSensorChanged()
|
D | OrientationListener.java | 96 public void onSensorChanged(int sensor, float[] values) { in onSensorChanged() method in OrientationListener
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | HumanInteractionClassifier.java | 209 public void onSensorChanged(SensorEvent event) { in onSensorChanged() method in HumanInteractionClassifier 211 c.onSensorChanged(event); in onSensorChanged() 215 c.onSensorChanged(event); in onSensorChanged()
|
D | Classifier.java | 70 public void onSensorChanged(SensorEvent event) { in onSensorChanged() method in Classifier
|
D | ProximityClassifier.java | 43 public void onSensorChanged(SensorEvent event) { in onSensorChanged() method in ProximityClassifier
|
D | FalsingManagerImpl.java | 97 public synchronized void onSensorChanged(SensorEvent event) { 98 mDataCollector.onSensorChanged(event); 99 mHumanInteractionClassifier.onSensorChanged(event);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/whitebalance/ |
D | AmbientSensorTest.java | 95 listener.onSensorChanged(TestUtils.createSensorEvent(mLightSensor, 100)); in testAmbientBrightnessSensorCallback_NoCallbacks() 121 listener.onSensorChanged(TestUtils.createSensorEvent(mLightSensor, luxValue)); in testAmbientBrightnessSensorCallback_CallbacksCalled() 154 listener.onSensorChanged(TestUtils.createSensorEvent(mAmbientColorSensor, colorTempValue)); in testAmbientColorTemperatureSensorCallback_CallbacksCalled()
|
/frameworks/base/core/java/android/hardware/ |
D | LegacySensorManager.java | 258 public void onSensorChanged(SensorEvent event) { in onSensorChanged() method in LegacySensorManager.LegacyListener 268 mTarget.onSensorChanged(SensorManager.SENSOR_ORIENTATION_RAW, v); in onSensorChanged() 272 mTarget.onSensorChanged(SensorManager.SENSOR_ORIENTATION, v); in onSensorChanged() 275 mTarget.onSensorChanged(legacyType, v); in onSensorChanged()
|
D | SensorEventListener.java | 43 public void onSensorChanged(SensorEvent event); in onSensorChanged() method
|
D | SensorListener.java | 90 public void onSensorChanged(int sensor, float[] values); in onSensorChanged() method
|
D | SensorEventCallback.java | 30 public void onSensorChanged(SensorEvent event) {} in onSensorChanged() method in SensorEventCallback
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeSensorsTest.java | 102 mWakeLockScreenListener.onSensorChanged(mock(SensorManagerPlugin.SensorEvent.class)); in testSensorDebounce() 109 mWakeLockScreenListener.onSensorChanged(mock(SensorManagerPlugin.SensorEvent.class)); in testSensorDebounce()
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
D | SensorManagerPlugin.java | 51 void onSensorChanged(SensorEvent event); in onSensorChanged() method
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | MotionSensor.java | 73 public final void onSensorChanged(SensorEvent event) { in onSensorChanged() method in MotionSensor
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayRotationTests.java | 425 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_90)); in testReturnsSensorRotation_RotationThawed() 446 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_90)); in testUpdatesRotationWhenSensorUpdates_RotationThawed() 461 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_90)); in testNotifiesChoiceWhenSensorUpdates_RotationLocked() 476 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_180)); in testReturnsCompatibleRotation_SensorEnabled_RotationThawed() 494 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_180)); in testReturnsUserRotation_SensorEnabled_RotationLocked()
|
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/ |
D | Balls.java | 59 public void onSensorChanged(SensorEvent event) { in onSensorChanged() method in Balls
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | AsyncSensorManagerTest.java | 68 verify(mListener).onSensorChanged(any()); in registerListenerImpl()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | MotionSensorWTime.java | 79 public final void onSensorChanged(SensorEvent event) { in onSensorChanged() method in MotionSensorWTime
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | WindowOrientationListener.java | 348 public abstract void onSensorChanged(SensorEvent event); in onSensorChanged() method in WindowOrientationListener.OrientationJudge 626 public void onSensorChanged(SensorEvent event) { in onSensorChanged() method in WindowOrientationListener.AccelSensorJudge 1048 public void onSensorChanged(SensorEvent event) { in onSensorChanged() method in WindowOrientationListener.OrientationSensorJudge
|
D | DisplayFoldController.java | 171 public void onSensorChanged(SensorEvent event) { in createWithProxSensor()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | ProximitySensor.java | 48 public synchronized void onSensorChanged(SensorEvent event) {
|
/frameworks/base/services/core/java/com/android/server/ |
D | SensorNotificationService.java | 108 public void onSensorChanged(SensorEvent event) { in onSensorChanged() method in SensorNotificationService
|
/frameworks/base/services/core/java/com/android/server/display/whitebalance/ |
D | AmbientSensor.java | 207 public void onSensorChanged(SensorEvent event) {
|