Home
last modified time | relevance | path

Searched refs:deviceIdList (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/
H A Dprofile_dm_test.cpp204 std::list<std::string> deviceIdList; variable
205 deviceIdList.emplace_back("testttt");
206 DpDeviceManager::GetInstance().GetDeviceIdList(deviceIdList);
224 std::list<std::string> deviceIdList; variable
228 deviceIdList.emplace_back("testttt");
229 DpDeviceManager::GetInstance().GetDeviceIdList(deviceIdList);
H A Dprofile_storage_test.cpp940 std::vector<std::string> deviceIdList = {}; variable
941 bool res = onlineSyncTbl_->CheckTrustGroup(deviceIdList);
954 std::vector<std::string> deviceIdList = {"did1111111"}; variable
955 bool res = onlineSyncTbl_->CheckTrustGroup(deviceIdList);
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/src/dbstorage/
H A Ddevice_profile_storage.cpp274 int32_t DeviceProfileStorage::SyncDeviceProfile(const std::vector<std::string>& deviceIdList, in SyncDeviceProfile() argument
278 std::vector<std::string> trustDeviceList = CheckTrustDeviceList(deviceIdList); in SyncDeviceProfile()
313 bool DeviceProfileStorage::CheckTrustGroup(const std::vector<std::string>& deviceIdList) in CheckTrustGroup() argument
315 if (deviceIdList.empty()) { in CheckTrustGroup()
319 for (const auto& deviceId : deviceIdList) { in CheckTrustGroup()
334 …d::string> DeviceProfileStorage::CheckTrustDeviceList(const std::vector<std::string> &deviceIdList) in CheckTrustDeviceList() argument
337 if (deviceIdList.empty()) { in CheckTrustDeviceList()
342 for (const auto& deviceId : deviceIdList) { in CheckTrustDeviceList()
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/include/dbstorage/
H A Ddevice_profile_storage.h51 virtual int32_t SyncDeviceProfile(const std::vector<std::string>& deviceIdList,
69 bool CheckTrustGroup(const std::vector<std::string>& deviceIdList);
70 std::vector<std::string> CheckTrustDeviceList(const std::vector<std::string> &deviceIdList);
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/include/
H A Di_dp_sync_adapter.h29 virtual int32_t SyncProfile(const std::list<std::string>& deviceIdList,
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/src/devicemanager/
H A Ddp_device_manager.cpp427 void DpDeviceManager::GetDeviceIdList(std::list<std::string>& deviceIdList) in GetDeviceIdList() argument
429 deviceIdList.clear(); in GetDeviceIdList()
436 deviceIdList.emplace_back(deviceInfo->GetNetworkId()); in GetDeviceIdList()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/
H A Djs_device_kv_store.cpp420 std::vector<std::string> deviceIdList; in Sync() member
428 ctxt->status = JSUtil::GetValue(env, argv[0], ctxt->deviceIdList); in Sync()
443 (int)ctxt->deviceIdList.size(), ctxt->mode, ctxt->allowedDelayMs); in Sync()
447 …status = kvStore->Sync(ctxt->deviceIdList, static_cast<SyncMode>(ctxt->mode), ctxt->allowedDelayMs… in Sync()
H A Djs_single_kv_store.cpp366 std::vector<std::string> deviceIdList; in Sync() member
374 ctxt->status = JSUtil::GetValue(env, argv[0], ctxt->deviceIdList); in Sync()
389 (int)ctxt->deviceIdList.size(), ctxt->mode, ctxt->allowedDelayMs); in Sync()
393 …status = kvStore->Sync(ctxt->deviceIdList, static_cast<SyncMode>(ctxt->mode), ctxt->allowedDelayMs… in Sync()
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/include/devicemanager/
H A Ddp_device_manager.h48 void GetDeviceIdList(std::list<std::string>& deviceIdList);
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributedkvstore/src/
H A Djs_single_kv_store.cpp1170 std::vector<std::string> deviceIdList; member
1182 this->status = JSUtil::GetValue(env, argv[0], this->deviceIdList); in GetInput()
1229 (int)ctxt->deviceIdList.size(), ctxt->mode, ctxt->allowedDelayMs); in Sync()
1235 status = kvStore->Sync(ctxt->deviceIdList, static_cast<SyncMode>(ctxt->mode), query, in Sync()
1239 …status = kvStore->Sync(ctxt->deviceIdList, static_cast<SyncMode>(ctxt->mode), ctxt->allowedDelayMs… in Sync()
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/
H A Ddevice_profile_manager.cpp537 const std::list<std::string> deviceIdList = { deviceId }; in RunloadedFunction() local
538 if (dpSyncAdapter_->SyncProfile(deviceIdList, syncCompletedCallback) != DP_SUCCESS) { in RunloadedFunction()
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-distributed-data.md37 | ohos.data.distributedData | DeviceKVStore | sync(deviceIdList: string[], mode: SyncMode, allowedD…
/ohos5.0/docs/en/release-notes/api-diff/v3.1-Release/
H A Djs-apidiff-distributed-data.md37 | ohos.data.distributedData | DeviceKVStore | sync(deviceIdList: string[], mode: SyncMode, allowedD…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.0-LTS/
H A Djs-apidiff-v3.0-lts.md193 |数据管理-distributeddata|sync(deviceIdList:string[], mode:SyncMode, allowedDelayMs?:number):void|新增| -|
/ohos5.0/docs/en/release-notes/api-diff/v3.0-LTS/
H A Djs-apidiff-v3.0-lts.md193 |Data Management - distributeddata|sync(deviceIdList:string[], mode:SyncMode, allowedDelayMs?:numbe…
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-distributed-data.md821 |函数有变化|类名:SingleKVStore;<br>方法or属性:sync(deviceIdList: string[], mode: SyncMode, allowedDelayMs?: nu…
822 |函数有变化|类名:DeviceKVStore;<br>方法or属性:sync(deviceIdList: string[], mode: SyncMode, allowedDelayMs?: nu…
/ohos5.0/docs/en/release-notes/api-diff/v3.2-Release/
H A Djs-apidiff-distributed-data.md821 |Function changed|Class name: SingleKVStore;<br>Method or attribute name: sync(deviceIdList: string…
822 |Function changed|Class name: DeviceKVStore;<br>Method or attribute name: sync(deviceIdList: string…