1 /*
2 * Copyright (c) 2022 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 #include "dev_auth_hievent.h"
17 #include "hidump_adapter.h"
18 #include "hisysevent_adapter.h"
19 #include "hitrace_adapter.h"
20
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24
25 // dev_auth_hievent
ReportHiEventCoreFuncInvoke(int32_t eventId,int32_t osAccountId,CJson * params,int32_t result)26 void ReportHiEventCoreFuncInvoke(int32_t eventId, int32_t osAccountId, CJson *params, int32_t result)
27 {
28 (void)eventId;
29 (void)osAccountId;
30 (void)params;
31 (void)result;
32 }
33
34 // hidump_adapter
DevAuthDump(int fd)35 void DevAuthDump(int fd)
36 {
37 (void)fd;
38 }
39
RegisterDumpFunc(DumpCallBack func)40 void RegisterDumpFunc(DumpCallBack func)
41 {
42 (void)func;
43 }
44
45 // hisysevent_adapter
ReportCoreFuncInvokeEvent(const InvokeEvent * event)46 void ReportCoreFuncInvokeEvent(const InvokeEvent *event)
47 {
48 (void)event;
49 }
50
51 // hitrace_adapter
DevAuthStartTrace(const char * value)52 void DevAuthStartTrace(const char *value)
53 {
54 (void)value;
55 }
56
DevAuthFinishTrace(void)57 void DevAuthFinishTrace(void)
58 {
59 }
60
61 #ifdef __cplusplus
62 }
63 #endif
64