Home
last modified time | relevance | path

Searched refs:DnetworkAdapter (Results 1 - 12 of 12) sorted by relevance

/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/
H A Ddms_network_adapter_test.cpp76 if (DnetworkAdapter::GetInstance()->dnetworkHandler_ != nullptr) { in TearDownTestCase()
77 DnetworkAdapter::GetInstance()->dnetworkHandler_->PostTask(caseDoneNotifyTask); in TearDownTestCase()
100 std::string res = DnetworkAdapter::GetInstance()->GetUdidByNetworkId(""); in HWTEST_F()
111 std::string res = DnetworkAdapter::GetInstance()->GetUdidByNetworkId(NETWORKID); in HWTEST_F()
122 std::string res = DnetworkAdapter::GetInstance()->GetUuidByNetworkId(""); in HWTEST_F()
133 std::string res = DnetworkAdapter::GetInstance()->GetUuidByNetworkId(NETWORKID); in HWTEST_F()
144 DnetworkAdapter::GetInstance()->Init(); in HWTEST_F()
157 std::string res = DnetworkAdapter::GetInstance()->GetUdidByNetworkId(NETWORKID); in HWTEST_F()
168 std::string res = DnetworkAdapter::GetInstance()->GetUuidByNetworkId(NETWORKID); in HWTEST_F()
181 DnetworkAdapter in HWTEST_F()
[all...]
H A Ddtbschedmgr_device_info_storage_test.cpp122 std::shared_ptr<DnetworkAdapter> dnetworkAdapter = DnetworkAdapter::GetInstance(); in HWTEST_F()
H A Ddistributed_sched_permission_test.cpp803 ASSERT_NE(DnetworkAdapter::GetInstance(), nullptr); in HWTEST_F()
804 std::string udid = DnetworkAdapter::GetInstance()->GetUdidByNetworkId(deviceId_); in HWTEST_F()
980 ASSERT_NE(DnetworkAdapter::GetInstance(), nullptr); in HWTEST_F()
981 std::string udid = DnetworkAdapter::GetInstance()->GetUdidByNetworkId(deviceId_); in HWTEST_F()
1035 ASSERT_NE(DnetworkAdapter::GetInstance(), nullptr); in HWTEST_F()
1036 std::string udid = DnetworkAdapter::GetInstance()->GetUdidByNetworkId(deviceId_); in HWTEST_F()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/adapter/
H A Ddnetwork_adapter.cpp43 const std::string TAG = "DnetworkAdapter";
46 std::shared_ptr<AppExecFwk::EventHandler> DnetworkAdapter::dnetworkHandler_;
47 std::mutex DnetworkAdapter::listenerSetMutex_;
48 std::set<std::shared_ptr<DeviceListener>> DnetworkAdapter::listenerSet_;
50 std::shared_ptr<DnetworkAdapter> DnetworkAdapter::GetInstance() in GetInstance()
52 static auto instance = std::make_shared<DnetworkAdapter>(); in GetInstance()
56 void DnetworkAdapter::Init() in Init()
65 void DnetworkAdapter::DeviceInitCallBack::OnRemoteDied() in OnRemoteDied()
71 void DnetworkAdapter
[all...]
/foundation/ability/dmsfwk/services/dtbschedmgr/include/adapter/
H A Ddnetwork_adapter.h53 class DnetworkAdapter { class
55 DnetworkAdapter() = default;
56 ~DnetworkAdapter() = default;
65 static std::shared_ptr<DnetworkAdapter> GetInstance();
69 DISALLOW_COPY_AND_MOVE(DnetworkAdapter);
/foundation/ability/dmsfwk/services/dtbschedmgr/src/
H A Ddtbschedmgr_device_info_storage.cpp81 std::shared_ptr<DnetworkAdapter> dnetworkAdapter = DnetworkAdapter::GetInstance(); in ConnectSoftbus()
83 HILOGE("DnetworkAdapter::GetInstance is null"); in ConnectSoftbus()
94 bool DtbschedmgrDeviceInfoStorage::InitNetworkIdManager(std::shared_ptr<DnetworkAdapter> dnetworkAdapter) in InitNetworkIdManager()
118 DnetworkAdapter::GetInstance()->RemoveDeviceChangeListener(deviceNodeListener_); in Stop()
152 std::string uuid = DnetworkAdapter::GetInstance()->GetUuidByNetworkId(networkId); in RegisterUuidNetworkIdMap()
165 std::string uuid = DnetworkAdapter::GetInstance()->GetUuidByNetworkId(networkId); in UnregisterUuidNetworkIdMap()
215 auto dnetworkAdapter = DnetworkAdapter::GetInstance(); in GetLocalDeviceId()
226 HILOGI("get local networkId from DnetworkAdapter, networkId = %{public}s", GetAnonymStr(networkId).c_str()); in GetLocalDeviceId()
232 auto dnetworkAdapter = DnetworkAdapter in GetLocalUdid()
[all...]
H A Ddistributed_sched_permission.cpp151 std::string udid = DnetworkAdapter::GetInstance()->GetUdidByNetworkId(remoteNetworkId); in GetAccountInfo()
490 std::string udid = DnetworkAdapter::GetInstance()->GetUdidByNetworkId(callerInfo.sourceDeviceId); in CheckAccountAccessPermission()
662 std::string srcUdid = DnetworkAdapter::GetInstance()->GetUdidByNetworkId(srcDeviceId); in CheckDeviceSecurityLevel()
667 std::string dstUdid = DnetworkAdapter::GetInstance()->GetUdidByNetworkId(dstDeviceId); in CheckDeviceSecurityLevel()
H A Ddistributed_sched_stub.cpp964 std::string uuid = DnetworkAdapter::GetInstance()->GetUuidByNetworkId(networkId); in GetRemoteMissionSnapshotInfoInner()
H A Ddistributed_sched_service.cpp294 DnetworkAdapter::GetInstance()->Init(); in Init()
/foundation/ability/dmsfwk/services/dtbschedmgr/include/
H A Ddtbschedmgr_device_info_storage.h96 bool InitNetworkIdManager(std::shared_ptr<DnetworkAdapter> dnetworkAdapter);
/foundation/ability/dmsfwk/services/dtbschedmgr/src/dfx/
H A Ddms_continue_time_dumper.cpp176 DnetworkAdapter::GetInstance()->GetLocalBasicInfo(dmDeviceInfo); in SetDeviceNamePull()
185 DnetworkAdapter::GetInstance()->GetLocalBasicInfo(dmDeviceInfo); in SetDeviceNamePush()
/foundation/ability/dmsfwk/services/dtbschedmgr/src/bundle/
H A Dbundle_manager_internal.cpp338 std::string udid = DnetworkAdapter::GetInstance()->GetUdidByNetworkId(deviceId); in CheckIfRemoteCanInstall()

Completed in 18 milliseconds