• 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 PIN_AUTH_HDI
17 #define PIN_AUTH_HDI
18 
19 #include "v1_0/pin_auth_types.h"
20 #include "v1_0/iexecutor_callback.h"
21 #include "v1_1/pin_auth_types.h"
22 #include "v1_1/iexecutor.h"
23 #include "v1_1/ipin_auth_interface.h"
24 #include "v1_1/pin_auth_interface_service.h"
25 
26 namespace OHOS {
27 namespace UserIam {
28 namespace PinAuth {
29 using IPinAuthInterface = OHOS::HDI::PinAuth::V1_1::IPinAuthInterface;
30 using PinAuthInterfaceService = OHOS::HDI::PinAuth::V1_1::PinAuthInterfaceService;
31 
32 using IExecutorV1_0 = OHOS::HDI::PinAuth::V1_0::IExecutor;
33 using IExecutor = OHOS::HDI::PinAuth::V1_1::IExecutor;
34 
35 using IExecutorCallback = OHOS::HDI::PinAuth::V1_0::IExecutorCallback;
36 using IExecutorCallbackV1_1 = OHOS::HDI::PinAuth::V1_1::IExecutorCallback;
37 
38 using AuthType = OHOS::HDI::PinAuth::V1_0::AuthType;
39 using ExecutorRole = OHOS::HDI::PinAuth::V1_0::ExecutorRole;
40 using ExecutorSecureLevel = OHOS::HDI::PinAuth::V1_0::ExecutorSecureLevel;
41 using CommandId = OHOS::HDI::PinAuth::V1_0::CommandId;
42 using ExecutorInfo = OHOS::HDI::PinAuth::V1_0::ExecutorInfo;
43 using TemplateInfo = OHOS::HDI::PinAuth::V1_0::TemplateInfo;
44 
45 using GetPropertyType = OHOS::HDI::PinAuth::V1_1::GetPropertyType;
46 using Property = OHOS::HDI::PinAuth::V1_1::Property;
47 } // namespace PinAuth
48 } // namespace UserIam
49 } // namespace OHOS
50 
51 #endif // PIN_AUTH_HDI