/ohos5.0/foundation/communication/dsoftbus/tests/sdk/bus_center/unittest/ |
H A D | softbus_center_sdk_test.cpp | 27 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 D | hisysevent.yaml | 19 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 D | dnetwork_adapter.cpp | 39 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 D | dev_manager.cpp | 47 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 D | hisysevent.yaml | 18 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 D | dp_device_manager.cpp | 49 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 D | device_networking_collect.cpp | 28 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 D | dev_manager.cpp | 32 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 D | softbus_adapter_standard.cpp | 39 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 D | distributed_test.cpp | 45 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 D | stream_encrypt_server_mt.cpp | 47 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 D | stream_encrypt_client_mt.cpp | 43 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 D | common.cpp | 100 int ret = GetAllNodeDeviceInfo(PKG_NAME, &nodeInfo, &nodeNum); in CheckRemoteDeviceIsNull() 119 int ret = RegNodeDeviceStateCb(PKG_NAME, &g_defNodeStateCallback); in TestInit()
|
H A D | common.h | 39 inline const char *PKG_NAME = "com.communication.demo"; variable
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/ |
H A D | object_dms_handler_test.cpp | 28 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 D | device_manager_adapter.cpp | 34 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 D | object_dms_handler.cpp | 26 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 D | dm_adapter.cpp | 25 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 D | screen_data_channel_impl.cpp | 37 … 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 D | broadcast_sender_impl.h | 27 static const inline std::string PKG_NAME = "pkgName"; variable
|
H A D | broadcast_sender_impl.cpp | 49 parameters.SetParam(PKG_NAME, String::Box(params.appId)); in SendEvent()
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/ |
H A D | reminder_table_old.cpp | 23 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 D | softbus_adapter_test.cpp | 91 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 D | softbus_message_open_channel.c | 112 …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 D | hisysevent-DLP_UE.yaml | 24 PKG_NAME: {type: STRING, desc: Name of the invoked application package} 44 PKG_NAME: {type: STRING, desc: Invoking application package name}
|