/ohos5.0/foundation/communication/netmanager_base/services/netstatsmanager/src/ |
H A D | net_stats_cached.cpp | 172 … [&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 D | a2dp_sbc_param_ctrl.cpp | 922 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 D | a2dp_aac_param_ctrl.cpp | 931 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 D | medialibrary_analysis_album_operations.cpp | 367 …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 D | rs_profiler_telemetry.cpp | 226 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 D | rich_editor_pattern_test_ng.cpp | 1012 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 D | rich_editor_edit_testone_ng.cpp | 1207 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 D | scene_session_manager_test4.cpp | 382 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 D | call_voice_assistant_manager.cpp | 572 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 D | scene_session_manager.h | 889 bool IsVectorSame(const std::vector<VisibleWindowNumInfo>& lastInfo,
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | rich_editor_pattern.cpp | 9467 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 D | scene_session_manager.cpp | 10463 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()
|