Home
last modified time | relevance | path

Searched refs:getDefaultSensor (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/
DFakeSensorManager.java59 .getDefaultSensor(Sensor.TYPE_PROXIMITY); in FakeSensorManager()
80 public Sensor getDefaultSensor(int type) { in getDefaultSensor() method in FakeSensorManager
81 Sensor s = super.getDefaultSensor(type); in getDefaultSensor()
87 return getDefaultSensor(type, false /* wakeup */); in getDefaultSensor()
/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
DASensorManager.cpp121 ASensorRef ASensorManager::getDefaultSensor(int type) { in getDefaultSensor() function in ASensorManager
126 Return<void> ret = mManager->getDefaultSensor( in getDefaultSensor()
238 return manager->getDefaultSensor(type); in ASensorManager_getDefaultSensor()
DASensorManager.h38 ASensorRef getDefaultSensor(int type);
/frameworks/native/services/sensorservice/hidl/
DSensorManager.cpp83 Return<void> SensorManager::getDefaultSensor(SensorType type, getDefaultSensor_cb _hidl_cb) { in getDefaultSensor() function in android::frameworks::sensorservice::V1_0::implementation::SensorManager
84 ::android::Sensor const* sensor = getInternalManager().getDefaultSensor(static_cast<int>(type)); in getDefaultSensor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeSensors.java87 mSensorManager.getDefaultSensor(Sensor.TYPE_SIGNIFICANT_MOTION), in DozeSensors()
93 mSensorManager.getDefaultSensor(Sensor.TYPE_PICK_UP_GESTURE), in DozeSensors()
247 mSensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY), in setRegistered()
DDozeTriggers.java288 final Sensor sensor = mSensorManager.getDefaultSensor(Sensor.TYPE_PROXIMITY); in check()
/frameworks/native/libs/sensor/include/sensor/
DSensorManager.h61 Sensor const* getDefaultSensor(int type);
/frameworks/native/services/sensorservice/hidl/include/sensorservicehidl/
DSensorManager.h51 Return<void> getDefaultSensor(SensorType type, getDefaultSensor_cb _hidl_cb) override;
/frameworks/base/services/core/java/com/android/server/policy/
DWakeGestureListener.java46 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_WAKE_GESTURE); in WakeGestureListener()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DMotionSensor.java56 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LINEAR_ACCELERATION); in onPrepare()
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp74 Sensor const* accelerometer = mgr.getDefaultSensor(Sensor::TYPE_ACCELEROMETER); in main()
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
DBalls.java88 mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER), in onResume()
/frameworks/base/core/java/android/view/
DOrientationEventListener.java71 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in OrientationEventListener()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DMotionSensorWTime.java62 mSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_LINEAR_ACCELERATION); in onPrepare()
/frameworks/hardware/interfaces/sensorservice/1.0/
DREADME29 manager->getDefaultSensor(SensorType::GYROSCOPE,
110 manager->getDefaultSensor(SensorType::GYROSCOPE,
DISensorManager.hal50 getDefaultSensor(SensorType type)
/frameworks/base/core/java/android/hardware/
DLegacySensorManager.java114 Sensor sensor = mSensorManager.getDefaultSensor(type); in registerLegacyListener()
166 Sensor sensor = mSensorManager.getDefaultSensor(type); in unregisterLegacyListener()
DSensorManager.java488 public Sensor getDefaultSensor(int type) { in getDefaultSensor() method in SensorManager
535 public Sensor getDefaultSensor(int type, boolean wakeUp) { in getDefaultSensor() method in SensorManager
/frameworks/base/services/core/java/com/android/server/
DSensorNotificationService.java75 mMetaSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_DYNAMIC_SENSOR_META); in onBootPhase()
DGestureLauncherService.java236 mCameraLaunchSensor = sensorManager.getDefaultSensor( in registerCameraLaunchGesture()
285 mCameraLiftTriggerSensor = sensorManager.getDefaultSensor( in registerCameraLiftTrigger()
DAnyMotionDetector.java128 mAccelSensor = mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); in AnyMotionDetector()
/frameworks/native/libs/sensor/
DSensorManager.cpp200 Sensor const* SensorManager::getDefaultSensor(int type) in getDefaultSensor() function in android::SensorManager
/frameworks/base/services/core/java/com/android/server/power/
DWirelessChargerDetector.java146 mGravitySensor = sensorManager.getDefaultSensor(Sensor.TYPE_GRAVITY); in WirelessChargerDetector()
/frameworks/base/native/android/
Dsensor.cpp88 return static_cast<SensorManager*>(manager)->getDefaultSensor(type); in ASensorManager_getDefaultSensor()
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/
DVtsHalSensorManagerV1_0TargetTest.cpp208 …ASSERT_OK(manager_->getDefaultSensor(SensorType::ACCELEROMETER, [&] (const auto &info, auto result… in TEST_F()

12