Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/biometrics/
DBiometricEnrollSidecar.java52 default void onUdfpsPointerDown(int sensorId) { } in onUdfpsPointerDown() argument
56 default void onUdfpsPointerUp(int sensorId) { } in onUdfpsPointerUp() argument
136 private final int sensorId; field in BiometricEnrollSidecar.QueuedUdfpsPointerDown
138 QueuedUdfpsPointerDown(int sensorId) { in QueuedUdfpsPointerDown() argument
139 this.sensorId = sensorId; in QueuedUdfpsPointerDown()
144 listener.onUdfpsPointerDown(sensorId); in send()
149 private final int sensorId; field in BiometricEnrollSidecar.QueuedUdfpsPointerUp
151 QueuedUdfpsPointerUp(int sensorId) { in QueuedUdfpsPointerUp() argument
152 this.sensorId = sensorId; in QueuedUdfpsPointerUp()
157 listener.onUdfpsPointerUp(sensorId); in send()
[all …]
DMultiBiometricEnrollHelper.java98 mFaceManager.generateChallenge(mUserId, (sensorId, userId, challenge) -> { in launchFaceEnroll()
101 BiometricEnrollBase.EXTRA_KEY_SENSOR_ID, sensorId); in launchFaceEnroll()
110 mFingerprintManager.generateChallenge(mUserId, ((sensorId, userId, challenge) -> { in launchFingerprintEnroll()
113 BiometricEnrollBase.EXTRA_KEY_SENSOR_ID, sensorId); in launchFingerprintEnroll()
DBiometricEnrollIntroduction.java150 void onChallengeGenerated(int sensorId, int userId, long challenge); in onChallengeGenerated() argument
389 getChallenge(((sensorId, userId, challenge) -> { in onActivityResult() argument
390 mSensorId = sensorId; in onActivityResult()
411 getChallenge(((sensorId, userId, challenge) -> { in onActivityResult() argument
412 mSensorId = sensorId; in onActivityResult()
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/view/
DClusterViewModel.java133 Sensor<?> sensorId = Sensors.getInstance()
135 if (sensorId != null && (sensorId.mAreaId == VEHICLE_AREA_TYPE_GLOBAL
136 || sensorId.mAreaId == value.getAreaId())) {
137 setSensorValue(sensorId, value);
143 Sensor<?> sensorId = Sensors.getInstance().getSensorForPropertyId(propId);
144 if (sensorId != null && (sensorId.mAreaId == VEHICLE_AREA_TYPE_GLOBAL
145 || sensorId.mAreaId == zone)) {
146 setSensorValue(sensorId, null);
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DClusterViewModel.java135 for (Sensor<?> sensorId : Sensors.getInstance()
137 if (sensorId.mAreaId == VEHICLE_AREA_TYPE_GLOBAL
138 || (sensorId.mAreaId & value.getAreaId()) != 0) {
139 setSensorValue(sensorId, value);
146 for (Sensor<?> sensorId : Sensors.getInstance().getSensorsForPropertyId(
148 if (sensorId.mAreaId == VehicleAreaType.VEHICLE_AREA_TYPE_GLOBAL
149 || (sensorId.mAreaId & zone) != 0) {
150 setSensorValue(sensorId, null);
/packages/services/Car/tools/
Dupdate-obd2-sensors.py107 sensorId = str(theSensor.id).replace("_INDEX", "")
109 str(sensorId) + ";"
162 def adjustSensorId(self, descriptor, sensorId): argument
163 if sensorId.isdigit(): return sensorId
164 return "DIAGNOSTIC_SENSOR_%s_%s" % (descriptor, sensorId.upper())
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint/
DUdfpsEnrollHelper.java58 void onPointerDown(int sensorId); in onPointerDown() argument
60 void onPointerUp(int sensorId); in onPointerUp() argument
194 public void onPointerDown(int sensorId) { in onPointerDown() argument
196 mListener.onPointerDown(sensorId); in onPointerDown()
203 public void onPointerUp(int sensorId) { in onPointerUp() argument
205 mListener.onPointerUp(sensorId); in onPointerUp()
DFingerprintUpdater.java105 public void onUdfpsPointerDown(int sensorId) { in onUdfpsPointerDown() argument
106 mCallback.onUdfpsPointerDown(sensorId); in onUdfpsPointerDown()
110 public void onUdfpsPointerUp(int sensorId) { in onUdfpsPointerUp() argument
111 mCallback.onUdfpsPointerUp(sensorId); in onUdfpsPointerUp()
DFingerprintEnrollSidecar.java143 public void onUdfpsPointerDown(int sensorId) {
144 FingerprintEnrollSidecar.super.onUdfpsPointerDown(sensorId);
148 public void onUdfpsPointerUp(int sensorId) {
149 FingerprintEnrollSidecar.super.onUdfpsPointerUp(sensorId);
DUdfpsEnrollView.java99 public void onPointerDown(int sensorId) { in onPointerDown() argument
104 public void onPointerUp(int sensorId) { in onPointerUp() argument
DFingerprintEnrollEnrolling.java864 public void onUdfpsPointerDown(int sensorId) { in onUdfpsPointerDown() argument
866 mUdfpsEnrollHelper.onPointerDown(sensorId); in onUdfpsPointerDown()
871 public void onUdfpsPointerUp(int sensorId) { in onUdfpsPointerUp() argument
873 mUdfpsEnrollHelper.onPointerUp(sensorId); in onUdfpsPointerUp()
DFingerprintEnrollIntroduction.java149 getChallenge(((sensorId, userId, challenge) -> { in onCreate() argument
156 mSensorId = sensorId; in onCreate()
DFingerprintSettings.java953 (sensorId, userId, challenge) -> { in onActivityResult()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/domain/interactor/
DFingerprintEnrollInteractor.kt111 override fun onUdfpsPointerDown(sensorId: Int) { in enroll()
112 trySend(FingerEnrollState.PointerDown(sensorId)).onFailure { error -> in enroll()
117 override fun onUdfpsPointerUp(sensorId: Int) { in enroll()
118 trySend(FingerEnrollState.PointerUp(sensorId)).onFailure { error -> in enroll()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/sensors/
DSensors.java115 for (Sensor<?> sensorId : getSensors()) { in initializeSensorsMap()
117 .computeIfAbsent(sensorId.mPropertyId, (id) -> new ArrayList<>()) in initializeSensorsMap()
118 .add(sensorId); in initializeSensorsMap()
/packages/apps/Car/Cluster/ClusterOsDouble/src/com/android/car/cluster/sensors/
DSensors.java115 for (Sensor<?> sensorId : getSensors()) { in initializeSensorsMap()
116 mSensorByPropertyId.append(sensorId.mPropertyId, sensorId); in initializeSensorsMap()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/viewmodel/
DFingerprintEnrollProgressViewModel.java116 public void onUdfpsPointerDown(int sensorId) {
117 mPointerDownLiveData.postValue(sensorId);
121 public void onUdfpsPointerUp(int sensorId) {
122 mPointerUpLiveData.postValue(sensorId);
DAutoCredentialViewModel.kt58 fun onChallengeGenerated(sensorId: Int, userId: Int, challenge: Long) in <lambda>()
84 sensorId: Int, uid: Int, challenge: Long -> in <lambda>() method
85 it.onChallengeGenerated(sensorId, uid, challenge) in <lambda>()
147 override fun onChallengeGenerated(sensorId: Int, userId: Int, challenge: Long) { in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/view/
DFingerprintEnrollEnrollingUdfpsFragment.kt152 Observer { sensorId: Int? -> sensorId?.let { onPointerDown(it) } } in <lambda>() method
155 Observer { sensorId: Int? -> sensorId?.let { onPointerUp(it) } } in <lambda>() method
593 private fun onPointerDown(sensorId: Int) { in <lambda>()
594 udfpsEnrollView.onPointerDown(sensorId) in <lambda>()
597 private fun onPointerUp(sensorId: Int) { in <lambda>()
598 udfpsEnrollView.onPointerUp(sensorId) in <lambda>()
/packages/apps/Settings/src/com/android/settings/biometrics/combination/
DBiometricsSettingsBase.java166 mFaceManager.generateChallenge(mUserId, (sensorId, userId, challenge) -> { in onRetryPreferenceTreeClick()
178 extras.putInt(BiometricEnrollBase.EXTRA_KEY_SENSOR_ID, sensorId); in onRetryPreferenceTreeClick()
196 mFingerprintManager.generateChallenge(mUserId, (sensorId, userId, challenge) -> { in onRetryPreferenceTreeClick()
/packages/apps/Settings/src/com/android/settings/biometrics2/ui/widget/
DUdfpsEnrollView.java123 public void onPointerDown(int sensorId) { in onPointerDown() argument
130 public void onPointerUp(int sensorId) { in onPointerUp() argument
/packages/apps/Settings/tests/unit/src/com/android/settings/biometrics2/ui/viewmodel/
DAutoCredentialViewModelTest.kt84 challengeGenerator.sensorId = newSensorId in setupGenerateChallenge()
490 var sensorId = -1 variable
499 it.onChallengeGenerated(sensorId, this.userId, challenge) in generateChallenge()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceSettings.java301 mFaceManager.generateChallenge(mUserId, (sensorId, userId, challenge) -> { in onActivityResult()
304 mSensorId = sensorId; in onActivityResult()
DFaceEnrollIntroduction.java205 mFaceManager.generateChallenge(mUserId, (sensorId, userId, challenge) -> { in onCreate()
214 mSensorId = sensorId; in onCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DFingerprintEnrollEnrollingTest.java705 public void onPointerDown(int sensorId) { in onPointerDown() argument
710 public void onPointerUp(int sensorId) { in onPointerUp() argument