Home
last modified time | relevance | path

Searched refs:InfoKey (Results 1 – 25 of 53) sorted by relevance

123

/ohos5.0/foundation/communication/dsoftbus/core/bus_center/interface/
H A Dbus_center_manager.h57 int32_t LnnSetLocalStrInfo(InfoKey key, const char *info);
58 int32_t LnnSetLocalNumInfo(InfoKey key, int32_t info);
60 int32_t LnnGetLocalNumInfo(InfoKey key, int32_t *info);
61 int32_t LnnGetLocalNum64Info(InfoKey key, int64_t *info);
62 int32_t LnnGetLocalNumU64Info(InfoKey key, uint64_t *info);
63 int32_t LnnSetLocalNum64Info(InfoKey key, int64_t info);
64 int32_t LnnGetLocalNum16Info(InfoKey key, int16_t *info);
65 int32_t LnnSetLocalNum16Info(InfoKey key, int16_t info);
66 int32_t LnnGetLocalNumU16Info(InfoKey key, uint16_t *info);
67 int32_t LnnSetLocalNumU16Info(InfoKey key, uint16_t info);
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/include/
H A Dlnn_lane_deps_mock.h61 virtual int32_t LnnGetLocalNumInfo(InfoKey key, int32_t *info) = 0;
63 virtual int32_t LnnGetLocalStrInfo(InfoKey key, char *info, uint32_t len) = 0;
80 virtual int32_t LnnGetLocalNumU64Info(InfoKey key, uint64_t *info) = 0;
103 virtual int32_t LnnGetLocalNumU32Info(InfoKey key, uint32_t *info) = 0;
104 virtual int32_t LnnSetLocalNumU32Info(InfoKey key, uint32_t info) = 0;
128 MOCK_METHOD3(LnnGetLocalStrInfo, int32_t (InfoKey, char*, uint32_t));
136 MOCK_METHOD2(LnnGetLocalNumInfo, int32_t (InfoKey, int32_t*));
137 MOCK_METHOD3(LnnGetRemoteNumInfo, int32_t (const char*, InfoKey, int32_t*));
145 MOCK_METHOD2(LnnGetLocalNumU64Info, int32_t (InfoKey, uint64_t *));
168 MOCK_METHOD2(LnnGetLocalNumU32Info, int32_t (InfoKey key, uint32_t *info));
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/include/
H A Dlnn_net_ledger_mock.h49 virtual int32_t LnnGetLocalNumInfo(InfoKey key, int32_t *info) = 0;
50 virtual int32_t LnnGetLocalNumU32Info(InfoKey key, uint32_t *info) = 0;
54 virtual int32_t LnnSetLocalNumInfo(InfoKey key, int32_t info) = 0;
55 virtual int32_t LnnSetLocalStrInfo(InfoKey key, const char *info) = 0;
82 virtual int32_t LnnSetLocalNum64Info(InfoKey key, int64_t info) = 0;
132 MOCK_METHOD2(LnnGetLocalNumInfo, int32_t (InfoKey, int32_t *));
133 MOCK_METHOD2(LnnGetLocalNumU32Info, int32_t (InfoKey, uint32_t *));
137 MOCK_METHOD2(LnnSetLocalNumInfo, int32_t (InfoKey, int32_t));
138 MOCK_METHOD2(LnnSetLocalStrInfo, int32_t (InfoKey, const char *));
167 MOCK_METHOD2(LnnSetLocalNum64Info, int32_t (InfoKey, int64_t));
[all …]
H A Dlnn_net_builder_deps_mock.h76 virtual int32_t LnnSetLocalStrInfo(InfoKey key, const char *info);
77 virtual int32_t LnnSetLocalNumInfo(InfoKey key, int32_t info);
78 virtual int32_t LnnGetLocalStrInfo(InfoKey key, char *info, uint32_t len);
79 virtual int32_t LnnGetLocalNumInfo(InfoKey key, int32_t *info);
80 virtual int32_t LnnGetLocalNumU32Info(InfoKey key, uint32_t *info);
217 MOCK_METHOD2(LnnSetLocalStrInfo, int32_t (InfoKey, const char *));
218 MOCK_METHOD2(LnnSetLocalNumInfo, int32_t (InfoKey, int32_t));
219 MOCK_METHOD3(LnnGetLocalStrInfo, int32_t (InfoKey, char *, uint32_t));
220 MOCK_METHOD2(LnnGetLocalNumInfo, int32_t (InfoKey, int32_t *));
221 MOCK_METHOD2(LnnGetLocalNumU32Info, int32_t (InfoKey, uint32_t *));
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/wifi_direct_cpp/
H A Dwifi_direct_mock.h46 virtual int32_t LnnGetLocalStrInfo(InfoKey key, char *info, uint32_t len) = 0;
47 virtual int32_t LnnSetLocalNumInfo(InfoKey key, int32_t info) = 0;
48 virtual int32_t LnnSetLocalStrInfo(InfoKey key, const char *info) = 0;
67 virtual int32_t LnnGetLocalNumInfo(InfoKey key, int32_t *info) = 0;
68 virtual int32_t LnnGetRemoteNumInfo(const char *netWorkId, InfoKey key, int32_t *info) = 0;
73 …virtual int32_t LnnGetRemoteByteInfo(const char *networkId, InfoKey key, uint8_t *info, uint32_t l…
134 MOCK_METHOD(int32_t, LnnGetLocalStrInfo, (InfoKey, char*, uint32_t), (override));
149 MOCK_METHOD2(LnnGetLocalNumInfo, int32_t (InfoKey, int32_t*));
150 MOCK_METHOD3(LnnGetRemoteNumInfo, int32_t (const char*, InfoKey, int32_t*));
158 MOCK_METHOD2(LnnSetLocalStrInfo, int32_t (InfoKey, const char *));
[all …]
H A Dwifi_direct_mock.cpp48 int32_t LnnGetLocalStrInfo(InfoKey key, char *info, uint32_t len) in LnnGetLocalStrInfo()
53 int32_t LnnSetLocalStrInfo(InfoKey key, const char *info) in LnnSetLocalStrInfo()
58 int32_t LnnSetLocalNumInfo(InfoKey key, int32_t info) in LnnSetLocalNumInfo()
78 int32_t LnnGetRemoteStrInfo(const char *networkId, InfoKey key, char *info, uint32_t len) in LnnGetRemoteStrInfo()
84 int32_t LnnGetRemoteBoolInfoIgnoreOnline(const char *networkId, InfoKey key, bool *info) in LnnGetRemoteBoolInfoIgnoreOnline()
137 int32_t LnnGetLocalNumInfo(InfoKey key, int32_t *info) in LnnGetLocalNumInfo()
142 int32_t LnnGetRemoteNumInfo(const char *netWorkId, InfoKey key, int32_t *info) in LnnGetRemoteNumInfo()
157 int32_t LnnGetRemoteByteInfo(const char *networkId, InfoKey key, uint8_t *info, uint32_t len) in LnnGetRemoteByteInfo()
/ohos5.0/foundation/communication/dsoftbus/tests/core/discovery/ble/softbus_ble_mock/
H A Dbus_center_mock.h29 virtual int32_t LnnGetLocalStrInfo(InfoKey key, char *info, uint32_t len) = 0;
31 virtual int32_t LnnGetLocalByteInfo(InfoKey key, uint8_t *info, uint32_t len) = 0;
50 MOCK_METHOD(int32_t, LnnGetLocalStrInfo, (InfoKey key, char *info, uint32_t len), (override));
52 … MOCK_METHOD(int32_t, LnnGetLocalByteInfo, (InfoKey key, uint8_t *info, uint32_t len), (override));
61 static int32_t ActionOfLnnGetLocalStrInfo(InfoKey key, char *out, uint32_t outSize);
63 static int32_t ActionOfLnnGetLocalByteInfo(InfoKey key, uint8_t *out, uint32_t outSize);
H A Dbus_center_mock.cpp22 int32_t LnnGetLocalStrInfo(InfoKey key, char *info, uint32_t len) in LnnGetLocalStrInfo()
32 int32_t LnnGetLocalByteInfo(InfoKey key, uint8_t *info, uint32_t len) in LnnGetLocalByteInfo()
67 int32_t BusCenterMock::ActionOfLnnGetLocalStrInfo(InfoKey key, char *out, uint32_t outSize) in ActionOfLnnGetLocalStrInfo()
96 int32_t BusCenterMock::ActionOfLnnGetLocalByteInfo(InfoKey key, uint8_t *out, uint32_t outSize) in ActionOfLnnGetLocalByteInfo()
/ohos5.0/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_common_mock.h41 virtual int32_t LnnGetLocalNumU64Info(InfoKey key, uint64_t *info) = 0;
52 virtual int32_t LnnSetLocalStrInfo(InfoKey key, const char *info) = 0;
56 virtual int32_t LnnGetRemoteNumU64Info(const char *networkId, InfoKey key, uint64_t *info) = 0;
66 MOCK_METHOD3(LnnGetRemoteNumU64Info, int32_t(const char *, InfoKey, uint64_t *));
68 MOCK_METHOD2(LnnGetLocalNumU64Info, int32_t (InfoKey, uint64_t *));
79 MOCK_METHOD2(LnnSetLocalStrInfo, int32_t (InfoKey, const char *));
H A Dauth_net_ledger_mock.h39 virtual int32_t LnnGetLocalStrInfo(InfoKey key, char *info, uint32_t len) = 0;
53 virtual int32_t LnnGetLocalNumInfo(InfoKey key, int32_t *info) = 0;
57 virtual int32_t LnnGetRemoteNumInfo(const char *netWorkId, InfoKey key, int32_t *info) = 0;
75 MOCK_METHOD3(LnnGetLocalStrInfo, int32_t(InfoKey, char *, uint32_t));
89 MOCK_METHOD2(LnnGetLocalNumInfo, int32_t(InfoKey, int32_t *));
93 MOCK_METHOD3(LnnGetRemoteNumInfo, int32_t(const char *, InfoKey, int32_t *));
H A Dauth_lane_mock.h31 …virtual int32_t LnnGetRemoteStrInfo(const char *networkId, InfoKey key, char *info, uint32_t len) …
37 MOCK_METHOD4(LnnGetRemoteStrInfo, int32_t(const char *, InfoKey, char *, uint32_t));
H A Dauth_common_mock.cpp45 int32_t LnnGetRemoteNumU64Info(const char *networkId, InfoKey key, uint64_t *info) in LnnGetRemoteNumU64Info()
50 int32_t LnnGetLocalNumU64Info(InfoKey key, uint64_t *info) in LnnGetLocalNumU64Info()
105 int32_t LnnSetLocalStrInfo(InfoKey key, const char *info) in LnnSetLocalStrInfo()
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/include/
H A Ddistribute_net_ledger_mock.h32 …virtual int32_t LnnGetRemoteStrInfo(const char *netWorkId, InfoKey key, char *info, uint32_t len) …
34 virtual int32_t LnnGetRemoteNumU64Info(const char *networkId, InfoKey key, uint64_t *info) = 0;
45 MOCK_METHOD4(LnnGetRemoteStrInfo, int32_t(const char *, InfoKey, char *, uint32_t));
48 … MOCK_METHOD3(LnnGetRemoteNumU64Info, int32_t(const char *networkId, InfoKey key, uint64_t *info));
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/
H A Dlnn_net_ledger_mock.cpp163 int32_t LnnNetLedgertInterfaceMock::ActionOfLnnGetLocalStrInfo(InfoKey key, char *info, uint32_t le… in ActionOfLnnGetLocalStrInfo()
176 int32_t LnnNetLedgertInterfaceMock::ActionOfLnnGetLocalStrInfo1(InfoKey key, char *info, uint32_t l… in ActionOfLnnGetLocalStrInfo1()
234 int32_t LnnGetLocalStrInfo(InfoKey key, char *info, uint32_t len) in LnnGetLocalStrInfo()
299 int32_t LnnGetLocalNumInfo(InfoKey key, int32_t *info) in LnnGetLocalNumInfo()
304 int32_t LnnGetLocalNumU32Info(InfoKey key, uint32_t *info) in LnnGetLocalNumU32Info()
386 int32_t LnnSetLocalStrInfo(InfoKey key, const char *info) in LnnSetLocalStrInfo()
391 int32_t LnnSetLocalNumInfo(InfoKey key, int32_t info) in LnnSetLocalNumInfo()
466 int32_t LnnSetLocalNum64Info(InfoKey key, int64_t info) in LnnSetLocalNum64Info()
476 int32_t LnnGetRemoteNumInfo(const char *netWorkId, InfoKey key, int32_t *info) in LnnGetRemoteNumInfo()
486 int32_t LnnGetLocalByteInfo(InfoKey key, uint8_t *info, uint32_t len) in LnnGetLocalByteInfo()
[all …]
H A Dlnn_net_builder_deps_mock.cpp125 int32_t LnnSetLocalStrInfo(InfoKey key, const char *info) in LnnSetLocalStrInfo()
130 int32_t LnnSetLocalNumInfo(InfoKey key, int32_t info) in LnnSetLocalNumInfo()
135 int32_t LnnGetLocalStrInfo(InfoKey key, char *info, uint32_t len) in LnnGetLocalStrInfo()
140 int32_t LnnGetLocalNumInfo(InfoKey key, int32_t *info) in LnnGetLocalNumInfo()
145 int32_t LnnGetLocalNumU32Info(InfoKey key, uint32_t *info) in LnnGetLocalNumU32Info()
155 int32_t LnnGetRemoteStrInfo(const char *netWorkId, InfoKey key, char *info, uint32_t len) in LnnGetRemoteStrInfo()
160 int32_t LnnGetRemoteNumInfo(const char *netWorkId, InfoKey key, int32_t *info) in LnnGetRemoteNumInfo()
165 int32_t LnnGetRemoteNumU32Info(const char *netWorkId, InfoKey key, uint32_t *info) in LnnGetRemoteNumU32Info()
603 int32_t LnnSetLocalByteInfo(InfoKey key, const uint8_t *info, uint32_t len) in LnnSetLocalByteInfo()
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/src/
H A Dlnn_lane_deps_mock.cpp94 int32_t LaneDepsInterfaceMock::ActionOfGetRemoteStrInfo(const char *netWorkId, InfoKey key, char *i… in ActionOfGetRemoteStrInfo()
185 int32_t LnnGetLocalStrInfo(InfoKey key, char *info, uint32_t len) in LnnGetLocalStrInfo()
190 int32_t LnnGetRemoteStrInfo(const char *netWorkId, InfoKey key, char *info, uint32_t len) in LnnGetRemoteStrInfo()
226 int32_t LnnGetLocalNumInfo(InfoKey key, int32_t *info) in LnnGetLocalNumInfo()
231 int32_t LnnGetRemoteNumInfo(const char *netWorkId, InfoKey key, int32_t *info) in LnnGetRemoteNumInfo()
236 int32_t LnnGetLocalNumU32Info(InfoKey key, uint32_t *info) in LnnGetLocalNumU32Info()
241 int32_t LnnSetLocalNumU32Info(InfoKey key, uint32_t info) in LnnSetLocalNumU32Info()
251 int32_t LnnGetRemoteNumU32Info(const char *netWorkId, InfoKey key, uint32_t *info) in LnnGetRemoteNumU32Info()
291 int32_t LnnGetLocalNumU64Info(InfoKey key, uint64_t *info) in LnnGetLocalNumU64Info()
296 int32_t LnnGetRemoteNumU64Info(const char *networkId, InfoKey key, uint64_t *info) in LnnGetRemoteNumU64Info()
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/ble/mock/
H A Dconnection_ble_manager_mock.h47 …virtual int32_t LnnGetRemoteStrInfo(const char *netWorkId, InfoKey key, char *info, uint32_t len) …
48 virtual int32_t LnnGetLocalStrInfo(InfoKey key, char *info, uint32_t len) = 0;
49 virtual int32_t LnnGetLocalNumInfo(InfoKey key, int32_t *info) = 0;
90 MOCK_METHOD4(LnnGetRemoteStrInfo, int32_t(const char *, InfoKey, char *, uint32_t));
97 MOCK_METHOD(int32_t, LnnGetLocalStrInfo, (InfoKey, char *, uint32_t), (override));
98 MOCK_METHOD(int32_t, LnnGetLocalNumInfo, (InfoKey, int32_t *), (override));
H A Dconnection_ble_client_mock.h47 virtual int32_t LnnGetLocalStrInfo(InfoKey key, char *info, uint32_t len) = 0;
48 virtual int32_t LnnGetLocalNumInfo(InfoKey key, int32_t *info) = 0;
72 MOCK_METHOD(int32_t, LnnGetLocalStrInfo, (InfoKey, char *, uint32_t));
73 MOCK_METHOD(int32_t, LnnGetLocalNumInfo, (InfoKey, int32_t *));
H A Dconnection_ble_manager_mock.cpp99 int32_t LnnGetRemoteStrInfo(const char *netWorkId, InfoKey key, char *info, uint32_t len) in LnnGetRemoteStrInfo()
104 int32_t LnnGetLocalStrInfo(InfoKey key, char *info, uint32_t len) in LnnGetLocalStrInfo()
109 int32_t LnnGetLocalNumInfo(InfoKey key, int32_t *info) in LnnGetLocalNumInfo()
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/common/mock/
H A Dtrans_lane_common_test_mock.h36 …virtual int32_t LnnGetRemoteStrInfo(const char *networkId, InfoKey key, char *info, uint32_t len) …
40 virtual int32_t LnnGetLocalStrInfo(InfoKey key, char *info, uint32_t len) = 0;
54 …MOCK_METHOD4(LnnGetRemoteStrInfo, int32_t (const char *networkId, InfoKey key, char *info, uint32_…
58 MOCK_METHOD3(LnnGetLocalStrInfo, int32_t (InfoKey key, char *info, uint32_t len));
H A Dtrans_lane_pending_test_mock.h50 virtual int32_t LnnGetLocalStrInfo(InfoKey key, char *info, uint32_t len) = 0;
52 …virtual int32_t LnnGetRemoteStrInfo(const char *networkId, InfoKey key, char *info, uint32_t len) …
77 MOCK_METHOD3(LnnGetLocalStrInfo, int32_t (InfoKey key, char *info, uint32_t len));
79 …MOCK_METHOD4(LnnGetRemoteStrInfo, int32_t (const char *networkId, InfoKey key, char *info, uint32_…
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/test/mock/include/
H A Dhb_fsm_strategy_mock.h66 virtual int32_t LnnGetLocalNumU64Info(InfoKey key, uint64_t *info) = 0;
67 virtual int32_t LnnGetRemoteNumU64Info(const char *networkId, InfoKey key, uint64_t *info) = 0;
106 MOCK_METHOD2(LnnGetLocalNumU64Info, int32_t (InfoKey, uint64_t *));
107 MOCK_METHOD3(LnnGetRemoteNumU64Info, int32_t (const char *, InfoKey, uint64_t *));
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/mock_common/src/
H A Ddistribute_net_ledger_mock.cpp51 int32_t LnnGetRemoteStrInfo(const char *netWorkId, InfoKey key, char *info, uint32_t len) in LnnGetRemoteStrInfo()
63 int32_t LnnGetRemoteNumU64Info(const char *networkId, InfoKey key, uint64_t *info) in LnnGetRemoteNumU64Info()
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/common/mock/include/
H A Dtrans_auth_mock.h79 virtual int32_t LnnGetLocalStrInfo(InfoKey key, char *info, uint32_t len) = 0;
82 …virtual int32_t LnnGetRemoteStrInfo(const char *networkId, InfoKey key, char *info, uint32_t len) …
139 MOCK_METHOD3(LnnGetLocalStrInfo, int32_t (InfoKey, char *, uint32_t));
142 MOCK_METHOD4(LnnGetRemoteStrInfo, int32_t (const char *, InfoKey, char *, uint32_t));
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/distributed_ledger/src/
H A Dlnn_distributed_net_ledger_virtual.c31 int32_t LnnGetRemoteStrInfo(const char *networkId, InfoKey key, char *info, uint32_t len) in LnnGetRemoteStrInfo()
40 int32_t LnnGetDLNumInfo(const char *networkId, InfoKey key, int32_t *info) in LnnGetDLNumInfo()

123