Home
last modified time | relevance | path

Searched refs:PKG_NAME (Results 1 - 25 of 44) sorted by relevance

12

/foundation/communication/dsoftbus/tests/sdk/bus_center/unittest/
H A Dsoftbus_center_sdk_test.cpp27 constexpr char PKG_NAME[] = "com.softbus.test"; variable
71 EXPECT_TRUE(GetLocalNodeDeviceInfo(PKG_NAME, &info) == SOFTBUS_OK); in HWTEST_F()
72 EXPECT_TRUE(SetNodeDataChangeFlag(PKG_NAME, info.networkId, DATA_CHANGE_FLAG) == SOFTBUS_OK); in HWTEST_F()
74 EXPECT_TRUE(GetNodeKeyInfo(PKG_NAME, info.networkId, NODE_KEY_DATA_CHANGE_FLAG, in HWTEST_F()
89 EXPECT_TRUE(GetLocalNodeDeviceInfo(PKG_NAME, &info) == SOFTBUS_OK); in HWTEST_F()
91 EXPECT_TRUE(SetNodeDataChangeFlag(PKG_NAME, NETWORK_ID, DATA_CHANGE_FLAG) == SOFTBUS_INVALID_PARAM); in HWTEST_F()
105 EXPECT_TRUE(GetAllNodeDeviceInfo(PKG_NAME, &info, &infoNum) == SOFTBUS_OK); in HWTEST_F()
108 EXPECT_TRUE(GetNodeKeyInfo(PKG_NAME, info->networkId, NODE_KEY_DATA_CHANGE_FLAG, in HWTEST_F()
/foundation/CastEngine/castengine_wifi_display/services/interaction/device_kit/
H A Ddm_kit.cpp21 const std::string PKG_NAME = "sharing_framework"; member
35 int32_t ret = OHOS::DistributedHardware::DeviceManager::GetInstance().InitDeviceManager(PKG_NAME, callback); in InitDeviceManager()
51 int32_t ret = DistributedHardware::DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, localDeviceInfo_); in GetLocalDevicesInfo()
66 DistributedHardware::DeviceManager::GetInstance().GetTrustedDeviceList(PKG_NAME, "", trustedDeviceInfos_); in GetTrustedDevicesInfo()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/adapter/
H A Ddnetwork_adapter.cpp40 const std::string PKG_NAME = "DBinderBus_Dms_" + std::to_string(getprocpid()); member
161 int32_t ret = DeviceManager::GetInstance().InitDeviceManager(PKG_NAME, initCallback_); in AddDeviceChangeListener()
167 errCode = DeviceManager::GetInstance().RegisterDevStateCallback(PKG_NAME, "", stateCallback_); in AddDeviceChangeListener()
170 errCode = DeviceManager::GetInstance().UnRegisterDevStateCallback(PKG_NAME); in AddDeviceChangeListener()
175 errCode = DeviceManager::GetInstance().RegDevTrustChangeCallback(PKG_NAME, devTrustChangeCallback_); in AddDeviceChangeListener()
207 int32_t errCode = DeviceManager::GetInstance().UnRegisterDevStateCallback(PKG_NAME); in RemoveDeviceChangeListener()
216 int32_t errCode = DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, dmDeviceInfo); in GetLocalBasicInfo()
231 int32_t errCode = DeviceManager::GetInstance().GetUdidByNetworkId(PKG_NAME, networkId, udid); in GetUdidByNetworkId()
246 int32_t errCode = DeviceManager::GetInstance().GetUuidByNetworkId(PKG_NAME, networkId, uuid); in GetUuidByNetworkId()
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/src/
H A Ddev_manager.cpp47 DevManager::DevManager(const std::string &pkgName) : PKG_NAME(pkgName + PKG_NAME_EX) in DevManager()
56 return deviceManager.InitDeviceManager(PKG_NAME, deviceInitCallback); in Init()
130 auto ret = DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, info); in GetUnEncryptedUuid()
141 DeviceManager::GetInstance().GetUuidByNetworkId(PKG_NAME, networkId, uuid); in GetUnEncryptedUuid()
160 auto ret = DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, info); in GetLocalDevice()
167 DeviceManager::GetInstance().GetEncryptedUuidByNetworkId(PKG_NAME, networkId, uuid); in GetLocalDevice()
181 auto ret = DeviceManager::GetInstance().GetTrustedDeviceList(PKG_NAME, "", dmInfos); in GetRemoteDevices()
195 DeviceManager::GetInstance().GetEncryptedUuidByNetworkId(PKG_NAME, networkId, uuid); in GetRemoteDevices()
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/communicator/
H A Ddev_manager.cpp32 constexpr const char *PKG_NAME = "ohos.objectstore"; member
108 int32_t status = deviceManager.InitDeviceManager(PKG_NAME, deviceInitCallback); in Init()
112 status = deviceManager.RegisterDevStateCallback(PKG_NAME, "", deviceStateCallback); in Init()
159 auto ret = DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, info); in GetLocalDevice()
166 DeviceManager::GetInstance().GetEncryptedUuidByNetworkId(PKG_NAME, networkId, uuid); in GetLocalDevice()
H A Dsoftbus_adapter_standard.cpp39 constexpr const char *PKG_NAME = "ohos.objectstore"; member
193 int32_t ret = GetLocalNodeDeviceInfo(PKG_NAME, &info); in GetLocalDevice()
209 int32_t ret = GetLocalNodeDeviceInfo(PKG_NAME, &info); in GetLocalBasicInfo()
230 int32_t ret = GetAllNodeDeviceInfo(PKG_NAME, &info, &infoNum); in GetRemoteNodesBasicInfo()
287 int32_t ret = GetAllNodeDeviceInfo(PKG_NAME, &info, &infoNum); in ToNodeID()
467 socketInfo.pkgName = const_cast<char *>(PKG_NAME); in CreateClientSocket()
537 socketInfo.pkgName = const_cast<char *>(PKG_NAME); in CreateSessionServerAdapter()
/foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/
H A Ddevice_networking_collect.cpp28 const std::string PKG_NAME = "Samgr_Networking"; member
66 DeviceManager::GetInstance().UnRegisterDevStateCallback(PKG_NAME); in OnStop()
93 int32_t ret = DeviceManager::GetInstance().GetTrustedDeviceList(PKG_NAME, "", devList); in ReportMissedEvents()
130 int32_t ret = DeviceManager::GetInstance().InitDeviceManager(PKG_NAME, initCallback_); in AddDeviceChangeListener()
139 ret = DeviceManager::GetInstance().RegisterDevStateCallback(PKG_NAME, "", stateCallback_); in AddDeviceChangeListener()
141 DeviceManager::GetInstance().UnRegisterDevStateCallback(PKG_NAME); in AddDeviceChangeListener()
/foundation/deviceprofile/device_info_manager/old/services/core/src/devicemanager/
H A Ddp_device_manager.cpp49 const std::string PKG_NAME = "ohos.deviceprofile"; member
116 int32_t ret = DeviceManager::GetInstance().GetTrustedDeviceList(PKG_NAME, "", deviceList); in GetTrustedDeviceList()
258 int32_t ret = DeviceManager::GetInstance().InitDeviceManager(PKG_NAME, GetInitCallback()); in ConnectDeviceManager()
265 PKG_NAME, "", GetStateCallback()); in ConnectDeviceManager()
268 errCode = DeviceManager::GetInstance().RegDevTrustChangeCallback(PKG_NAME, GetDevTrustChangeCallback()); in ConnectDeviceManager()
274 errCode = DeviceManager::GetInstance().UnRegisterDevStateCallback(PKG_NAME); in ConnectDeviceManager()
301 if (DeviceManager::GetInstance().GetTrustedDeviceList(PKG_NAME, "", deviceList) != ERR_OK) { in RecoverDevicesIfNeeded()
322 int32_t errCode = DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, dmInfo); in AddLocalDeviceIds()
393 int32_t errCode = DeviceManager::GetInstance().UnRegisterDevStateCallback(PKG_NAME); in DisconnectDeviceManager()
411 PKG_NAME, networkI in GetUdidByNetworkId()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dobject_dms_handler_test.cpp28 constexpr const char *PKG_NAME = "ohos.distributeddata.service"; member
44 DistributedHardware::DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, localDeviceInfo); in HWTEST_F()
70 DistributedHardware::DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, localDeviceInfo); in HWTEST_F()
119 DistributedHardware::DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, localDeviceInfo); in HWTEST_F()
/foundation/distributeddatamgr/relational_store/test/native/rdb/distributedtest/rdb_store_impl_test/
H A Ddistributed_test.cpp45 constexpr const char *PKG_NAME = "rdb_store_distributed_test"; member
97 deviceManager.InitDeviceManager(PKG_NAME, deviceInitCallback); in InitDevManager()
98 deviceManager.RegisterDevStateCallback(PKG_NAME, "", deviceCallback); in InitDevManager()
133 DeviceManager::GetInstance().GetTrustedDeviceList(PKG_NAME, "", deviceInfos_); in SetUpTestCase()
167 DeviceManager::GetInstance().GetTrustedDeviceList(PKG_NAME, "", deviceInfos_); in HWTEST_F()
/foundation/communication/dsoftbus/tests/sdk/transmission/moduletest/socket/stream_encrypt_test/
H A Dstream_encrypt_server_mt.cpp47 ret = TMessenger::GetInstance().Open(PKG_NAME, TEST_NOTIFY_SRV_NAME, "", true); in SetUpTestCase()
121 .pkgName = (char *)PKG_NAME, in HWTEST_F()
179 .pkgName = (char *)PKG_NAME, in HWTEST_F()
239 .pkgName = (char *)PKG_NAME, in HWTEST_F()
315 int32_t ret = CreateSessionServer(PKG_NAME, TEST_SESSION_NAME_SRV, &sessionListener); in HWTEST_F()
336 RemoveSessionServer(PKG_NAME, TEST_SESSION_NAME_SRV); in HWTEST_F()
H A Dstream_encrypt_client_mt.cpp43 ret = TMessenger::GetInstance().Open(PKG_NAME, TEST_NOTIFY_NAME, TEST_NOTIFY_SRV_NAME, false); in SetUpTestCase()
114 .pkgName = (char *)PKG_NAME, in HWTEST_F()
168 .pkgName = (char *)PKG_NAME, in HWTEST_F()
300 int32_t ret = CreateSessionServer(PKG_NAME, TEST_SESSION_NAME, &sessionListener); in HWTEST_F()
346 RemoveSessionServer(PKG_NAME, TEST_SESSION_NAME); in HWTEST_F()
H A Dcommon.h39 inline const char *PKG_NAME = "com.communication.demo"; member
H A Dcommon.cpp100 int32_t ret = GetAllNodeDeviceInfo(PKG_NAME, &nodeInfo, &nodeNum); in CheckRemoteDeviceIsNull()
119 int32_t ret = RegNodeDeviceStateCb(PKG_NAME, &g_defNodeStateCallback); in TestInit()
/foundation/CastEngine/castengine_cast_framework/service/src/device_manager/src/
H A Ddiscovery_manager.cpp79 if (DeviceManager::GetInstance().InitDeviceManager(PKG_NAME, in OnRemoteDied()
113 if (DeviceManager::GetInstance().InitDeviceManager(PKG_NAME, std::make_shared<CastDmInitCallback>()) != DM_OK) { in Init()
130 DeviceManager::GetInstance().UnInitDeviceManager(PKG_NAME); in Deinit()
137 auto result = DeviceManager::GetInstance().GetTrustedDeviceList(PKG_NAME, "", true, dmDevices); in GetAndReportTrustedDevices()
172 int32_t ret = DeviceManager::GetInstance().StartDiscovering(PKG_NAME, discoverParam, filterOptions, in StartDmDiscovery()
184 DeviceManager::GetInstance().StopDiscovering(PKG_NAME, discoverParam); in StopDmDiscovery()
191 int ret = DeviceManager::GetInstance().StartAdvertising(PKG_NAME, advertiseParam, in StartAdvertise()
204 int ret = DeviceManager::GetInstance().StopAdvertising(PKG_NAME, advertiseParam); in StopAdvertise()
H A Dconnection_manager.cpp213 if (DeviceManager::GetInstance().RegisterDevStateCallback(PKG_NAME, "", in Init()
228 DeviceManager::GetInstance().UnRegisterDevStateCallback(PKG_NAME); in Deinit()
234 if (DeviceManager::GetInstance().GetTrustedDeviceList(PKG_NAME, "", trustedDevices) != DM_OK) { in GetDmDeviceInfo()
251 if (DeviceManager::GetInstance().GetTrustedDeviceList(PKG_NAME, "", trustedDevices) != DM_OK) { in IsDeviceTrusted()
344 int ret = DeviceManager::GetInstance().BindTarget(PKG_NAME, targetId, bindParam, in BindTarget()
354 DeviceManager::GetInstance().UnbindTarget(PKG_NAME, targetId, unbindParam, nullptr); in BindTarget()
358 DeviceManager::GetInstance().UnbindTarget(PKG_NAME, targetId, unbindParam, nullptr); in BindTarget()
422 if (DeviceManager::GetInstance().GetLocalDeviceNetWorkId(PKG_NAME, localNetworkId) != 0) { in QueryP2PIp()
438 DeviceManager::GetInstance().BindTarget(PKG_NAME, targetId, bindParam, in QueryP2PIp()
505 if (DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, loca in GetLocalDeviceInfo()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/
H A Dobject_dms_handler.cpp26 constexpr const char *PKG_NAME = "ohos.distributeddata.service"; member
51 DistributedHardware::DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, localDeviceInfo); in IsContinue()
80 DistributedHardware::DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, localDeviceInfo); in GetDstBundleName()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/broadcaster/src/
H A Dbroadcast_sender_impl.h27 static const inline std::string PKG_NAME = "pkgName"; member in OHOS::DistributedKv::BroadcastSenderImpl
H A Dbroadcast_sender_impl.cpp49 parameters.SetParam(PKG_NAME, String::Box(params.appId)); in SendEvent()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/
H A Ddevice_manager_adapter.cpp34 constexpr const char *PKG_NAME = "ohos.distributeddata.service"; member
209 auto resultInit = devManager.InitDeviceManager(PKG_NAME, dmInitCall); in RegDevCallback()
210 auto resultState = devManager.RegisterDevStateCallback(PKG_NAME, "", dmStateCall); in RegDevCallback()
301 DeviceManager::GetInstance().NotifyEvent(PKG_NAME, DmNotifyEvent::DM_NOTIFY_EVENT_ONDEVICEREADY, event); in NotifyReadyEvent()
437 auto ret = DeviceManager::GetInstance().GetTrustedDeviceList(PKG_NAME, "", dmInfos);
552 auto ret = DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, info);
587 auto ret = DeviceManager::GetInstance().GetUuidByNetworkId(PKG_NAME, networkId, uuid);
608 auto ret = DeviceManager::GetInstance().GetUdidByNetworkId(PKG_NAME, networkId, udid);
662 auto ret = DeviceManager::GetInstance().GenerateEncryptedUuid(PKG_NAME, uuid, appId, encryptedUuid);
743 auto ret = DeviceManager::GetInstance().GetEncryptedUuidByNetworkId(PKG_NAME, networkI
[all...]
/foundation/communication/dsoftbus/core/transmission/common/include/
H A Dsoftbus_message_open_channel.h33 #define PKG_NAME "PKG_NAME" macro
/foundation/distributeddatamgr/kv_store/frameworks/innerkitsimpl/kvdb/include/
H A Ddev_manager.h48 const std::string PKG_NAME; member in OHOS::DistributedKv::DevManager
/foundation/distributeddatamgr/pasteboard/framework/framework/device/
H A Ddm_adapter.cpp24 constexpr const char *PKG_NAME = "pasteboard_service"; member
253 int32_t ret = DeviceManager::GetInstance().GetLocalDeviceType(PKG_NAME, deviceType); in GetLocalDeviceType()
279 int32_t ret = DeviceManager::GetInstance().GetTrustedDeviceList(PKG_NAME, "", devices); in SetDevices()
/foundation/distributedhardware/distributed_screen/services/screentransport/screendatachannel/src/
H A Dscreen_data_channel_impl.cpp37 SoftbusAdapter::GetInstance().CreateSoftbusSessionServer(PKG_NAME, DATA_SESSION_NAME, peerDevId_); in CreateSession()
50 SoftbusAdapter::GetInstance().CreateSoftbusSessionServer(PKG_NAME, JPEG_SESSION_NAME, peerDevId_); in CreateSession()
75 int32_t ret = SoftbusAdapter::GetInstance().RemoveSoftbusSessionServer(PKG_NAME, DATA_SESSION_NAME, peerDevId_); in ReleaseSession()
87 ret = SoftbusAdapter::GetInstance().RemoveSoftbusSessionServer(PKG_NAME, JPEG_SESSION_NAME, peerDevId_); in ReleaseSession()
/foundation/CastEngine/castengine_cast_framework/common/include/private/
H A Dcast_service_common.h66 inline constexpr char PKG_NAME[] = "CastEngineService"; member

Completed in 14 milliseconds

12