Home
last modified time | relevance | path

Searched refs:syncOption (Results 1 – 13 of 13) sorted by relevance

/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/
H A Ddevice_profile_utils_test.cpp205 SyncOptions syncOption; variable
207 bool ret = syncOption.Marshalling(parcel);
219 SyncOptions syncOption; variable
220 syncOption.AddDevice("1234");
222 bool ret = syncOption.Marshalling(parcel);
237 SyncOptions syncOption; variable
238 bool ret = syncOption.Unmarshalling(parcel);
253 SyncOptions syncOption; variable
254 bool ret = syncOption.Unmarshalling(parcel);
270 SyncOptions syncOption; variable
[all …]
H A Dprofile_crud_test.cpp880 SyncOptions syncOption; variable
881 syncOption.SetSyncMode((OHOS::DeviceProfile::SyncMode)mode);
882 syncOption.AddDevice("test");
883 int result = DistributedDeviceProfileClient::GetInstance().SyncDeviceProfile(syncOption,
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/cloud/
H A Ddistributeddb_cloud_kv_syncer_test.cpp532 CloudSyncOption syncOption; variable
534 syncOption.users.push_back(USER_ID);
535 syncOption.users.push_back(USER_ID_2);
536 syncOption.devices.push_back("cloud");
571 CloudSyncOption syncOption; variable
573 syncOption.users.push_back(USER_ID);
582 syncOption.users.clear();
583 syncOption.users.push_back(USER_ID);
602 syncOption.users.clear();
603 syncOption.users.push_back(USER_ID);
[all …]
/ohos5.0/foundation/deviceprofile/device_info_manager/
H A DREADME_zh.md132 | syncOption| SyncOption | 是 | 指定同步范围和模式 |
139 SyncOptions syncOption;
140 syncOption.SetSyncMode((OHOS::DeviceProfile::SyncMode)atoi(mode.c_str()));
142 syncOption.AddDevice(deviceId);
145 DistributedDeviceProfileClient::GetInstance().SyncDeviceProfile(syncOption,
H A DREADME.md128 | syncOption| SyncOption | Yes | Synchronization range and mode. …
135 SyncOptions syncOption;
136 syncOption.SetSyncMode((OHOS::DeviceProfile::SyncMode)atoi(mode.c_str()));
138 syncOption.AddDevice(deviceId);
141 DistributedDeviceProfileClient::GetInstance().SyncDeviceProfile(syncOption,
/ohos5.0/docs/zh-cn/readme/
H A DDeviceProfile子系统.md132 | syncOption| SyncOption | 是 | 指定同步范围和模式 |
139 SyncOptions syncOption;
140 syncOption.SetSyncMode((OHOS::DistributedKv::SyncMode)atoi(mode.c_str()));
142 syncOption.AddDevice(deviceId);
145 DistributedDeviceProfileClient::GetInstance().SyncDeviceProfile(syncOption,
/ohos5.0/docs/en/readme/
H A DDeviceProfile.md126 | syncOption| SyncOption | Yes | Synchronization mode and range. …
133 SyncOptions syncOption;
134 syncOption.SetSyncMode((OHOS::DistributedKv::SyncMode)atoi(mode.c_str()));
136 syncOption.AddDevice(deviceId);
139 DistributedDeviceProfileClient::GetInstance().SyncDeviceProfile(syncOption,
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/kvdb/
H A Dkvdb_general_store.cpp362 DistributedDB::CloudSyncOption syncOption; in CloudSync() local
363 syncOption.devices = devices; in CloudSync()
364 syncOption.mode = cloudSyncMode; in CloudSync()
365 syncOption.waitTime = wait; in CloudSync()
366 syncOption.prepareTraceId = prepareTraceId; in CloudSync()
367 syncOption.lockAction = DistributedDB::LockAction::NONE; in CloudSync()
371 syncOption.users.push_back(std::to_string(users[0])); in CloudSync()
373 syncOption.users.push_back(std::to_string(storeInfo_.user)); in CloudSync()
375 return delegate_->Sync(syncOption, GetDBProcessCB(async)); in CloudSync()
/ohos5.0/foundation/deviceprofile/device_info_manager/old/tools/dp/src/
H A Ddp_command.cpp274 SyncOptions syncOption; in SyncCommand() local
276 syncOption.SetSyncMode((OHOS::DeviceProfile::SyncMode)mode); in SyncCommand()
278 syncOption.AddDevice(deviceId); in SyncCommand()
280 DistributedDeviceProfileClient::GetInstance().SyncDeviceProfile(syncOption, in SyncCommand()
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/
H A Dnapi_context.h32 int syncOption = false; member
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/src/
H A Ddistributed_device_profile_stub.cpp335 SyncOptions syncOption; in SyncDeviceProfileInner() local
336 if (!syncOption.Unmarshalling(data)) { in SyncDeviceProfileInner()
342 return SyncDeviceProfile(syncOption, eventNotifier); in SyncDeviceProfileInner()
/ohos5.0/foundation/distributeddatamgr/relational_store/interfaces/ndk/src/
H A Drelational_store.cpp877 SyncOption syncOption{ .mode = NDKUtils::TransformMode(mode), .isBlock = false }; in OH_Rdb_CloudSync() local
901 …return ConvertorErrorCode::NativeToNdk(rdbStore->GetStore()->Sync(syncOption, tableNames, progress… in OH_Rdb_CloudSync()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/interfaces/
H A Ddistributeddb_interfaces_nb_delegate_rd_test.cpp2269 CloudSyncOption syncOption = { variable
2278 auto res = g_kvNbDelegatePtr->Sync(syncOption, callback);