/foundation/distributedhardware/device_manager/services/softbuscache/src/ |
H A D | dm_softbus_cache.cpp | 37 int32_t ret = GetLocalNodeDeviceInfo(DM_PKG_NAME, &nodeBasicInfo); in SaveLocalDeviceInfo() 69 int32_t ret = GetLocalNodeDeviceInfo(DM_PKG_NAME, &nodeBasicInfo); in GetLocalDeviceInfo() 87 int32_t ret = GetLocalNodeDeviceInfo(DM_PKG_NAME, &nodeBasicInfo); in UpDataLocalDevInfo() 100 int32_t ret = GetNodeKeyInfo(DM_PKG_NAME, networkId, NodeDeviceInfoKey::NODE_KEY_UDID, mUdid, sizeof(mUdid)); in GetUdidByNetworkId() 112 int32_t ret = GetNodeKeyInfo(DM_PKG_NAME, networkId, NodeDeviceInfoKey::NODE_KEY_UUID, mUuid, sizeof(mUuid)); in GetUuidByNetworkId() 199 int32_t ret = GetAllNodeDeviceInfo(DM_PKG_NAME, &nodeInfo, &deviceCount); in UpdateDeviceInfoCache() 291 if (GetNodeKeyInfo(DM_PKG_NAME, networkId, NodeDeviceInfoKey::NODE_KEY_DEVICE_SECURITY_LEVEL, in SaveDeviceSecurityLevel() 326 if (GetNodeKeyInfo(DM_PKG_NAME, networkId, NodeDeviceInfoKey::NODE_KEY_DEVICE_SECURITY_LEVEL, in GetDevLevelFromBus() 364 int32_t ret = GetAllNodeDeviceInfo(DM_PKG_NAME, &nodeInfo, &nodeInfoCount); in GetDevInfoFromBus()
|
/foundation/distributedhardware/device_manager/services/implementation/src/dependency/softbus/ |
H A D | softbus_connector.cpp | 142 int32_t ret = ::PublishLNN(DM_PKG_NAME, &publishInfo, &softbusPublishCallback_); in PublishDiscovery() 153 int32_t ret = ::StopPublishLNN(DM_PKG_NAME, publishId); in UnPublishDiscovery() 177 int32_t ret = ::RefreshLNN(DM_PKG_NAME, &subscribeInfo, &softbusDiscoveryCallback_); in StartDiscovery() 214 int32_t ret = ::RefreshLNN(DM_PKG_NAME, &subscribeInfo, &softbusDiscoveryByIdCallback_); in StartDiscovery() 238 int32_t ret = ::StopRefreshLNN(DM_PKG_NAME, subscribeId); in StopDiscovery() 267 int32_t ret = ::JoinLNN(DM_PKG_NAME, addrInfo, OnSoftbusJoinLNNResult); in JoinLnn() 606 int32_t ret = GetLocalNodeDeviceInfo(DM_PKG_NAME, &nodeBasicInfo); in GetLocalDeviceName() 617 int32_t ret = GetLocalNodeDeviceInfo(DM_PKG_NAME, &nodeBasicInfo); in GetLocalDeviceTypeId() 628 int32_t ret = GetLocalNodeDeviceInfo(DM_PKG_NAME, &nodeBasicInfo); in GetLocalDeviceNetworkId() 653 if (GetAllNodeDeviceInfo(DM_PKG_NAME, in GetNetworkIdByDeviceId() [all...] |
/foundation/distributedhardware/device_manager/services/implementation/src/dependency/hichain/ |
H A D | mine_hichain_connector.cpp | 102 retValue = g_deviceGroupManager->unRegCallback(DM_PKG_NAME); in Init() 106 retValue = g_deviceGroupManager->regCallback(DM_PKG_NAME, &g_deviceAuthCallback); in Init() 124 if (g_deviceGroupManager->unRegCallback(DM_PKG_NAME) != HC_SUCCESS) { in UnInit() 177 retValue = g_deviceGroupManager->createGroup(DEFAULT_OS_ACCOUNT, requestId, DM_PKG_NAME, createParams.c_str()); in CreateGroup() 252 int32_t retValue = g_deviceGroupManager->regCallback(DM_PKG_NAME, &g_deviceAuthCallback); in ImportCredential()
|
H A D | hichain_connector.cpp | 105 int32_t ret = deviceGroupManager_->regCallback(DM_PKG_NAME, &deviceAuthCallback_); in HiChainConnector() 158 int32_t ret = deviceGroupManager_->createGroup(userId, requestId, DM_PKG_NAME, jsonObj.dump().c_str()); in CreateGroup() 226 return GetGroupInfoCommon(userId, queryParams, DM_PKG_NAME, groupList); in GetGroupInfo() 354 int32_t ret = deviceGroupManager_->addMemberToGroup(userId, requestId, DM_PKG_NAME, tmpStr.c_str()); in AddMember() 520 return GetRelatedGroupsCommon(deviceId, DM_PKG_NAME, groupList); in GetRelatedGroups() 570 group.groupOwner != std::string(DM_PKG_NAME)) { in IsGroupInfoInvalid() 606 int32_t ret = deviceGroupManager_->deleteMemberFromGroup(userId, requestId, DM_PKG_NAME, deleteParams.c_str()); in DelMemberFromGroup() 626 int32_t ret = deviceGroupManager_->deleteGroup(userId, requestId, DM_PKG_NAME, disbandParams.c_str()); in DeleteGroup() 660 int32_t ret = deviceGroupManager_->deleteGroup(userId, requestId, DM_PKG_NAME, disbandParams.c_str()); in DeleteGroup() 701 int32_t ret = deviceGroupManager_->deleteGroup(osAccountUserId, requestId_, DM_PKG_NAME, in DeleteGroup() [all...] |
/foundation/distributedhardware/device_manager/services/service/src/softbus/ |
H A D | softbus_listener.cpp | 329 if (GetNodeKeyInfo(DM_PKG_NAME, info->networkId, NodeDeviceInfoKey::NODE_KEY_NETWORK_TYPE, in OnSoftbusDeviceInfoChanged() 456 int32_t ret = CreateSessionServer(DM_PKG_NAME, DM_SESSION_NAME, &sessionListener); in SoftbusListener() 467 ret = CreateSessionServer(DM_PKG_NAME, DM_PIN_HOLDER_SESSION_NAME, &pinHolderSessionListener); in SoftbusListener() 479 RemoveSessionServer(DM_PKG_NAME, DM_SESSION_NAME); in ~SoftbusListener() 480 RemoveSessionServer(DM_PKG_NAME, DM_PIN_HOLDER_SESSION_NAME); in ~SoftbusListener() 491 ret = RegNodeDeviceStateCb(DM_PKG_NAME, &softbusNodeStateCb_); in InitSoftbusListener() 517 ret = PublishLNN(DM_PKG_NAME, &publishInfo, &softbusPublishCallback_); in InitSoftPublishLNN() 579 int32_t ret = ::StopRefreshLNN(DM_PKG_NAME, subscribeId); in StopRefreshSoftbusLNN() 619 int32_t ret = ::PublishLNN(DM_PKG_NAME, &publishInfo, &softbusPublishCallback_); in PublishSoftbusLNN() 630 int32_t ret = ::StopPublishLNN(DM_PKG_NAME, publishI in StopPublishSoftbusLNN() [all...] |
H A D | softbus_publish.cpp | 115 int32_t ret = PublishLNN(DM_PKG_NAME, &publishInfo, &softbusPublishCallback_); in PublishSoftbusLNN() 126 int32_t ret = StopPublishLNN(DM_PKG_NAME, publishId); in StopPublishSoftbusLNN()
|
H A D | mine_softbus_listener.cpp | 145 if (StopPublishLNN(DM_PKG_NAME.c_str(), DISTRIBUTED_HARDWARE_DEVICEMANAGER_SA_ID) != DM_OK) { in ~MineSoftbusListener() 178 int retValue = StopRefreshLNN(DM_PKG_NAME, subscribeId); in StopRefreshSoftbusLNN() 231 while (PublishLNN(DM_PKG_NAME, &publishInfo, &publishLNNCallback_) != SOFTBUS_OK && in OnRePublish() 524 retValue = RefreshLNN(DM_PKG_NAME, &subscribeInfo, &softbusRefreshCallback_); in SendBroadcastInfo() 606 int retValue = PublishLNN(DM_PKG_NAME, &publishInfo, &publishLNNCallback_); in PublishDeviceDiscovery() 866 retValue = SetDiscoveryPolicy(DM_PKG_NAME, &deviceInfo, (int32_t)matchResult); in SendReturnwave()
|
/foundation/distributedhardware/device_manager/services/implementation/src/devicestate/ |
H A D | dm_device_state_manager.cpp | 174 listener_->OnDeviceStateChange(std::string(DM_PKG_NAME), devState, devInfo); in ProcessDeviceStateChange() 379 OnDbReady(std::string(DM_PKG_NAME), task->GetDeviceId()); in RunTask() 521 listener_->OnDeviceScreenStateChange(std::string(DM_PKG_NAME), devInfo); in HandleDeviceScreenStatusChange() 537 listener_->OnCredentialAuthStatus(std::string(DM_PKG_NAME), deviceList, deviceTypeId, errcode); in HandleCredentialAuthStatus()
|
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/mini/ |
H A D | softbus_adapter.c | 41 static const char * const DM_PKG_NAME = "com.ohos.devicemanager"; variable 283 int32_t ret = CreateSessionServer(DM_PKG_NAME, DM_SESSION_NAME, &g_sessionListener); in InitSoftbusModle() 289 retValue = RegNodeDeviceStateCb(DM_PKG_NAME, &g_softbusStatusChangeCb); in InitSoftbusModle() 407 int retValue = GetAllNodeDeviceInfo(DM_PKG_NAME, &nodeInfo, trustListLen); in GetSoftbusTrustedDeviceList() 1361 JoinLNN(DM_PKG_NAME, &g_bindAddr, g_joinLNNResult); in ProcessSourceMsg() 1391 LeaveLNN(DM_PKG_NAME, networkId, g_leaveLNNResult); in SoftbusUnBindTarget()
|
/foundation/distributedhardware/device_manager/common/include/ |
H A D | dm_constants.h | 130 constexpr const char* DM_PKG_NAME = "ohos.distributedhardware.devicemanager"; member
|
/foundation/distributedhardware/device_manager/services/service/src/ |
H A D | device_manager_service_listener.cpp | 209 if (pkgName == std::string(DM_PKG_NAME)) { in OnDeviceStateChange() 520 if (pkgName == std::string(DM_PKG_NAME)) { in OnDeviceScreenStateChange() 565 if (pkgName == std::string(DM_PKG_NAME)) { in OnCredentialAuthStatus()
|
H A D | device_manager_service.cpp | 1020 int32_t ret = GetTrustedDeviceList(DM_PKG_NAME, extra, deviceList); in LoadHardwareFwkService()
|
/foundation/distributedhardware/device_manager/services/service/src/discovery/ |
H A D | discovery_manager.cpp | 101 int32_t ret = softbusListener_->RefreshSoftbusLNN(DM_PKG_NAME, dmSubInfo, LNN_DISC_CAPABILITY); in EnableDiscoveryListener() 246 int32_t ret = softbusListener_->RefreshSoftbusLNN(DM_PKG_NAME, dmSubInfo, LNN_DISC_CAPABILITY); in StartDiscoveringNoMetaType() 296 int32_t ret = softbusListener_->RefreshSoftbusLNN(DM_PKG_NAME, dmSubInfo, customData); in StartDiscovering4MetaType()
|
/foundation/distributedhardware/device_manager/services/implementation/src/ |
H A D | device_manager_service_impl.cpp | 684 authMgr_->DeleteGroup(DM_PKG_NAME, udid); in HandleIdentAccountLogout() 764 authMgr_->DeleteGroup(DM_PKG_NAME, remoteUdid); in HandleAccountLogoutEvent() 798 authMgr_->DeleteGroup(DM_PKG_NAME, remoteUdid); in HandleDevUnBindEvent()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | ability_manager_service.cpp | 230 constexpr const char* DM_PKG_NAME = "ohos.distributedhardware.devicemanager"; member 3780 int32_t errCode = GetLocalNodeDeviceInfo(DM_PKG_NAME, localNode.get()); in GetLocalDeviceId()
|
/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | scene_session_manager.cpp | 100 const std::string DM_PKG_NAME = "ohos.distributedhardware.devicemanager"; member 6523 int32_t errCode = GetLocalNodeDeviceInfo(DM_PKG_NAME.c_str(), localNode.get()); in GetLocalDeviceId()
|