Home
last modified time | relevance | path

Searched refs:fingerId (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/services/core/java/com/android/server/fingerprint/
DRemovalClient.java35 IFingerprintServiceReceiver receiver, int fingerId, int groupId, int userId, in RemovalClient() argument
38 mFingerId = fingerId; in RemovalClient()
71 private boolean sendRemoved(int fingerId, int groupId) { in sendRemoved() argument
75 receiver.onRemoved(getHalDeviceId(), fingerId, groupId); in sendRemoved() local
80 return fingerId == 0; in sendRemoved()
84 public boolean onRemoved(int fingerId, int groupId) { in onRemoved() argument
85 if (fingerId != 0) { in onRemoved()
86 FingerprintUtils.getInstance().removeFingerprintIdForUser(getContext(), fingerId, in onRemoved() local
89 return sendRemoved(fingerId, getGroupId()); in onRemoved()
93 public boolean onEnrollResult(int fingerId, int groupId, int rem) { in onEnrollResult() argument
[all …]
DFingerprintUtils.java59 public void addFingerprintForUser(Context ctx, int fingerId, int userId) { in addFingerprintForUser() argument
60 getStateForUser(ctx, userId).addFingerprint(fingerId, userId); in addFingerprintForUser()
63 public void removeFingerprintIdForUser(Context ctx, int fingerId, int userId) { in removeFingerprintIdForUser() argument
64 getStateForUser(ctx, userId).removeFingerprint(fingerId); in removeFingerprintIdForUser()
67 public void renameFingerprintForUser(Context ctx, int fingerId, int userId, CharSequence name) { in renameFingerprintForUser() argument
72 getStateForUser(ctx, userId).renameFingerprint(fingerId, name); in renameFingerprintForUser()
DAuthenticationClient.java49 public boolean onAuthenticated(int fingerId, int groupId) { in onAuthenticated() argument
51 boolean authenticated = fingerId != 0; in onAuthenticated()
63 + ", id=" + fingerId + ", gp=" + groupId + ")"); in onAuthenticated()
66 ? new Fingerprint("" /* TODO */, groupId, fingerId, getHalDeviceId()) in onAuthenticated()
151 public boolean onEnrollResult(int fingerId, int groupId, int rem) { in onEnrollResult() argument
157 public boolean onRemoved(int fingerId, int groupId) { in onRemoved() argument
163 public boolean onEnumerationResult(int fingerId, int groupId) { in onEnumerationResult() argument
DEnrollClient.java48 public boolean onEnrollResult(int fingerId, int groupId, int remaining) { in onEnrollResult() argument
54 FingerprintUtils.getInstance().addFingerprintForUser(getContext(), fingerId, in onEnrollResult() local
57 return sendEnrollResult(fingerId, groupId, remaining); in onEnrollResult()
123 public boolean onRemoved(int fingerId, int groupId) { in onRemoved() argument
129 public boolean onEnumerationResult(int fingerId, int groupId) { in onEnumerationResult() argument
135 public boolean onAuthenticated(int fingerId, int groupId) { in onAuthenticated() argument
DFingerprintsUserState.java71 public void addFingerprint(int fingerId, int groupId) { in addFingerprint() argument
73 mFingerprints.add(new Fingerprint(getUniqueName(), groupId, fingerId, 0)); in addFingerprint()
78 public void removeFingerprint(int fingerId) { in removeFingerprint() argument
81 if (mFingerprints.get(i).getFingerId() == fingerId) { in removeFingerprint()
90 public void renameFingerprint(int fingerId, CharSequence name) { in renameFingerprint() argument
93 if (mFingerprints.get(i).getFingerId() == fingerId) { in renameFingerprint()
261 String fingerId = parser.getAttributeValue(null, ATTR_FINGER_ID); in parseFingerprintsLocked() local
264 Integer.parseInt(fingerId), Integer.parseInt(deviceId))); in parseFingerprintsLocked()
DFingerprintService.java254 protected void handleRemoved(long deviceId, int fingerId, int groupId) { in handleRemoved() argument
256 if (client != null && client.onRemoved(fingerId, groupId)) { in handleRemoved()
261 protected void handleAuthenticated(long deviceId, int fingerId, int groupId) { in handleAuthenticated() argument
263 if (client != null && client.onAuthenticated(fingerId, groupId)) { in handleAuthenticated()
266 if (fingerId != 0) { in handleAuthenticated()
285 protected void handleEnrollResult(long deviceId, int fingerId, int groupId, int remaining) { in handleEnrollResult() argument
287 if (client != null && client.onEnrollResult(fingerId, groupId, remaining)) { in handleEnrollResult()
386 void startRemove(IBinder token, int fingerId, int groupId, int userId, in startRemove() argument
394 receiver, fingerId, groupId, userId, restricted, token.toString()) { in startRemove()
648 public void onEnrollResult(final long deviceId, final int fingerId, final int groupId,
[all …]
DClientMonitor.java103 public abstract boolean onEnrollResult(int fingerId, int groupId, int rem); in onEnrollResult() argument
104 public abstract boolean onAuthenticated(int fingerId, int groupId); in onAuthenticated() argument
105 public abstract boolean onRemoved(int fingerId, int groupId); in onRemoved() argument
106 public abstract boolean onEnumerationResult(int fingerId, int groupId); in onEnumerationResult() argument
DEnumerateClient.java81 public boolean onEnumerationResult(int fingerId, int groupId) { in onEnumerationResult() argument
86 receiver.onRemoved(getHalDeviceId(), fingerId, groupId); in onEnumerationResult() local
90 return fingerId == 0; // done when id hits 0 in onEnumerationResult()
/frameworks/base/core/java/android/hardware/fingerprint/
DIFingerprintDaemonCallback.aidl23 void onEnrollResult(long deviceId, int fingerId, int groupId, int remaining); in onEnrollResult() argument
25 void onAuthenticated(long deviceId, int fingerId, int groupId); in onAuthenticated() argument
27 void onRemoved(long deviceId, int fingerId, int groupId); in onRemoved() argument
DIFingerprintServiceReceiver.aidl27 void onEnrollResult(long deviceId, int fingerId, int groupId, int remaining); in onEnrollResult() argument
32 void onRemoved(long deviceId, int fingerId, int groupId); in onRemoved() argument
DFingerprintManager.java817 private void sendRemovedResult(long deviceId, int fingerId, int groupId) { in sendRemovedResult() argument
821 if (reqFingerId != 0 && fingerId != 0 && fingerId != reqFingerId) { in sendRemovedResult()
822 Log.w(TAG, "Finger id didn't match: " + fingerId + " != " + reqFingerId); in sendRemovedResult()
829 mRemovalCallback.onRemovalSucceeded(new Fingerprint(null, groupId, fingerId, in sendRemovedResult()
982 public void onEnrollResult(long deviceId, int fingerId, int groupId, int remaining) {
984 new Fingerprint(null, groupId, fingerId, deviceId)).sendToTarget();
1008 public void onRemoved(long deviceId, int fingerId, int groupId) {
1009 mHandler.obtainMessage(MSG_REMOVED, fingerId, groupId, deviceId).sendToTarget();
DIFingerprintService.aidl44 void remove(IBinder token, int fingerId, int groupId, int userId, in remove() argument
48 void rename(int fingerId, int groupId, String name); in rename() argument
DFingerprint.java31 public Fingerprint(CharSequence name, int groupId, int fingerId, long deviceId) { in Fingerprint() argument
34 mFingerId = fingerId; in Fingerprint()
DIFingerprintDaemon.aidl31 int remove(int fingerId, int groupId); in remove() argument
/frameworks/base/services/core/jni/
Dcom_android_server_fingerprint_FingerprintService.cpp171 static jint nativeRemove(JNIEnv* env, jobject clazz, jint fingerId, jint groupId) { in nativeRemove() argument
172 ALOG(LOG_VERBOSE, LOG_TAG, "nativeRemove(fid=%d, gid=%d)\n", fingerId, groupId); in nativeRemove()
174 finger.fid = fingerId; in nativeRemove()