/aosp14/frameworks/base/core/java/android/hardware/fingerprint/ |
H A D | FingerprintSensorPropertiesInternal.java | 41 public final @FingerprintSensorProperties.SensorType int sensorType; field in FingerprintSensorPropertiesInternal 49 @FingerprintSensorProperties.SensorType int sensorType, in FingerprintSensorPropertiesInternal() argument 59 this.sensorType = sensorType; in FingerprintSensorPropertiesInternal() 70 @FingerprintSensorProperties.SensorType int sensorType, in FingerprintSensorPropertiesInternal() argument 73 this(sensorId, strength, maxEnrollmentsPerUser, componentInfo, sensorType, in FingerprintSensorPropertiesInternal() 81 sensorType = in.readInt(); in FingerprintSensorPropertiesInternal() 107 dest.writeInt(sensorType); in writeToParcel() 113 switch (sensorType) { in isAnyUdfpsType() 127 switch (sensorType) { in isAnySidefpsType() 175 return "ID: " + sensorId + ", Strength: " + sensorStrength + ", Type: " + sensorType; in toString()
|
H A D | FingerprintSensorProperties.java | 91 internalProp.sensorType); in from() 98 @NonNull List<ComponentInfo> componentInfo, @SensorType int sensorType) { in FingerprintSensorProperties() argument 100 mSensorType = sensorType; in FingerprintSensorProperties()
|
/aosp14/frameworks/base/core/java/android/hardware/face/ |
H A D | FaceSensorPropertiesInternal.java | 35 public final @FaceSensorProperties.SensorType int sensorType; field in FaceSensorPropertiesInternal 53 @FaceSensorProperties.SensorType int sensorType, boolean supportsFaceDetection, in FaceSensorPropertiesInternal() argument 59 this.sensorType = sensorType; in FaceSensorPropertiesInternal() 66 sensorType = in.readInt(); in FaceSensorPropertiesInternal() 92 dest.writeInt(sensorType); in writeToParcel() 99 return "ID: " + sensorId + ", Strength: " + sensorStrength + ", Type: " + sensorType in toString()
|
H A D | FaceSensorProperties.java | 72 internalProp.sensorType); in from() 79 @FaceSensorProperties.SensorType int sensorType) { in FaceSensorProperties() argument 81 mSensorType = sensorType; in FaceSensorProperties()
|
/aosp14/frameworks/base/core/java/android/hardware/input/ |
H A D | InputDeviceSensorManager.java | 172 private Sensor getInputDeviceSensorLocked(int deviceId, int sensorType) { in getInputDeviceSensorLocked() argument 175 if (sensor.getType() == sensorType) { in getInputDeviceSensorLocked() 199 Sensor sensor = getInputDeviceSensorLocked(deviceId, sensorType); in onInputSensorChanged() 203 if (listener.hasSensorRegistered(deviceId, sensorType)) { in onInputSensorChanged() 223 + "accuracy=" + accuracy + ", sensorType=" + sensorType); in onInputSensorAccuracyChanged() 229 if (listener.hasSensorRegistered(deviceId, sensorType)) { in onInputSensorAccuracyChanged() 241 deviceId, sensorType, accuracy, timestamp, values); in onInputSensorChanged() 321 public boolean hasSensorRegistered(int deviceId, int sensorType) { in hasSensorRegistered() argument 366 final int sensorType = msg.arg2; in handleMessage() local 525 final int sensorType = s.getType(); in unregisterListenerInternal() local [all …]
|
H A D | InputManager.java | 1083 public boolean enableSensor(int deviceId, int sensorType, int samplingPeriodUs, in enableSensor() argument 1085 return mGlobal.enableSensor(deviceId, sensorType, samplingPeriodUs, in enableSensor() 1094 public void disableSensor(int deviceId, int sensorType) { in disableSensor() argument 1095 mGlobal.disableSensor(deviceId, sensorType); in disableSensor() 1103 public boolean flushSensor(int deviceId, int sensorType) { in flushSensor() argument 1104 return mGlobal.flushSensor(deviceId, sensorType); in flushSensor()
|
H A D | IInputManager.aidl | 193 boolean enableSensor(int deviceId, int sensorType, int samplingPeriodUs, in enableSensor() argument 196 void disableSensor(int deviceId, int sensorType); in disableSensor() argument 198 boolean flushSensor(int deviceId, int sensorType); in flushSensor() argument
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/ |
H A D | SensorModule.java | 194 final String sensorType = sensorTypes[i]; in createPostureToSensorMapping() local 195 if (typeToSensorMap.containsKey(sensorType)) { in createPostureToSensorMapping() 196 sensorMap[i] = typeToSensorMap.get(sensorType); in createPostureToSensorMapping() 204 typeToSensorMap.put(sensorType, sensorMap[i]); in createPostureToSensorMapping() 222 for (String sensorType : postureToSensorTypeMapping) { in hasPostureSupport() 223 if (!TextUtils.isEmpty(sensorType)) { in hasPostureSupport()
|
H A D | ThresholdSensorImpl.java | 286 Builder setSensorType(String sensorType, boolean requireWakeUp) { in setSensorType() argument 287 Sensor sensor = findSensorByType(sensorType, requireWakeUp); in setSensorType() 338 Sensor findSensorByType(String sensorType, boolean requireWakeUp) { in findSensorByType() argument 339 if (TextUtils.isEmpty(sensorType)) { in findSensorByType() 346 if (sensorType.equals(s.getStringType())) { in findSensorByType()
|
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/biometrics/data/repository/ |
H A D | FakeFingerprintPropertyRepository.kt | 36 override val sensorType = _sensorType.asStateFlow() 45 sensorType: FingerprintSensorType, 50 _sensorType.value = sensorType
|
/aosp14/frameworks/base/services/core/java/com/android/server/display/utils/ |
H A D | SensorUtils.java | 51 @Nullable String sensorType, @Nullable String sensorName, int fallbackType) { in findSensor() argument 56 final boolean isTypeSpecified = !TextUtils.isEmpty(sensorType); in findSensor() 61 && (!isTypeSpecified || sensorType.equals(sensor.getStringType()))) { in findSensor()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/ |
H A D | PromptFingerprintIconViewModel.kt | 44 promptSelectorInteractor.sensorType, 49 sensorType: FingerprintSensorType -> 50 when (sensorType) {
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/ |
H A D | FingerprintRepositoryImplTest.kt | 80 val sensorType by collectLastValue(repository.sensorType) regex 86 assertThat(sensorType).isEqualTo(FingerprintSensorType.UNKNOWN) 127 assertThat(sensorType).isEqualTo(FingerprintSensorType.REAR)
|
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/ |
H A D | UserAwareBiometricScheduler.java | 96 @SensorType int sensorType, in UserAwareBiometricScheduler() argument 101 super(tag, handler, sensorType, gestureAvailabilityDispatcher, biometricService, in UserAwareBiometricScheduler() 109 @SensorType int sensorType, in UserAwareBiometricScheduler() argument 113 this(tag, new Handler(Looper.getMainLooper()), sensorType, gestureAvailabilityDispatcher, in UserAwareBiometricScheduler()
|
H A D | BiometricScheduler.java | 101 public static String sensorTypeToString(@SensorType int sensorType) { in sensorTypeToString() argument 102 switch (sensorType) { in sensorTypeToString() 207 @SensorType int sensorType, in BiometricScheduler() argument 213 mSensorType = sensorType; in BiometricScheduler() 231 @SensorType int sensorType, in BiometricScheduler() argument 233 this(tag, new Handler(Looper.getMainLooper()), sensorType, gestureAvailabilityDispatcher, in BiometricScheduler()
|
/aosp14/frameworks/base/services/core/java/com/android/server/input/ |
H A D | NativeInputManagerService.java | 208 boolean flushSensor(int deviceId, int sensorType); in flushSensor() argument 210 boolean enableSensor(int deviceId, int sensorType, int samplingPeriodUs, in enableSensor() argument 213 void disableSensor(int deviceId, int sensorType); in disableSensor() argument 472 public native boolean flushSensor(int deviceId, int sensorType); in flushSensor() argument 475 public native boolean enableSensor(int deviceId, int sensorType, int samplingPeriodUs, in enableSensor() argument 479 public native void disableSensor(int deviceId, int sensorType); in disableSensor() argument
|
/aosp14/frameworks/base/core/java/android/companion/virtual/sensor/ |
H A D | VirtualSensorDirectChannelWriter.java | 244 void write(int reportToken, int sensorType, long eventCounter, VirtualSensorEvent event) { in write() argument 249 mEventBuffer.putInt(sensorType); in write() 279 DirectChannelConfiguration(int reportToken, int sensorType, in DirectChannelConfiguration() argument 282 mSensorType = sensorType; in DirectChannelConfiguration()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/ |
H A D | FingerprintPropertyRepository.kt | 59 val sensorType: Flow<FingerprintSensorType> 109 override val sensorType: Flow<FingerprintSensorType> = 110 props.map { it.sensorType.toSensorType() }
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
H A D | BiometricDisplayListener.kt | 36 private val sensorType: SensorType = SensorType.Generic, 47 when (sensorType) {
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/ |
H A D | PromptSelectorInteractor.kt | 71 val sensorType: Flow<FingerprintSensorType> 149 override val sensorType: Flow<FingerprintSensorType> = fingerprintPropertyRepository.sensorType
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
H A D | AuthBiometricFingerprintIconControllerTest.kt | 83 private fun setupFingerprintSensorProperties(sensorType: Int) { 92 sensorType,
|
/aosp14/frameworks/base/core/java/android/hardware/display/ |
H A D | DisplayManagerInternal.java | 689 public String sensorType; field in DisplayManagerInternal.AmbientLightSensorData 693 sensorType = type; in AmbientLightSensorData() 698 return "AmbientLightSensorData(" + sensorName + ", " + sensorType + ")"; in toString()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/ |
H A D | PromptFingerprintIconViewModelTest.kt | 89 private fun configureFingerprintPropertyRepository(sensorType: FingerprintSensorType) { 90 fingerprintRepository.setProperties(0, SensorStrength.STRONG, sensorType, mapOf())
|
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/utils/ |
H A D | SensorUtilsTest.java | 120 public void testFindSensor(@Nullable String sensorName, @Nullable String sensorType, in testFindSensor() argument 128 sensorData.type = sensorType; in testFindSensor()
|
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/ |
H A D | AuthService.java | 811 final @FingerprintSensorProperties.SensorType int sensorType; in getHidlFingerprintSensorProps() local 813 sensorType = FingerprintSensorProperties.TYPE_UDFPS_OPTICAL; in getHidlFingerprintSensorProps() 815 sensorType = FingerprintSensorProperties.TYPE_POWER_BUTTON; in getHidlFingerprintSensorProps() 817 sensorType = FingerprintSensorProperties.TYPE_REAR; in getHidlFingerprintSensorProps() 830 componentInfo, sensorType, true /* halControlsIllumination */, in getHidlFingerprintSensorProps() 837 componentInfo, sensorType, resetLockoutRequiresHardwareAuthToken); in getHidlFingerprintSensorProps()
|