Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/hardware/face/
DFace.java28 public final class Face extends BiometricAuthenticator.Identifier { class
30 public Face(CharSequence name, int faceId, long deviceId) { in Face() method in Face
34 private Face(Parcel in) { in Face() method in Face
57 …c final @android.annotation.NonNull Parcelable.Creator<Face> CREATOR = new Parcelable.Creator<Face
58 public Face createFromParcel(Parcel in) {
59 return new Face(in);
62 public Face[] newArray(int size) {
63 return new Face[size];
DFaceManager.java80 private Face mRemovalFace;
88 new Face(null, faceId, deviceId)).sendToTarget();
97 public void onAuthenticationSucceeded(long deviceId, Face face, int userId) {
114 new Face(null, faceId, deviceId)).sendToTarget();
412 public void remove(Face face, int userId, RemovalCallback callback) { in remove()
436 public List<Face> getEnrolledFaces(int userId) { in getEnrolledFaces()
454 public List<Face> getEnrolledFaces() { in getEnrolledFaces()
740 private Face mFace;
751 public AuthenticationResult(CryptoObject crypto, Face face, int userId) { in AuthenticationResult()
774 public Face getFace() { in getFace()
[all …]
DIFaceServiceReceiver.aidl18 import android.hardware.face.Face;
27 void onAuthenticationSucceeded(long deviceId, in Face face, int userId); in onAuthenticationSucceeded()
DIFaceService.aidl21 import android.hardware.face.Face;
66 List<Face> getEnrolledFaces(int userId, String opPackageName); in getEnrolledFaces()
DFace.aidl21 parcelable Face;
/frameworks/base/services/core/java/com/android/server/biometrics/face/
DFaceUserState.java21 import android.hardware.face.Face;
76 if (identifier instanceof Face) { in addBiometric()
85 ArrayList<Face> result = new ArrayList<>(array.size()); in getCopy()
87 Face f = (Face) array.get(i); in getCopy()
88 result.add(new Face(f.getName(), f.getBiometricId(), f.getDeviceId())); in getCopy()
97 ArrayList<Face> faces; in doWriteState()
115 Face f = faces.get(i); in doWriteState()
154 … mBiometrics.add(new Face(name, Integer.parseInt(faceId), Integer.parseInt(deviceId))); in parseBiometricsLocked()
DFaceService.java42 import android.hardware.face.Face;
430 public List<Face> getEnrolledFaces(int userId, String opPackageName) { in getEnrolledFaces()
564 final List<Face> faces = FaceService.this.getEnrolledTemplates(user); in getFirstTemplateForUser()
638 if (biometric == null || biometric instanceof Face) { in onAuthenticationSucceeded()
639 mFaceServiceReceiver.onAuthenticationSucceeded(deviceId, (Face) biometric, in onAuthenticationSucceeded()
704 final Face face = new Face(getBiometricUtils()
723 Face face = new Face("", faceId, deviceId);
752 final Face face = new Face("", faceIds.get(i), deviceId);
757 final Face face = new Face("", 0 /* identifier */, deviceId);
770 final Face face = new Face("", faceIds.get(i), deviceId);
[all …]
DFaceUtils.java21 import android.hardware.face.Face;
54 public List<Face> getBiometricsForUser(Context ctx, int userId) { in getBiometricsForUser()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DLegacyFaceDetectMapper.java27 import android.hardware.camera2.params.Face;
61 private Camera.Face[] mFaces;
62 private Camera.Face[] mFacesPrev;
87 public void onFaceDetection(Camera.Face[] faces, Camera camera) { in LegacyFaceDetectMapper()
211 Camera.Face[] faces, previousFaces; in mapResultFaces()
239 List<Face> convertedFaces = new ArrayList<>(); in mapResultFaces()
241 for (Camera.Face face : faces) { in mapResultFaces()
255 result.set(CaptureResult.STATISTICS_FACES, convertedFaces.toArray(new Face[0])); in mapResultFaces()
DParameterUtils.java25 import android.hardware.camera2.params.Face;
175 public Face toFace( in toFace()
179 Face.SCORE_MIN, in toFace()
180 Face.SCORE_MAX, in toFace()
184 return new Face(rect, score, idSafe, leftEyePosition, rightEyePosition, mouthPosition); in toFace()
198 public Face toFace() { in toFace()
200 Face.SCORE_MIN, in toFace()
201 Face.SCORE_MAX, in toFace()
205 return new Face(rect, score); in toFace()
912 public static Face convertFaceFromLegacy(Camera.Face face, Rect activeArray, in convertFaceFromLegacy()
[all …]
/frameworks/base/media/java/android/media/
DFaceDetector.java35 public class Face { class in FaceDetector
89 private Face() { in Face() method in FaceDetector.Face
139 public int findFaces(Bitmap bitmap, Face[] faces) in findFaces()
158 faces[i] = new Face(); in findFaces()
191 native private void fft_get_face(Face face, int i); in fft_get_face()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DFaceSquareFilterTest.java39 import android.hardware.Camera.Face;
59 FrameValues facesFrame = createFrame(FrameType.array(Camera.Face.class), new int[] {1,1}). in testFaceSquareFilter()
66 Face face = new Face(); in testFaceSquareFilter()
71 Face[] faces = new Face[1]; in testFaceSquareFilter()
/frameworks/base/core/java/android/hardware/camera2/params/
DFace.java29 public final class Face { class
87 public Face(Rect bounds, int score, int id, in Face() method in Face
131 public Face(Rect bounds, int score) { in Face() method in Face
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DFaceSquareFilter.java22 import android.hardware.Camera.Face;
51 FrameType facesType = FrameType.array(Camera.Face.class); in getSignature()
67 Face[] faces = (Face[]) facesFrame.getValues(); in onProcess()
82 public void drawBoxes(byte[] pixels, Face[] faces, int[] dims) { in drawBoxes()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraMetadataNative.java51 import android.hardware.camera2.params.Face;
690 private boolean setFaces(Face[] faces) { in setFaces()
699 for (Face face : faces) { in setFaces()
706 if (face.getId() == Face.ID_UNSUPPORTED) { in setFaces()
722 for (Face face : faces) { in setFaces()
754 private Face[] getFaces() { in getFaces()
773 return new Face[0]; in getFaces()
778 return new Face[0]; in getFaces()
785 return new Face[0]; in getFaces()
812 ArrayList<Face> faceList = new ArrayList<Face>(); in getFaces()
[all …]
/frameworks/base/core/java/android/hardware/camera2/
DCaptureResult.java3889 public static final Key<android.hardware.camera2.params.Face[]> STATISTICS_FACES =
3890 …new Key<android.hardware.camera2.params.Face[]>("android.statistics.faces", android.hardware.camer…
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DCameraMetadataTest.java38 import android.hardware.camera2.params.Face;
1038 Face[] resultFaces = mMetadata.get(CaptureResult.STATISTICS_FACES); in testReadWriteOverride()
1056 Face[] resultSimpleFaces = mMetadata.get(CaptureResult.STATISTICS_FACES); in testReadWriteOverride()
1059 assertEquals(Face.ID_UNSUPPORTED, resultSimpleFaces[i].getId()); in testReadWriteOverride()
/frameworks/base/core/java/android/hardware/
DCamera.java1250 mFaceListener.onFaceDetection((Face[])msg.obj, mCamera); in handleMessage()
1842 void onFaceDetection(Face[] faces, Camera camera); in onFaceDetection()
1921 public static class Face { class in Camera
1925 public Face() { in Face() method in Camera.Face
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DCameraAgent.java216 public void onFaceDetection(Camera.Face[] faces, CameraProxy camera); in onFaceDetection()
DAndroidCameraAgentImpl.java1334 final Camera.Face[] faces, Camera camera) { in onFaceDetection()
/frameworks/base/core/proto/android/app/
Dsettings_enums.proto2105 // OPEN: Face Enroll introduction
2110 // OPEN: Face Enroll introduction
2115 // OPEN: Face Enroll introduction
2120 // OPEN: Face Enroll sidecar
2129 // OPEN: Settings > Security > Face
2339 // OPEN: Settings > Face > Remove face
/frameworks/rs/script_api/include/
Drs_for_each.rsh407 * rsGetFace: Coordinate of the Face for the specified kernel context
/frameworks/base/proto/src/metrics_constants/
Dmetrics_constants.proto6238 // OPEN: Face Enroll introduction
6243 // OPEN: Face Enroll introduction
6248 // OPEN: Face Enroll introduction
6253 // OPEN: Face Enroll sidecar
6262 // OPEN: Settings > Security > Face
7146 // OPEN: Settings > Face > Remove face
/frameworks/base/config/
Dpreloaded-classes1394 android.hardware.Camera$Face
1502 android.hardware.camera2.params.Face
/frameworks/base/cmds/statsd/src/
Datoms.proto6421 * Logs the settings related to Face.

12