Home
last modified time | relevance | path

Searched refs:empty (Results 226 - 250 of 6462) sorted by relevance

12345678910>>...259

/foundation/communication/nfc/services/src/tag/
H A Dndef_har_dispatch.cpp65 if (type.empty() || tagInfo == nullptr) { in DispatchMimeType()
66 ErrorLog("NdefHarDispatch::DispatchMimeType type is empty"); in DispatchMimeType()
100 if (harPackage.empty()) { in DispatchBundleAbility()
101 ErrorLog("NdefHarDispatch::DispatchBundleAbility harPackage is empty"); in DispatchBundleAbility()
116 if (!mimeType.empty() && tagInfo != nullptr) { in DispatchBundleAbility()
133 if (uri.empty()) { in DispatchUriToBundleAbility()
134 ErrorLog("NdefHarDispatch::DispatchUriToBundleAbility uri is empty"); in DispatchUriToBundleAbility()
155 if (webAddress.empty() || browserBundleName.empty()) { in DispatchWebLink()
156 ErrorLog("NdefHarDispatch::DispatchWebLink is empty"); in DispatchWebLink()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/common/
H A Duri_utils.cpp37 if (splitUri[BUNDLE_NAME].empty() || splitUri[MODULE_NAME].empty() || in GetInfoFromURI()
38 splitUri[STORE_NAME].empty() || splitUri[TABLE_NAME].empty()) { in GetInfoFromURI()
39 ZLOGE("Uri has empty field! bundleName: %{public}s uri: %{public}s", splitUri[BUNDLE_NAME].c_str(), in GetInfoFromURI()
59 if (!uriTemp.GetAuthority().empty()) { in GetBundleNameFromProxyURI()
104 if (str.empty()) { in Strtoul()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/relational/
H A Dsimple_tracker_log_table_manager.cpp60 if (table.GetTrackerTable().GetTrackerColNames().empty()) { in GetInsertTrigger()
80 insertTrigger += table.GetTrackerTable().GetTrackerColNames().empty() ? "0" : "1"; in GetInsertTrigger()
88 if (table.GetTrackerTable().GetTrackerColNames().empty()) { in GetUpdateTrigger()
117 if (table.GetTrackerTable().GetTrackerColNames().empty()) { in GetDeleteTrigger()
135 deleteTrigger += table.GetTrackerTable().GetTrackerColNames().empty() ? "0" : "1"; in GetDeleteTrigger()
151 if (table.GetTrackerTable().GetTrackerColNames().empty()) { in GetDropTriggers()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcamera/
H A Ddcamera_source_callback_proxy.cpp115 if (devId.empty() || devId.size() > DID_MAX_SIZE) { in OnDataSyncTrigger()
141 if (devId.empty() || devId.size() > DID_MAX_SIZE || dhId.empty() || dhId.size() > DID_MAX_SIZE) { in CheckParams()
155 if (devId.empty() || devId.size() > DID_MAX_SIZE || dhId.empty() || dhId.size() > DID_MAX_SIZE) { in CheckParams()
160 if (reqId.empty() || reqId.size() > DID_MAX_SIZE || data.size() > PARAM_MAX_SIZE) { in CheckParams()
/foundation/distributedhardware/distributed_input/services/sink/transport/src/
H A Ddistributed_input_sink_switch.cpp53 if (switchVector_.empty()) { in StartSwitch()
79 if (switchVector_.empty()) { in StopSwitch()
102 if (switchVector_.empty()) { in StopAllSwitch()
115 if (switchVector_.empty()) { in AddSession()
141 if (switchVector_.empty()) { in RemoveSession()
176 if (switchVector_.empty()) { in GetSwitchOpenedSession()
/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/dscreenservice/src/
H A Ddscreen_sink_stub.cpp74 if (param.empty() || param.size() > PARAM_MAX_SIZE) { in InitSinkInner()
103 if (dhId.empty() || dhId.size() > DID_MAX_SIZE || param.empty() || param.size() > PARAM_MAX_SIZE) { in SubscribeDistributedHardwareInner()
117 if (dhId.empty() || dhId.size() > DID_MAX_SIZE) { in UnsubscribeDistributedHardwareInner()
134 if (devId.empty() || devId.size() > DID_MAX_SIZE || eventContent.empty() || in DScreenNotifyInner()
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/softbus/
H A Dsoftbus_file_receive_listener.cpp73 if (physicalPath.empty()) { in SetRecvPath()
74 LOGI("SetRecvPath physicalPath is empty."); in SetRecvPath()
112 if (sessionName.empty()) { in OnReceiveFileProcess()
113 LOGE("sessionName is empty"); in OnReceiveFileProcess()
123 if (sessionName.empty()) { in OnReceiveFileFinished()
124 LOGE("sessionName is empty"); in OnReceiveFileFinished()
140 if (sessionName.empty()) { in OnFileTransError()
141 LOGE("sessionName is empty"); in OnFileTransError()
153 if (sessionName.empty()) { in OnReceiveFileReport()
154 LOGE("sessionName is empty"); in OnReceiveFileReport()
[all...]
/foundation/filemanagement/app_file_service/services/backup_sa/src/module_ipc/
H A Dsvc_restore_deps_manager.cpp35 if (!restoreDeps.empty()) { in GetRestoreBundleNames()
36 HILOGI("RestoreDeps is not empty, bundleName=%{public}s", bundleNameIndexInfo.c_str()); in GetRestoreBundleNames()
93 if (!restoreDeps.empty()) { in BuildDepsMap()
106 if (srcStr.empty() || separator.empty()) { in SplitString()
123 if (!srcStr.substr(start).empty()) { in SplitString()
146 return toRestoreBundleMap_.empty(); in IsAllBundlesRestored()
/foundation/resourceschedule/memmgr/test/unittest/phone/
H A Dkernel_interface_test.cpp86 std::string empty = ""; in HWTEST_F() local
90 path = KernelInterface::GetInstance().JoinPath(empty, second); in HWTEST_F()
92 path = KernelInterface::GetInstance().JoinPath(first, empty); in HWTEST_F()
94 path = KernelInterface::GetInstance().JoinPath(empty, empty); in HWTEST_F()
95 EXPECT_EQ(path.compare(empty), 0); in HWTEST_F()
100 path = KernelInterface::GetInstance().JoinPath(empty, second, third); in HWTEST_F()
102 path = KernelInterface::GetInstance().JoinPath(first, empty, third); in HWTEST_F()
104 path = KernelInterface::GetInstance().JoinPath(first, second, empty); in HWTEST_F()
107 path = KernelInterface::GetInstance().JoinPath(empty, empt in HWTEST_F()
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/resourcemanager/
H A Dcapability_info_manager.cpp134 if (dataVector.empty() || dataVector.size() > MAX_DB_RECORD_SIZE) { in SyncDeviceInfoFromDB()
135 DHLOGE("dataVector size: %{public}zu is invalid, maybe empty or too large.", dataVector.size()); in SyncDeviceInfoFromDB()
165 if (dataVector.empty() || dataVector.size() > MAX_DB_RECORD_SIZE) { in SyncRemoteCapabilityInfos()
166 DHLOGE("dataVector size: %{public}zu is invalid, maybe empty or too large.", dataVector.size()); in SyncRemoteCapabilityInfos()
189 if (resInfos.empty() || resInfos.size() > MAX_DB_RECORD_SIZE) { in AddCapability()
190 DHLOGE("ResInfo is empty or too large!"); in AddCapability()
217 if (keys.empty() || values.empty()) { in AddCapability()
218 DHLOGD("Records are empty, No need add data to db!"); in AddCapability()
230 if (resInfos.empty() || resInfo in AddCapabilityInMem()
[all...]
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/
H A Ddevice_manager_adapter.cpp132 if (netAllCap->netCaps_.count(NetManagerStandard::NET_CAPABILITY_VALIDATED) && !netAllCap->bearerTypes_.empty()) { in NetCapabilitiesChange()
291 if (uuid.empty() || !syncTask_.Contains(uuid)) { in NotifyReadyEvent()
373 if (networkId.empty()) {
378 if (uuid.empty() || udid.empty()) {
379 ZLOGW("uuid or udid empty");
427 if (!localInfo_.uuid.empty() && !localInfo_.udid.empty()) {
515 if (dvInfo.uuid.empty()) {
524 if (dvInfos.empty()) {
[all...]
/base/sensors/sensor/vibration_convert/core/algorithm/onset/src/
H A Donset.cpp52 if ((matrixA.empty()) || (matrixB.empty())) { in MatrixDot()
53 SEN_HILOGE("matrixA or matrixB is empty"); in MatrixDot()
76 if ((valueCols == 0) || (values.empty())) { in MatrixDiff()
92 if (values.empty()) { in Median()
93 SEN_HILOGE("values is empty"); in Median()
104 if (values.empty()) { in Mean()
105 SEN_HILOGE("values is empty"); in Mean()
125 if (data.empty()) { in Sfft()
126 SEN_HILOGE("data is empty"); in Sfft()
[all...]
/base/web/webview/ohos_adapter/distributeddatamgr_adapter/webdatabase/src/
H A Dohos_web_permission_data_base_adapter_impl.cpp119 if (rdbStore_ == nullptr || origin.empty()) { in ExistPermissionByOrigin()
123 if (tableName.empty()) { in ExistPermissionByOrigin()
142 if (rdbStore_ == nullptr || origin.empty()) { in GetPermissionResultByOrigin()
146 if (tableName.empty()) { in GetPermissionResultByOrigin()
171 if (rdbStore_ == nullptr || origin.empty()) { in SetPermissionByOrigin()
175 if (tableName.empty()) { in SetPermissionByOrigin()
191 if (rdbStore_ == nullptr || origin.empty()) { in ClearPermissionByOrigin()
196 if (tableName.empty()) { in ClearPermissionByOrigin()
212 if (tableName.empty()) { in ClearAllPermission()
230 if (tableName.empty()) { in GetOriginsByPermission()
[all...]
/foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/
H A Dability_stage_context.cpp108 if (GetPreviewPath().empty()) { in GetCacheDir()
119 if (GetPreviewPath().empty()) { in GetTempDir()
131 if (hapModuleInfoPtr == nullptr || hapModuleInfoPtr->moduleName.empty()) { in GetResourceDir()
144 if (GetPreviewPath().empty()) { in GetFilesDir()
156 if (preivewDir.empty()) { in GetDatabaseDir()
168 if (GetPreviewPath().empty()) { in GetPreferencesDir()
180 if (preivewDir.empty()) { in GetDistributedFilesDir()
192 if (preivewDir.empty()) { in GetCloudFileDir()
231 if (previewPath.empty()) { in GetBaseDir()
275 if (path.empty()) { in CreateMultiDir()
[all...]
/foundation/arkui/ace_engine/frameworks/core/pipeline_ng/
H A Dui_task_scheduler.cpp61 if (layoutNodes_.empty()) { in SetLayoutNodeRect()
120 if (dirtyLayoutNodes_.empty()) { in FlushLayoutTask()
231 if (!afterLayoutTasks_.empty()) { in FlushTask()
235 if (!triggeredByImplicitAnimation && !afterLayoutCallbacksInImplicitAnimationTask_.empty()) { in FlushTask()
254 if (safeAreaPaddingProcessTasks_.empty()) { in FlushSafeAreaPaddingProcess()
306 return dirtyLayoutNodes_.empty() && dirtyRenderNodes_.empty(); in isEmpty()
311 return predictTask_.empty(); in IsPredictTaskEmpty()
362 if (persistAfterLayoutTasks_.empty()) { in FlushPersistAfterLayoutTask()
376 if (lastestFrameLayoutFinishTasks_.empty()) { in FlushLastestFrameLayoutFinishTask()
[all...]
/foundation/communication/bluetooth_service/services/bluetooth/server/src/
H A Dbluetooth_ble_filter_matcher.cpp26 if (bleScanFilters.empty()) { in MatchesScanFilters()
70 if (filterAddress.empty()) { in MatchesAddress()
75 if (resultAdderss.empty()) { in MatchesAddress()
87 if (filterName.empty()) { in MatchesName()
92 if (resultName.empty()) { in MatchesName()
109 // if filter needs but result is empty means fail in MatchesServiceUuids()
110 if (resultUuids.empty()) { in MatchesServiceUuids()
143 // if filter needs but result is empty means fail in MatchesManufacturerDatas()
144 if (result.GetManufacturerData().empty()) { in MatchesManufacturerDatas()
167 // if filter needs but result is empty mean in MatchesServiceDatas()
[all...]
/foundation/multimedia/av_session/services/session/server/remote/
H A Dremote_session_source_impl.cpp51 CHECK_AND_RETURN_RET_LOG(!syncers_.empty(), AVSESSION_ERROR, "syncers size is empty"); in CastSessionToRemote()
56 CHECK_AND_RETURN_RET_LOG(!syncers_.empty() && syncers_[deviceId] != nullptr, AVSESSION_ERROR, in CastSessionToRemote()
76 CHECK_AND_RETURN_RET_LOG(!syncers_.empty() && syncers_[deviceId] != nullptr, AVSESSION_ERROR, in CastSessionToRemote()
114 CHECK_AND_RETURN_RET_LOG(!syncers_.empty(), AVSESSION_SUCCESS, "syncer is empty"); in CancelCastAudio()
131 CHECK_AND_RETURN_RET_LOG(!syncers_.empty() && session_ != nullptr, AVSESSION_ERROR, "syncers size is zero"); in SetAVMetaData()
156 CHECK_AND_RETURN_RET_LOG(!syncers_.empty() && session_ != nullptr, AVSESSION_ERROR, "syncers size is zero"); in SetAVPlaybackState()
181 CHECK_AND_RETURN_RET_LOG(!syncers_.empty() && session_ != nullptr, AVSESSION_ERROR, "syncers size is zero"); in SetSessionEventRemote()
204 CHECK_AND_RETURN_RET_LOG(!syncers_.empty() in SetAVQueueItems()
[all...]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dparam_check_utils.cpp29 if (dataDir.empty() || (dataDir.length() > DBConstant::MAX_DATA_DIR_LENGTH)) { in CheckDataDir()
41 if (storeId.empty() || (storeId.length() > DBConstant::MAX_STORE_ID_LENGTH)) { in IsStoreIdSafe()
73 if (userId.empty() || userId.length() > DBConstant::MAX_USER_ID_LENGTH) { in CheckStoreParameter()
82 if (appId.empty() || appId.length() > DBConstant::MAX_APP_ID_LENGTH) { in CheckStoreParameter()
86 // subUser allow empty in CheckStoreParameter()
190 if (!param.option.schema.empty()) { in CheckAndTransferAutoLaunchParam()
230 if (tableReferenceProperty.empty()) { in CheckTableReference()
231 LOGI("[CheckTableReference] tableReferenceProperty is empty"); in CheckTableReference()
239 if (item.sourceTableName.empty() || item.targetTableName.empty() || ite in CheckTableReference()
[all...]
/foundation/distributeddatamgr/udmf/framework/jskitsimpl/data/
H A Duniform_type_descriptor_napi.cpp105 ASSERT_BUSINESS_ERR(ctxt, ctxt->status == napi_ok && !belongsTo.empty(), E_INVALID_PARAMETERS, in GetUniformDataTypeByFilenameExtension()
113 if (belongsTo.empty()) { in GetUniformDataTypeByFilenameExtension()
119 if (!typeId.empty()) { in GetUniformDataTypeByFilenameExtension()
143 ASSERT_BUSINESS_ERR(ctxt, ctxt->status == napi_ok && !belongsTo.empty(), E_INVALID_PARAMETERS, in GetUniformDataTypeByMIMEType()
151 if (belongsTo.empty()) { in GetUniformDataTypeByMIMEType()
157 if (!typeId.empty()) { in GetUniformDataTypeByMIMEType()
182 ASSERT_BUSINESS_ERR(ctxt, ctxt->status == napi_ok && !belongsTo.empty(), E_INVALID_PARAMETERS, in GetMultiUniformDataTypesByFilenameExtension()
194 if (!typeIds.empty()) { in GetMultiUniformDataTypesByFilenameExtension()
218 ASSERT_BUSINESS_ERR(ctxt, ctxt->status == napi_ok && !belongsTo.empty(), E_INVALID_PARAMETERS, in GetMultiUniformDataTypesByMIMEType()
230 if (!typeIds.empty()) { in GetMultiUniformDataTypesByMIMEType()
[all...]
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_resource_test/
H A Dbms_bundle_resource_test.cpp618 EXPECT_TRUE(info.icon.empty()); in HWTEST_F()
626 EXPECT_TRUE(info2.label.empty()); in HWTEST_F()
702 EXPECT_TRUE(infos.empty()); in HWTEST_F()
707 EXPECT_TRUE(infos.empty()); in HWTEST_F()
713 if (!infos.empty()) { in HWTEST_F()
718 EXPECT_TRUE(infos[0].icon.empty()); in HWTEST_F()
748 if (!infos.empty()) { in HWTEST_F()
753 EXPECT_TRUE(infos[0].label.empty()); in HWTEST_F()
785 if (!infos.empty()) { in HWTEST_F()
825 EXPECT_FALSE(infos.empty()); in HWTEST_F()
[all...]
/base/hiviewdfx/hisysevent/adapter/native/idl/include/
H A Dparcelable_vector_rw.h34 int empty = VALUE_NULL; in ReadVectorFromParcel() local
35 if (!parcel.ReadInt32(empty)) { in ReadVectorFromParcel()
38 if (empty == VALUE_OBJECT) { in ReadVectorFromParcel()
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/
H A Dparcelable_vector_rw.h34 int empty = VALUE_NULL; in ReadVectorFromParcel() local
35 if (!parcel.ReadInt32(empty)) { in ReadVectorFromParcel()
38 if (empty == VALUE_OBJECT) { in ReadVectorFromParcel()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/select/
H A Dselect_accessibility_property.cpp37 if (options.empty()) { in GetBeginIndex()
50 if (options.empty()) { in GetEndIndex()
72 if (options.empty()) { in GetCollectionItemCounts()
/foundation/resourceschedule/resource_schedule_service/ressched/scene_recognize/src/
H A Dsystem_upgrade_scene_recognizer.cpp58 isSystemUpgraded_ = oldSystemFingerprint.empty() || (oldSystemFingerprint != curSystemFingerprint); in Init()
69 if (itemFingerprint.empty()) { in GetCurSystemFingerprint()
72 if (!curSystemFingerprint.empty()) { in GetCurSystemFingerprint()
/foundation/distributeddatamgr/relational_store/frameworks/native/dataability/src/
H A Dpredicates_utils.cpp55 if (!index.empty()) { in SetAttributes()
58 if (!group.empty()) { in SetAttributes()
67 if (!order.empty()) { in SetAttributes()

Completed in 19 milliseconds

12345678910>>...259