/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 | 87 mSensor = mSensorManager.getDefaultSensor(USE_GRAVITY_SENSOR in WindowOrientationListener()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | MotionSensor.java | 56 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LINEAR_ACCELERATION); in onPrepare()
|
/frameworks/native/services/sensorservice/tests/ |
D | sensorservicetest.cpp | 74 Sensor const* accelerometer = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER); in main()
|
/frameworks/native/include/gui/ |
D | SensorManager.h | 108 Sensor const* getDefaultSensor(int type);
|
/frameworks/rs/java/tests/Balls/src/com/example/android/rs/balls/ |
D | Balls.java | 88 mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER), in onResume()
|
/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){ 469 if (mSensorManager.getDefaultSensor(Sensor.TYPE_GRAVITY) != null){ 481 if (mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER) != null){ 482 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); 561 mLight = mSensorManager.getDefaultSensor(Sensor.TYPE_LIGHT); 654 if (mSensorManager.getDefaultSensor(Sensor.TYPE_PRESSURE) != null){
|
D | sensors_environment.jd | 120 mPressure = mSensorManager.getDefaultSensor(Sensor.TYPE_PRESSURE);
|
/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/native/libs/gui/ |
D | SensorManager.cpp | 112 Sensor const* SensorManager::getDefaultSensor(int type) in getDefaultSensor() function in android::SensorManager
|
/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 | 447 public Sensor getDefaultSensor(int type) { in getDefaultSensor() method in SensorManager 493 public Sensor getDefaultSensor(int type, boolean wakeUp) { in getDefaultSensor() method in SensorManager
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
D | SimpleModelView.java | 56 mRotationVectorSensor = mSensorManager.getDefaultSensor( in SimpleModelView()
|
/frameworks/base/native/android/ |
D | sensor.cpp | 72 return static_cast<SensorManager*>(manager)->getDefaultSensor(type); in ASensorManager_getDefaultSensor()
|
/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 | 482 mSensor = mSensors.getDefaultSensor(type); in TriggerSensor() 578 final Sensor sensor = mSensors.getDefaultSensor(Sensor.TYPE_PROXIMITY);
|
/frameworks/base/services/core/java/com/android/server/ |
D | AnyMotionDetector.java | 115 mAccelSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in AnyMotionDetector()
|
D | DeviceIdleController.java | 885 mSigMotionSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_SIGNIFICANT_MOTION); in onBootPhase()
|
/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 | 218 mLightSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LIGHT); in AutomaticBrightnessController()
|
D | DisplayPowerController.java | 361 mProximitySensor = mSensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY); in DisplayPowerController()
|
/frameworks/base/docs/html/sdk/api_diff/21/ |
D | missingSinces.txt | 430 NO DOC BLOCK: android.hardware.SensorManager Method getDefaultSensor(int, boolean)
|