/drivers/peripheral/battery/interfaces/hdi_service/test/systemtest/src/ |
H A D | battery_sys_test.cpp | 80 BATTERY_HILOGI(LABEL_TEST, "BatteryConfig001 chargeSceneConfigMap is empty");
in HWTEST_F() 84 ASSERT_TRUE(!(it->first).empty());
in HWTEST_F() 87 ASSERT_TRUE(!chargeSceneConfig.setPath.empty() || !chargeSceneConfig.getPath.empty()
in HWTEST_F() 88 || !chargeSceneConfig.supportPath.empty());
in HWTEST_F()
|
/drivers/peripheral/camera/vdi_base/common/pipeline_core/ipp/src/ |
H A D | offline_pipeline.cpp | 100 if (bufferCache_.empty()) { in CancelCapture() 139 if (!bufferCache_.empty()) { in FlushOfflineStream() 141 while (!bufferCache_.empty()) { in FlushOfflineStream() 157 if (!buffers.empty() && buffers[0]->GetBufferStatus() != CAMERA_BUFFER_STATUS_OK) { in ReceiveCache() 174 cv_.wait(l, [this] { return !(running_.load() && bufferCache_.empty()); }); in HandleBuffers() 180 if (buffers.empty()) { in HandleBuffers() 249 return bufferCache_.empty(); in CacheQueueDry()
|
/drivers/peripheral/power/interfaces/hdi_service/src/ |
H A D | system_operation.cpp | 33 if (name.empty()) { in WriteWakeLock() 46 if (name.empty()) { in WriteWakeUnlock()
|
/drivers/hdf_core/framework/tools/hdi-gen/hash/ |
H A D | hash.cpp | 28 return filePath.empty() ? FormatStdout(fileDetails) : FormatFile(fileDetails, filePath);
in GenHashKey() 34 if (hashInfos.empty()) {
in FormatStdout() 47 if (hashInfos.empty()) {
in FormatFile()
|
/drivers/hdf_core/framework/tools/hdi-gen/util/ |
H A D | string_helper.cpp | 20 if (sources.empty()) {
in Split() 24 if (limit.empty()) {
in Split() 33 if (!element.empty()) {
in Split() 59 if (value.empty()) {
in EndWith() 77 if (value.empty() || oldChar == newChar) {
in Replace() 127 if (value.empty() || start == std::string::npos || start >= end) {
in SubStr()
|
H A D | file.cpp | 32 if (path.empty()) { in File() 68 if (realPath.empty()) { in OpenByRead() 253 if (path.empty()) { in CreateParentDir() 261 if (path.empty()) { in CreateParentDir() 294 if (rootDir.empty()) { in CreateParentDir() 301 while (!dirs.empty()) { in CreateParentDir() 344 if (path.empty()) { in CreateParentDir()
|
H A D | options.cpp | 161 if (realPath.empty()) { in AddSources() 181 if (realPath.empty()) { in CheckOutPutFile() 196 if (!files.empty()) { in AddSourcesByDir() 216 if (path.empty()) { in AddPackagePath() 338 if (rootPackage.empty()) { in GetSubPackage() 362 if (rootPackage.empty()) { in GetPackagePath()
|
/drivers/hdf_core/framework/tools/hc-gen/src/ |
H A D | startup_cfg_gen.cpp | 84 if (outFileName.empty()) { in Initialize() 136 if (!hostInfoMap_[name].hostCaps.empty() && configedKeywords.find("caps") == configedKeywords.end()) { in EmitHostCapsInfo() 144 if (!hostInfoMap_[name].hostCritical.empty() && configedKeywords.find("critical") == configedKeywords.end()) { in EmitHostCriticalInfo() 162 if (!hostInfoMap_[name].initConfig.empty()) { in EmitSeconInfo() 171 if (!hostInfoMap_[name].initConfig.empty()) { in EmitInitConfigInfo() 187 if (!hostInfoMap_[name].initConfig.empty()) { in HostInfoOutput() 278 if (!object->StringValue().empty()) { 332 if (!object->StringValue().empty()) { 410 if (config.empty()) { 411 if (term != nullptr && !term->Child()->StringValue().empty()) { [all...] |
H A D | parser.cpp | 26 if (astList.empty()) { in Parse() 76 } else if (current_ == EOF && includeList.empty()) { in ParseOneContent() 98 /* hcs allows a file have only include list, but does not allow empty files */ in ParseOne() 99 if ((rootNode == nullptr && includeList.empty()) || errno_ != NOERR) { in ParseOne() 109 if (includeAstList.empty()) { in ParseOne() 136 if (includePath.empty()) { in ProcessInclude() 148 if (includeAbsPath.empty()) { in ProcessInclude()
|
/drivers/peripheral/camera/vdi_base/common/buffer_manager/src/ |
H A D | buffer_pool.cpp | 168 if (!idleList_.empty()) { in AcquireBuffer() 179 return !idleList_.empty() || stop_; in AcquireBuffer() 181 if (!idleList_.empty()) { in AcquireBuffer() 193 return !idleList_.empty() || stop_; in AcquireBuffer() 198 if (!idleList_.empty()) { in AcquireBuffer() 217 CAMERA_LOGE("fatal error, busy list is empty, cannot return buffer."); in ReturnBuffer()
|
H A D | buffer_loop_tracking.cpp | 84 return trackingBufferList_.empty(); in IsEmpty() 240 if (nodePath.empty()) { in FindTrackingNodePath() 362 if (messageQueue_.empty()) { in ReceiveMessage() 364 if (messageQueue_.empty()) { in ReceiveMessage() 365 cv_.wait(l, [this] { return !(running_.load() && messageQueue_.empty()); }); in ReceiveMessage() 374 if (!messageQueue_.empty()) { in ReceiveMessage() 376 if (!messageQueue_.empty()) { in ReceiveMessage()
|
/drivers/hdf_core/adapter/uhdf2/hdi/test/smq_test/ |
H A D | smq_test.cpp | 60 if (src.empty()) {
in Split() 64 if (limit.empty()) {
in Split() 73 if (!element.empty()) {
in Split() 89 if (hostName.empty()) {
in QueryPidOfHostName() 240 EXPECT_TRUE(unclosedFds.empty());
in HWTEST_F() 241 if (!unclosedFds.empty()) {
in HWTEST_F() 300 EXPECT_TRUE(hostUnclosedFds.empty());
in HWTEST_F() 301 if (!hostUnclosedFds.empty()) {
in HWTEST_F() 309 EXPECT_TRUE(servHostUnclosedFds.empty());
in HWTEST_F() 310 if (!servHostUnclosedFds.empty()) {
in HWTEST_F() [all...] |
/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/ |
H A D | capture_message.cpp | 90 if (mit.empty()) { in SendMessage() 164 if (vit.empty()) { in HandleMessage() 174 if (it->empty()) { in HandleMessage()
|
/drivers/peripheral/codec/hal/idl_service/src/ |
H A D | codec_omx_core.cpp | 34 if (libName.empty()) { in Init() 35 CODEC_LOGE("param is empty"); in Init() 72 if (compName.empty()) { in GetHandle() 107 if (name.empty()) { in GetRolesOfComponent() 108 CODEC_LOGE("empty name"); in GetRolesOfComponent()
|
/drivers/peripheral/codec/hal/v2.0/hdi_impl/src/ |
H A D | codec_omx_core.cpp | 34 if (libName.empty()) { in Init() 35 CODEC_LOGE("param is empty."); in Init() 72 if (compName.empty()) { in GetHandle() 108 if (name.empty()) { in GetRolesOfComponent() 109 CODEC_LOGE("empty name"); in GetRolesOfComponent()
|
/drivers/hdf_core/framework/tools/hdi-gen/codegen/ |
H A D | java_code_emitter.cpp | 15 if (ast_->GetLicense().empty()) {
in EmitLicense() 37 if (name.empty() || islower(name[0])) {
in MethodName()
|
H A D | cpp_code_emitter.cpp | 76 if (ast_->GetLicense().empty()) {
in EmitLicense() 146 if (packageName.empty()) {
in EmitPackageToNameSpace() 189 if (packageName.empty()) {
in EmitNamespace() 243 if (name.empty()) {
in MacroName() 295 if (value.empty()) {
in GetNameSpaceByInterface()
|
H A D | code_emitter.cpp | 30 if (ast == nullptr || targetDirectory.empty()) {
in Reset() 123 if (subPath.empty()) {
in GetFileParentPath() 188 if (name.empty()) {
in ConstantName() 211 if (name.empty()) {
in PascalName() 240 if (name.empty()) {
in FileName()
|
/drivers/peripheral/codec/test/demo/idl/src/ |
H A D | command_parse.cpp | 82 if (opt.fileInput.empty() || opt.fileOutput.empty() || opt.width == 0 || opt.height == 0) { in Parse()
|
/drivers/peripheral/camera/vdi_base/common/pipeline_core/nodes/src/fork_node/ |
H A D | fork_node.cpp | 205 if (captureRequests_.count(id) == 0 || captureRequests_[id].empty()) { in DeliverForkBuffer() 222 stopForkThread_ ? 0 : 1, bufferQueue_.empty() ? 0 : 1); in DeliverBufferToNextNode() 223 return stopForkThread_ || !bufferQueue_.empty(); in DeliverBufferToNextNode() 228 if (bufferQueue_.empty()) { in DeliverBufferToNextNode()
|
/drivers/hdf_core/framework/tools/hdi-gen/preprocessor/ |
H A D | preprocessor.cpp | 84 if (sourceFiles.empty()) {
in CheckAllFilesPath() 103 while (!processSource.empty()) {
in AnalyseImportInfo() 226 if (otherFilePath.empty()) {
in LoadOtherIdlFiles() 249 while (!fileQueue.empty()) {
in CheckCircularReference() 256 if (otherFile.imports_.empty()) {
in CheckCircularReference()
|
/drivers/peripheral/display/composer/test/common/ |
H A D | hdi_test_layer.cpp | 107 if (!backBuffers_.empty()) { in AcquireBackBuffer() 120 if (!frontBuffers_.empty()) { in GetFrontBuffer() 129 if (!backBuffers_.empty()) { in GetBackBuffer() 167 DISPLAY_TEST_CHK_RETURN((frontBuffers_.empty()), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("the font buffer is empty")); in SwapFrontToBackQ() 175 DISPLAY_TEST_CHK_RETURN((backBuffers_.empty()), DISPLAY_FAILURE, DISPLAY_TEST_LOGE("the font buffer is empty")); in SwapBackToFrontQ()
|
/drivers/peripheral/user_auth/test/unittest/service_test/src/ |
H A D | user_auth_interface_service_test.cpp | 131 EXPECT_TRUE(!scheduleInfos.empty()); in DoOnceAuth() 212 EXPECT_TRUE(!publicKey.empty()); in HWTEST_F() 235 EXPECT_TRUE(!publicKey.empty()); in HWTEST_F() 241 EXPECT_TRUE(!publicKey.empty()); in HWTEST_F() 361 EXPECT_FALSE(publicKey.empty()); in HWTEST_F() 400 EXPECT_FALSE(publicKey.empty()); in HWTEST_F() 538 EXPECT_TRUE(!deletedCredInfos.empty()); in HWTEST_F() 686 EXPECT_TRUE(!deletedCredInfos.empty()); in HWTEST_F() 732 EXPECT_TRUE(!scheduleInfos.empty()); in HWTEST_F() 738 EXPECT_TRUE(!deletedCredInfos.empty()); in HWTEST_F() [all...] |
/drivers/external_device_manager/services/native/driver_extension_manager/src/device_manager/ |
H A D | etx_device_mgr.cpp | 41 if (!bundleMatchMap_.empty()) { in PrintMatchDriverMap() 68 if (bundleInfo.empty() || device == nullptr) { in AddDevIdOfBundleInfoMap() 105 if (bundleInfo.empty() || device == nullptr) { in RemoveDevIdOfBundleInfoMap() 166 if (bundleName.empty()) { in DeleteBundlesOfBundleInfoMap() 256 if (bundleInfo.empty()) { in RegisterDevice() 266 if (bundleInfo.empty()) { in RegisterDevice() 307 if (bundleInfo.empty()) { in UnRegisterDevice() 308 EDM_LOGI(MODULE_DEV_MGR, "deviceId %{public}016" PRIX64 " bundleInfo is empty", deviceId); in UnRegisterDevice()
|
/drivers/peripheral/distributed_camera/hdi_service/src/dcamera_host/ |
H A D | dcamera_host.cpp | 77 if (!(iter->first).empty()) { in GetCameraIds() 291 if (sinkAbilityInfo.empty() || sinkAbilityInfo.length() > ABILITYINFO_MAX_LENGTH) { in AddDeviceParamCheck() 296 if (sourceCodecInfo.empty() || sourceCodecInfo.length() > ABILITYINFO_MAX_LENGTH) { in AddDeviceParamCheck() 368 if (dCameraId.empty()) { in RemoveDCameraDevice() 407 if (cameraId.empty() || cameraId.length() > ID_MAX_SIZE) { in IsCameraIdInvalid() 431 if (dCameraId.empty()) { in GetDCameraDeviceByDHBase() 448 if (dCameraId.empty()) { in NotifyDCameraStatus()
|