/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessTrackerTest.java | 251 mInjector.mSensorListener.onSensorChanged(createSensorEvent(1.0f)); in testBrightnessEvent() 284 mInjector.mSensorListener.onSensorChanged(createSensorEvent(1000.0f)); in testBrightnessFullPopulatedEvent() 315 mInjector.mSensorListener.onSensorChanged(createSensorEvent(1.0f)); in testIgnoreAutomaticBrightnessChange() 349 mInjector.mSensorListener.onSensorChanged(createSensorEvent(1.0f)); in testLimitedBufferSize() 352 mInjector.mSensorListener.onSensorChanged(createSensorEvent(1.0f)); in testLimitedBufferSize() 375 mInjector.mSensorListener.onSensorChanged(createSensorEvent(i + 1.0f)); in testLimitedSensorEvents() 531 mInjector.mSensorListener.onSensorChanged(createSensorEvent(2000.0f)); in testWriteThenRead() 534 mInjector.mSensorListener.onSensorChanged(createSensorEvent(3000.0f)); in testWriteThenRead() 576 mInjector.mSensorListener.onSensorChanged(createSensorEvent(1000.0f)); in testWritePrunesOldEvents() 578 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/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 | SensorListener.java | 90 public void onSensorChanged(int sensor, float[] values); in onSensorChanged() method
|
D | SensorEventListener.java | 43 public void onSensorChanged(SensorEvent event); in onSensorChanged() method
|
D | SensorEventCallback.java | 30 public void onSensorChanged(SensorEvent event) {} in onSensorChanged() method in SensorEventCallback
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/whitebalance/ |
D | AmbientSensorTest.java | 99 listener.onSensorChanged(createSensorEvent(mLightSensor, 100)); in testAmbientBrightnessSensorCallback_NoCallbacks() 125 listener.onSensorChanged(createSensorEvent(mLightSensor, luxValue)); in testAmbientBrightnessSensorCallback_CallbacksCalled() 158 listener.onSensorChanged(createSensorEvent(mAmbientColorSensor, colorTempValue)); in testAmbientColorTemperatureSensorCallback_CallbacksCalled()
|
/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/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/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/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/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) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeScreenBrightness.java | 135 public void onSensorChanged(SensorEvent event) { in onSensorChanged() method in DozeScreenBrightness
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/ |
D | BrightLineFalsingManager.java | 56 public synchronized void onSensorChanged(SensorEvent event) {
|