Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java251 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/
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/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()
DSensorListener.java90 public void onSensorChanged(int sensor, float[] values); in onSensorChanged() method
DSensorEventListener.java43 public void onSensorChanged(SensorEvent event); in onSensorChanged() method
DSensorEventCallback.java30 public void onSensorChanged(SensorEvent event) {} in onSensorChanged() method in SensorEventCallback
/frameworks/base/services/tests/servicestests/src/com/android/server/display/whitebalance/
DAmbientSensorTest.java99 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/
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/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/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/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/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) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeScreenBrightness.java135 public void onSensorChanged(SensorEvent event) { in onSensorChanged() method in DozeScreenBrightness
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DBrightLineFalsingManager.java56 public synchronized void onSensorChanged(SensorEvent event) {

12