Home
last modified time | relevance | path

Searched refs:faceIds (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/biometrics/face/
DFaceService.java918 public void onRemoved(final long deviceId, ArrayList<Integer> faceIds, final int userId) {
920 if (!faceIds.isEmpty()) {
921 for (int i = 0; i < faceIds.size(); i++) {
922 final Face face = new Face("", faceIds.get(i), deviceId);
924 FaceService.super.handleRemoved(face, faceIds.size() - i - 1);
936 public void onEnumerate(long deviceId, ArrayList<Integer> faceIds, int userId)
939 if (!faceIds.isEmpty()) {
940 for (int i = 0; i < faceIds.size(); i++) {
941 final Face face = new Face("", faceIds.get(i), deviceId);
943 FaceService.super.handleEnumerate(face, faceIds.size() - i - 1);
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java711 int[] faceIds = null; in setFaces() local
715 faceIds = new int[numFaces]; in setFaces()
729 faceIds[i] = face.getId(); in setFaces()
745 set(CaptureResult.STATISTICS_FACE_IDS, faceIds); in setFaces()
756 int[] faceIds = get(CaptureResult.STATISTICS_FACE_IDS); in getFaces() local
759 if (areValuesAllNull(faceDetectMode, faceScores, faceRectangles, faceIds, faceLandmarks)) { in getFaces()
793 if (faceIds == null || faceLandmarks == null) { in getFaces()
798 if (faceIds.length != numFaces || in getFaces()
802 faceIds.length, faceLandmarks.length * FACE_LANDMARK_SIZE, numFaces)); in getFaces()
805 numFaces = Math.min(numFaces, faceIds.length); in getFaces()
[all …]
/frameworks/av/services/camera/libcameraservice/api1/client2/
DFrameProcessor.cpp146 const int32_t *faceIds = NULL; in processFaceDetect() local
164 faceIds = entry.data.i32; in processFaceDetect()
205 face.id = faceIds[i]; in processFaceDetect()