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.java748 public void onRemoved(final long deviceId, ArrayList<Integer> faceIds, final int userId) {
750 if (!faceIds.isEmpty()) {
751 for (int i = 0; i < faceIds.size(); i++) {
752 final Face face = new Face("", faceIds.get(i), deviceId);
754 FaceService.super.handleRemoved(face, faceIds.size() - i - 1);
765 public void onEnumerate(long deviceId, ArrayList<Integer> faceIds, int userId)
768 if (!faceIds.isEmpty()) {
769 for (int i = 0; i < faceIds.size(); i++) {
770 final Face face = new Face("", faceIds.get(i), deviceId);
772 FaceService.super.handleEnumerate(face, faceIds.size() - i - 1);
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java713 int[] faceIds = null; in setFaces() local
717 faceIds = new int[numFaces]; in setFaces()
731 faceIds[i] = face.getId(); in setFaces()
747 set(CaptureResult.STATISTICS_FACE_IDS, faceIds); in setFaces()
758 int[] faceIds = get(CaptureResult.STATISTICS_FACE_IDS); in getFaces() local
761 if (areValuesAllNull(faceDetectMode, faceScores, faceRectangles, faceIds, faceLandmarks)) { in getFaces()
795 if (faceIds == null || faceLandmarks == null) { in getFaces()
800 if (faceIds.length != numFaces || in getFaces()
804 faceIds.length, faceLandmarks.length * FACE_LANDMARK_SIZE, numFaces)); in getFaces()
807 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()