Home
last modified time | relevance | path

Searched refs:onSensorChanged (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DAutomaticBrightnessControllerTest.java128 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()
DBrightnessTrackerTest.java258 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/
DOrientationEventListener.java118 public void onSensorChanged(SensorEvent event) { in onSensorChanged() method in OrientationEventListener.SensorEventListenerImpl
139 mOldListener.onSensorChanged(Sensor.TYPE_ACCELEROMETER, event.values); in onSensorChanged()
DOrientationListener.java96 public void onSensorChanged(int sensor, float[] values) { in onSensorChanged() method in OrientationListener
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DHumanInteractionClassifier.java209 public void onSensorChanged(SensorEvent event) { in onSensorChanged() method in HumanInteractionClassifier
211 c.onSensorChanged(event); in onSensorChanged()
215 c.onSensorChanged(event); in onSensorChanged()
DClassifier.java70 public void onSensorChanged(SensorEvent event) { in onSensorChanged() method in Classifier
DProximityClassifier.java43 public void onSensorChanged(SensorEvent event) { in onSensorChanged() method in ProximityClassifier
DFalsingManagerImpl.java97 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/
DAmbientSensorTest.java95 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/
DLegacySensorManager.java258 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()
DSensorEventListener.java43 public void onSensorChanged(SensorEvent event); in onSensorChanged() method
DSensorListener.java90 public void onSensorChanged(int sensor, float[] values); in onSensorChanged() method
DSensorEventCallback.java30 public void onSensorChanged(SensorEvent event) {} in onSensorChanged() method in SensorEventCallback
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeSensorsTest.java102 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/
DSensorManagerPlugin.java51 void onSensorChanged(SensorEvent event); in onSensorChanged() method
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DMotionSensor.java73 public final void onSensorChanged(SensorEvent event) { in onSensorChanged() method in MotionSensor
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java425 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/
DBalls.java59 public void onSensorChanged(SensorEvent event) { in onSensorChanged() method in Balls
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DAsyncSensorManagerTest.java68 verify(mListener).onSensorChanged(any()); in registerListenerImpl()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DMotionSensorWTime.java79 public final void onSensorChanged(SensorEvent event) { in onSensorChanged() method in MotionSensorWTime
/frameworks/base/services/core/java/com/android/server/policy/
DWindowOrientationListener.java348 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
DDisplayFoldController.java171 public void onSensorChanged(SensorEvent event) { in createWithProxSensor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DProximitySensor.java48 public synchronized void onSensorChanged(SensorEvent event) {
/frameworks/base/services/core/java/com/android/server/
DSensorNotificationService.java108 public void onSensorChanged(SensorEvent event) { in onSensorChanged() method in SensorNotificationService
/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DAmbientSensor.java207 public void onSensorChanged(SensorEvent event) {

12