/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
D | WindowOrientationListenerTest.java | 84 mWindowOrientationListener.mOrientationJudge.onSensorChanged(mFakeSensorEvent); in testOnSensorChanged_rotationResolverDisabled_useSensorResult() 91 mWindowOrientationListener.mOrientationJudge.onSensorChanged(mFakeSensorEvent); in testOnSensorChanged_callbackNotTheLatest_IgnoreResult() 95 mWindowOrientationListener.mOrientationJudge.onSensorChanged(mFakeSensorEvent); in testOnSensorChanged_callbackNotTheLatest_IgnoreResult() 109 mWindowOrientationListener.mOrientationJudge.onSensorChanged(mFakeSensorEvent); in testOnSensorChanged_normalCase1() 118 mWindowOrientationListener.mOrientationJudge.onSensorChanged(mFakeSensorEvent); in testSensorChanged_normalCase2() 164 mWindowOrientationListener.mOrientationJudge.onSensorChanged(mFakeSensorEvent); in testOnSensorChanged_inLockScreen_doNotCallRotationResolver()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/ |
D | FaceDownDetectorTest.java | 98 mFaceDownDetector.onSensorChanged(createTestEvent(0.5f, 0.0f, 10.0f)); in faceDownFor2Seconds_withMotion_DoesNotTriggerFaceDown() 103 mFaceDownDetector.onSensorChanged(createTestEvent(0.5f * i, 0.0f, -10.0f)); in faceDownFor2Seconds_withMotion_DoesNotTriggerFaceDown() 115 mFaceDownDetector.onSensorChanged(createTestEvent(0.5f, 0.0f, 10.0f)); in faceDownForHalfSecond_DoesNotTriggerFaceDown() 119 mFaceDownDetector.onSensorChanged(createTestEvent(0.5f, 0.0f, -10.0f)); in faceDownForHalfSecond_DoesNotTriggerFaceDown() 222 mFaceDownDetector.onSensorChanged(createTestEvent(0.5f, 1.0f, 0.0f)); in triggerUnflip() 229 mFaceDownDetector.onSensorChanged(createTestEvent(0.5f, 0.0f, 10.0f)); in triggerFaceDown() 233 mFaceDownDetector.onSensorChanged(createTestEvent(0.5f, 0.0f, -10.0f)); in triggerFaceDown()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | AutomaticBrightnessControllerTest.java | 152 listener.onSensorChanged(TestUtils.createSensorEvent(lightSensor, (int) lux1)); in testNoHysteresisAtMinBrightness() 166 listener.onSensorChanged(TestUtils.createSensorEvent(lightSensor, (int) lux2)); in testNoHysteresisAtMinBrightness() 198 listener.onSensorChanged(TestUtils.createSensorEvent(lightSensor, (int) lux1)); in testNoHysteresisAtMaxBrightness() 213 listener.onSensorChanged(TestUtils.createSensorEvent(lightSensor, (int) lux2)); in testNoHysteresisAtMaxBrightness() 229 listener.onSensorChanged(TestUtils.createSensorEvent(lightSensor, 1000)); in testUserAddUserDataPoint()
|
D | BrightnessTrackerTest.java | 293 mInjector.mSensorListener.onSensorChanged(createSensorEvent(1.0f)); in testBrightnessEvent() 331 mInjector.mSensorListener.onSensorChanged(createSensorEvent(1000.0f)); in testBrightnessFullPopulatedEvent() 366 mInjector.mSensorListener.onSensorChanged(createSensorEvent(1.0f)); in testIgnoreAutomaticBrightnessChange() 400 mInjector.mSensorListener.onSensorChanged(createSensorEvent(1.0f)); in testLimitedBufferSize() 403 mInjector.mSensorListener.onSensorChanged(createSensorEvent(1.0f)); in testLimitedBufferSize() 426 mInjector.mSensorListener.onSensorChanged(createSensorEvent(i + 1.0f)); in testLimitedSensorEvents() 599 mInjector.mSensorListener.onSensorChanged(createSensorEvent(2000.0f)); in testWriteThenRead() 602 mInjector.mSensorListener.onSensorChanged(createSensorEvent(3000.0f)); in testWriteThenRead() 651 mInjector.mSensorListener.onSensorChanged(createSensorEvent(1000.0f)); in testWritePrunesOldEvents() 653 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/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 | 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 | 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 | SensorEventCallback.java | 30 public void onSensorChanged(SensorEvent event) {} in onSensorChanged() method in SensorEventCallback
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | Classifier.java | 80 public void onSensorChanged(SensorEvent event) { in onSensorChanged() method in Classifier
|
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/ |
D | DeviceStateProviderImplTest.java | 279 provider.onSensorChanged(event0); in create_sensor() 291 provider.onSensorChanged(event1); in create_sensor() 303 provider.onSensorChanged(event2); in create_sensor()
|
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/ |
D | SensorManagerPlugin.java | 51 void onSensorChanged(SensorEvent event); in onSensorChanged() method
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeSensorsTest.java | 118 mWakeLockScreenListener.onSensorChanged(mock(SensorManagerPlugin.SensorEvent.class)); in testSensorDebounce() 125 mWakeLockScreenListener.onSensorChanged(mock(SensorManagerPlugin.SensorEvent.class)); in testSensorDebounce()
|
/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/packages/SystemUI/tests/src/com/android/systemui/util/sensors/ |
D | AsyncSensorManagerTest.java | 69 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/tests/wmtests/src/com/android/server/wm/ |
D | DisplayRotationTests.java | 474 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_90)); in testReturnsSensorRotation_RotationThawed() 495 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_90)); in testUpdatesRotationWhenSensorUpdates_RotationThawed() 510 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_90)); in testNotifiesChoiceWhenSensorUpdates_RotationLocked() 525 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_180)); in testReturnsCompatibleRotation_SensorEnabled_RotationThawed() 543 mOrientationSensorListener.onSensorChanged(createSensorEvent(Surface.ROTATION_180)); in testReturnsUserRotation_SensorEnabled_RotationLocked()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SensorNotificationService.java | 106 public void onSensorChanged(SensorEvent event) { in onSensorChanged() method in SensorNotificationService
|
/frameworks/base/services/core/java/com/android/server/display/whitebalance/ |
D | AmbientSensor.java | 208 public void onSensorChanged(SensorEvent event) {
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowOrientationListener.java | 402 public abstract void onSensorChanged(SensorEvent event); in onSensorChanged() method in WindowOrientationListener.OrientationJudge 680 public void onSensorChanged(SensorEvent event) { in onSensorChanged() method in WindowOrientationListener.AccelSensorJudge 1141 public void onSensorChanged(SensorEvent event) { in onSensorChanged() method in WindowOrientationListener.OrientationSensorJudge
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeScreenBrightness.java | 137 public void onSensorChanged(SensorEvent event) { in onSensorChanged() method in DozeScreenBrightness
|
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/materials/ |
D | GlassView.kt | 67 override fun onSensorChanged(event: SensorEvent?) { in onSensorChanged() method
|