/foundation/distributedhardware/distributed_screen/services/softbusadapter/test/unittest/src/ |
H A D | softbus_adapter_test.cpp | 91 std::string pkgname = PKG_NAME; in HWTEST_F() local 117 int32_t actual = softbusAdapter.CreateSoftbusSessionServer(pkgname, sessionName, peerDevId); in HWTEST_F() 119 softbusAdapter.RemoveSoftbusSessionServer(pkgname, sessionName, peerDevId); in HWTEST_F() 132 std::string pkgname = PKG_NAME; in HWTEST_F() local 136 int32_t actual = softbusAdapter.CreateSoftbusSessionServer(pkgname, sessionName, peerDevId); in HWTEST_F() 138 softbusAdapter.RemoveSoftbusSessionServer(pkgname, sessionName, peerDevId); in HWTEST_F() 253 std::string pkgname = ""; in HWTEST_F() local 257 int32_t actual = softbusAdapter.RemoveSoftbusSessionServer(pkgname, sessionName, peerDevId); in HWTEST_F() 270 std::string pkgname = PKG_NAME; in HWTEST_F() local 274 int32_t actual = softbusAdapter.RemoveSoftbusSessionServer(pkgname, sessionNam in HWTEST_F() [all...] |
/foundation/distributedhardware/distributed_screen/services/softbusadapter/include/ |
H A D | softbus_adapter.h | 41 int32_t CreateSoftbusSessionServer(const std::string &pkgname, const std::string &sessionName, 43 int32_t RemoveSoftbusSessionServer(const std::string &pkgname, const std::string &sessionName,
|
/foundation/distributedhardware/distributed_screen/services/softbusadapter/src/ |
H A D | softbus_adapter.cpp | 108 int32_t SoftbusAdapter::CreateSoftbusSessionServer(const std::string &pkgname, const std::string &sessionName, in CreateSoftbusSessionServer() argument 126 .pkgName = const_cast<char*>(pkgname.c_str()), in CreateSoftbusSessionServer() 153 int32_t SoftbusAdapter::RemoveSoftbusSessionServer(const std::string &pkgname, const std::string &sessionName, in RemoveSoftbusSessionServer() argument 156 (void)pkgname; in RemoveSoftbusSessionServer()
|
/foundation/distributedhardware/device_manager/commondependency/src/ |
H A D | deviceprofile_connector.cpp | 135 if (profiles.GetBindLevel() == DEVICE || (profiles.GetBindLevel() == APP && discoveryInfo.pkgname == "")) { in CheckAuthForm() 139 if (discoveryInfo.pkgname == profiles.GetAccesser().GetAccesserBundleName() && in CheckAuthForm() 143 if (discoveryInfo.pkgname == profiles.GetAccessee().GetAccesseeBundleName() && in CheckAuthForm() 286 .pkgname = pkgName, in CompareBindType() 307 if (profiles.GetAccesser().GetAccesserBundleName() == paramInfo.pkgname && in ProcessBindType() 312 if (profiles.GetAccessee().GetAccesseeBundleName() == paramInfo.pkgname && in ProcessBindType() 325 if (profiles.GetAccesser().GetAccesserBundleName() == paramInfo.pkgname && in ProcessBindType() 330 if (profiles.GetAccessee().GetAccesseeBundleName() == paramInfo.pkgname && in ProcessBindType()
|
/foundation/distributedhardware/device_manager/test/commonunittest/ |
H A D | UTTest_dm_deviceprofile_connector.cpp | 97 discoveryInfo.pkgname = "ohos_test"; in HWTEST_F() 111 discoveryInfo.pkgname = "ohos_test"; in HWTEST_F() 135 discoveryInfo.pkgname = "pkgName"; in HWTEST_F() 149 discoveryInfo.pkgname = "pkgName"; in HWTEST_F() 370 paramInfo.pkgname = "pkgName"; in HWTEST_F() 387 paramInfo.pkgname = "pkgName"; in HWTEST_F() 417 paramInfo.pkgname = "pkgName"; in HWTEST_F() 434 paramInfo.pkgname = "pkgName"; in HWTEST_F()
|
/foundation/communication/dsoftbus/tests/core/frame/fuzztest/softbusserverstub_fuzzer/ |
H A D | softbusserverstub_fuzzer.cpp | 480 char pkgname[INPUT_NAME_SIZE_MAX] = "distribdata_test"; in JoinLNNFuzzTest() local 481 if (memcpy_s(pkgname, INPUT_NAME_SIZE_MAX, reinterpret_cast<const char *>(data), INPUT_NAME_SIZE_MAX - 1) != EOK) { in JoinLNNFuzzTest() 484 pkgname[INPUT_NAME_SIZE_MAX - 1] = '\0'; in JoinLNNFuzzTest() 498 datas.WriteCString(pkgname); in JoinLNNFuzzTest() 540 char pkgname[INPUT_NAME_SIZE_MAX] = "distribdata_test"; in LeaveLNNFuzzTest() local 543 if (memcpy_s(pkgname, INPUT_NAME_SIZE_MAX, reinterpret_cast<const char *>(data), INPUT_NAME_SIZE_MAX - 1) != EOK) { in LeaveLNNFuzzTest() 546 pkgname[INPUT_NAME_SIZE_MAX - 1] = '\0'; in LeaveLNNFuzzTest() 556 datas.WriteCString(pkgname); in LeaveLNNFuzzTest()
|
/foundation/distributedhardware/device_manager/services/implementation/src/ |
H A D | device_manager_service_impl_lite.cpp | 397 std::string pkgname) in GetAppTrustDeviceIdList() 399 (void)pkgname; in GetAppTrustDeviceIdList() 396 GetAppTrustDeviceIdList( std::string pkgname) GetAppTrustDeviceIdList() argument
|
H A D | device_manager_service_impl.cpp | 268 LOGI("The online device not need report pkgname"); in HandleOnline() 277 LOGI("The online device not need report pkgname"); in HandleOnline() 661 std::string pkgname) in GetAppTrustDeviceIdList() 666 return DeviceProfileConnector::GetInstance().GetAppTrustDeviceList(pkgname, deviceId); in GetAppTrustDeviceIdList() 848 LOGI("not need report pkgname"); in HandleDeviceScreenStatusChange() 660 GetAppTrustDeviceIdList( std::string pkgname) GetAppTrustDeviceIdList() argument
|
/foundation/distributedhardware/device_manager/services/implementation/include/ |
H A D | device_manager_service_impl_lite.h | 118 std::unordered_map<std::string, DmAuthForm> GetAppTrustDeviceIdList(std::string pkgname);
|
H A D | device_manager_service_impl.h | 119 std::unordered_map<std::string, DmAuthForm> GetAppTrustDeviceIdList(std::string pkgname);
|
/foundation/distributedhardware/device_manager/services/service/include/ |
H A D | idevice_manager_service_impl.h | 255 virtual std::unordered_map<std::string, DmAuthForm> GetAppTrustDeviceIdList(std::string pkgname) = 0;
|
/foundation/distributedhardware/device_manager/commondependency/include/ |
H A D | deviceprofile_connector.h | 46 std::string pkgname; member
|
/foundation/distributedhardware/device_manager/services/service/src/discovery/ |
H A D | discovery_manager.cpp | 524 discoveryInfo.pkgname = pkgName; in GetDeviceAclParam() 595 LOGI("Erase pkgname %{public}s from pkgNameSet.", pkgName.c_str()); in ClearDiscoveryCache() 599 LOGI("Erase pkgname %{public}s from pkgNameSet.", pkgName.c_str()); in ClearDiscoveryCache()
|
/foundation/distributedhardware/device_manager/test/unittest/ |
H A D | UTTest_device_manager_service_impl.cpp | 1332 std::string pkgname = "pkgname"; in HWTEST_F() local 1336 auto ret = deviceManagerServiceImpl_->GetAppTrustDeviceIdList(pkgname); in HWTEST_F() 1386 std::string pkgName = "pkgname"; in HWTEST_F() 1404 std::string pkgName = "pkgname"; in HWTEST_F() 1413 std::string pkgName = "pkgname"; in HWTEST_F() 1441 std::string pkgName = "pkgname"; in HWTEST_F() 1455 std::string pkgName = "pkgname"; in HWTEST_F()
|