• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (c) 2023 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #ifndef FACE_AUTH_HDI
17 #define FACE_AUTH_HDI
18 
19 #include "v1_0/face_auth_types.h"
20 #include "v1_0/iexecutor_callback.h"
21 #include "v1_1/face_auth_types.h"
22 #include "v1_1/iexecutor.h"
23 #include "v1_1/iface_auth_interface.h"
24 #include "v1_1/isa_command_callback.h"
25 
26 namespace OHOS {
27 namespace UserIam {
28 namespace FaceAuth {
29 using IFaceAuthInterface = OHOS::HDI::FaceAuth::V1_1::IFaceAuthInterface;
30 
31 using IExecutorCallback = OHOS::HDI::FaceAuth::V1_1::IExecutorCallback;
32 
33 using IExecutorV1_0 = OHOS::HDI::FaceAuth::V1_0::IExecutor;
34 using IExecutor = OHOS::HDI::FaceAuth::V1_1::IExecutor;
35 
36 using AuthType = OHOS::HDI::FaceAuth::V1_0::AuthType;
37 using ExecutorRole = OHOS::HDI::FaceAuth::V1_0::ExecutorRole;
38 using ExecutorSecureLevel = OHOS::HDI::FaceAuth::V1_0::ExecutorSecureLevel;
39 using CommandId = OHOS::HDI::FaceAuth::V1_1::CommandId;
40 using FaceTipsCode = OHOS::HDI::FaceAuth::V1_0::FaceTipsCode;
41 using ExecutorInfo = OHOS::HDI::FaceAuth::V1_0::ExecutorInfo;
42 using TemplateInfo = OHOS::HDI::FaceAuth::V1_0::TemplateInfo;
43 
44 using GetPropertyType = OHOS::HDI::FaceAuth::V1_1::GetPropertyType;
45 using Property = OHOS::HDI::FaceAuth::V1_1::Property;
46 using SaCommandId = OHOS::HDI::FaceAuth::V1_1::SaCommandId;
47 using SaCommandParamNone = OHOS::HDI::FaceAuth::V1_1::SaCommandParamNone;
48 using SaCommandParam = OHOS::HDI::FaceAuth::V1_1::SaCommandParam;
49 using SaCommand = OHOS::HDI::FaceAuth::V1_1::SaCommand;
50 
51 using ISaCommandCallback = OHOS::HDI::FaceAuth::V1_1::ISaCommandCallback;
52 } // namespace FaceAuth
53 } // namespace UserIam
54 } // namespace OHOS
55 
56 #endif // FACE_AUTH_HDI