Home
last modified time | relevance | path

Searched refs:sensorInfo (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/java/android/hardware/
DSensor.java1045 public Sensor(InputSensorInfo sensorInfo) { in Sensor() argument
1046 this.mName = sensorInfo.getName(); in Sensor()
1047 this.mVendor = sensorInfo.getVendor(); in Sensor()
1048 this.mVersion = sensorInfo.getVersion(); in Sensor()
1049 this.mHandle = sensorInfo.getHandle(); in Sensor()
1050 this.mType = sensorInfo.getType(); in Sensor()
1051 this.mMaxRange = sensorInfo.getMaxRange(); in Sensor()
1052 this.mResolution = sensorInfo.getResolution(); in Sensor()
1053 this.mPower = sensorInfo.getPower(); in Sensor()
1054 this.mMinDelay = sensorInfo.getMinDelay(); in Sensor()
[all …]
/frameworks/native/services/inputflinger/reader/mapper/
DSensorInputMapper.h90 explicit Sensor(const InputDeviceSensorInfo& sensorInfo) : sensorInfo(sensorInfo) { in Sensor()
99 InputDeviceSensorInfo sensorInfo; member
DSensorInputMapper.cpp81 info.addSensorInfo(sensor.sensorInfo); in populateDeviceInfo()
97 dump += StringPrintf(INDENT5 "maxRange: %f\n", sensor.sensorInfo.maxRange); in dump()
98 dump += StringPrintf(INDENT5 "power: %f\n", sensor.sensorInfo.power); in dump()
214 InputDeviceSensorInfo sensorInfo(identifier.name, std::to_string(identifier.vendor), in createSensor() local
228 return Sensor(sensorInfo); in createSensor()
408 sensor.sensorInfo.accuracy, in sync()
410 sensor.sensorInfo.accuracy, in sync()
413 sensor.accuracy = sensor.sensorInfo.accuracy; in sync()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeLogger.kt336 fun logSensorRegisterAttempt(sensorInfo: String, successfulRegistration: Boolean) { in logSensorRegisterAttempt()
338 str1 = sensorInfo in logSensorRegisterAttempt()
345 fun logSensorUnregisterAttempt(sensorInfo: String, successfulUnregister: Boolean) { in logSensorUnregisterAttempt()
347 str1 = sensorInfo in logSensorUnregisterAttempt()
355 sensorInfo: String, in logSensorUnregisterAttempt()
360 str1 = sensorInfo in logSensorUnregisterAttempt()
DDozeLog.java428 public void traceSensorUnregisterAttempt(String sensorInfo, boolean successfullyUnregistered) { in traceSensorUnregisterAttempt() argument
429 mLogger.logSensorUnregisterAttempt(sensorInfo, successfullyUnregistered); in traceSensorUnregisterAttempt()
436 public void traceSensorUnregisterAttempt(String sensorInfo, boolean successfullyUnregistered, in traceSensorUnregisterAttempt() argument
438 mLogger.logSensorUnregisterAttempt(sensorInfo, successfullyUnregistered, reason); in traceSensorUnregisterAttempt()
444 public void traceSkipRegisterSensor(String sensorInfo) { in traceSkipRegisterSensor() argument
445 mLogger.logSkipSensorRegistration(sensorInfo); in traceSkipRegisterSensor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/
DFacePropertyRepository.kt62 val sensorInfo: StateFlow<FaceSensorInfo?> in <lambda>() constant
105 override val sensorInfo: StateFlow<FaceSensorInfo?> = constant
213 sensorInfo
273 if (sensorInfo.value == null || faceManager == null) { in getLockoutMode()
276 return faceManager.getLockoutModeForUser(sensorInfo.value!!.id, userId).toLockoutMode() in getLockoutMode()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp2566 jobject sensorInfo = env->NewObject(gInputSensorInfo.clazz, gInputSensorInfo.init, ""); in createInputSensorInfo() local
2568 if (sensorInfo != NULL) { in createInputSensorInfo()
2569 env->SetObjectField(sensorInfo, gInputSensorInfo.name, name); in createInputSensorInfo()
2570 env->SetObjectField(sensorInfo, gInputSensorInfo.vendor, vendor); in createInputSensorInfo()
2571 env->SetIntField(sensorInfo, gInputSensorInfo.version, version); in createInputSensorInfo()
2572 env->SetIntField(sensorInfo, gInputSensorInfo.handle, handle); in createInputSensorInfo()
2573 env->SetFloatField(sensorInfo, gInputSensorInfo.maxRange, maxRange); in createInputSensorInfo()
2574 env->SetFloatField(sensorInfo, gInputSensorInfo.resolution, resolution); in createInputSensorInfo()
2575 env->SetFloatField(sensorInfo, gInputSensorInfo.power, power); in createInputSensorInfo()
2576 env->SetIntField(sensorInfo, gInputSensorInfo.minDelay, minDelay); in createInputSensorInfo()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/biometrics/data/repository/
DFakeFacePropertyRepository.kt33 override val sensorInfo: StateFlow<FaceSensorInfo?> constant in com.android.systemui.biometrics.data.repository.FakeFacePropertyRepository
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/
DFacePropertyRepositoryImplTest.kt117 val sensor = collectLastValue(underTest.sensorInfo) in createRepository()
133 val sensor by collectLastValue(underTest.sensorInfo) in providesTheValuePassedToTheAuthenticatorsRegisteredCallback()
/frameworks/native/services/sensorservice/
DAidlSensorHalWrapper.cpp72 for (const SensorInfo &sensorInfo : sensorInfos) { in onDynamicSensorsConnected() local
74 convertToSensor(sensorInfo, &sensor); in onDynamicSensorsConnected()
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/domain/interactor/
DSystemUIDeviceEntryFaceAuthInteractor.kt248 if (facePropertyRepository.sensorInfo.value?.strength == SensorStrength.STRONG) { in <lambda>()
272 facePropertyRepository.sensorInfo.value?.strength == SensorStrength.STRONG in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DBiometricSettingsRepository.kt319 facePropertyRepository.sensorInfo.flatMapLatest { in <lambda>()