/frameworks/native/include/gui/ |
D | SensorManager.h | 59 Sensor const* getDefaultSensor(int type);
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | WakeGestureListener.java | 46 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_WAKE_GESTURE); in WakeGestureListener()
|
D | WindowOrientationListener.java | 90 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_DEVICE_ORIENTATION); in WindowOrientationListener() 97 mSensor = mSensorManager.getDefaultSensor(USE_GRAVITY_SENSOR in WindowOrientationListener()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SensorNotificationService.java | 55 mMetaSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_DYNAMIC_SENSOR_META); in onBootPhase()
|
D | GestureLauncherService.java | 196 mCameraLaunchSensor = sensorManager.getDefaultSensor( in registerCameraLaunchGesture()
|
D | AnyMotionDetector.java | 116 mAccelSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in AnyMotionDetector()
|
D | DeviceIdleController.java | 1371 mMotionSensor = mSensorManager.getDefaultSensor(sigMotionSensorId, true); in onBootPhase() 1375 mMotionSensor = mSensorManager.getDefaultSensor( in onBootPhase() 1380 mMotionSensor = mSensorManager.getDefaultSensor( in onBootPhase()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | MotionSensor.java | 56 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LINEAR_ACCELERATION); in onPrepare()
|
/frameworks/base/docs/html/guide/topics/sensors/ |
D | sensors_position.jd | 206 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GAME_ROTATION_VECTOR); 227 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GEOMAGNETIC_ROTATION_VECTOR); 242 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ORIENTATION); 295 mOrientation = mSensorManager.getDefaultSensor(Sensor.TYPE_ORIENTATION); 343 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD); 381 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD_UNCALIBRATED); 393 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY); 414 mProximity = mSensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY);
|
D | sensors_motion.jd | 240 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); 330 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GRAVITY); 349 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE); 445 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_GYROSCOPE_UNCALIBRATED); 459 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LINEAR_ACCELERATION); 493 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ROTATION_VECTOR); 548 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_SIGNIFICANT_MOTION); 575 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_STEP_COUNTER); 590 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_STEP_DETECTOR);
|
D | sensors_overview.jd | 421 android.hardware.SensorManager#getDefaultSensor getDefaultSensor()} method and passing in the type 430 if (mSensorManager.getDefaultSensor(Sensor.TYPE_MAGNETIC_FIELD) != null){ 470 if (mSensorManager.getDefaultSensor(Sensor.TYPE_GRAVITY) != null){ 482 if (mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER) != null){ 483 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); 562 mLight = mSensorManager.getDefaultSensor(Sensor.TYPE_LIGHT); 655 if (mSensorManager.getDefaultSensor(Sensor.TYPE_PRESSURE) != null){
|
D | sensors_environment.jd | 120 mPressure = mSensorManager.getDefaultSensor(Sensor.TYPE_PRESSURE);
|
/frameworks/native/services/sensorservice/tests/ |
D | sensorservicetest.cpp | 74 Sensor const* accelerometer = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER); in main()
|
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
D | Balls.java | 88 mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER), in onResume()
|
/frameworks/base/core/java/android/view/ |
D | OrientationEventListener.java | 71 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in OrientationEventListener()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/ |
D | MotionSensorWTime.java | 62 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LINEAR_ACCELERATION); in onPrepare()
|
/frameworks/base/core/java/android/hardware/ |
D | LegacySensorManager.java | 113 Sensor sensor = mSensorManager.getDefaultSensor(type); in registerLegacyListener() 165 Sensor sensor = mSensorManager.getDefaultSensor(type); in unregisterLegacyListener()
|
D | SensorManager.java | 485 public Sensor getDefaultSensor(int type) { in getDefaultSensor() method in SensorManager 531 public Sensor getDefaultSensor(int type, boolean wakeUp) { in getDefaultSensor() method in SensorManager
|
/frameworks/base/native/android/ |
D | sensor.cpp | 68 return static_cast<SensorManager*>(manager)->getDefaultSensor(type); in ASensorManager_getDefaultSensor()
|
/frameworks/native/libs/gui/ |
D | SensorManager.cpp | 187 Sensor const* SensorManager::getDefaultSensor(int type) in getDefaultSensor() function in android::SensorManager
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | WirelessChargerDetector.java | 149 mGravitySensor = sensorManager.getDefaultSensor(Sensor.TYPE_GRAVITY); in WirelessChargerDetector()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeService.java | 496 mSensor = mSensors.getDefaultSensor(type); in TriggerSensor() 592 final Sensor sensor = mSensors.getDefaultSensor(Sensor.TYPE_PROXIMITY);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
D | FalsingManager.java | 152 Sensor s = mSensorManager.getDefaultSensor(sensorType); in registerSensors()
|
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/ |
D | GL2CameraEye.java | 79 mAcceleration = mSensorManager.getDefaultSensor(Sensor.TYPE_LINEAR_ACCELERATION); in CamGLSurfaceView()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | AutomaticBrightnessController.java | 216 mLightSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LIGHT); in AutomaticBrightnessController()
|