Home
last modified time | relevance | path

Searched defs:sensorManager (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/display/whitebalance/
DAmbientSensor.java78 AmbientSensor(String tag, @NonNull Handler handler, @NonNull SensorManager sensorManager, in AmbientSensor()
142 private static void validateArguments(Handler handler, SensorManager sensorManager, int rate) { in validateArguments()
249 AmbientBrightnessSensor(@NonNull Handler handler, @NonNull SensorManager sensorManager, in AmbientBrightnessSensor()
329 @NonNull SensorManager sensorManager, String name, int rate) { in AmbientColorTemperatureSensor()
DDisplayWhiteBalanceFactory.java60 SensorManager sensorManager, Resources resources) { in create()
121 SensorManager sensorManager, Resources resources) { in createBrightnessSensor()
132 Handler handler, SensorManager sensorManager, Resources resources) { in createColorTemperatureSensor()
/frameworks/base/core/tests/coretests/src/android/hardware/input/
DInputDeviceSensorManagerTest.java181 SensorManager sensorManager = device.getSensorManager(); in getInputDeviceSensors_withExpectedType() local
201 SensorManager sensorManager = device.getSensorManager(); in getInputDeviceSensors_withUnexpectedType() local
218 SensorManager sensorManager = device.getSensorManager(); in testInputDeviceSensorListener() local
/frameworks/base/services/core/java/com/android/server/display/utils/
DSensorUtils.java34 public static Sensor findSensor(SensorManager sensorManager, String sensorType, in findSensor()
/frameworks/base/core/jni/
Dandroid_hardware_SensorManager.cpp215 nativeGetSensorAtIndex(JNIEnv *env, jclass clazz, jlong sensorManager, jobject sensor, jint index) in nativeGetSensorAtIndex()
229 nativeGetDynamicSensors(JNIEnv *env, jclass clazz, jlong sensorManager, jobject sensorList) { in nativeGetDynamicSensors()
246 static jboolean nativeIsDataInjectionEnabled(JNIEnv *_env, jclass _this, jlong sensorManager) { in nativeIsDataInjectionEnabled()
251 static jint nativeCreateDirectChannel(JNIEnv *_env, jclass _this, jlong sensorManager, in nativeCreateDirectChannel()
276 static void nativeDestroyDirectChannel(JNIEnv *_env, jclass _this, jlong sensorManager, in nativeDestroyDirectChannel()
282 static jint nativeConfigDirectChannel(JNIEnv *_env, jclass _this, jlong sensorManager, in nativeConfigDirectChannel()
288 static jint nativeSetOperationParameter(JNIEnv *_env, jclass _this, jlong sensorManager, in nativeSetOperationParameter()
439 static jlong nativeInitSensorEventQueue(JNIEnv *env, jclass clazz, jlong sensorManager, in nativeInitSensorEventQueue()
/frameworks/base/services/core/java/com/android/server/biometrics/log/
DALSProbe.java75 ALSProbe(@NonNull SensorManager sensorManager) { in ALSProbe()
95 ALSProbe(@Nullable SensorManager sensorManager, @NonNull Handler handler, in ALSProbe()
DBiometricLogger.java77 BiometricFrameworkStatsLogger logSink, SensorManager sensorManager) { in BiometricLogger()
/frameworks/av/media/libheadtracking/
DSensorPoseProvider-example.cpp61 SensorManager& sensorManager = SensorManager::getInstanceForPackage(String16(kPackageName)); in main() local
/frameworks/base/services/core/java/com/android/server/
DGestureLauncherService.java348 SensorManager sensorManager = (SensorManager) mContext.getSystemService( in unregisterCameraLaunchGesture() local
363 SensorManager sensorManager = (SensorManager) mContext.getSystemService( in registerCameraLaunchGesture() local
399 SensorManager sensorManager = (SensorManager) mContext.getSystemService( in unregisterCameraLiftTrigger() local
412 SensorManager sensorManager = (SensorManager) mContext.getSystemService( in registerCameraLiftTrigger() local
873 SensorManager sensorManager = (SensorManager) mContext.getSystemService( in onTrigger() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/
DThresholdSensorImpl.java69 private ThresholdSensorImpl(AsyncSensorManager sensorManager, Sensor sensor, in ThresholdSensorImpl()
245 Builder(@Main Resources resources, AsyncSensorManager sensorManager, Execution execution) { in Builder()
371 AsyncSensorManager sensorManager, in BuilderFactory()
DSensorModule.java48 SensorManager sensorManager, in providePrimaryProximitySensor()
DAsyncSensorManager.java63 public AsyncSensorManager(SensorManager sensorManager, ThreadFactory threadFactory, in AsyncSensorManager()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DSensorPowerCalculatorTest.java58 SensorManager sensorManager = mock(SensorManager.class); in testTimerBasedModel() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/dagger/
DDozeModule.java106 AsyncSensorManager sensorManager, in providesBrightnessSensors()
/frameworks/native/libs/sensor/
DSensorManager.cpp49 SensorManager* sensorManager; in getInstanceForPackage() local
99 SensorManager* sensorManager = iterator->second; in removeInstanceForPackage() local
/frameworks/base/packages/SystemUI/unfold/src/com/android/systemui/unfold/updates/hinge/
DHingeSensorAngleProvider.kt30 private val sensorManager: SensorManager, constant in com.android.systemui.unfold.updates.hinge.HingeSensorAngleProvider
/frameworks/base/services/core/java/com/android/server/display/
DScreenOffBrightnessSensorController.java57 SensorManager sensorManager, in ScreenOffBrightnessSensorController()
/frameworks/base/tests/SilkFX/src/com/android/test/silkfx/materials/
DGlassView.kt59 private val sensorManager = context.getSystemService(SensorManager::class.java) constant
/frameworks/base/core/java/com/android/internal/os/
DSensorPowerCalculator.java32 public SensorPowerCalculator(SensorManager sensorManager) { in SensorPowerCalculator()
/frameworks/base/services/core/java/com/android/server/policy/
DDeviceStateProviderImpl.java309 final SensorManager sensorManager = mContext.getSystemService(SensorManager.class); in setStateConditions() local
318 final SensorManager sensorManager = mContext.getSystemService(SensorManager.class); in findSensor() local
/frameworks/base/services/core/java/com/android/server/power/
DWirelessChargerDetector.java143 public WirelessChargerDetector(SensorManager sensorManager, in WirelessChargerDetector()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DDisplayModeDirectorTest.java1903 SensorManager sensorManager = createMockSensorManager(createLightSensor()); in testNotifyDefaultDisplayDeviceUpdated() local
2033 SensorManager sensorManager = createMockSensorManager(lightSensorOne, lightSensorTwo); in testSensorReloadOnDeviceSwitch() local
2286 SensorManager sensorManager = mock(SensorManager.class); in createMockSensorManager() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeScreenBrightness.java108 AsyncSensorManager sensorManager, in DozeScreenBrightness()
DDozeSensors.java147 AsyncSensorManager sensorManager, in DozeSensors()
357 public static Sensor findSensor(SensorManager sensorManager, String type, String name) { in findSensor()
/frameworks/base/core/java/android/hardware/
DLegacySensorManager.java46 public LegacySensorManager(SensorManager sensorManager) { in LegacySensorManager()

12