/foundation/window/window_manager/dm/src/ |
H A D | display_manager.cpp | 788 if (displayIdList_.empty()) {
in RemoveDisplayIdFromAms() 789 WLOGFI("displayIdList_ is empty.");
in RemoveDisplayIdFromAms() 806 if (displayIdList_.empty()) {
in GetCallingAbilityDisplayId() 807 WLOGFI("displayIdList is empty.");
in GetCallingAbilityDisplayId() 1107 if (privateWindowListeners_.empty() && privateWindowListenerAgent_ != nullptr) {
in UnregisterPrivateWindowListener() 1146 if (privateWindowListChangeListeners_.empty() && privateWindowListChangeListenerAgent_ != nullptr) {
in UnregisterPrivateWindowListChangeListener() 1174 if (displayListeners_.empty() && displayManagerListener_ != nullptr) {
in UnregisterDisplayListener() 1231 if (powerEventListeners_.empty() && powerEventListenerAgent_ != nullptr) {
in UnregisterDisplayPowerEventListener() 1288 if (screenshotListeners_.empty() && screenshotListenerAgent_ != nullptr) {
in UnregisterScreenshotListener() 1366 if (foldAngleListeners_.empty() in UnregisterFoldAngleListener() [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/ |
H A D | data_share_service_impl.cpp | 285 if (!publishedData.empty()) { 395 if (!publishedKeys.empty()) { 466 if (!publishedKeys.empty()) { 569 if (profileInfos.empty()) { 580 if (value.launchInfos.empty()) { 624 if (autoLaunchMetaData.datas.empty() || !AllowCleanDataLaunchApp(event, autoLaunchMetaData.launchForCleanData)) { 628 if (dataInfo.tables.empty() && dataInfo.changeType == 1) { 870 if (!providerInfo.allowEmptyPermission && providerInfo.readPermission.empty()) { 874 if (!providerInfo.readPermission.empty() && 904 if (!providerInfo.allowEmptyPermission && providerInfo.readPermission.empty()) { [all...] |
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/app/src/ |
H A D | kvstore_data_service.cpp | 210 return !clients.empty(); in RegisterClientDeathObserver() 225 return !value.empty(); in AppExit() 229 return !value.empty(); in AppExit() 272 if (!DmAdapter::GetInstance().GetLocalDevice().uuid.empty()) { in OnStart() 387 if (metaData.deviceId != deviceId || metaData.deviceId.empty()) { in OnStoreMetaChanged() 429 if ((!param.userId.empty() && (param.userId != storeMeta.user)) || (localDeviceId != storeMeta.deviceId) || in ResolveAutoLaunchParamByIdentifier() 749 if (info.uuid.empty()) { in OnDeviceOnline() 760 if (info.uuid.empty()) { in OnDeviceOffline() 771 if (info.uuid.empty()) { in OnDeviceOnReady() 782 if (info.uuid.empty()) { in OnSessionReady() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_utils.cpp | 153 if (cipherName.empty()) { in CreateDataBase() 290 // Check empty value. in BindBlobToStatement() 291 if (value.empty() && !permEmpty) { in BindBlobToStatement() 297 if (value.empty()) { in BindBlobToStatement() 392 if (!keyPrefix.empty()) { in BindPrefixKey() 856 if (!tmpString.empty()) { in SetFieldInfo() 896 if (table.GetPrimaryKey().empty()) { in AnalysisSchemaFieldDefine() 1000 if (properties.uri.empty()) { // LCOV_EXCL_BR_LINE in GetVersion() 1086 if (properties.uri.empty()) { // LCOV_EXCL_BR_LINE in SetUserVer() 1298 if (name.empty() || inf in IncreaseIndex() [all...] |
/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/ |
H A D | pipeline_context.cpp | 200 if (customNode && !dirtyNode->GetInspectorIdValue("").empty()) { in AddDirtyCustomNode() 225 if (!dirty->GetInspectorIdValue("").empty()) { in AddDirtyLayoutNode() 272 if (!dirty->GetInspectorIdValue("").empty()) { in AddDirtyRenderNode() 347 if (!ViewStackProcessor::GetInstance()->IsEmpty() && !dirtyNodes_.empty()) { in FlushDirtyNodeUpdate() 348 ACE_SCOPED_TRACE("Error update, node stack non-empty"); in FlushDirtyNodeUpdate() 349 LOGW("stack is not empty when call FlushDirtyNodeUpdate, node may be mounted to incorrect pos!"); in FlushDirtyNodeUpdate() 354 while (!dirtyNodes_.empty() && maxFlushTimes > 0) { in FlushDirtyNodeUpdate() 455 if (history.empty() || current.empty()) { in GetResampleCoord() 576 if (history.empty() || curren in GetMouseResampleCoord() [all...] |
/foundation/ability/ability_runtime/services/abilitymgr/src/ |
H A D | ability_manager_service.cpp | 646 if (!bundleNameFromWant.empty() && bundleNameFromWant == bundleNameFromIntentMgr && in StartAbilityByInsightIntent() 1010 if (!dialogSessionId.empty() && in StartAbilityInner() 1288 if (!localWant.GetDeviceId().empty()) { in PreStartFreeInstall() 2095 if (!(sessionInfo->want).GetElement().GetAbilityName().empty() && in SetWantForSessionInfo() 2096 !(sessionInfo->want).GetElement().GetModuleName().empty()) { in SetWantForSessionInfo() 2131 if (sessionId.empty()) { in StartUIAbilityBySCB() 2382 if (!bundleInfos.empty()) { in AppUpgradeCompleted() 2969 extensionSessionInfo->want.GetElement().GetBundleName().empty() && in SetPickerElementName() 2970 extensionSessionInfo->want.GetElement().GetAbilityName().empty() && in SetPickerElementName() 2980 if (extensionSessionInfo->want.GetElement().GetBundleName().empty() in SetPickerElementName() [all...] |
H A D | app_exit_reason_data_manager.cpp | 91 if (bundleName.empty() || accessTokenId == Security::AccessToken::INVALID_TOKENID) { in SetAppExitReason() 136 if (bundleName.empty() || accessTokenId == Security::AccessToken::INVALID_TOKENID) { in DeleteAppExitReason() 180 if (bundleName.empty() || accessTokenId == Security::AccessToken::INVALID_TOKENID) { in GetAppExitReason() 217 if (abilityList.empty()) { in GetAppExitReason() 421 if (recoverInfoList.empty()) { in DeleteAbilityRecoverInfo() 471 if (bundleName.empty()) { in SetUIExtensionAbilityExitReason()
|
/foundation/ability/ability_runtime/test/unittest/app_mgr_service_inner_mock_test/ |
H A D | app_mgr_service_inner_mock_test.cpp | 114 EXPECT_EQ(watermarkBusinessName.empty(), true); in HWTEST_F() 145 EXPECT_EQ(watermarkBusinessName.empty(), true); in HWTEST_F() 182 EXPECT_EQ(watermarkBusinessName.empty(), true); in HWTEST_F() 218 EXPECT_EQ(watermarkBusinessName.empty(), true); in HWTEST_F() 259 EXPECT_EQ(watermarkBusinessName.empty(), true); in HWTEST_F() 300 EXPECT_EQ(watermarkBusinessName.empty(), true); in HWTEST_F()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_item_group_pattern.cpp | 181 return listLayoutProperty && listLayoutProperty->GetDivider().has_value() && !itemPosition_.empty(); in OnDirtyLayoutWrapperSwap() 447 if (!itemPosition_.empty()) { in UpdateActiveChildRange() 469 int32_t endIndex = (outOfView || itemPosition_.empty()) ? -1 : itemPosition_.rbegin()->first; in UpdateCachedIndexForward() 493 int32_t startIndex = (outOfView || itemPosition_.empty()) ? itemTotalCount_ : itemPosition_.begin()->first; in UpdateCachedIndexBackward() 579 if (forwardCache > -1 && backwardCache > -1 && !itemPosition_.empty()) { in UpdateCachedIndex() 708 if (itemPosition_.empty()) { in NotifyDataChange()
|
/foundation/arkui/ace_engine/frameworks/core/components/list/ |
H A D | list_element.cpp | 463 if (!itemElements_.empty()) { in RecycleByItems() 512 if (!itemElements_.empty()) { in RecycleByRange() 538 if (!group || group->GetChildren().empty()) { in OnRefreshed() 782 if (needRefreshItems_.empty()) { in PatchElements() 783 LOGE("need refresh is empty"); in PatchElements() 804 if (!group || group->GetChildren().empty()) { in PatchElements() 869 } else if (list->NeedPreBuild() && newListItemsMap_.empty()) { in Update()
|
/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/ |
H A D | render_tab_bar.cpp | 113 if (children.empty()) { 280 if (tabsWidth_.empty()) { in SetScrollIndicator() 421 if (tabItemOffsets_.empty()) { in AccessibilityScroll() 441 if (tabItemOffsets_.empty()) { in HandleClickedEvent() 442 LOGW("tabItemOffsets is empty"); in HandleClickedEvent() 648 if (children.empty()) { in GetTabItemChildLayoutSize() 806 if (restoreInfo.empty()) { in ApplyRestoreInfo()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/nativeModule/ |
H A D | arkts_native_textpicker_bridge.cpp | 166 if (!ArkTSUtils::ParseJsString(vm, fontWeightArg, weight) || weight.empty()) {
in SetTextStyle() 172 if (!ArkTSUtils::ParseJsFontFamiliesToString(vm, fontFamilyArg, fontFamily) || fontFamily.empty()) {
in SetTextStyle() 215 if (!ArkTSUtils::ParseJsString(vm, fontWeightArg, weight) || weight.empty()) {
in SetSelectedTextStyle() 221 if (!ArkTSUtils::ParseJsFontFamiliesToString(vm, fontFamilyArg, fontFamily) || fontFamily.empty()) {
in SetSelectedTextStyle() 264 if (!ArkTSUtils::ParseJsString(vm, fontWeightArg, weight) || weight.empty()) {
in SetDisappearTextStyle() 270 if (!ArkTSUtils::ParseJsFontFamiliesToString(vm, fontFamilyArg, fontFamily) || fontFamily.empty()) {
in SetDisappearTextStyle()
|
/foundation/arkui/ace_engine/adapter/preview/entrance/ |
H A D | ace_ability.cpp | 65 if (containerSdkPath.empty() || fileList.empty()) { in SetFontMgrConfig() 74 if (assetPath.empty()) { in GetCustomAssetPath() 214 SystemProperties::SetExtSurfaceEnabled(!runArgs.containerSdkPath.empty()); in AceAbility() 308 if (!runArgs_.containerSdkPath.empty()) { in InitEnv() 322 container->SetPageProfile((runArgs_.pageProfile.empty() ? "" : runArgs_.pageProfile + ".json")); in InitEnv()
|
/foundation/arkui/ace_engine/adapter/ohos/capability/clipboard/ |
H A D | clipboard_impl.cpp | 198 if (!multiTypeRecordImpl->GetPlainText().empty()) { in AddMultiTypeRecord() 202 if (!multiTypeRecordImpl->GetUri().empty()) { in AddMultiTypeRecord() 210 if (!multiTypeRecordImpl->GetSpanStringBuffer().empty()) { in AddMultiTypeRecord() 403 if (result.empty()) { in GetDataSync() 439 if (resText.empty()) { in GetDataAsync() 604 if (textData && text.empty()) { in GetSpanStringDataHelper()
|
/foundation/arkui/ace_engine/frameworks/core/event/ |
H A D | touch_event.cpp | 462 if (!state.empty()) { in Dump() 475 if (!state.empty()) { in Dump() 493 return stateHistory.empty() || stateHistory.back().state != state || stateHistory.back().disposal != disposal; in CheckNeedAddMove() 503 if (!customInfo.empty()) { in Dump() 549 if (!customInfo.empty()) { in Dump() 733 if (!changedTouches_.empty()) { in ConvertToTouchEvent()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | accessibility_property.cpp | 94 auto nodeText = preferAccessibilityText && !accessibilityText.empty() ? accessibilityText : GetText(); in GetGroupTextRecursive() 95 if (!text.empty() && !nodeText.empty()) { in GetGroupTextRecursive() 463 !accessibilityProperty->GetText().empty()) { in IsAccessibilityFocusable() 496 return !accessibilityText_.value_or("").empty() || in HasAccessibilityTextOrDescription() 497 !accessibilityDescription_.value_or("").empty(); in HasAccessibilityTextOrDescription()
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_installer_host.cpp | 166 if (size == 0 || pathVec.empty()) { in HandleInstallMultipleHapsMessage() 167 LOG_E(BMS_TAG_INSTALLER, "inputted bundlepath vector is empty"); in HandleInstallMultipleHapsMessage() 530 if (bundleName.empty() || dplType <= LOWER_DLP_TYPE_BOUND || dplType >= UPPER_DLP_TYPE_BOUND) { in InstallSandboxApp() 557 if (bundleName.empty()) { in UninstallSandboxApp() 558 LOG_E(BMS_TAG_INSTALLER, "uninstall sandbox failed due to empty bundleName"); in UninstallSandboxApp() 779 if (bundleName.empty()) { in InstallCloneApp() 819 if (bundleName.empty()) { in UninstallCloneApp() 820 LOG_E(BMS_TAG_INSTALLER, "install clone app failed due to empty bundleName"); in UninstallCloneApp() 855 if (bundleName.empty()) { in InstallExisted()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/datastore/ |
H A D | render_data_store_default_material.cpp | 129 if (!allocator.allocators.empty()) { in AllocateMatrixMemory() 246 if (!submeshJointMatricesAllocator_.allocators.empty()) { in Clear() 303 if (!customData.empty()) { in AddMaterialData() 382 if (!customPropertyData.empty()) { in AddInstanceMaterialData() 445 if (!bindings.empty()) { in AddMaterialCustomResources() 704 if ((!materialCustomPropertyData_.empty()) && in GetMaterialCustomPropertyData()
|
/foundation/multimedia/av_codec/services/media_engine/filters/ |
H A D | surface_encoder_adapter.cpp | 371 if (pauseResumeQueue_.empty() ||
in Pause() 393 if (pauseResumeQueue_.empty()) {
in Resume() 577 if (mappingTimeQueue_.empty() || mappingTimeQueue_.front().first != buffer->pts_) {
in OnOutputBufferAvailable() 629 return isThreadExit_ || !indexs_.empty();
in ReleaseBuffer() 738 if (pauseResumeQueue_.empty()) {
in CheckFrames() 798 if (pauseResumePts_.empty()) {
in AddPauseResumePts()
|
/foundation/graphic/graphic_3d/lume/Lume_3D/src/render/node/ |
H A D | render_node_default_depth_render_slot.cpp | 146 (!cameras.empty() && (currentScene_.cameraIdx < (uint32_t)cameras.size())) ? true : false; in ExecuteFrame() 149 const bool hasSubmeshes = (!sortedSlotSubmeshes_.empty()); in ExecuteFrame() 311 } else if (!(jsonInputs_.customCameraName.empty())) { in UpdateCurrentScene() 405 } else if (!(jsonInputs_.customCameraName.empty())) { in GetCameraUniformBuffers() 602 if (!shaderRenderSlot.empty()) { in ParseRenderNodeInputs() 610 if (!stateRenderSlot.empty()) { in ParseRenderNodeInputs()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/ |
H A D | render_node_graph_manager.cpp | 101 if (const auto result = renderNodeGraphLoader_->Load(uri); !result.error.empty()) { in LoadAndCreate() 122 if (availableHandleIds_.empty()) { // no available indices in Create() 152 renderNodeGraphName.empty() ? string_view(desc.renderNodeGraphName) : renderNodeGraphName, in Create() 153 renderNodeGraphDataStoreName.empty() ? string_view(desc.renderNodeGraphDataStoreName) in Create() 236 if (!pendingRenderNodeGraphDestructions_.empty()) { 243 if (!pendingRenderNodeDestructions_.empty()) {
|
H A D | render_node_parser_util.cpp | 318 if ((context.data.desc.format == Format::BASE_FORMAT_UNDEFINED) && context.data.dependencyImageName.empty()) { in FromJson() 482 if (!result.error.empty()) { in GetInputRenderPass() 494 if (!result.error.empty()) { in GetInputResources() 510 if (!result.error.empty()) { in GetRenderDataStore() 528 if (!result.error.empty()) { in GetGpuImageDescs() 546 if (!result.error.empty()) { in GetGpuBufferDescs()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/ |
H A D | rs_render_node_drawable_test.cpp | 776 ASSERT_TRUE(drawable->filterInfoVec_.empty()); in HWTEST_F() 782 ASSERT_FALSE(drawable->filterInfoVec_.empty()); in HWTEST_F() 827 ASSERT_FALSE(drawable->filterInfoVec_.empty()); in HWTEST_F() 835 ASSERT_FALSE(drawable->filterInfoVec_.empty()); in HWTEST_F() 858 ASSERT_FALSE(drawable->filterInfoVec_.empty()); in HWTEST_F() 865 ASSERT_FALSE(drawable->filterInfoVec_.empty()); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/transaction/ |
H A D | rs_transaction_proxy_test.cpp | 177 bool isCommonDataStackEmpty = rsTransactionProxy->implicitCommonTransactionDataStack_.empty(); in HWTEST_F() 178 bool isRemoteDataStackEmpty = rsTransactionProxy->implicitRemoteTransactionDataStack_.empty(); in HWTEST_F() 847 while (!instance->implicitCommonTransactionDataStack_.empty() || in HWTEST_F() 848 !instance->implicitRemoteTransactionDataStack_.empty()) { in HWTEST_F() 854 ASSERT_TRUE(instance->implicitCommonTransactionDataStack_.empty()); in HWTEST_F() 855 ASSERT_TRUE(instance->implicitRemoteTransactionDataStack_.empty()); in HWTEST_F()
|
/foundation/filemanagement/user_file_service/interfaces/inner_api/file_access/src/ |
H A D | file_access_ext_proxy.cpp | 127 if (newFile.ToString().empty()) { in CreateFile() 128 HILOG_ERROR("get uri is empty."); in CreateFile() 181 if (newFile.ToString().empty()) { in Mkdir() 182 HILOG_ERROR("get uri is empty."); in Mkdir() 272 if (newFile.ToString().empty()) { in Move() 273 HILOG_ERROR("get uri is empty."); in Move() 428 if (tempUri.empty()) { in CopyFile() 429 HILOG_ERROR("get uri is empty"); in CopyFile() 482 if (newFile.ToString().empty()) { in Rename() 483 HILOG_ERROR("get uri is empty in Rename() [all...] |