Home
last modified time | relevance | path

Searched refs:SENSOR_SERVICE (Results 1 – 23 of 23) sorted by relevance

/frameworks/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/interaction/
DHingeController.kt20 import android.content.Context.SENSOR_SERVICE
70 context.getSystemService(SENSOR_SERVICE) as SensorManager
DGyro2dController.kt97 context.getSystemService(Context.SENSOR_SERVICE) as SensorManager
/frameworks/base/services/core/java/com/android/server/
DGestureLauncherService.java320 Context.SENSOR_SERVICE); in unregisterCameraLaunchGesture()
335 Context.SENSOR_SERVICE); in registerCameraLaunchGesture()
371 Context.SENSOR_SERVICE); in unregisterCameraLiftTrigger()
384 Context.SENSOR_SERVICE); in registerCameraLiftTrigger()
816 Context.SENSOR_SERVICE); in onTrigger()
DSensorNotificationService.java72 mSensorManager = (SensorManager) mContext.getSystemService(Context.SENSOR_SERVICE); in onBootPhase()
/frameworks/base/services/core/java/com/android/server/policy/
DWakeGestureListener.java43 mSensorManager = (SensorManager)context.getSystemService(Context.SENSOR_SERVICE); in WakeGestureListener()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DMotionSensor.java55 .getSystemService(Context.SENSOR_SERVICE); in onPrepare()
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
DBalls.java77 mSensorManager = (SensorManager) getSystemService(SENSOR_SERVICE); in onCreate()
/frameworks/base/core/java/android/view/
DOrientationEventListener.java69 mSensorManager = (SensorManager)context.getSystemService(Context.SENSOR_SERVICE); in OrientationEventListener()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DMotionSensorWTime.java61 .getSystemService(Context.SENSOR_SERVICE); in onPrepare()
/frameworks/base/services/tests/servicestests/src/com/android/server/policy/
DDeviceStateProviderImplTest.java20 import static android.content.Context.SENSOR_SERVICE;
92 when(mContext.getSystemServiceName(eq(SensorManager.class))).thenReturn(SENSOR_SERVICE); in setup()
93 when(mContext.getSystemService(eq(SENSOR_SERVICE))).thenReturn(mSensorManager); in setup()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowOrientationListenerTest.java69 doReturn(mMockSensorManager).when(mMockContext).getSystemService(Context.SENSOR_SERVICE); in setUp()
/frameworks/base/tests/Input/src/com/android/server/input/
DAmbientKeyboardBacklightControllerTests.kt144 `when`(context.getSystemService(eq(Context.SENSOR_SERVICE))).thenReturn(sensorManager) in <lambda>()
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
DGL2CameraEye.java78 mSensorManager = (SensorManager)context.getSystemService(Context.SENSOR_SERVICE); in CamGLSurfaceView()
/frameworks/base/core/java/android/hardware/
DSensorManager.java93 @SystemService(Context.SENSOR_SERVICE)
/frameworks/base/services/core/java/com/android/server/wm/
DWindowOrientationListener.java124 mSensorManager = (SensorManager) context.getSystemService(Context.SENSOR_SERVICE); in WindowOrientationListener()
/frameworks/base/core/java/android/content/
DContext.java4156 SENSOR_SERVICE,
4705 public static final String SENSOR_SERVICE = "sensor"; field in Context
/frameworks/base/services/core/java/com/android/server/audio/
DSpatializerHelper.java1510 mAudioService.mContext.getSystemService(Context.SENSOR_SERVICE); in onInitSensors()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayRotationTests.java1573 when(mMockContext.getSystemService(Context.SENSOR_SERVICE)) in build()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeContext.java725 case SENSOR_SERVICE: in getSystemService()
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java687 registerService(Context.SENSOR_SERVICE, SensorManager.class, in registerService() argument
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt7272 field public static final java.lang.String SENSOR_SERVICE = "sensor";
/frameworks/base/core/api/
Dcurrent.txt10774 field public static final String SENSOR_SERVICE = "sensor";