/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/ |
H A D | distributeddb_single_ver_p2p_simple_sync_test.cpp | 203 devices.push_back(g_deviceB->GetDeviceId()); 204 devices.push_back(g_deviceC->GetDeviceId()); 254 devices.push_back(g_deviceB->GetDeviceId()); 255 devices.push_back(g_deviceC->GetDeviceId()); 307 devices.push_back(g_deviceB->GetDeviceId()); 308 devices.push_back(g_deviceC->GetDeviceId()); 358 devices.push_back(g_deviceB->GetDeviceId()); 359 devices.push_back(g_deviceC->GetDeviceId()); 415 devices.push_back(g_deviceB->GetDeviceId()); 416 devices.push_back(g_deviceC->GetDeviceId()); [all …]
|
H A D | distributeddb_syncer_device_manager_test.cpp | 137 if (targetDev == g_deviceB->GetDeviceId()) { in __anon77278ea40202() 147 g_communicatorAggregator->OnlineDevice(g_deviceB->GetDeviceId()); 161 g_communicatorAggregator->OnlineDevice(g_deviceB->GetDeviceId()); 168 if (targetDev == g_deviceB->GetDeviceId()) { in __anon77278ea40302() 177 g_communicatorAggregator->OfflineDevice(g_deviceB->GetDeviceId()); 198 EXPECT_TRUE(deviceList[0] == g_deviceB->GetDeviceId()); 199 EXPECT_TRUE(deviceList[1] == g_deviceC->GetDeviceId()); 200 g_communicatorAggregator->OfflineDevice(g_deviceC->GetDeviceId()); 208 EXPECT_TRUE(deviceList[0] == g_deviceB->GetDeviceId());
|
H A D | distributeddb_single_ver_p2p_permission_sync_test.cpp | 175 devices.push_back(g_deviceB->GetDeviceId()); 176 devices.push_back(g_deviceC->GetDeviceId()); 240 devices.push_back(g_deviceB->GetDeviceId()); 241 devices.push_back(g_deviceC->GetDeviceId()); 308 devices.push_back(g_deviceB->GetDeviceId()); 309 devices.push_back(g_deviceC->GetDeviceId()); 397 devices.push_back(g_deviceB->GetDeviceId()); 398 devices.push_back(g_deviceC->GetDeviceId()); 461 devices.push_back(g_deviceB->GetDeviceId()); 462 devices.push_back(g_deviceC->GetDeviceId()); [all …]
|
H A D | distributeddb_single_ver_p2p_sync_check_test.cpp | 181 devices.push_back(g_deviceB->GetDeviceId()); 182 devices.push_back(g_deviceC->GetDeviceId()); 229 devices.push_back(g_deviceB->GetDeviceId()); 230 devices.push_back(g_deviceC->GetDeviceId()); 299 devices.push_back(g_deviceB->GetDeviceId()); 344 devices.push_back(g_deviceB->GetDeviceId()); 379 devices.push_back(g_deviceB->GetDeviceId()); 426 devices.push_back(g_deviceB->GetDeviceId()); 464 devices.push_back(g_deviceB->GetDeviceId()); 488 auto deviceB = g_deviceB->GetDeviceId(); [all …]
|
H A D | distributeddb_single_ver_multi_user_test.cpp | 278 devices.push_back(g_deviceB->GetDeviceId()); in TestSyncWithUserChange() 326 devices.push_back(g_deviceB->GetDeviceId()); 360 devices.push_back(g_deviceC->GetDeviceId()); 408 devices.push_back(g_deviceB->GetDeviceId()); 432 devices.push_back(g_deviceB->GetDeviceId()); 763 std::vector<std::string> devices = {g_deviceB->GetDeviceId(), g_deviceC->GetDeviceId()}; 773 if (pair.first == g_deviceB->GetDeviceId()) { 811 std::vector<std::string> devices = {g_deviceB->GetDeviceId()}; 846 std::vector<std::string> devices = {g_deviceB->GetDeviceId()};
|
H A D | distributeddb_single_ver_p2p_complex_sync_test.cpp | 78 devices.push_back(g_deviceB->GetDeviceId()); in PullSyncTest() 294 devices.push_back(g_deviceB->GetDeviceId()); 363 devices.push_back(g_deviceB->GetDeviceId()); 425 devices.push_back(g_deviceB->GetDeviceId()); 560 devices.push_back(g_deviceB->GetDeviceId()); 673 devices.push_back(g_deviceB->GetDeviceId()); 689 devices.push_back(g_deviceB->GetDeviceId()); 690 devices.push_back(g_deviceC->GetDeviceId()); 766 devices.push_back(g_deviceB->GetDeviceId()); 767 devices.push_back(g_deviceC->GetDeviceId()); [all …]
|
H A D | mock_sync_task_context.h | 88 std::string GetDeviceId() const override in GetDeviceId() function 93 return SingleVerKvSyncTaskContext::GetDeviceId(); in GetDeviceId()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/singlever/ |
H A D | single_ver_data_sync.cpp | 609 context->GetDeviceId(), peerMark); in DealRemoveDeviceDataByAck() 807 context->GetDeviceId(), peerMark); in PullRequestStart() 1201 STR_MASK(GetDeviceId())); in AckRecv() 1214 STR_MASK(GetDeviceId())); in AckRecv() 1385 STR_MASK(GetDeviceId())); in SendResetWatchDogPacket() 1388 STR_MASK(GetDeviceId())); in SendResetWatchDogPacket() 2028 STR_MASK(GetDeviceId())); in SubscribeRequestRecv() 2035 STR_MASK(GetDeviceId())); in SubscribeRequestRecv() 2045 STR_MASK(GetDeviceId())); in SubscribeRequestRecv() 2074 STR_MASK(GetDeviceId())); in UnsubscribeRequestRecv() [all …]
|
H A D | single_ver_sync_state_machine.cpp | 232 dataSync_->GetLabel().c_str(), STR_MASK(context_->GetDeviceId())); in SyncStepInner() 259 STR_MASK(context_->GetDeviceId())); in AbortInner() 292 currentState_, STR_MASK(context_->GetDeviceId())); in PrepareNextSyncTask() 374 dataSync_->GetLabel().c_str(), STR_MASK(context_->GetDeviceId())); in DoInitiactiveDataSyncWithSlidingWindow() 435 dataSync_->GetLabel().c_str(), STR_MASK(context_->GetDeviceId())); in DoInitiactiveControlSync() 518 STR_MASK(context_->GetDeviceId())); in DoAbilitySync() 636 uint32_t timeout = communicator_->GetTimeout(context_->GetDeviceId()); in HandleDataRequestRecv() 887 dataSync_->GetLabel().c_str(), STR_MASK(context_->GetDeviceId())); in TimeMarkSyncRecv() 936 dataSync_->GetLabel().c_str(), STR_MASK(context_->GetDeviceId())); in IsPacketValid() 943 dataSync_->GetLabel().c_str(), STR_MASK(context_->GetDeviceId())); in IsPacketValid() [all …]
|
H A D | single_ver_data_sync_utils.cpp | 373 subManager->DeleteLocalSubscribeQuery(context->GetDeviceId(), context->GetQuery()); in ControlAckErrorHandle() 495 param.deviceId = context->GetDeviceId(); in RunPermissionCheckInner() 502 STR_MASK(context->GetDeviceId())); in RunPermissionCheckInner() 531 …if (RuntimeContext::GetInstance()->TranslateDeviceId(context.GetDeviceId(), info, clientId) == E_O… in RecordClientId() 532 int errCode = metadata->SaveClientId(context.GetDeviceId(), clientId); in RecordClientId() 543 packet.SetSystemTimeOffset(metadata->GetSystemTimeOffset(context.GetDeviceId())); in SetDataRequestCommonInfo() 571 auto remoteSchemaVersion = metadata->GetRemoteSchemaVersion(context.GetDeviceId()); in SchemaVersionMatchCheck()
|
/ohos5.0/drivers/external_device_manager/test/moduletest/bus_extension_usb_mt/ |
H A D | bus_extension_usb_mt.cpp | 69 devInfoMap_[device->GetDeviceId()] = device; in OnDeviceAdd() 71 device->GetDeviceId(), device->GetDeviceDescription().c_str()); in OnDeviceAdd() 77 devInfoMap_.erase(device->GetDeviceId()); in OnDeviceRemove() 79 device->GetDeviceId(), device->GetDeviceDescription().c_str()); in OnDeviceRemove()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/syncer/src/device/multiver/ |
H A D | multi_ver_data_sync.cpp | 189 LOGD("MultiVerDataSync::SyncStart dst=%s{private}, begin", context->GetDeviceId().c_str()); in SyncStart() 206 LOGD("MultiVerDataSync::SyncStart dst=%s{private}, end", context->GetDeviceId().c_str()); in SyncStart() 248 errCode, context->GetDeviceId().c_str()); in RequestRecvCallback() 285 context->GetDeviceId().c_str(), entries.size()); in AckRecvCallback() 298 context->GetDeviceId().c_str(), valueHashes.size()); in AckRecvCallback() 337 message->SetTarget(context->GetDeviceId()); in SendFinishedRequest() 558 context->GetDeviceId().c_str(), index, commitsSize); in GetValidCommit() 567 context->GetDeviceId().c_str(), index); in GetValidCommit() 570 …LOGD("MultiVerDataSync::GetValidCommit not found, dst=%s{private}", context->GetDeviceId().c_str()… in GetValidCommit() 605 message->SetTarget(context->GetDeviceId()); in SendRequestPacket() [all …]
|
H A D | multi_ver_sync_state_machine.cpp | 77 errCode = timeSync_->Initialize(communicator, metadata, syncInterface, context->GetDeviceId()); in Initialize() 118 LOGD("[MultiVerSyncStateMachine][%s] step to idle", STR_MASK(context_->GetDeviceId())); in StepToIdle() 222 …LOGD("[MultiVerSyncStateMachine] SyncStep dst=%s, state = %d", STR_MASK(context_->GetDeviceId()), … in SyncStepInnerLocked() 432 LOGD("MultiVerSyncStateMachine::Finish merge src=%s", STR_MASK(context_->GetDeviceId())); in Finish() 439 STR_MASK(context_->GetDeviceId()), errCode); in Finish() 457 …ncStateMachine::OneCommitSyncFinish src=%s, commitIndex = %d,", STR_MASK(context_->GetDeviceId()), in OneCommitSyncFinish() 461 std::string deviceName = context_->GetDeviceId(); in OneCommitSyncFinish() 465 STR_MASK(context_->GetDeviceId()), entries.size()); in OneCommitSyncFinish() 478 STR_MASK(context_->GetDeviceId()), timefixOffset); in OneCommitSyncFinish() 487 STR_MASK(context_->GetDeviceId()), errCode); in OneCommitSyncFinish()
|
/ohos5.0/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/device/ |
H A D | device_info_test.cpp | 146 EXPECT_EQ(devInfo.GetDeviceId(), ""); 149 EXPECT_EQ(devInfo.GetDeviceId(), "test"); 169 EXPECT_EQ(devInfoTwo.GetDeviceId(), deviceInfo.deviceId); 182 EXPECT_EQ(devInfoTwo.GetDeviceId(), dmDeviceInfoTwo.deviceId);
|
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/utils/ |
H A D | profile_cache.cpp | 101 if (!ProfileUtils::IsKeyValid(deviceProfile.GetDeviceId())) { in AddDeviceProfile() 119 if (!ProfileUtils::IsKeyValid(serviceProfile.GetDeviceId()) || in AddServiceProfile() 139 if (!ProfileUtils::IsKeyValid(charProfile.GetDeviceId()) || in AddCharProfile() 145 std::string charProfileKey = ProfileUtils::GenerateCharProfileKey(charProfile.GetDeviceId(), in AddCharProfile() 160 if (!ProfileUtils::IsKeyValid(charProfile.GetDeviceId()) || in AddStaticCharProfile() 166 std::string charProfileKey = ProfileUtils::GenerateCharProfileKey(charProfile.GetDeviceId(), in AddStaticCharProfile() 312 if (!ProfileUtils::IsKeyValid(deviceProfile.GetDeviceId())) { in IsDeviceProfileExist() 334 if (!ProfileUtils::IsKeyValid(serviceProfile.GetDeviceId()) || in IsServiceProfileExist() 358 if (!ProfileUtils::IsKeyValid(charProfile.GetDeviceId()) || in IsCharProfileExist() 364 std::string charProfileKey = ProfileUtils::GenerateCharProfileKey(charProfile.GetDeviceId(), in IsCharProfileExist() [all …]
|
/ohos5.0/base/notification/distributed_notification_service/services/distributed/src/ |
H A D | distributed_database_callback.cpp | 36 …callback_.OnInsert(changeNotification.GetDeviceId(), entry.key.ToString(), entry.value.ToString()); in OnChange() 44 …callback_.OnUpdate(changeNotification.GetDeviceId(), entry.key.ToString(), entry.value.ToString()); in OnChange() 52 …callback_.OnDelete(changeNotification.GetDeviceId(), entry.key.ToString(), entry.value.ToString()); in OnChange()
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_audio_device_desc_adapter_impl.cpp | 26 int32_t ArkAudioDeviceDescAdapterImpl::GetDeviceId() in GetDeviceId() function in OHOS::ArkWeb::ArkAudioDeviceDescAdapterImpl 28 return real_->GetDeviceId(); in GetDeviceId()
|
H A D | ark_video_device_descriptor_adapter_impl.cpp | 36 ArkWebString ArkVideoDeviceDescriptorAdapterImpl::GetDeviceId() in GetDeviceId() function in OHOS::ArkWeb::ArkVideoDeviceDescriptorAdapterImpl 38 std::string str = real_->GetDeviceId(); in GetDeviceId()
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_audio_device_desc_adapter_wrapper.cpp | 23 int32_t ArkAudioDeviceDescAdapterWrapper::GetDeviceId() in GetDeviceId() function in OHOS::ArkWeb::ArkAudioDeviceDescAdapterWrapper 25 return ctocpp_->GetDeviceId(); in GetDeviceId()
|
H A D | ark_video_device_descriptor_adapter_wrapper.cpp | 39 std::string ArkVideoDeviceDescriptorAdapterWrapper::GetDeviceId() in GetDeviceId() function in OHOS::ArkWeb::ArkVideoDeviceDescriptorAdapterWrapper 41 ArkWebString str = ctocpp_->GetDeviceId(); in GetDeviceId()
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/bind/ |
H A D | auth_device_profile_listener.cpp | 51 DelNotTrustDevice(profile.GetDeviceId().c_str()); in OnTrustDeviceProfileAdd() 52 g_deviceProfileChange.onDeviceProfileAdd(profile.GetDeviceId().c_str(), NULL); in OnTrustDeviceProfileAdd() 64 g_deviceProfileChange.onDeviceProfileDeleted(profile.GetDeviceId().c_str()); in OnTrustDeviceProfileDelete()
|
/ohos5.0/base/notification/common_event_service/interfaces/kits/cj/src/ |
H A D | subscribe_info.cpp | 57 std::string CommonEventSubscribeInfoImpl::GetDeviceId() in GetDeviceId() function in OHOS::CommonEventManager::CommonEventSubscribeInfoImpl 59 return info_->GetDeviceId(); in GetDeviceId()
|
/ohos5.0/base/print/print_fwk/frameworks/helper/scan_helper/src/ |
H A D | scanner_info_helper.cpp | 67 NapiScanUtils::SetStringPropertyUtf8(env, jsObj, PARAM_SCANNERID, info.GetDeviceId()); in MakeJsObject() 83 NapiScanUtils::SetStringPropertyUtf8(env, jsObj, PARAM_SCANNERID, info.GetDeviceId()); in MakeJsObject() 91 info.GetDeviceId().c_str(), info.GetDiscoverMode().c_str(), in MakeJsObject()
|
/ohos5.0/foundation/deviceprofile/device_info_manager/common/src/utils/ |
H A D | profile_utils.cpp | 351 return IsKeyValid(devProfile.GetDeviceId()) && IsLocalUdid(devProfile.GetDeviceId()); in IsDevProfileValid() 356 return IsKeyValid(svrProfile.GetDeviceId()) && IsLocalUdid(svrProfile.GetDeviceId()) && in IsSvrProfileValid() 362 return IsKeyValid(charProfile.GetDeviceId()) && IsLocalUdid(charProfile.GetDeviceId()) && in IsCharProfileValid() 408 values.PutString(DEVICE_ID, profile.GetDeviceId()); in TrustDeviceProfileToEntries() 463 std::string deviceProfileKey = GenerateDeviceProfileKey(profile.GetDeviceId()); in DeviceProfileToEntries() 475 std::string serviceProfileKey = GenerateServiceProfileKey(profile.GetDeviceId(), serviceName); in ServiceProfileToEntries() 486 std::string charProfileKey = GenerateCharProfileKey(profile.GetDeviceId(), serviceName, in CharacteristicProfileToEntries() 802 if (profile.GetDeviceId().empty() || in GetDbKeyByProfile() 809 std::string dbKey = CHAR_PREFIX + SEPARATOR + profile.GetDeviceId() + SEPARATOR + serviceName + in GetDbKeyByProfile()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/functions/ |
H A D | js_click_function.cpp | 50 obj->SetProperty<double>("deviceId", static_cast<int32_t>(info.GetDeviceId())); in Execute() 86 obj->SetProperty<double>("deviceId", static_cast<int32_t>(info.GetDeviceId())); in Execute() 122 obj->SetProperty<double>("deviceId", static_cast<int32_t>(info.GetDeviceId())); in Execute() 169 obj->SetProperty<double>("deviceId", static_cast<int32_t>(info.GetDeviceId())); in Execute() 205 obj->SetProperty<double>("deviceId", static_cast<int32_t>(info.GetDeviceId())); in Execute() 241 obj->SetProperty<double>("deviceId", static_cast<int32_t>(info.GetDeviceId())); in Execute()
|