1 /* 2 * Copyright (C) 2022 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 package android.hardware.face; 17 18 import android.hardware.face.FaceSensorPropertiesInternal; 19 import java.util.List; 20 21 /** 22 * Callback to notify FaceManager that FaceService has registered all of the 23 * face authenticators (HALs). 24 * See {@link android.hardware.face.IFaceService#registerAuthenticators}. 25 * 26 * @hide 27 */ 28 oneway interface IFaceAuthenticatorsRegisteredCallback { 29 /** 30 * Notifies FaceManager that all of the face authenticators have been registered. 31 * 32 * @param sensors A consolidated list of sensor properties for all of the authenticators. 33 */ onAllAuthenticatorsRegistered(in List<FaceSensorPropertiesInternal> sensors)34 void onAllAuthenticatorsRegistered(in List<FaceSensorPropertiesInternal> sensors); 35 } 36