Home
last modified time | relevance | path

Searched refs:GetCommonDevInfo (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/tests/core/adapter/unittest/
H A Dbus_center_adapter_test.cpp60 int32_t ret = GetCommonDevInfo(COMM_DEVICE_KEY_DEVTYPE, value, len);
63 ret = GetCommonDevInfo(COMM_DEVICE_KEY_BT_MAC, value, len);
66 ret = GetCommonDevInfo(COMM_DEVICE_KEY_BUTT, value, len);
79 int32_t ret = GetCommonDevInfo(COMM_DEVICE_KEY_DEVNAME, NULL, len);
82 ret = GetCommonDevInfo(COMM_DEVICE_KEY_UDID, NULL, len);
85 ret = GetCommonDevInfo(COMM_DEVICE_KEY_DEVTYPE, NULL, len);
88 ret = GetCommonDevInfo(COMM_DEVICE_KEY_BT_MAC, NULL, len);
91 ret = GetCommonDevInfo(COMM_DEVICE_KEY_BUTT, NULL, len);
105 int32_t ret = GetCommonDevInfo(COMM_DEVICE_KEY_DEVNAME, value, len);
108 ret = GetCommonDevInfo(COMM_DEVICE_KEY_UDID, value, len);
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_ledger/
H A Dlnn_local_ledger_test.cpp127 GetCommonDevInfo(_, NotNull(), _)).WillRepeatedly(localLedgerMock.LedgerGetCommonDevInfo);
147 EXPECT_CALL(localLedgerMock, GetCommonDevInfo(_, _, _)).WillRepeatedly(Return(SOFTBUS_ERR));
164 EXPECT_CALL(localLedgerMock, GetCommonDevInfo(_, _, _)).WillRepeatedly(Return(SOFTBUS_ERR));
184 EXPECT_CALL(localLedgerMock, GetCommonDevInfo(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK));
203 EXPECT_CALL(localLedgerMock, GetCommonDevInfo(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK));
223 EXPECT_CALL(localLedgerMock, GetCommonDevInfo(_, _, _))
239 EXPECT_CALL(localLedgerMock, GetCommonDevInfo(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK));
253 EXPECT_CALL(localLedgerMock, GetCommonDevInfo(_, _, _)).WillRepeatedly(Return(SOFTBUS_OK));
281 GetCommonDevInfo(_, NotNull(), _)).WillRepeatedly(localLedgerMock.LedgerGetCommonDevInfo);
328 GetCommonDevInfo(_, NotNull(), _)).WillRepeatedly(localLedgerMock.LedgerGetCommonDevInfo);
[all …]
H A Dlnn_local_ledger_deps_mock.h41 virtual int32_t GetCommonDevInfo(const CommonDeviceKey key, char *value, uint32_t len);
60 MOCK_METHOD3(GetCommonDevInfo, int32_t (const CommonDeviceKey, char *, uint32_t));
H A Dlnn_local_ledger_deps_mock.cpp96 int32_t GetCommonDevInfo(const CommonDeviceKey key, char *value, uint32_t len) in GetCommonDevInfo() function
98 return GetLocalLedgerDepsInterface()->GetCommonDevInfo(key, value, len); in GetCommonDevInfo()
/ohos5.0/foundation/communication/dsoftbus/core/adapter/bus_center/src/
H A Dbus_center_adapter_weak.c27 int32_t __attribute__ ((weak)) GetCommonDevInfo(CommonDeviceKey key, char *value, uint32_t len) in GetCommonDevInfo() function
H A Dbus_center_adapter.c143 int32_t GetCommonDevInfo(CommonDeviceKey key, char *value, uint32_t len) in GetCommonDevInfo() function
/ohos5.0/foundation/communication/dsoftbus/adapter/common/include/
H A Dbus_center_adapter.h55 int32_t GetCommonDevInfo(CommonDeviceKey key, char *value, uint32_t len);
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/net_ledger/local_ledger/src/
H A Dlnn_local_net_ledger.c954 …if (GetCommonDevInfo(COMM_DEVICE_KEY_DEVNAME, info->deviceName, DEVICE_NAME_BUF_LEN) != SOFTBUS_OK… in InitLocalDeviceInfo()
977 if (GetCommonDevInfo(COMM_DEVICE_KEY_DEVTYPE, devType, DEVICE_TYPE_BUF_LEN) != SOFTBUS_OK) { in InitLocalDeviceInfo()
994 … if (GetCommonDevInfo(COMM_DEVICE_KEY_VERSION_TYPE, versionType, VERSION_MAX_LEN) != SOFTBUS_OK) { in InitLocalVersionType()
1029 if (GetCommonDevInfo(COMM_DEVICE_KEY_BLE_MAC, info->bleMacAddr, MAC_LEN) != SOFTBUS_OK) { in InitConnectInfo()
1033 return GetCommonDevInfo(COMM_DEVICE_KEY_BT_MAC, info->macAddr, MAC_LEN); in InitConnectInfo()
2014 … if (GetCommonDevInfo(COMM_DEVICE_KEY_UDID, deviceInfo->deviceUdid, UDID_BUF_LEN) != SOFTBUS_OK) { in LnnFirstGetUdid()
2293 … if (GetCommonDevInfo(COMM_DEVICE_KEY_UDID, deviceInfo->deviceUdid, UDID_BUF_LEN) != SOFTBUS_OK) { in LnnInitLocalLedgerDelay()