/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/ |
H A D | installd_client.cpp | 27 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 D | focus_animation_manager.cpp | 27 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 D | input_check_param.cpp | 31 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 D | installd_client.cpp | 32 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...] |
/base/startup/init/services/begetctl/ |
H A D | sandbox.cpp | 172 bool isNamespaceOnly = !namespaceName.empty() && processName.empty() && serviceName.empty() && pid.empty(); in RunCmd() 173 bool isNamespaceAndProcess = !namespaceName.empty() && !processName.empty() && serviceName.empty() && pid.empty(); in RunCmd() 174 bool isProcessOnly = namespaceName.empty() && !processName.empty() in RunCmd() [all...] |
/foundation/distributedhardware/distributed_hardware_fwk/utils/test/unittest/common/histreamer_ability_parser/ |
H A D | histreamer_ability_parser_test.cpp | 80 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 D | skill.cpp | 63 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 D | scanner_utils.cpp | 35 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 D | ringtone_scanner_utils.cpp | 30 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/arkui/ace_engine/test/unittest/core/common/ace_engine/ |
H A D | font_manager_test_ng.cpp | 75 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/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/ |
H A D | rs_property_drawable_test.cpp | 99 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...] |
/base/hiviewdfx/hiview/plugins/performance/scene_data_processor/ |
H A D | AppLaunchSceneDataProcessor.cpp | 78 if (bundleName.empty()) { in ProcessSceneData() 89 if (record.bundleName.empty()) { in ProcessSceneData() 119 if (data.domain.empty() || data.eventName.empty()) { in CheckValidCheckPoint() 126 checkBundle = !data.bundleName.empty(); in CheckValidCheckPoint() 129 if (!data.sceneId.empty()) { in CheckValidCheckPoint() 150 if (record.bundleName.empty()) { in SaveCheckPoint() 165 if (!record.appStartupType.bundleName.empty()) { in SaveCheckPoint() 213 return (!record.interactionResponse.bundleName.empty() || !record.startAbility.bundleName.empty()); in HaveStartPoint() [all...] |
/foundation/window/window_manager/dmserver/src/ |
H A D | display_manager_agent_controller.cpp | 43 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 D | net_http_cache_entity.cpp | 52 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...] |
/base/hiviewdfx/hiview/plugins/faultlogger/common/ |
H A D | log_analyzer.cpp | 33 info.reason.compare("SERVICE_TIMEOUT") == 0) && !eventInfos["TIME_OUT"].empty()) {
in GetFingerRawString() 37 if (info.reason.compare("SERVICE_BLOCK") == 0 && !eventInfos["QUEUE_NAME"].empty()) {
in GetFingerRawString() 52 if ((eventType == "JS_ERROR" || eventType == "CPP_CRASH") && !info.summary.empty()) {
in AnalysisFaultlog() 62 if (eventInfos.empty()) {
in AnalysisFaultlog() 72 if (eventType == "APP_FREEZE" && eventInfos["LAST_FRAME"].empty()) {
in AnalysisFaultlog() 73 if (!eventInfos["TRACER_PID"].empty()) {
in AnalysisFaultlog() 79 if (!eventInfos["DUMPCATCH_RESULT"].empty()) {
in AnalysisFaultlog()
|
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/lowlatency/lowlatency/src/ |
H A D | low_latency_test.cpp | 49 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 D | publisher_item_test.cpp | 45 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/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/demuxer/ |
H A D | block_queue.h | 51 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 D | proxy_filesystem.cpp | 78 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 D | l2tp_vpn_ctl.cpp | 58 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...] |
/base/telephony/core_service/services/sim/src/ |
H A D | operator_matching_rule.cpp | 22 if (iccidFromSim.empty()) { in IccidRegexMatch() 30 if (imsiFromSim.empty()) { in ImsiRegexMatch() 39 if (spnFromSim.empty()) { in SpnRegexMatch() 43 if (spnFromSim.empty()) { in SpnRegexMatch() 51 if (valueFromSim.empty()) { in PrefixMatch()
|
/base/customization/enterprise_device_management/services/edm_plugin/src/network/rule/ |
H A D | firewall_chain_rule.cpp | 52 if (spt.empty()) { in FirewallChainRule() 54 if (spt.empty()) { in FirewallChainRule() 61 if (dpt.empty()) { in FirewallChainRule() 63 if (dpt.empty()) { in FirewallChainRule() 74 if (!prot_.empty()) { in Parameter() 90 if (!appUid_.empty()) { in Parameter() 93 if (!state_.empty()) { in Parameter() 101 if (ip.empty()) { in IpToParameter() 122 if (port.empty()) { in PortToParameter()
|
/foundation/bundlemanager/app_domain_verify/frameworks/verifier/src/ |
H A D | domain_verifier.cpp | 65 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 D | bundle_overlay_manager.cpp | 24 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 D | skia_hm_symbol_config_ohos_test.cpp | 63 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()
|