/frameworks/av/media/libheadtracking/ |
D | SensorPoseProvider-example.cpp | 63 const Sensor* headSensor = sensorManager.getDefaultSensor(SENSOR_TYPE_GAME_ROTATION_VECTOR); in main() 64 const Sensor* screenSensor = sensorManager.getDefaultSensor(SENSOR_TYPE_ROTATION_VECTOR); in main()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/sensors/ |
D | FakeSensorManager.java | 64 .getDefaultSensor(Sensor.TYPE_PROXIMITY, true); in FakeSensorManager() 96 public Sensor getDefaultSensor(int type) { in getDefaultSensor() method in FakeSensorManager 97 Sensor s = super.getDefaultSensor(type); in getDefaultSensor() 103 return getDefaultSensor(type, false /* wakeup */); in getDefaultSensor()
|
/frameworks/hardware/interfaces/sensorservice/aidl/aidl_api/android.frameworks.sensorservice/1/android/frameworks/sensorservice/ |
D | ISensorManager.aidl | 25 android.hardware.sensors.SensorInfo getDefaultSensor(in android.hardware.sensors.SensorType type); in getDefaultSensor() method
|
/frameworks/hardware/interfaces/sensorservice/aidl/aidl_api/android.frameworks.sensorservice/current/android/frameworks/sensorservice/ |
D | ISensorManager.aidl | 25 android.hardware.sensors.SensorInfo getDefaultSensor(in android.hardware.sensors.SensorType type); in getDefaultSensor() method
|
/frameworks/hardware/interfaces/sensorservice/aidl/android/frameworks/sensorservice/ |
D | ISensorManager.aidl | 101 SensorInfo getDefaultSensor(in SensorType type); in getDefaultSensor() method
|
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/ |
D | ASensorManager.h | 38 ASensorRef getDefaultSensor(int type);
|
D | ASensorManager.cpp | 123 ASensorRef ASensorManager::getDefaultSensor(int type) { in getDefaultSensor() function in ASensorManager 130 ndk::ScopedAStatus ret = mManager->getDefaultSensor(static_cast<SensorType>(type), &sensor); in getDefaultSensor() 238 return manager->getDefaultSensor(type); in ASensorManager_getDefaultSensor()
|
/frameworks/native/services/sensorservice/hidl/ |
D | SensorManager.cpp | 86 Return<void> SensorManager::getDefaultSensor(SensorType type, getDefaultSensor_cb _hidl_cb) { in getDefaultSensor() function in android::frameworks::sensorservice::V1_0::implementation::SensorManager 87 ::android::Sensor const* sensor = getInternalManager().getDefaultSensor(static_cast<int>(type)); in getDefaultSensor()
|
/frameworks/native/services/sensorservice/hidl/include/sensorservicehidl/ |
D | SensorManager.h | 51 Return<void> getDefaultSensor(SensorType type, getDefaultSensor_cb _hidl_cb) override;
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/whitebalance/ |
D | AmbientSensorTest.java | 81 when(mSensorManagerMock.getDefaultSensor(Sensor.TYPE_LIGHT)).thenReturn(mLightSensor); in testAmbientBrightnessSensorCallback_NoCallbacks() 101 when(mSensorManagerMock.getDefaultSensor(Sensor.TYPE_LIGHT)).thenReturn(mLightSensor); in testAmbientBrightnessSensorCallback_CallbacksCalled()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | WakeGestureListener.java | 46 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_WAKE_GESTURE); in WakeGestureListener()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | DisplayPowerProximityStateControllerTest.java | 180 when(mSensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY)).thenReturn( in isProximitySensorAvailableReturnsTrueWhenNotAvailableAndHasDefault() 193 when(mSensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY)).thenReturn( in isProximitySensorAvailableReturnsFalseWhenNotAvailableHasDefaultNonDefaultDisplay() 205 when(mSensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY)).thenReturn( in isProximitySensorAvailableReturnsTrueWhenNoSensorConfigured()
|
/frameworks/native/services/sensorservice/aidl/include/sensorserviceaidl/ |
D | SensorManagerAidl.h | 49 ::ndk::ScopedAStatus getDefaultSensor(
|
/frameworks/base/services/core/java/com/android/server/display/utils/ |
D | SensorUtils.java | 69 return sensorManager.getDefaultSensor(fallbackType); in findSensor()
|
/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/packages/SystemUI/unfold/src/com/android/systemui/unfold/updates/hinge/ |
D | HingeSensorAngleProvider.kt | 47 val sensor = sensorManager.getDefaultSensor(Sensor.TYPE_HINGE_ANGLE) in start()
|
/frameworks/native/libs/sensor/include/sensor/ |
D | SensorManager.h | 65 Sensor const* getDefaultSensor(int type);
|
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/ |
D | Balls.java | 88 mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER), in onResume()
|
/frameworks/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/interaction/ |
D | HingeController.kt | 71 private var hingeAngleSensor: Sensor? = sensorManager.getDefaultSensor(Sensor.TYPE_HINGE_ANGLE)
|
/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/services/sensorservice/aidl/ |
D | SensorManager.cpp | 163 ndk::ScopedAStatus SensorManagerAidl::getDefaultSensor(SensorType in_type, in getDefaultSensor() function in android::frameworks::sensorservice::implementation::SensorManagerAidl 166 getInternalManager().getDefaultSensor(static_cast<int>(in_type)); in getDefaultSensor()
|
/frameworks/native/services/sensorservice/tests/ |
D | sensorservicetest.cpp | 117 Sensor const* accelerometer = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER); in main()
|
/frameworks/hardware/interfaces/sensorservice/1.0/ |
D | README | 29 manager->getDefaultSensor(SensorType::GYROSCOPE, 110 manager->getDefaultSensor(SensorType::GYROSCOPE,
|
/frameworks/base/core/java/android/hardware/ |
D | LegacySensorManager.java | 114 Sensor sensor = mSensorManager.getDefaultSensor(type); in registerLegacyListener() 166 Sensor sensor = mSensorManager.getDefaultSensor(type); in unregisterLegacyListener()
|