Home
last modified time | relevance | path

Searched refs:lastInfo (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/communication/netmanager_base/services/netstatsmanager/src/
H A Dnet_stats_cached.cpp172 … [&info](const NetStatsInfo &lastInfo) { return info.Equals(lastInfo); }); in GetIncreasedStats() argument
182 … [&info](const NetStatsInfo &lastInfo) { return info.Equals(lastInfo); }); in GetIncreasedSimStats() argument
211 … [this, &info](const NetStatsInfo &lastInfo) { return info.Equals(lastInfo); }); in CacheUidStats() argument
271 … [this, &info](const NetStatsInfo &lastInfo) { return info.Equals(lastInfo); }); in CacheUidSimStats() argument
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/a2dp_codec/
H A Da2dp_sbc_param_ctrl.cpp922 A2dpSBCCapability lastInfo = {}; in IsSbcConfigChanged() local
925 if (ParseInfoSbc(&lastInfo, lastCodecInfo) != A2DP_SUCCESS) { in IsSbcConfigChanged()
935 …return (lastInfo.sampleFreq == newInfo.sampleFreq) && (lastInfo.channelMode == newInfo.channelMode… in IsSbcConfigChanged()
936 … (lastInfo.blockLen == newInfo.blockLen) && (lastInfo.numSubbands == newInfo.numSubbands) && in IsSbcConfigChanged()
937 …(lastInfo.allocatedMethod == newInfo.allocatedMethod) && (lastInfo.minBitpool == newInfo.minBitpoo… in IsSbcConfigChanged()
938 (lastInfo.maxBitpool == newInfo.maxBitpool); in IsSbcConfigChanged()
H A Da2dp_aac_param_ctrl.cpp931 A2dpAACCapability lastInfo = {}; in IsAacConfigChanged() local
934 if (ParseInfoAac(&lastInfo, lastCodecInfo) != A2DP_SUCCESS) { in IsAacConfigChanged()
944 …return (lastInfo.sampleFreq == newInfo.sampleFreq) && (lastInfo.channelMode == newInfo.channelMode… in IsAacConfigChanged()
945 (lastInfo.bitRate == newInfo.bitRate); in IsAacConfigChanged()
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
H A Dmedialibrary_analysis_album_operations.cpp367 …bool CheckGroupPhotoAlbumInfo(const GroupPhotoAlbumInfo &info, const GroupPhotoAlbumInfo &lastInfo) in CheckGroupPhotoAlbumInfo() argument
369 bool hasUpdated = ((info.albumName.compare(lastInfo.albumName) != 0) || in CheckGroupPhotoAlbumInfo()
370 (info.coverUri.compare(lastInfo.coverUri) != 0) || in CheckGroupPhotoAlbumInfo()
371 (info.count != lastInfo.count) || in CheckGroupPhotoAlbumInfo()
372 (info.isMe != lastInfo.isMe) || in CheckGroupPhotoAlbumInfo()
373 (info.isRemoved != lastInfo.isRemoved) || in CheckGroupPhotoAlbumInfo()
374 (info.renameOperation != lastInfo.renameOperation) || in CheckGroupPhotoAlbumInfo()
375 (info.isCoverSatisfied != lastInfo.isCoverSatisfied)); in CheckGroupPhotoAlbumInfo()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_telemetry.cpp226 static double GetCpuTotalUsage(const CpuTime& info, const CpuTime& lastInfo) in GetCpuTotalUsage() argument
228 const double deltaTotal = info.total - lastInfo.total; in GetCpuTotalUsage()
235 usage += std::max(info.times[i] - lastInfo.times[i], 0.0); in GetCpuTotalUsage()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_pattern_test_ng.cpp1012 RichEditorAbstractSpanResult& lastInfo = changeValue.originalSpans_.back(); variable
1013 int32_t lastLength = static_cast<int32_t>(StringUtils::ToWstring(lastInfo.GetValue()).length());
1014 lastInfo.SetEraseLength(lastLength);
1029 lastInfo.SetSpanIndex(richEditorPattern->spans_.size() - 2);
1194 RichEditorAbstractSpanResult& lastInfo = changeValue.originalSpans_.back(); variable
1195 lastInfo.SetValue("test123\n");
1196 int32_t lastLength = static_cast<int32_t>(StringUtils::ToWstring(lastInfo.GetValue()).length());
1197 lastInfo.SetEraseLength(lastLength - 1);
1208 lastLength = static_cast<int32_t>(StringUtils::ToWstring(lastInfo.GetValue()).length());
1209 lastInfo.SetEraseLength(lastLength);
H A Drich_editor_edit_testone_ng.cpp1207 RichEditorAbstractSpanResult& lastInfo = changeValue.originalSpans_.back(); variable
1208 int32_t lastLength = static_cast<int32_t>(StringUtils::ToWstring(lastInfo.GetValue()).length());
1209 lastInfo.SetEraseLength(lastLength);
1226 lastInfo.SetSpanIndex(richEditorPattern->spans_.size() - 1);
1232 lastInfo.SetEraseLength(lastLength - 1);
/ohos5.0/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_manager_test4.cpp382 std::vector<VisibleWindowNumInfo> lastInfo; variable
385 lastInfo.push_back(num);
386 EXPECT_EQ(false, ssm_->IsVectorSame(lastInfo, currentInfo));
387 lastInfo.clear();
389 lastInfo.reserve(2);
393 lastInfo.push_back(oneNum);
395 EXPECT_EQ(true, ssm_->IsVectorSame(lastInfo, currentInfo));
402 EXPECT_EQ(false, ssm_->IsVectorSame(lastInfo, currentInfo));
408 EXPECT_EQ(false, ssm_->IsVectorSame(lastInfo, currentInfo));
/ohos5.0/base/telephony/call_manager/services/call_voice_assistant/src/
H A Dcall_voice_assistant_manager.cpp572 auto lastInfo = accountIds[callId]; in CallStatusDisconnected() local
589 SendRequest(lastInfo, false); in CallStatusDisconnected()
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/include/
H A Dscene_session_manager.h889 bool IsVectorSame(const std::vector<VisibleWindowNumInfo>& lastInfo,
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/
H A Drich_editor_pattern.cpp9467 const RichEditorAbstractSpanResult& lastInfo = originalSpans.back(); in OnBackPressed() local
9469 … int32_t lastLength = static_cast<int32_t>(StringUtils::ToWstring(lastInfo.GetValue()).length()); in OnBackPressed()
9470 if (firstInfo.GetEraseLength() == firstLength && lastInfo.GetEraseLength() == lastLength) { in OnBackPressed()
9472 static_cast<int32_t>(spans_.size()) == (lastInfo.GetSpanIndex() + 1)) { in OnBackPressed()
9475 spanIndex = lastInfo.GetSpanIndex() + 1; in OnBackPressed()
9477 spanIndex = lastInfo.GetSpanIndex(); in OnBackPressed()
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscene_session_manager.cpp10463 bool SceneSessionManager::IsVectorSame(const std::vector<VisibleWindowNumInfo>& lastInfo, in IsVectorSame() argument
10466 if (lastInfo.size() != currentInfo.size()) { in IsVectorSame()
10470 int sizeOfLastInfo = static_cast<int>(lastInfo.size()); in IsVectorSame()
10472 if (lastInfo[i].displayId != currentInfo[i].displayId || in IsVectorSame()
10473 lastInfo[i].visibleWindowNum != currentInfo[i].visibleWindowNum) { in IsVectorSame()