/foundation/ability/ability_runtime/frameworks/native/ability/native/recovery/ |
H A D | ability_recovery.cpp | 53 if (fileDir.empty() || !OHOS::FileExists(fileDir)) { in GetSaveAppCachePath() 54 TAG_LOGE(AAFwkTag::RECOVERY, "empty fileDir or fileDir not exist"); in GetSaveAppCachePath() 126 if (!pageStack.empty()) { in SaveAbilityState() 145 if (file.empty()) { in SerializeDataToFile() 186 if (file.empty()) { in ReadSerializeDataFromFile() 404 if (pageStack_.empty()) { in GetSavedPageStack() 405 TAG_LOGE(AAFwkTag::RECOVERY, "pageStack_ is empty"); in GetSavedPageStack()
|
/foundation/arkui/ace_engine/frameworks/core/components/shape/ |
H A D | rosen_render_shape.cpp | 173 if (skPoints.empty()) { in CreatePolygon() 189 if (points.empty()) { in CreatePolygon() 203 if (pathCmd_.GetValue().empty()) { in CreatePath() 291 if (!strokeState_.GetStrokeDashArray().empty()) { in DrawStroke() 310 if (!strokeState_.GetStrokeDashArray().empty()) { in DrawStroke()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/manager/focus/ |
H A D | focus_manager.cpp | 96 if (focusViewStack_.empty()) { in FocusViewClose() 224 if (iter->second.second.empty()) { in RemoveFocusScope() 251 if (iter->second.second.empty()) { in RemoveScopePriorityNode() 256 if (!focusScope && iter->second.second.empty()) { in RemoveScopePriorityNode() 266 if (!iter->second.second.empty()) { in GetFocusScopePriorityList()
|
/foundation/arkui/ace_engine/frameworks/core/components/form/ |
H A D | sub_container.cpp | 376 if (!imageDataMap.empty()) { in ProcessSharedImage() 393 if (picNameArray.empty()) { in GetNamesOfSharedImage() 419 if (picNameArray.empty() || byteLenArray.empty() || fileDescriptorArray.empty()) { in UpdateSharedImage()
|
/foundation/arkui/ace_engine/frameworks/core/components/select/ |
H A D | select_element.cpp | 215 if (children_.empty()) { in FlushRefresh() 264 if (box->GetChildren().empty()) { in GetRenderText() 275 if (inner->GetChildren().empty()) { in GetRenderText() 276 LOGE("inner component is empty"); in GetRenderText() 286 if (row->GetChildren().empty()) { in GetRenderText() 315 if (select->GetChildren().empty()) { in GetRenderBox()
|
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | ams_configuration_parameter.cpp | 122 if (filePath.empty()) { in LoadUIExtensionPickerConfig() 123 TAG_LOGE(AAFwkTag::ABILITYMGR, "empty file path"); in LoadUIExtensionPickerConfig() 146 if (pickerJson.is_null() || pickerJson.empty()) { in LoadUIExtensionPickerConfig() 157 || pickerJson[AmsConfig::UIEATENSION].empty()) { in LoadUIExtensionPickerConfig() 182 if (filePath.empty()) { in LoadAmsConfiguration() 183 TAG_LOGE(AAFwkTag::ABILITYMGR, "empty file path"); in LoadAmsConfiguration() 380 if (residentWhiteList_.empty()) { in InResidentWhiteList()
|
/foundation/arkui/ace_engine/frameworks/core/components/badge/ |
H A D | rosen_render_badge.cpp | 165 if (!textData_.empty() || messageCount > 0) { in DrawNumericalBadge() 167 ((messageCount < 10 && messageCount <= countLimit) && textData_.empty())) { in DrawNumericalBadge() 200 if (!textData_.empty() || messageCount > 0) { in DrawNumericalBadge() 202 ((messageCount < 10 && messageCount <= countLimit) && textData_.empty())) { in DrawNumericalBadge() 235 if (!textData_.empty() || badge_->GetMessageCount() > 0) { in DrawBadge()
|
/foundation/arkui/ace_engine/interfaces/napi/kits/plugincomponent/ |
H A D | js_plugin_callback.cpp | 161 if (!data.empty()) { in MakeCallbackParamForRequest() 164 if (!extraData.empty()) { in MakeCallbackParamForRequest() 206 if (!workData->data.empty()) { in OnPushEventInner() 209 if (!workData->extraData.empty()) { in OnPushEventInner() 276 if (!workData->data.empty()) { in OnRequestEventInner()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/pattern_lock/ |
H A D | render_pattern_lock.cpp | 25 if (patternLock && !info.GetTouches().empty()) { in RenderPatternLock() 37 if (patternLock && !info.GetTouches().empty()) { in RenderPatternLock() 240 if (!choosePoint_.empty() && static_cast<int16_t>(choosePoint_.size()) >= index) { in CheckChoosePointIsLastIndex() 250 if (!autoReset_ && !choosePoint_.empty() && !isMoveEventValid_) { in CheckAutoReset() 257 if (choosePoint_.empty()) { in AddPassPoint()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rich_editor/ |
H A D | rich_editor_layout_algorithm.cpp | 52 if (!spans.empty()) { in RichEditorLayoutAlgorithm() 134 auto optionalTextSize = spans_.empty() in MeasureContent() 139 res.AddHeight(spans_.empty() ? 0 : shadowOffset_); in MeasureContent() 167 CHECK_NULL_RETURN(!spans_.empty(), false); in CreateParagraph() 281 CHECK_NULL_VOID(content.empty()); in HandleEmptyParagraph()
|
/foundation/barrierfree/accessibility/services/aams/src/ |
H A D | accessibility_screen_touch.cpp | 151 if (cachedDownPointerEvents_.empty()) { in SendInterceptedEvent() 152 HILOG_ERROR("Cached down pointer event is empty!"); in SendInterceptedEvent() 288 if (cachedDownPointerEvents_.empty()) { in HandleResponseDelayStateInnerDown() 289 HILOG_ERROR("cached down pointer event is empty!"); in HandleResponseDelayStateInnerDown() 331 if (cachedDownPointerEvents_.empty()) { in HandleResponseDelayStateInnerMove() 332 HILOG_ERROR("cached down pointer event is empty!"); in HandleResponseDelayStateInnerMove() 363 if (isStopDrawCircle_ != true && !cachedDownPointerEvents_.empty()) { in HandleResponseDelayStateInnerMove() 387 if (cachedDownPointerEvents_.empty()) { in HandleResponseDelayStateInnerUp() 388 HILOG_ERROR("cached down pointer event is empty!"); in HandleResponseDelayStateInnerUp()
|
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/ |
H A D | text_field_pattern_testthree.cpp | 201 EXPECT_FALSE(ret.empty()); in HWTEST_F() 219 EXPECT_FALSE(ret.empty()); in HWTEST_F() 253 EXPECT_FALSE(ret.empty()); in HWTEST_F() 281 EXPECT_FALSE(ret.empty()); in HWTEST_F() 528 EXPECT_EQ(textContent.empty(), false); in HWTEST_F()
|
/foundation/graphic/graphic_3d/lume/LumeEcsSerializer/EcsSerializer/src/ecs_serializer/ |
H A D | ecs_asset_loader.cpp | 138 if (dependencies_.empty()) { in GetNextDependency() 239 if (src_.empty()) { in StartLoading() 328 if (!GetUri().empty()) { in CreateDummyEntity() 350 if (!dependencies_.empty()) { in LoadJsonEntityCollection() 440 if (!resourceData.animations.empty()) { in ImportSceneFromGltf()
|
/foundation/graphic/graphic_3d/lume/metaobject/src/property/ |
H A D | stack_property.cpp | 143 if (values_.empty()) { in GetValueFromStack() 228 if (!values_.empty()) { in PopValue() 240 return !values_.empty() ? values_.back() : nullptr; in TopValue() 330 if (res && values_.empty()) { 441 return values_.empty();
|
/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/hm_symbol/ |
H A D | hm_symbol_txt_test.cpp | 80 EXPECT_TRUE(symbolInfo.renderGroups.empty() && symbolInfo.layers.empty()); in HWTEST_F() 228 EXPECT_EQ(visualMap.empty(), false); in HWTEST_F() 232 EXPECT_EQ(visualMap.empty(), false); in HWTEST_F() 236 EXPECT_EQ(visualMap.empty(), true); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_uni_render_thread_test.cpp | 184 EXPECT_TRUE(instance.imageReleaseTasks_.empty()); in HWTEST_F() 305 EXPECT_TRUE(type.empty()); in HWTEST_F() 311 EXPECT_FALSE(type.empty()); in HWTEST_F() 317 EXPECT_FALSE(type.empty()); in HWTEST_F() 323 EXPECT_FALSE(type.empty()); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render/render/unittest/pipeline/ |
H A D | rs_uni_render_thread_ext_test.cpp | 184 EXPECT_TRUE(instance.imageReleaseTasks_.empty()); in HWTEST_F() 253 EXPECT_TRUE(type.empty()); in HWTEST_F() 259 EXPECT_FALSE(type.empty()); in HWTEST_F() 265 EXPECT_FALSE(type.empty()); in HWTEST_F() 271 EXPECT_FALSE(type.empty()); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/benchmarks/benchmark_dcl/ |
H A D | drawing_playback.cpp | 59 if (realPath.empty()) { in CreateFile() 93 if (filePath.empty()) { in WriteStringToFile() 289 if (command.empty()) { in GetDirectionAndStep() 346 if (line.empty()) { in UpdateParameters() 453 std::cout << "The path of DrawCmdList file is empty!" << std::endl; in GetRealPathStr() 468 if (realDclFilePathStr.empty()) { in LoadDrawCmdList()
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/hls/ |
H A D | hls_tags.cpp | 136 if (!value_.empty() && value_.at(0) != '"') { in QuotedString() 205 if (!attrName.empty()) { in ParseAttributes() 331 if (s.empty() || s.size() - last > 0) { in Split() 348 if (!key.empty()) { in ParseTag() 388 } else if (!line.empty()) { in ParseEntries()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/utils/ |
H A D | metadata_common_utils.cpp | 168 if (levelList && levelList->empty() && (modeName == SceneMode::CAPTURE || modeName == SceneMode::VIDEO)) { in GetSupportedPreviewSizeRange() 171 if (levelList && !levelList->empty()) { in GetSupportedPreviewSizeRange() 181 if (extendList != nullptr && extendList->empty() && in GetSupportedPreviewSizeRange() 185 if (extendList != nullptr && !extendList->empty()) { in GetSupportedPreviewSizeRange() 194 if (basicList != nullptr && !basicList->empty()) { in GetSupportedPreviewSizeRange()
|
/foundation/multimedia/av_codec/test/nativedemo/audio_demo/ |
H A D | avcodec_audio_g711mu_encoder_demo.cpp | 198 while (!signal_->inQueue_.empty()) { in Stop() 201 while (!signal_->inBufferQueue_.empty()) { in Stop() 213 while (!signal_->outQueue_.empty()) { in Stop() 216 while (!signal_->attrQueue_.empty()) { in Stop() 219 while (!signal_->outBufferQueue_.empty()) { in Stop()
|
/foundation/multimedia/media_library/frameworks/services/media_cloud_enhancement/src/enhancement_service/ |
H A D | enhancement_service_callback.cpp | 69 CHECK_AND_RETURN_RET_LOG(!ext.empty(), E_INVALID_DISPLAY_NAME, "invalid extension, displayName=%{private}s",
in CheckDisplayNameWithType() 81 if (!fileAsset.GetPath().empty()) {
in SetAssetPathInCreate() 94 // filePath can not be empty
in SetAssetPathInCreate() 188 CHECK_AND_RETURN_LOG(!taskId.empty(), "enhancement callback error: taskId is empty");
in OnSuccess() 200 CHECK_AND_RETURN_LOG(!taskId.empty(), "enhancement callback error: taskId is empty");
in OnFailed() 233 "enhancement callback error: query result set is empty");
in DealWithSuccessedTask() 275 MEDIA_ERR_LOG("enhancement callback error: query result set is empty");
in DealWithFailedTask() 310 if (!needUpdateUris.empty()) {
in UpdateAlbumsForCloudEnhancement() [all...] |
/foundation/multimedia/player_framework/frameworks/native/soundpool/ |
H A D | stream_id_manager.cpp | 183 if (playingStreamIDs_.empty()) { in QueueAndSortPlayingStreamID() 220 if (willPlayStreamInfos_.empty()) { in QueueAndSortWillPlayStreamID() 290 if (cacheBuffers_.empty()) { in FindCacheBuffer() 291 MEDIA_LOGI("StreamIDManager::FindCacheBuffer cacheBuffers_ empty"); in FindCacheBuffer() 371 if (cacheBuffers_.empty()) { in GetFreshStreamID() 372 MEDIA_LOGI("StreamIDManager::GetFreshStreamID cacheBuffers_ empty"); in GetFreshStreamID() 403 if (!willPlayStreamInfos_.empty()) { in OnPlayFinished() 404 MEDIA_LOGI("StreamIDManager OnPlayFinished will play streams non empty, get the front."); in OnPlayFinished()
|
/foundation/multimedia/player_framework/services/engine/histreamer/avmetadatahelper/ |
H A D | avmetadata_collector.cpp | 165 if (it == collectedMeta_.end() || it->second.empty()) { in ExtractMetadata() 284 if (innerMeta->GetData(innerKey, strVal) && !strVal.empty()) { in ConvertToAVMeta() 302 if (!str.empty()) { in FormatAVMeta() 333 if (!date.empty()) { in FormatDateTime() 335 } else if (!creationTime.empty()) { in FormatDateTime()
|
/foundation/multimedia/ringtone_library/services/ringtone_restore/src/ |
H A D | ringtone_dualfwk_restore.cpp | 118 if (backupPath.empty()) { in Init() 198 if (mediaDataShare_ == nullptr || names.empty()) { in QueryMediaLibForFileInfo() 225 RINGTONE_WARN_LOG("resultset for %{public}s is empty", whereClause.c_str()); in QueryMediaLibForFileInfo() 271 RINGTONE_WARN_LOG("resultset for %{public}s is empty", whereClause.c_str()); in QueryRingToneDbForFileInfo() 399 if ((!infos.empty()) && (infos.size() != 0)) { in StartRestore() 453 if (fileName.empty()) { in OnPrepare() 458 if (baseName.empty()) { in OnPrepare()
|