/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/ |
D | installd_client.cpp | 28 if (bundleDir.empty()) { in CreateBundleDir() 39 if (srcModulePath.empty() || targetPath.empty()) { in ExtractModuleFiles() 49 if (extractParam.srcPath.empty() || extractParam.targetPath.empty()) { in ExtractFiles() 62 if (oldPath.empty() || newPath.empty()) { in RenameModuleDir() 72 if (createDirParam.bundleName.empty() || createDirParam.userId < 0 in CreateBundleDataDir() 84 if (bundleName.empty() || userid < 0) { in RemoveBundleDataDir() 94 if (ModuleName.empty() || userid < 0) { in RemoveModuleDataDir() 104 if (dir.empty()) { in RemoveDir() 114 if (bundleDir.empty()) { in CleanBundleDataDir() 125 if (bundleName.empty()) { in GetBundleStats() [all …]
|
/foundation/arkui/ace_engine/frameworks/core/common/ |
D | focus_animation_manager.cpp | 29 if (focusAnimationStack_.empty() || (useRoot_ && rootFocusAnimationStack_.empty())) { in SetFocusAnimationProperties() 51 if (focusAnimationStack_.empty() || (useRoot_ && rootFocusAnimationStack_.empty())) { in CancelFocusAnimation() 68 if (!rootFocusAnimationStack_.empty()) { in PushFocusAnimationElement() 76 if (!focusAnimationStack_.empty()) { in PushFocusAnimationElement() 88 if (focusAnimationStack_.empty()) { in PopFocusAnimationElement() 93 if (!focusAnimationStack_.empty()) { in PopFocusAnimationElement() 103 if (rootFocusAnimationStack_.empty()) { in PopRootFocusAnimationElement() 112 if (focusAnimationStack_.empty()) { in StartFocusAnimation() 123 if (focusAnimationStack_.empty()) { in StopFocusAnimation() 135 if (focusAnimationStack_.empty()) { in SetFocusAnimationProperties() [all …]
|
/foundation/distributedhardware/distributed_input/common/include/ |
D | input_check_param.cpp | 31 if (deviceId.empty() || deviceId.size() > DEV_ID_LENGTH_MAX) { in CheckParam() 45 if (deviceId.empty() || deviceId.size() > DEV_ID_LENGTH_MAX) { in CheckParam() 65 if (srcId.empty() || srcId.size() > DEV_ID_LENGTH_MAX) { in CheckParam() 69 if (sinkId.empty() || sinkId.size() > DEV_ID_LENGTH_MAX) { in CheckParam() 89 if (srcId.empty() || srcId.size() > DEV_ID_LENGTH_MAX) { in CheckParam() 93 if (sinkId.empty() || sinkId.size() > DEV_ID_LENGTH_MAX) { in CheckParam() 107 if (sinkId.empty() || sinkId.size() > DEV_ID_LENGTH_MAX) { in CheckParam() 111 if (dhIds.empty()) { in CheckParam() 131 if (srcId.empty() || srcId.size() > DEV_ID_LENGTH_MAX) { in CheckParam() 135 if (sinkId.empty() || sinkId.size() > DEV_ID_LENGTH_MAX) { in CheckParam() [all …]
|
/foundation/distributedhardware/distributed_hardware_fwk/utils/test/unittest/common/histreamer_ability_parser/ |
D | histreamer_ability_parser_test.cpp | 76 EXPECT_TRUE(audioEncoderIn.mime.empty()); 91 EXPECT_TRUE(audioEncoderOut.mime.empty()); 121 EXPECT_TRUE(audioEncoder.name.empty()); 126 EXPECT_TRUE(audioEncoder.ins.empty()); 133 EXPECT_FALSE(audioEncoder.ins.empty()); 134 EXPECT_TRUE(audioEncoder.outs.empty()); 149 EXPECT_TRUE(audioDecoderIn.mime.empty()); 154 EXPECT_TRUE(audioDecoderIn.channel_layout.empty()); 169 EXPECT_TRUE(audioDecoderOut.mime.empty()); 174 EXPECT_TRUE(audioDecoderOut.sample_fmt.empty()); [all …]
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
D | installd_client.cpp | 35 if (bundleDir.empty()) { in CreateBundleDir() 46 if (srcModulePath.empty() || targetPath.empty()) { in ExtractModuleFiles() 56 if (extractParam.srcPath.empty() || extractParam.targetPath.empty()) { in ExtractFiles() 69 if (oldPath.empty() || newPath.empty()) { in RenameModuleDir() 79 if (createDirParam.bundleName.empty() || createDirParam.userId < 0 in CreateBundleDataDir() 91 if (bundleName.empty() || userid < 0) { in RemoveBundleDataDir() 101 if (ModuleName.empty() || userid < 0) { in RemoveModuleDataDir() 111 if (dir.empty()) { in RemoveDir() 121 if (bundleDir.empty()) { in CleanBundleDataDir() 132 if (bundleName.empty()) { in GetBundleStats() [all …]
|
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_handler/histreamer_ability_querier/test/unittest/common/src/ |
D | histreamer_ability_querier_test.cpp | 91 EXPECT_FALSE(audioEncoders.empty()); 107 EXPECT_FALSE(audioDecoders.empty()); 123 EXPECT_FALSE(videoEncoders.empty() || videoEncoders.size() > VIDEO_ENCODER_FOUR); 140 EXPECT_FALSE(videoDecoders.empty() || videoDecoders.size() > VIDEO_DECODER_FOUR); 267 EXPECT_TRUE(audioEncoderIn.mime.empty()); 282 EXPECT_TRUE(audioEncoderOut.mime.empty()); 312 EXPECT_TRUE(audioEncoder.name.empty()); 317 EXPECT_TRUE(audioEncoder.ins.empty()); 324 EXPECT_FALSE(audioEncoder.ins.empty()); 325 EXPECT_TRUE(audioEncoder.outs.empty()); [all …]
|
/foundation/window/window_manager/dmserver/src/ |
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() 186 if (agents.empty()) { in OnScreenshot() [all …]
|
/foundation/graphic/graphic_2d/rosen/test/2d_engine/unittest/rosen_text/ui/ |
D | typography_test.cpp | 43 EXPECT_EQ(result.empty(), true); 45 EXPECT_EQ(result.empty(), true); 48 EXPECT_EQ(result.empty(), true); 51 EXPECT_EQ(result.empty(), true); 54 EXPECT_EQ(result.empty(), true); 57 EXPECT_EQ(result.empty(), true); 59 EXPECT_EQ(result.empty(), true);
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/overlay/ |
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()
|
D | bundle_overlay_manager_host_impl.cpp | 42 if (bundleName.empty()) { in GetAllOverlayModuleInfo() 67 if (bundleName.empty() || moduleName.empty()) { in GetOverlayModuleInfo() 92 if (moduleName.empty()) { in GetOverlayModuleInfo() 102 if (callingBundleName.empty()) { in GetOverlayModuleInfo() 115 if (targetModuleName.empty()) { in GetTargetOverlayModuleInfo() 125 if (callingBundleName.empty()) { in GetTargetOverlayModuleInfo() 139 if (bundleName.empty()) { in GetOverlayModuleInfoByBundleName() 156 if (moduleName.empty()) { in GetOverlayModuleInfoByBundleName() 175 if (targetBundleName.empty()) { in GetOverlayBundleInfoForTarget() 201 if (targetBundleName.empty()) { in GetOverlayModuleInfoForTarget() [all …]
|
/foundation/multimedia/media_library/frameworks/services/media_scanner/src/scanner/ |
D | scanner_utils.cpp | 37 if (path.empty()) { in IsExists() 48 if (!path.empty()) { in GetFileNameFromUri() 64 if (!path.empty()) { in GetFileExtension() 80 if (!path.empty()) { in IsDirectory() 95 if (!path.empty()) { in IsRegularFile() 109 if (!path.empty()) { in IsFileHidden() 111 if (!fileName.empty() && fileName.at(0) == '.') { in IsFileHidden() 122 if (!path.empty()) { in GetParentPath() 148 if (!path.empty()) { in IsDirHidden() 150 if (!dirName.empty() && dirName.at(0) == '.') { in IsDirHidden() [all …]
|
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/publisher/src/ |
D | publisher_item_test.cpp | 42 EXPECT_EQ(true, item.listeners_.empty()); 56 EXPECT_EQ(true, item.listeners_.empty()); 70 EXPECT_EQ(false, item.listeners_.empty()); 85 EXPECT_EQ(true, item.listeners_.empty()); 99 EXPECT_EQ(true, item.listeners_.empty()); 113 EXPECT_EQ(true, item.listeners_.empty()); 129 EXPECT_EQ(true, item.listeners_.empty()); 145 EXPECT_EQ(false, item.listeners_.empty());
|
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/notify/ |
D | device_manager_notify.cpp | 30 if (pkgName.empty()) { in RegisterDeathRecipientCallback() 40 if (pkgName.empty()) { in UnRegisterDeathRecipientCallback() 51 if (pkgName.empty()) { in RegisterDeviceStateCallback() 61 if (pkgName.empty()) { in UnRegisterDeviceStateCallback() 71 if (pkgName.empty()) { in UnRegisterDeviceStatusCallback() 82 if (pkgName.empty()) { in RegisterDeviceStatusCallback() 93 if (pkgName.empty()) { in RegisterDiscoveryCallback() 106 if (pkgName.empty()) { in UnRegisterDiscoveryCallback() 113 if (deviceDiscoveryCallbacks_[pkgName].empty()) { in UnRegisterDiscoveryCallback() 123 if (pkgName.empty()) { in RegisterPublishCallback() [all …]
|
/foundation/ability/ability_base/interfaces/kits/native/want/src/ |
D | skills.cpp | 84 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() || std::size_t(index) >= paths_.size()) { in GetPath() [all …]
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/animation/ |
D | rs_implicit_animator.cpp | 63 if (globalImplicitParams_.empty()) { in OpenImplicitAnimation() 78 if (globalImplicitParams_.empty()) { in OpenImplicitAnimation() 91 … if (globalImplicitParams_.empty() || implicitAnimations_.empty() || keyframeAnimations_.empty()) { in CloseImplicitAnimation() 100 if (currentAnimations.empty() && currentKeyframeAnimations.empty()) { in CloseImplicitAnimation() 157 if (globalImplicitParams_.empty()) { in BeginImplicitKeyFrameAnimation() 174 if (globalImplicitParams_.empty()) { in BeginImplicitKeyFrameAnimation() 184 if (implicitAnimationParams_.empty() || in EndImplicitKeyFrameAnimation() 195 return !implicitAnimationDisabled_ && !implicitAnimationParams_.empty(); in NeedImplicitAnimation() 208 if (implicitAnimationParams_.empty() || in EndImplicitAnimation() 221 if (globalImplicitParams_.empty()) { in BeginImplicitPathAnimation() [all …]
|
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenservice/src/ |
D | dscreen_source_stub.cpp | 68 if (param.empty() || param.size() > PARAM_MAX_SIZE) { in InitSourceInner() 163 if (devId.empty() || devId.size() > DID_MAX_SIZE || eventContent.empty() || in DScreenNotifyInner() 176 … if (devId.empty() || devId.size() > DID_MAX_SIZE || dhId.empty() || dhId.size() > DID_MAX_SIZE) { in CheckRegParams() 180 …if (version.empty() || version.size() > PARAM_MAX_SIZE || attrs.empty() || attrs.size() > PARAM_MA… in CheckRegParams() 184 if (reqId.empty() || reqId.size() > DID_MAX_SIZE) { in CheckRegParams() 194 … if (devId.empty() || devId.size() > DID_MAX_SIZE || dhId.empty() || dhId.size() > DID_MAX_SIZE) { in CheckUnregParams() 198 if (reqId.empty() || reqId.size() > DID_MAX_SIZE) { in CheckUnregParams() 208 … if (devId.empty() || devId.size() > DID_MAX_SIZE || dhId.empty() || dhId.size() > DID_MAX_SIZE) { in CheckConfigParams() 212 …if (key.empty() || key.size() > PARAM_MAX_SIZE || value.empty() || value.size() > PARAM_MAX_SIZE) { in CheckConfigParams()
|
/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/screen_source/src/ |
D | dscreen_source_proxy.cpp | 33 if (params.empty() || params.size() > PARAM_MAX_SIZE || callback == nullptr) { in InitSource() 178 if (devId.empty() || devId.size() > DID_MAX_SIZE || eventContent.empty() || in DScreenNotify() 209 … if (devId.empty() || devId.size() > DID_MAX_SIZE || dhId.empty() || dhId.size() > DID_MAX_SIZE) { in CheckRegParams() 213 if (reqId.empty() || reqId.size() > DID_MAX_SIZE) { in CheckRegParams() 217 if (param.version.empty() || param.version.size() > PARAM_MAX_SIZE || param.attrs.empty() || in CheckRegParams() 228 … if (devId.empty() || devId.size() > DID_MAX_SIZE || dhId.empty() || dhId.size() > DID_MAX_SIZE) { in CheckUnregParams() 232 if (reqId.empty() || reqId.size() > DID_MAX_SIZE) { in CheckUnregParams() 242 … if (devId.empty() || devId.size() > DID_MAX_SIZE || dhId.empty() || dhId.size() > DID_MAX_SIZE) { in CheckConfigParams() 246 …if (key.empty() || key.size() > PARAM_MAX_SIZE || value.empty() || value.size() > PARAM_MAX_SIZE) { in CheckConfigParams()
|
/foundation/ability/ability_base/interfaces/kits/native/uri/src/ |
D | uri.cpp | 53 if (uriString.empty()) { in Uri() 81 if (scheme_.empty()) { in CheckScheme() 89 if (uriString_.empty()) { in GetScheme() 107 if (uriString_.empty()) { in GetSchemeSpecificPart() 133 if (uriString_.empty()) { in GetAuthority() 176 if (uriString_.empty()) { in GetUserInfo() 189 if (authority.empty()) { in ParseUserInfo() 199 if (uriString_.empty()) { in GetHost() 212 if (authority.empty()) { in ParseHost() 232 if (uriString_.empty()) { in GetPort() [all …]
|
/foundation/multimedia/av_codec/services/utils/include/ |
D | block_queue.h | 54 return que_.empty(); in Empty() 84 if (que_.empty() && !isActive_) { in Pop() 87 } else if (que_.empty() && isActive_) { in Pop() 89 condEmpty_.wait(lock, [this] { return !isActive_ || !que_.empty(); }); in Pop() 91 if (que_.empty()) { in Pop() 107 if (que_.empty() && !isActive_) { in Front() 110 } else if (que_.empty() && isActive_) { in Front() 112 condEmpty_.wait(lock, [this] { return !isActive_ || !que_.empty(); }); in Front() 114 if (que_.empty()) { in Front() 147 if (que_.empty()) { in ClearUnprotected()
|
/foundation/multimedia/histreamer/tests/ut/ |
D | TestCompatibleCheck.cpp | 46 ASSERT_TRUE(out.keys.empty()); 49 ASSERT_TRUE(out.mime.empty()); 50 ASSERT_TRUE(out.keys.empty()); 53 ASSERT_TRUE(out.mime.empty()); 54 ASSERT_TRUE(out.keys.empty()); 57 ASSERT_TRUE(out.mime.empty()); 58 ASSERT_TRUE(out.keys.empty()); 63 ASSERT_TRUE(out.keys.empty()); 67 ASSERT_TRUE(out.keys.empty()); 70 ASSERT_TRUE(out.mime.empty()); [all …]
|
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/lowlatency/lowlatency/src/ |
D | low_latency_test.cpp | 49 EXPECT_EQ(true, LowLatency::GetInstance().lowLatencySwitchSet_.empty()); 62 EXPECT_EQ(false, LowLatency::GetInstance().lowLatencySwitchSet_.empty()); 76 EXPECT_EQ(false, LowLatency::GetInstance().lowLatencySwitchSet_.empty()); 93 EXPECT_EQ(false, LowLatency::GetInstance().lowLatencySwitchSet_.empty()); 106 EXPECT_EQ(true, LowLatency::GetInstance().lowLatencySwitchSet_.empty()); 120 EXPECT_EQ(true, LowLatency::GetInstance().lowLatencySwitchSet_.empty()); 132 EXPECT_EQ(true, LowLatency::GetInstance().lowLatencySwitchSet_.empty());
|
/foundation/distributedhardware/device_manager/services/implementation/src/ |
D | device_manager_service_impl.cpp | 112 if (pkgName.empty()) { in StartDeviceDiscovery() 122 if (pkgName.empty()) { in StartDeviceDiscovery() 131 if (pkgName.empty()) { in StopDeviceDiscovery() 140 if (pkgName.empty()) { in PublishDeviceDiscovery() 149 if (pkgName.empty()) { in UnPublishDeviceDiscovery() 159 if (pkgName.empty() || deviceId.empty()) { in AuthenticateDevice() 169 if (pkgName.empty() || networkId.empty()) { in UnAuthenticateDevice() 180 if (pkgName.empty() || udidHash.empty()) { in BindDevice() 191 if (pkgName.empty() || udidHash.empty()) { in UnBindDevice() 206 if (pkgName.empty()) { in GetFaParam() [all …]
|
/foundation/ability/ability_runtime/test/unittest/appkit/ohos_application_test/ |
D | ohos_application_test.cpp | 76 EXPECT_TRUE(ohosApplication_->abilityLifecycleCallbacks_.empty()); 91 EXPECT_TRUE(ohosApplication_->abilityLifecycleCallbacks_.empty()); 94 EXPECT_TRUE(!ohosApplication_->abilityLifecycleCallbacks_.empty()); 304 EXPECT_TRUE(ohosApplication_->abilityLifecycleCallbacks_.empty()); 306 EXPECT_TRUE(ohosApplication_->abilityLifecycleCallbacks_.empty()); 318 EXPECT_TRUE(ohosApplication_->abilityLifecycleCallbacks_.empty()); 321 EXPECT_FALSE(ohosApplication_->abilityLifecycleCallbacks_.empty()); 333 EXPECT_TRUE(ohosApplication_->abilityLifecycleCallbacks_.empty()); 336 EXPECT_TRUE(ohosApplication_->abilityLifecycleCallbacks_.empty()); 348 EXPECT_TRUE(ohosApplication_->abilityLifecycleCallbacks_.empty()); [all …]
|
/foundation/graphic/graphic_2d/frameworks/bootanimation/src/ |
D | boot_animationconfig.cpp | 57 if (custConfig_.custVideoPath.empty() && !custConfig_.custPicZipPath.empty()) { in CheckBootVideoEnabled() 63 if (!custConfig_.custVideoPath.empty() && !IsFileExisted(custConfig_.custVideoPath)) { in CheckBootVideoEnabled() 71 if (custConfig_.custPicZipPath.empty()) { in GetPicZipPath() 86 if (custConfig_.custSoundsPath.empty()) { in GetSoundUrl() 114 if (custConfig_.custVideoPath.empty()) { in GetBootVideoPath() 123 if (!file.empty()) { in ParserCustomCfgFile()
|
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/test/unittest/common/localhardwaremanager/localhardwaremanager/src/ |
D | local_hardware_manager_test.cpp | 69 EXPECT_EQ(true, LocalHardwareManager::GetInstance().pluginListenerMap_.empty()); 83 EXPECT_EQ(true, LocalHardwareManager::GetInstance().pluginListenerMap_.empty()); 97 EXPECT_EQ(true, LocalHardwareManager::GetInstance().pluginListenerMap_.empty()); 111 EXPECT_EQ(true, LocalHardwareManager::GetInstance().pluginListenerMap_.empty()); 126 EXPECT_EQ(true, LocalHardwareManager::GetInstance().pluginListenerMap_.empty()); 140 EXPECT_EQ(true, LocalHardwareManager::GetInstance().pluginListenerMap_.empty()); 154 EXPECT_EQ(true, LocalHardwareManager::GetInstance().pluginListenerMap_.empty());
|