Home
last modified time | relevance | path

Searched refs:PKG_NAME (Results 1 – 25 of 45) sorted by relevance

12

/ohos5.0/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);
72 EXPECT_TRUE(SetNodeDataChangeFlag(PKG_NAME, info.networkId, DATA_CHANGE_FLAG) == SOFTBUS_OK);
74 EXPECT_TRUE(GetNodeKeyInfo(PKG_NAME, info.networkId, NODE_KEY_DATA_CHANGE_FLAG,
89 EXPECT_TRUE(GetLocalNodeDeviceInfo(PKG_NAME, &info) == SOFTBUS_OK);
91 …EXPECT_TRUE(SetNodeDataChangeFlag(PKG_NAME, NETWORK_ID, DATA_CHANGE_FLAG) == SOFTBUS_INVALID_PARAM…
105 EXPECT_TRUE(GetAllNodeDeviceInfo(PKG_NAME, &info, &infoNum) == SOFTBUS_OK);
108 EXPECT_TRUE(GetNodeKeyInfo(PKG_NAME, info->networkId, NODE_KEY_DATA_CHANGE_FLAG,
/ohos5.0/base/sensors/sensor/
H A Dhisysevent.yaml19 PKG_NAME: {type: STRING, desc: package name}
25 PKG_NAME: {type: STRING, desc: package name}
30 PKG_NAME: {type: STRING, desc: package name}
35 PKG_NAME: {type: STRING, desc: package name}
40 PKG_NAME: {type: STRING, desc: package name}
45 PKG_NAME: {type: STRING, desc: package name}
50 PKG_NAME: {type: STRING, desc: package name}
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/adapter/
H A Ddnetwork_adapter.cpp39 const std::string PKG_NAME = "DBinderBus_Dms_" + std::to_string(getprocpid()); variable
141 int32_t ret = DeviceManager::GetInstance().InitDeviceManager(PKG_NAME, initCallback_); in AddDeviceChangeListener()
147 … errCode = DeviceManager::GetInstance().RegisterDevStateCallback(PKG_NAME, "", stateCallback_); in AddDeviceChangeListener()
150 errCode = DeviceManager::GetInstance().UnRegisterDevStateCallback(PKG_NAME); in AddDeviceChangeListener()
185 int32_t errCode = DeviceManager::GetInstance().UnRegisterDevStateCallback(PKG_NAME); in RemoveDeviceChangeListener()
194 int32_t errCode = DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, dmDeviceInfo); in GetLocalBasicInfo()
209 int32_t errCode = DeviceManager::GetInstance().GetUdidByNetworkId(PKG_NAME, networkId, udid); in GetUdidByNetworkId()
224 int32_t errCode = DeviceManager::GetInstance().GetUuidByNetworkId(PKG_NAME, networkId, uuid); in GetUuidByNetworkId()
/ohos5.0/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()
/ohos5.0/base/sensors/miscdevice/
H A Dhisysevent.yaml18 PKG_NAME: {type: STRING, desc: package name}
23 PKG_NAME: {type: STRING, desc: package name}
28 PKG_NAME: {type: STRING, desc: package name}
33 PKG_NAME: {type: STRING, desc: package name}
38 PKG_NAME: {type: STRING, desc: package name}
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/src/devicemanager/
H A Ddp_device_manager.cpp49 const std::string PKG_NAME = "ohos.deviceprofile"; variable
106 int32_t ret = DeviceManager::GetInstance().GetTrustedDeviceList(PKG_NAME, "", deviceList); in GetTrustedDeviceList()
242 … int32_t ret = DeviceManager::GetInstance().InitDeviceManager(PKG_NAME, GetInitCallback()); in ConnectDeviceManager()
249 PKG_NAME, "", GetStateCallback()); in ConnectDeviceManager()
256 errCode = DeviceManager::GetInstance().UnRegisterDevStateCallback(PKG_NAME); in ConnectDeviceManager()
283 if (DeviceManager::GetInstance().GetTrustedDeviceList(PKG_NAME, "", deviceList) != ERR_OK) { in RecoverDevicesIfNeeded()
304 int32_t errCode = DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, dmInfo); in AddLocalDeviceIds()
375 int32_t errCode = DeviceManager::GetInstance().UnRegisterDevStateCallback(PKG_NAME); in DisconnectDeviceManager()
393 PKG_NAME, networkId, udid) == 0) ? true : false); in GetUdidByNetworkId()
399 PKG_NAME, networkId, uuid) == 0) ? true : false); in GetUuidByNetworkId()
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/source/collect/
H A Ddevice_networking_collect.cpp28 const std::string PKG_NAME = "Samgr_Networking"; variable
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()
/ohos5.0/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/communicator/
H A Ddev_manager.cpp32 constexpr const char *PKG_NAME = "ohos.objectstore"; variable
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"; variable
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()
/ohos5.0/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"; variable
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_);
/ohos5.0/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,
179 .pkgName = (char *)PKG_NAME,
239 .pkgName = (char *)PKG_NAME,
315 int32_t ret = CreateSessionServer(PKG_NAME, TEST_SESSION_NAME_SRV, &sessionListener);
336 RemoveSessionServer(PKG_NAME, TEST_SESSION_NAME_SRV);
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,
168 .pkgName = (char *)PKG_NAME,
300 int32_t ret = CreateSessionServer(PKG_NAME, TEST_SESSION_NAME, &sessionListener);
346 RemoveSessionServer(PKG_NAME, TEST_SESSION_NAME);
H A Dcommon.cpp100 int ret = GetAllNodeDeviceInfo(PKG_NAME, &nodeInfo, &nodeNum); in CheckRemoteDeviceIsNull()
119 int ret = RegNodeDeviceStateCb(PKG_NAME, &g_defNodeStateCallback); in TestInit()
H A Dcommon.h39 inline const char *PKG_NAME = "com.communication.demo"; variable
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/
H A Dobject_dms_handler_test.cpp28 constexpr const char *PKG_NAME = "ohos.distributeddata.service"; variable
44 DistributedHardware::DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, localDeviceInfo);
70 DistributedHardware::DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, localDeviceInfo);
119 DistributedHardware::DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, localDeviceInfo);
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/
H A Ddevice_manager_adapter.cpp34 constexpr const char *PKG_NAME = "ohos.distributeddata.service"; variable
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, e… in NotifyReadyEvent()
437 auto ret = DeviceManager::GetInstance().GetTrustedDeviceList(PKG_NAME, "", dmInfos); in GetRemoteDevices()
552 auto ret = DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, info); in GetLocalDeviceInfo()
587 auto ret = DeviceManager::GetInstance().GetUuidByNetworkId(PKG_NAME, networkId, uuid); in GetUuidByNetworkId()
608 auto ret = DeviceManager::GetInstance().GetUdidByNetworkId(PKG_NAME, networkId, udid); in GetUdidByNetworkId()
662 …auto ret = DeviceManager::GetInstance().GenerateEncryptedUuid(PKG_NAME, uuid, appId, encryptedUuid… in CalcClientUuid()
743 …auto ret = DeviceManager::GetInstance().GetEncryptedUuidByNetworkId(PKG_NAME, networkId, encrypted… in GetEncryptedUuidByNetworkId()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/object/
H A Dobject_dms_handler.cpp26 constexpr const char *PKG_NAME = "ohos.distributeddata.service"; variable
51 DistributedHardware::DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, localDeviceInfo); in IsContinue()
80 DistributedHardware::DeviceManager::GetInstance().GetLocalDeviceInfo(PKG_NAME, localDeviceInfo); in GetDstBundleName()
/ohos5.0/foundation/distributeddatamgr/pasteboard/framework/framework/device/
H A Ddm_adapter.cpp25 constexpr const char *PKG_NAME = "pasteboard_service"; variable
254 int32_t ret = DeviceManager::GetInstance().GetLocalDeviceType(PKG_NAME, deviceType); in GetLocalDeviceType()
280 int32_t ret = DeviceManager::GetInstance().GetTrustedDeviceList(PKG_NAME, "", devices); in SetDevices()
/ohos5.0/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… in ReleaseSession()
87 …ret = SoftbusAdapter::GetInstance().RemoveSoftbusSessionServer(PKG_NAME, JPEG_SESSION_NAME, peerDe… in ReleaseSession()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/broadcaster/src/
H A Dbroadcast_sender_impl.h27 static const inline std::string PKG_NAME = "pkgName"; variable
H A Dbroadcast_sender_impl.cpp49 parameters.SetParam(PKG_NAME, String::Box(params.appId)); in SendEvent()
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dreminder_table_old.cpp23 const std::string ReminderTable::PKG_NAME = "package_name"; member in OHOS::Notification::ReminderTable
88 AddColumn(PKG_NAME, "TEXT NOT NULL"); in InitBasicColumns()
/ohos5.0/foundation/distributedhardware/distributed_screen/services/softbusadapter/test/unittest/src/
H A Dsoftbus_adapter_test.cpp91 std::string pkgname = PKG_NAME;
132 std::string pkgname = PKG_NAME;
270 std::string pkgname = PKG_NAME;
/ohos5.0/foundation/communication/dsoftbus/core/transmission/common/src/
H A Dsoftbus_message_open_channel.c112 …if (appInfo->myData.apiVersion != API_V1 && (!AddStringToJsonObject(json, PKG_NAME, appInfo->myDat… in JsonObjectPackRequestEx()
269 if (!GetJsonObjectStringItem(msg, PKG_NAME, (appInfo->peerData.pkgName), PKG_NAME_SIZE_MAX) || in UnpackRequest()
334 if (!AddStringToJsonObject(json, PKG_NAME, appInfo->myData.pkgName) || in PackReply()
393 … if (!GetJsonObjectStringItem(msg, PKG_NAME, (appInfo->peerData.pkgName), PKG_NAME_SIZE_MAX) || in UnpackReply()
/ohos5.0/base/security/dlp_permission_service/
H A Dhisysevent-DLP_UE.yaml24 PKG_NAME: {type: STRING, desc: Name of the invoked application package}
44 PKG_NAME: {type: STRING, desc: Invoking application package name}

12