Home
last modified time | relevance | path

Searched refs:empty (Results 1 - 25 of 5041) sorted by relevance

12345678910>>...202

/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dinstalld_client.cpp27 if (bundleDir.empty()) { in CreateBundleDir()
28 APP_LOGE("bundle dir is empty"); in CreateBundleDir()
38 if (srcModulePath.empty() || targetPath.empty()) { in ExtractModuleFiles()
39 APP_LOGE("src module path or target path is empty"); in ExtractModuleFiles()
48 if (extractParam.srcPath.empty() || extractParam.targetPath.empty()) { in ExtractFiles()
56 if (extractParam.srcPath.empty() || extractParam.targetPath.empty() || hnpPackageInfo.empty()) { in ExtractHnpFiles()
[all...]
/foundation/arkui/ace_engine/frameworks/core/common/
H A Dfocus_animation_manager.cpp27 if (focusAnimationStack_.empty() || (useRoot_ && rootFocusAnimationStack_.empty())) { in SetFocusAnimationProperties()
48 if (focusAnimationStack_.empty() || (useRoot_ && rootFocusAnimationStack_.empty())) { in CancelFocusAnimation()
64 if (!rootFocusAnimationStack_.empty()) { in PushFocusAnimationElement()
72 if (!focusAnimationStack_.empty()) { in PushFocusAnimationElement()
84 if (focusAnimationStack_.empty()) { in PopFocusAnimationElement()
88 if (!focusAnimationStack_.empty()) { in PopFocusAnimationElement()
98 if (rootFocusAnimationStack_.empty()) { in PopRootFocusAnimationElement()
106 if (focusAnimationStack_.empty()) { in StartFocusAnimation()
[all...]
/foundation/distributedhardware/distributed_input/common/include/
H A Dinput_check_param.cpp31 if (deviceId.empty() || deviceId.size() > DEV_ID_LENGTH_MAX) { in CheckParam()
32 DHLOGE("CheckParam deviceId is empty or deviceId size too long."); in CheckParam()
45 if (deviceId.empty() || deviceId.size() > DEV_ID_LENGTH_MAX) { in CheckParam()
46 DHLOGE("CheckParam deviceId is empty or deviceId size too long."); in CheckParam()
65 if (srcId.empty() || srcId.size() > DEV_ID_LENGTH_MAX) { in CheckParam()
66 DHLOGE("CheckParam srcId is empty or srcId size too long."); in CheckParam()
69 if (sinkId.empty() || sinkId.size() > DEV_ID_LENGTH_MAX) { in CheckParam()
70 DHLOGE("CheckParam sinkId is empty or sinkId size too long."); in CheckParam()
89 if (srcId.empty() || srcId.size() > DEV_ID_LENGTH_MAX) { in CheckParam()
90 DHLOGE("CheckParam srcId is empty o in CheckParam()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dinstalld_client.cpp32 if (bundleDir.empty()) { in CreateBundleDir()
33 APP_LOGE("bundle dir is empty"); in CreateBundleDir()
43 if (srcModulePath.empty() || targetPath.empty()) { in ExtractModuleFiles()
44 APP_LOGE("src module path or target path is empty"); in ExtractModuleFiles()
53 if (extractParam.srcPath.empty() || extractParam.targetPath.empty()) { in ExtractFiles()
54 APP_LOGE("src path or target path is empty"); in ExtractFiles()
62 if (extractParam.srcPath.empty() || extractParam.targetPath.empty() || hnpPackageInf in ExtractHnpFiles()
[all...]
H A Dpre_install_exception_mgr.cpp54 return !exceptionPaths_.empty() || !exceptionBundleNames_.empty() || in GetAllPreInstallExceptionInfo()
55 !exceptionAppServicePaths_.empty() || !exceptionAppServiceBundleNames_.empty(); in GetAllPreInstallExceptionInfo()
68 if (preInstallExceptionStr.empty()) { in LoadPreInstallExceptionInfosFromDb()
69 APP_LOGI("preInstallExceptionStr is empty"); in LoadPreInstallExceptionInfosFromDb()
128 if (!exceptionPaths_.empty()) { in DeletePreInstallExceptionInfosFromDb()
132 if (!exceptionBundleNames_.empty()) { in DeletePreInstallExceptionInfosFromDb()
136 if (!exceptionAppServiceBundleNames_.empty()) { in DeletePreInstallExceptionInfosFromDb()
140 if (!exceptionAppServicePaths_.empty()) { in DeletePreInstallExceptionInfosFromDb()
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/utils/test/unittest/common/histreamer_ability_parser/
H A Dhistreamer_ability_parser_test.cpp80 EXPECT_TRUE(audioEncoderIn.mime.empty()); in HWTEST_F()
98 EXPECT_TRUE(audioEncoderOut.mime.empty()); in HWTEST_F()
132 EXPECT_TRUE(audioEncoder.name.empty()); in HWTEST_F()
137 EXPECT_TRUE(audioEncoder.ins.empty()); in HWTEST_F()
145 EXPECT_FALSE(audioEncoder.ins.empty()); in HWTEST_F()
146 EXPECT_TRUE(audioEncoder.outs.empty()); in HWTEST_F()
164 EXPECT_TRUE(audioDecoderIn.mime.empty()); in HWTEST_F()
170 EXPECT_TRUE(audioDecoderIn.channel_layout.empty()); in HWTEST_F()
188 EXPECT_TRUE(audioDecoderOut.mime.empty()); in HWTEST_F()
194 EXPECT_TRUE(audioDecoderOut.sample_fmt.empty()); in HWTEST_F()
[all...]
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/
H A Dskill.cpp63 if (!linkFeature.empty()) { in Match()
74 if (!vecTypes.empty()) { in Match()
94 if (!linkFeature.empty()) { in Match()
139 // config actions empty, no match in MatchAction()
140 if (actions.empty()) { in MatchAction()
143 // config actions not empty, param empty, match in MatchAction()
144 if (action.empty()) { in MatchAction()
159 // config actions not empty, param not empty, i in MatchAction()
[all...]
/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/
H A Dscanner_utils.cpp35 if (path.empty()) { in IsExists()
36 MEDIA_ERR_LOG("Given path name is empty"); in IsExists()
46 if (!path.empty()) { in GetFileNameFromUri()
55 MEDIA_ERR_LOG("Failed to obtain file name because given pathname is empty"); in GetFileNameFromUri()
62 if (!path.empty()) { in GetFileExtension()
69 MEDIA_ERR_LOG("Failed to obtain file extension because given pathname is empty"); in GetFileExtension()
78 if (!path.empty()) { in IsDirectory()
86 MEDIA_ERR_LOG("Either path is empty or it is not a directory"); in IsDirectory()
93 if (!path.empty()) { in IsRegularFile()
107 if (!path.empty()) { in IsFileHidden()
[all...]
/foundation/multimedia/ringtone_library/services/ringtone_scanner/src/
H A Dringtone_scanner_utils.cpp30 if (path.empty()) { in IsExists()
31 RINGTONE_ERR_LOG("Given path name is empty"); in IsExists()
41 if (!path.empty()) { in GetFileNameFromUri()
50 RINGTONE_ERR_LOG("Failed to obtain file name because given pathname is empty"); in GetFileNameFromUri()
57 if (!path.empty()) { in GetFileExtension()
64 RINGTONE_ERR_LOG("Failed to obtain file extension because given pathname is empty"); in GetFileExtension()
73 if (!path.empty()) { in IsDirectory()
81 RINGTONE_ERR_LOG("Either path is empty or it is not a directory"); in IsDirectory()
88 if (!path.empty()) { in IsRegularFile()
102 if (!path.empty()) { in IsFileHidden()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/
H A Drs_property_drawable_test.cpp99 EXPECT_EQ(dirtySlots.empty(), true); in HWTEST_F()
128 EXPECT_EQ(dirtySlots.empty(), false); in HWTEST_F()
133 EXPECT_EQ(dirtySlots.empty(), false); in HWTEST_F()
137 EXPECT_EQ(dirtySlots.empty(), false); in HWTEST_F()
154 EXPECT_EQ(drawableVec.empty(), false); in HWTEST_F()
158 EXPECT_EQ(drawableVec.empty(), false); in HWTEST_F()
174 EXPECT_EQ(drawableVec.empty(), false); in HWTEST_F()
179 EXPECT_EQ(drawableVec.empty(), false); in HWTEST_F()
184 EXPECT_EQ(drawableVec.empty(), false); in HWTEST_F()
188 EXPECT_EQ(drawableVec.empty(), fals in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/test/unittest/core/common/ace_engine/
H A Dfont_manager_test_ng.cpp75 EXPECT_TRUE(fontManager->fontLoaders_.empty()); in HWTEST_F()
90 EXPECT_TRUE(fontManager->fontNodesNG_.empty()); in HWTEST_F()
94 * @tc.expect: fontNodesNG_ is empty for the fontLoader_ is empty. in HWTEST_F()
98 EXPECT_FALSE(fontManager->fontNodesNG_.empty()); in HWTEST_F()
115 * @tc.expect: fontNodesNG_ is not empty. in HWTEST_F()
119 EXPECT_FALSE(fontManager->fontNodesNG_.empty()); in HWTEST_F()
123 * @tc.expect: fontNodesNG_ is empty. in HWTEST_F()
126 EXPECT_TRUE(fontManager->fontNodesNG_.empty()); in HWTEST_F()
140 EXPECT_TRUE(fontManager->variationNodesNG_.empty()); in HWTEST_F()
[all...]
/foundation/window/window_manager/dmserver/src/
H A Ddisplay_manager_agent_controller.cpp43 if (agents.empty()) { in NotifyDisplayPowerEvent()
56 if (agents.empty()) { in NotifyDisplayStateChanged()
72 if (agents.empty()) { in OnScreenConnect()
84 if (agents.empty()) { in OnScreenDisconnect()
99 if (agents.empty()) { in OnScreenChange()
129 if (agents.empty() || infos.empty()) { in OnScreenGroupChange()
143 if (agents.empty()) { in OnDisplayCreate()
155 if (agents.empty()) { in OnDisplayDestroy()
171 if (agents.empty()) { in OnDisplayChange()
[all...]
/foundation/communication/netstack/frameworks/cj/http/src/
H A Dnet_http_cache_entity.cpp52 if (requestHeader.empty()) { in ParseRequestHeader()
77 if (ifModifiedSince_.empty()) { in GetIfModifiedSince()
85 if (requestTime_.empty()) { in GetRequestTime()
93 if (maxAge_.empty()) { in GetMaxAgeSeconds()
102 if (maxStale_.empty()) { in GetMaxStaleSeconds()
111 if (minFresh_.empty()) { in GetMinFreshSeconds()
181 if (cacheResponseHeader.empty()) { in ParseCacheResponseHeader()
206 if (date_.empty()) { in GetDate()
215 if (expires_.empty()) { in GetExpires()
224 if (lastModified_.empty()) { in GetLastModified()
[all...]
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/
H A Dblock_queue.h51 return que_.empty(); in Empty()
81 if (que_.empty() && !isActive_) { in Pop()
85 if (que_.empty() && isActive_) { in Pop()
86 MEDIA_LOG_D("Block queue " PUBLIC_LOG_S " is empty", name_.c_str()); in Pop()
87 condEmpty_.wait(lock, [this] { return !isActive_ || !que_.empty(); }); in Pop()
89 if (que_.empty()) { in Pop()
105 if (que_.empty() && !isActive_) { in Front()
109 if (que_.empty() && isActive_) { in Front()
110 MEDIA_LOG_D("Block queue " PUBLIC_LOG_S " is empty", name_.c_str()); in Front()
111 condEmpty_.wait(lock, [this] { return !isActive_ || !que_.empty(); }); in Front()
[all...]
/foundation/graphic/graphic_3d/lume/LumeEngine/src/io/
H A Dproxy_filesystem.cpp78 if (!normalizedPath.empty()) { in GetEntry()
91 if (!normalizedPath.empty()) { in OpenFile()
106 if (!normalizedPath.empty()) { in CreateFile()
121 if (!normalizedPath.empty()) { in DeleteFile()
137 if (!normalizedPath.empty()) { in OpenDirectory()
146 if (!directories.empty()) { in OpenDirectory()
156 if (!normalizedPath.empty()) { in CreateDirectory()
171 if (!normalizedPath.empty()) { in DeleteDirectory()
184 if (!fromPath.empty() && !toPath.empty()) { in Rename()
[all...]
/foundation/communication/netmanager_ext/services/vpnmanager/src/
H A Dl2tp_vpn_ctl.cpp58 if (!l2tpVpnConfig_->strongswanConf_.empty()) { in InitConfigFile()
60 if (!strongswanCfg.empty()) { in InitConfigFile()
64 if (!l2tpVpnConfig_->xl2tpdConf_.empty()) { in InitConfigFile()
66 if (!xl2tpdConf.empty()) { in InitConfigFile()
70 if (!l2tpVpnConfig_->ipsecConf_.empty()) { in InitConfigFile()
72 if (!ipsecConf.empty()) { in InitConfigFile()
76 if (!l2tpVpnConfig_->ipsecSecrets_.empty()) { in InitConfigFile()
78 if (!ipsecSecrets.empty()) { in InitConfigFile()
82 if (!l2tpVpnConfig_->optionsL2tpdClient_.empty()) { in InitConfigFile()
84 if (!optionsL2tpdClient.empty()) { in InitConfigFile()
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/lowlatency/lowlatency/src/
H A Dlow_latency_test.cpp49 EXPECT_EQ(true, LowLatency::GetInstance().lowLatencySwitchSet_.empty()); in HWTEST_F()
62 EXPECT_EQ(false, LowLatency::GetInstance().lowLatencySwitchSet_.empty()); in HWTEST_F()
76 EXPECT_EQ(false, LowLatency::GetInstance().lowLatencySwitchSet_.empty()); in HWTEST_F()
93 EXPECT_EQ(false, LowLatency::GetInstance().lowLatencySwitchSet_.empty()); in HWTEST_F()
106 EXPECT_EQ(true, LowLatency::GetInstance().lowLatencySwitchSet_.empty()); in HWTEST_F()
120 EXPECT_EQ(true, LowLatency::GetInstance().lowLatencySwitchSet_.empty()); in HWTEST_F()
132 EXPECT_EQ(true, LowLatency::GetInstance().lowLatencySwitchSet_.empty()); in HWTEST_F()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/publisher/src/
H A Dpublisher_item_test.cpp45 EXPECT_EQ(true, item.listeners_.empty()); in HWTEST_F()
59 EXPECT_EQ(false, item.listeners_.empty()); in HWTEST_F()
73 EXPECT_EQ(true, item.listeners_.empty()); in HWTEST_F()
78 EXPECT_EQ(true, item.listeners_.empty()); in HWTEST_F()
92 EXPECT_EQ(true, item.listeners_.empty()); in HWTEST_F()
96 EXPECT_EQ(true, item.listeners_.empty()); in HWTEST_F()
112 EXPECT_EQ(false, item.listeners_.empty()); in HWTEST_F()
/foundation/bundlemanager/app_domain_verify/frameworks/verifier/src/
H A Ddomain_verifier.cpp65 if (appVerifyBaseInfo.appIdentifier.empty()) { in VerifyHostWithAppIdentifier()
69 if (itr->appIdentifier.empty()) { in VerifyHostWithAppIdentifier()
74 if (!appVerifyBaseInfo.bundleName.empty() && !itr->bundleName.empty() && in VerifyHostWithAppIdentifier()
78 if (!appVerifyBaseInfo.fingerprint.empty() && !itr->fingerprint.empty() && in VerifyHostWithAppIdentifier()
85 if (!appVerifyBaseInfo.bundleName.empty() && appVerifyBaseInfo.bundleName == itr->bundleName) { in VerifyHostWithAppIdentifier()
96 if (appVerifyBaseInfo.bundleName.empty() || appVerifyBaseInfo.fingerprint.empty()) { in VerifyHostWithBundleName()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/overlay/
H A Dbundle_overlay_manager.cpp24 if (bundleName.empty()) { in IsExistedNonOverlayHap()
34 if (bundleName.empty()) { in GetInnerBundleInfo()
46 if (bundleName.empty() || userId == Constants::INVALID_USERID) { in GetAllOverlayModuleInfo()
58 if (bundleName.empty() || moduleName.empty() || userId == Constants::INVALID_USERID) { in GetOverlayModuleInfo()
70 if (targetBundleName.empty() || userId == Constants::INVALID_USERID) { in GetOverlayBundleInfoForTarget()
82 if (targetBundleName.empty() || userId == Constants::INVALID_USERID) { in GetOverlayModuleInfoForTarget()
95 if (bundleName.empty() || moduleName.empty() || userId == Constants::INVALID_USERID) { in SetOverlayEnabled()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/skia_adapter/
H A Dskia_hm_symbol_config_ohos_test.cpp63 if (!parameters.empty()) { in HWTEST_F()
66 EXPECT_EQ(parameters.empty(), true); in HWTEST_F()
71 if (!parameters1.empty()) { in HWTEST_F()
77 if (!parameters2.empty()) { in HWTEST_F()
93 if (!parameters1.empty()) { in HWTEST_F()
99 if (!parameters2.empty()) { in HWTEST_F()
114 EXPECT_EQ(parameters.empty(), true); in HWTEST_F()
128 if (!parameters1.empty()) { in HWTEST_F()
134 if (!parameters2.empty()) { in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/
H A Drs_implicit_animator.cpp72 if (globalImplicitParams_.empty()) { in OpenImplicitAnimation()
73 // if current implicit animation params is empty, use default params, if no animation created, call finish in OpenImplicitAnimation()
87 if (globalImplicitParams_.empty()) { in OpenImplicitAnimation()
88 // current implicit animation params is empty, use empty in OpenImplicitAnimation()
134 if (globalImplicitParams_.empty() || implicitAnimations_.empty() || keyframeAnimations_.empty()) { in CloseImplicitAnimation()
148 if (currentAnimations.empty() && currentKeyframeAnimations.empty()) { in CloseImplicitAnimation()
[all...]
/foundation/ability/ability_base/interfaces/kits/native/want/src/
H A Dskills.cpp84 if (index < 0 || entities_.empty() || std::size_t(index) >= entities_.size()) { in GetEntity()
120 if (!entities_.empty()) { in RemoveEntity()
134 return entities_.empty() ? 0 : entities_.size(); in CountEntities()
144 if (index < 0 || actions_.empty() || std::size_t(index) >= actions_.size()) { in GetAction()
181 if (!actions_.empty()) { in RemoveAction()
195 return actions_.empty() ? 0 : actions_.size(); in CountActions()
215 if (index < 0 || authorities_.empty() || std::size_t(index) >= authorities_.size()) { in GetAuthority()
252 if (!authorities_.empty()) { in RemoveAuthority()
266 return authorities_.empty() ? 0 : authorities_.size(); in CountAuthorities()
276 if (index < 0 || paths_.empty() || st in GetPath()
968 int32_t empty; ReadFromParcel() local
[all...]
/foundation/multimedia/camera_framework/services/deferred_processing_service/include/base/
H A Dblocking_queue.h54 return que_.empty(); in Empty()
92 if (que_.empty()) { in Pop()
93 cvEmpty_.wait(lock, [this] { return !isActive_ || !que_.empty(); }); in Pop()
109 if (que_.empty()) { in Front()
110 cvEmpty_.wait(lock, [this] { return !isActive_ || !que_.empty(); }); in Front()
124 if (que_.empty()) { in Pop()
125 cvEmpty_.wait_for(lock, timeoutMs, [this] { return !isActive_ || !que_.empty(); }); in Pop()
127 if (!isActive_ || que_.empty()) { in Pop()
141 if (que_.empty()) { in GetBackElement()
143 [this] { return !isActive_ || !que_.empty(); }); in GetBackElement()
[all...]
/foundation/resourceschedule/device_standby/utils/policy/src/
H A Djson_utils.cpp35 if (content.empty()) { in LoadJsonValueFromContent()
36 STANDBYSERVICE_LOGE("content is empty"); in LoadJsonValueFromContent()
58 if (content.empty()) { in LoadJsonValueFromFile()
59 STANDBYSERVICE_LOGE("content of %{public}s is empty", filePath.c_str()); in LoadJsonValueFromFile()
118 if (jsonValue.empty() || key.empty()) { in GetInt32FromJsonValue()
130 if (jsonValue.empty() || key.empty()) { in GetBoolFromJsonValue()
142 if (jsonValue.empty() || key.empty()) { in GetStringFromJsonValue()
[all...]

Completed in 15 milliseconds

12345678910>>...202