1 /*
2 * Copyright (c) 2022-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 #include "lnn_settingdata_event_monitor.h"
16
17 #include "softbus_errcode.h"
18
LnnGetSettingDeviceName(char * deviceName,uint32_t len)19 int32_t LnnGetSettingDeviceName(char *deviceName, uint32_t len)
20 {
21 (void)deviceName;
22 (void)len;
23 return SOFTBUS_ERR;
24 }
25
LnnInitGetDeviceName(LnnDeviceNameHandler handler)26 int32_t LnnInitGetDeviceName(LnnDeviceNameHandler handler)
27 {
28 (void)handler;
29 return SOFTBUS_OK;
30 }
31
LnnInitDeviceNameMonitorImpl(void)32 int32_t LnnInitDeviceNameMonitorImpl(void)
33 {
34 return SOFTBUS_OK;
35 }
36
RegisterNameMonitor(void)37 void RegisterNameMonitor(void)
38 {
39 }
40
LnnGetUnifiedDisplayDeviceName(char * unifiedDisplayName,uint32_t len)41 int32_t LnnGetUnifiedDisplayDeviceName(char *unifiedDisplayName, uint32_t len)
42 {
43 (void)unifiedDisplayName;
44 (void)len;
45 return SOFTBUS_NOT_IMPLEMENT;
46 }
47
LnnGetUnifiedDeviceName(char * unifiedName,uint32_t len)48 int32_t LnnGetUnifiedDeviceName(char *unifiedName, uint32_t len)
49 {
50 (void)unifiedName;
51 (void)len;
52 return SOFTBUS_NOT_IMPLEMENT;
53 }
54
LnnGetUnifiedDefaultDeviceName(char * unifiedDefaultName,uint32_t len)55 int32_t LnnGetUnifiedDefaultDeviceName(char *unifiedDefaultName, uint32_t len)
56 {
57 (void)unifiedDefaultName;
58 (void)len;
59 return SOFTBUS_NOT_IMPLEMENT;
60 }
61
LnnGetSettingNickName(const char * defaultName,const char * unifiedName,char * nickName,uint32_t len)62 int32_t LnnGetSettingNickName(const char *defaultName, const char *unifiedName, char *nickName, uint32_t len)
63 {
64 (void)defaultName;
65 (void)unifiedName;
66 (void)nickName;
67 (void)len;
68 return SOFTBUS_NOT_IMPLEMENT;
69 }
70
LnnGetDeviceDisplayName(const char * nickName,const char * defaultName,char * deviceName,uint32_t len)71 int32_t LnnGetDeviceDisplayName(const char *nickName, const char *defaultName, char *deviceName, uint32_t len)
72 {
73 (void)nickName;
74 (void)defaultName;
75 (void)deviceName;
76 (void)len;
77 return SOFTBUS_NOT_IMPLEMENT;
78 }
79