/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/ |
H A D | device_profile_utils_test.cpp | 205 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 D | profile_crud_test.cpp | 880 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 D | distributeddb_cloud_kv_syncer_test.cpp | 532 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 D | README_zh.md | 132 | 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 D | README.md | 128 | 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 D | DeviceProfile子系统.md | 132 | 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 D | DeviceProfile.md | 126 | 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 D | kvdb_general_store.cpp | 362 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 D | dp_command.cpp | 274 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 D | napi_context.h | 32 int syncOption = false; member
|
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/src/ |
H A D | distributed_device_profile_stub.cpp | 335 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 D | relational_store.cpp | 877 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 D | distributeddb_interfaces_nb_delegate_rd_test.cpp | 2269 CloudSyncOption syncOption = { variable 2278 auto res = g_kvNbDelegatePtr->Sync(syncOption, callback);
|