/base/powermgr/battery_statistics/services/native/src/ |
D | battery_stats_listener.cpp | 113 if (!root["UID"].asString().empty()) { in ProcessCameraEvent() 116 if (!root["PID"].asString().empty()) { in ProcessCameraEvent() 119 if (!root["ID"].asString().empty()) { in ProcessCameraEvent() 140 if (!root["UID"].asString().empty()) { in ProcessAudioEvent() 143 if (!root["PID"].asString().empty()) { in ProcessAudioEvent() 146 if (!root["STATE"].asString().empty()) { in ProcessAudioEvent() 172 if (!root["UID"].asString().empty()) { in ProcessSensorEvent() 175 if (!root["PID"].asString().empty()) { in ProcessSensorEvent() 178 if (!root["STATE"].asString().empty()) { in ProcessSensorEvent() 190 if (!root["UID"].asString().empty()) { in ProcessGnssEvent() [all …]
|
/base/startup/init/services/begetctl/ |
D | sandbox.cpp | 114 if (!namespaceName.empty() && processName.empty() && serviceName.empty()) { in RunCmd() 117 } else if (!namespaceName.empty() && !processName.empty() && serviceName.empty()) { in RunCmd() 120 } else if (namespaceName.empty() && !processName.empty() && serviceName.empty()) { in RunCmd() 124 } else if (namespaceName.empty() && processName.empty() && !serviceName.empty()) { in RunCmd()
|
/base/global/i18n/frameworks/intl/src/ |
D | number_format.cpp | 111 if (!currency.empty()) { in InitProperties() 119 if (!styleString.empty() && styleString == "percent") { in InitProperties() 123 if (!styleString.empty() && styleString == "unit") { in InitProperties() 138 if (!useGrouping.empty()) { in InitProperties() 142 if (!currencySign.empty() || !signDisplayString.empty()) { in InitProperties() 145 if (!notationString.empty()) { in InitProperties() 154 if (!maximumSignificantDigits.empty() || !minimumSignificantDigits.empty()) { in InitDigitsProperties() 273 if (preferredUnit.empty()) { in SetUnit() 289 if (!unitUsage.empty()) { in Format() 329 if (!styleString.empty()) { in GetResolvedOptions() [all …]
|
D | date_time_format.cpp | 113 if (hourCycle.empty()) { in InitWithLocale() 116 if (hour12.empty() && hourCycle.empty()) { in InitWithLocale() 264 if (!dateStyle.empty() || !timeStyle.empty()) { in InitDateFormat() 267 if (!dateStyle.empty() && dateTimeStyle.count(dateStyle) > 0) { in InitDateFormat() 270 if (!timeStyle.empty() && dateTimeStyle.count(timeStyle) > 0) { in InitDateFormat() 368 …if (year.empty() && month.empty() && day.empty() && hour.empty() && minute.empty() && second.empty… in ComputeSkeleton() 369 weekday.empty()) { in ComputeSkeleton() 378 if ((hourCycle == "h12" || hourCycle == "h11" || hour12 == "true") && !hour.empty()) { in ComputeSkeleton() 388 if (!option.empty()) { in AddOptions() 395 if (!hour12.empty()) { in ComputeHourCycleChars() [all …]
|
D | locale_info.cpp | 104 if (!script.empty()) { in ComputeFinalLocaleTag() 107 if (!region.empty()) { in ComputeFinalLocaleTag() 110 if (!hourCycle.empty() || !numberingSystem.empty() || !calendar.empty() || !collation.empty() || in ComputeFinalLocaleTag() 111 !caseFirst.empty() || !numeric.empty()) { in ComputeFinalLocaleTag() 114 if (!hourCycle.empty()) { in ComputeFinalLocaleTag() 117 if (!numberingSystem.empty()) { in ComputeFinalLocaleTag() 120 if (!calendar.empty()) { in ComputeFinalLocaleTag() 123 if (!collation.empty()) { in ComputeFinalLocaleTag() 126 if (!caseFirst.empty()) { in ComputeFinalLocaleTag() 129 if (!numeric.empty()) { in ComputeFinalLocaleTag()
|
/base/security/access_token/frameworks/common/src/ |
D | data_validator.cpp | 24 return !bundleName.empty() && (bundleName.length() <= MAX_LENGTH); in IsBundleNameValid() 39 return !permissionName.empty() && (permissionName.length() <= MAX_LENGTH); in IsPermissionNameValid() 49 return !appIDDesc.empty() && (appIDDesc.length() <= MAX_APPIDDESC_LENGTH); in IsAppIDDescValid() 54 return !domain.empty() && (domain.length() <= MAX_LENGTH); in IsDomainValid() 64 return !processName.empty() && (processName.length() <= MAX_LENGTH); in IsProcessNameValid() 69 return !deviceId.empty() && (deviceId.length() <= MAX_LENGTH); in IsDeviceIdValid() 74 return !dcap.empty() && (dcap.length() <= MAX_DCAP_LENGTH); in IsDcapValid()
|
/base/startup/init/ueventd/standard/ |
D | ueventd_parameter.c | 31 int empty; member 42 .empty = 1, 66 INIT_LOGV("[uevent] ThreadRun %d %d", parameterCtrl->empty, parameterCtrl->shutdown); in ThreadRun() 70 if (parameterCtrl->empty) { in ThreadRun() 86 parameterCtrl->empty = 1; in ThreadRun() 89 parameterCtrl->empty = 0; in ThreadRun() 98 parameterCtrl->empty = 1; in ThreadRun() 115 parameterCtrl->empty = 0; in AddParameter()
|
/base/telephony/core_service/services/sim/src/ |
D | operator_matching_rule.cpp | 22 if (iccidFromSim.empty()) { in IccidRegexMatch() 30 if (imsiFromSim.empty()) { in ImsiRegexMatch() 38 if (spnFromSim.empty()) { in SpnRegexMatch() 46 if (valueFromSim.empty()) { in PrefixMatch()
|
/base/update/updater/services/fs_manager/ |
D | cmp_partition.cpp | 64 if (nlist.empty() || olist.empty()) { in TraversePartitionList() 82 if (nlist.empty() || olist.empty()) { in RegisterUpdaterPartitionList() 94 if (g_updaterPlist.empty()) { in GetRegisterUpdaterPartitionList() 100 if (ulist.empty()) { in GetRegisterUpdaterPartitionList()
|
/base/telephony/call_manager/services/audio/src/ |
D | call_state_processor.cpp | 144 shouldSwitch = (dialingCalls_.size() == EXIST_ONLY_ONE_CALL && activeCalls_.empty() && in ShouldSwitchState() 145 incomingCalls_.empty() && alertingCalls_.empty()); in ShouldSwitchState() 148 shouldSwitch = (alertingCalls_.size() == EXIST_ONLY_ONE_CALL && activeCalls_.empty() && in ShouldSwitchState() 149 incomingCalls_.empty() && dialingCalls_.empty()); in ShouldSwitchState() 152 shouldSwitch = (incomingCalls_.size() == EXIST_ONLY_ONE_CALL && activeCalls_.empty() && in ShouldSwitchState() 153 dialingCalls_.empty() && alertingCalls_.empty()); in ShouldSwitchState()
|
/base/print/print_fwk/utils/include/ |
D | print_util.h | 43 if (!list.empty()) { in ParseListToString() 59 if (!str.empty()) { in SplitStr() 76 if (!str.empty()) { in ToUpper() 84 if (str.empty() || content.empty()) { in CheckContains()
|
/base/update/updater/services/applypatch/ |
D | store.cpp | 49 if (dirPath.empty() || fileName.empty()) { in FreeStore() 62 if (path.empty()) { in CreateNewSpace() 85 if (files.empty()) { in CreateNewSpace() 103 if (dirPath.empty()) { in WriteDataToStore() 107 if (!fileName.empty()) { in WriteDataToStore() 147 if (!fileName.empty()) { in LoadDataFromStore()
|
/base/telephony/call_manager/utils/src/ |
D | call_number_utils.cpp | 35 if (phoneNumber.empty()) { in FormatPhoneNumber() 53 if (formatNumber.empty() || formatNumber == "0") { in FormatPhoneNumber() 69 if (phoneNumber.empty()) { in FormatNumberBase() 84 if (formatNumber.empty() || formatNumber == "0") { in FormatNumberBase() 112 if (number.empty()) { in IsMMICode() 144 if (phoneString.empty()) { in RemoveSeparatorsPhoneNumber() 160 if (phoneString.empty()) { in RemovePostDailPhoneNumber()
|
/base/telephony/sms_mms/frameworks/native/mms/src/ |
D | mms_attachment.cpp | 32 if (strPath.empty()) { in SetAttachmentFilePath() 76 if (contentId.empty()) { in SetContentId() 96 if (contentLocation.empty()) { in SetContentLocation() 111 if (contentDisposition.empty()) { in SetContentDisposition() 126 if (contentTransferEncoding.empty()) { in SetContentTransferEncoding() 141 if (strContentType.empty()) { in SetContentType() 166 if (strFileName.empty()) { in SetFileName()
|
/base/powermgr/thermal_manager/utils/native/src/ |
D | string_operation.cpp | 31 if (str.empty()) { in SplitString() 47 if (!temp.empty()) { in SplitString() 58 if (!s.empty()) { in ClearAllSpace() 84 if (str.empty() || (!isdigit(str.front()) && (str.front() != '-'))) { in StrToUint() 101 if (str.empty()) { in StrToDouble()
|
/base/hiviewdfx/hiview/base/event_store/store/ |
D | sys_event_database.cpp | 70 if (!dir.empty()) { in GetDatabaseDir() 107 if (quotaMap_.empty()) { in Clear() 114 if (!clearMap_.empty()) { in Clear() 131 if (!limitQueue.empty()) { in Clear() 134 } else if (!normalQueue.empty()) { in Clear() 162 if (queryFiles.empty()) { in Query() 190 while (!files.empty()) { in UpdateClearMap() 231 if (quotaMap_.empty() || quotaMap_.find(type) == quotaMap_.end()) { in GetMaxFileNum() 239 if (quotaMap_.empty() || quotaMap_.find(type) == quotaMap_.end()) { in GetMaxSize() 249 if (queryDirs.empty()) { in GetQueryFiles() [all …]
|
/base/notification/common_event_service/frameworks/native/src/ |
D | matching_skills.cpp | 147 if (vectorInfo.empty()) { in WriteVectorInfo() 204 int32_t empty = VALUE_NULL; in ReadFromParcel() local 205 if (!parcel.ReadInt32(empty)) { in ReadFromParcel() 208 if (empty == VALUE_OBJECT) { in ReadFromParcel() 220 empty = VALUE_NULL; in ReadFromParcel() 221 if (!parcel.ReadInt32(empty)) { in ReadFromParcel() 224 if (empty == VALUE_OBJECT) { in ReadFromParcel() 236 empty = VALUE_NULL; in ReadFromParcel() 237 if (!parcel.ReadInt32(empty)) { in ReadFromParcel() 240 if (empty == VALUE_OBJECT) { in ReadFromParcel() [all …]
|
D | common_event_data.cpp | 73 if (GetData().empty()) { in Marshalling() 104 int empty = VALUE_NULL; in ReadFromParcel() local 105 if (!parcel.ReadInt32(empty)) { in ReadFromParcel() 108 if (empty == VALUE_OBJECT) { in ReadFromParcel()
|
/base/location/frameworks/location_common/common/source/ |
D | location_dumper.cpp | 43 if (!vecArgs.empty() && vecArgs[0] == ARGS_HELP) { in GeocodeDump() 60 if (!vecArgs.empty() && vecArgs[0] == ARGS_HELP) { in GnssDump() 77 if (!vecArgs.empty() && vecArgs[0] == ARGS_HELP) { in LocatorDump() 94 if (!vecArgs.empty() && vecArgs[0] == ARGS_HELP) { in NetWorkDump() 111 if (!vecArgs.empty() && vecArgs[0] == ARGS_HELP) { in PassiveDump()
|
/base/telephony/core_service/services/network_search/src/ |
D | operator_name.cpp | 194 … !plmn.empty() && ((static_cast<uint32_t>(spnRule) & SpnShowType::SPN_CONDITION_DISPLAY_PLMN) == in UpdatePlmn() 221 if (enableCust_ && !spnCust_.empty()) { in UpdateSpn() 224 if (spn.empty()) { in UpdateSpn() 231 if (!csSpnFormat_.empty()) { in UpdateSpn() 234 …showSpn = !spn.empty() && ((static_cast<uint32_t>(spnRule) & SpnShowType::SPN_CONDITION_DISPLAY_SP… in UpdateSpn() 292 if (plmn.empty()) { in NotifyCdmaSpnChanged() 295 if (!csSpnFormat_.empty()) { in NotifyCdmaSpnChanged() 301 showPlmn = !plmn.empty(); in NotifyCdmaSpnChanged() 354 if (plmn.empty()) { in GetPlmn() 357 if (plmn.empty()) { in GetPlmn() [all …]
|
/base/web/webview/ohos_adapter/distributeddatamgr_adapter/webdatabase/src/ |
D | ohos_web_permission_data_base_adapter_impl.cpp | 119 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()
|
/base/hiviewdfx/hiview/base/test/unittest/common/ |
D | plugin_test.cpp | 157 ASSERT_TRUE(context.GetPipelineSequenceByName("").empty()); 161 ASSERT_TRUE(context.GetHiViewDirectory(HiviewContext::DirectoryType::CONFIG_DIRECTORY).empty()); 162 ASSERT_TRUE(context.GetHiViewDirectory(HiviewContext::DirectoryType::WORK_DIRECTORY).empty()); 163 ASSERT_TRUE(context.GetHiViewDirectory(HiviewContext::DirectoryType::PERSIST_DIR).empty()); 173 ASSERT_TRUE(context.GetListenerInfo(0, "", "").empty()); 175 ASSERT_TRUE(context.GetDisPatcherInfo(0, "", "", "").empty());
|
/base/hiviewdfx/hiview/plugins/reliability/bbox_detectors/ |
D | bbox_detector_plugin.cpp | 72 std::string dynamicPaths = ((!LOG_PATH.empty() && LOG_PATH[LOG_PATH.size() - 1] == '/') ? in HandleBBoxEvent() 82 sysEvent->SetEventValue("FIRST_FRAME", eventInfos["FIRST_FRAME"].empty() ? "/" : in HandleBBoxEvent() 84 sysEvent->SetEventValue("SECOND_FRAME", eventInfos["SECOND_FRAME"].empty() ? "/" : in HandleBBoxEvent() 86 sysEvent->SetEventValue("LAST_FRAME", eventInfos["LAST_FRAME"].empty() ? "/ " : in HandleBBoxEvent()
|
/base/hiviewdfx/hisysevent/adapter/native/idl/include/ |
D | parcelable_vector_rw.h | 34 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/ |
D | parcelable_vector_rw.h | 34 int empty = VALUE_NULL; in ReadVectorFromParcel() local 35 if (!parcel.ReadInt32(empty)) { in ReadVectorFromParcel() 38 if (empty == VALUE_OBJECT) { in ReadVectorFromParcel()
|