/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/handler/src/ |
H A D | dcamera_handler.cpp | 62 if (cameraList.empty()) { in QueryMeta() 90 if (cameraList.empty()) { in Query() 145 if (cameraList.empty()) { in GetCameras() 241 if (!supportedModes.empty()) { in CreateDHItem()
|
/foundation/distributedhardware/distributed_audio/services/audiomanager/managersink/src/ |
H A D | daudio_sink_manager.cpp | 136 if (eventContent.length() > DAUDIO_MAX_JSON_LEN || eventContent.empty()
in HandleDAudioNotify() 431 if (srcUdid.empty()) {
in CheckDeviceSecurityLevel() 432 DHLOGE("src udid is empty");
in CheckDeviceSecurityLevel() 436 if (dstUdid.empty()) {
in CheckDeviceSecurityLevel() 437 DHLOGE("dst udid is empty");
in CheckDeviceSecurityLevel() 489 if (networkId.empty()) {
in GetUdidByNetworkId() 490 DHLOGE("networkId is empty!");
in GetUdidByNetworkId()
|
/foundation/distributeddatamgr/preferences/frameworks/ndk/src/ |
H A D | oh_preferences.cpp | 54 if (options->GetDataGroupId().empty()) { in GetPreferencesDir() 69 if (option == nullptr || option->fileName.empty() || in OH_Preferences_Open() 75 (option == nullptr), (option == nullptr) ? 1 : option->fileName.empty(), (errCode == nullptr), in OH_Preferences_Open() 476 if (keys.empty()) { in UnregisterDataObserver()
|
/foundation/distributedhardware/distributed_audio/services/audioclient/spkclient/src/ |
H A D | dspeaker_client.cpp | 124 if (dataQueue_.empty()) { in OnWriteData() 126 DHLOGD("Pop spk data, dataQueue is empty. write empty data."); in OnWriteData() 281 [this]() { return !dataQueue_.empty(); }); in PlayThreadRunning() 282 if (dataQueue_.empty()) { in PlayThreadRunning() 333 if (dataQueue_.empty()) { in FlushJitterQueue()
|
/foundation/distributedhardware/distributed_camera/services/data_process/src/pipeline_node/multimedia_codec/encoder/ |
H A D | encode_data_process.cpp | 216 CHECK_AND_RETURN_RET_LOG(ENCODER_BITRATE_TABLE.empty(), DCAMERA_OK, "%{public}s", in InitEncoderBitrateFormat() 321 if (inputBuffers.empty() || inputBuffers[0] == nullptr) { in ProcessData() 322 DHLOGE("The input data buffers is empty."); in ProcessData() 492 if (outputBuffers.empty()) { in EncodeDone() 493 DHLOGE("The received data buffers is empty."); in EncodeDone() 533 if (encodeOutputFormat_.GetFormatMap().empty()) { in OnOutputFormatChanged()
|
/foundation/distributedhardware/distributed_input/interfaces/ipc/src/ |
H A D | distributed_input_source_stub.cpp | 322 if (dhid.empty()) { in HandleStartDhidRemoteInput() 323 DHLOGE("HandleStartDhidRemoteInput dhid is empty"); in HandleStartDhidRemoteInput() 359 if (dhid.empty()) { in HandleStopDhidRemoteInput() 360 DHLOGE("HandleStopDhidRemoteInput dhid is empty"); in HandleStopDhidRemoteInput() 397 if (dhid.empty()) { in HandleStartRelayDhidRemoteInput() 398 DHLOGE("HandleStartRelayDhidRemoteInput dhid is empty"); in HandleStartRelayDhidRemoteInput() 435 if (dhid.empty()) { in HandleStopRelayDhidRemoteInput() 436 DHLOGE("HandleStopRelayDhidRemoteInput dhid is empty"); in HandleStopRelayDhidRemoteInput()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/recording/ |
H A D | draw_cmd_list.cpp | 131 return drawOpItems_.empty(); in IsEmpty() 182 if (replacedOpListForVector_.empty()) { in MarshallingDrawOps() 290 if (!replacedOpListForBuffer_.empty() && offset >= replacedOpListForBuffer_[0].second) { in UnmarshallingDrawOps() 520 if (drawOpItems_.empty()) { in PlaybackByVector()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
H A D | overlay_manager.cpp | 638 if (menuMap_.empty()) { in UpdateContextMenuDisappearPosition() 666 if (menuMap_.empty() || IsOriginDragMoveVector() || !IsUpdateDragMoveVector()) { in CalculateMenuPosition() 714 if (menuMap_.empty()) { in ContextMenuSwitchDragPreviewAnimation() 1504 if (container->IsDialogContainer() || (container->IsSubContainer() && rootNode->GetChildren().empty())) { in PopToast() 1879 if (customPopupMap_.empty()) { in RemoveIndexerPopupById() 1895 if (customPopupMap_.empty()) { in RemoveIndexerPopup() 1911 if (popupMap_.empty()) { in HideCustomPopups() 1944 if (popupMap_.empty()) { in HideAllPopups() 2134 if (menuMap_.empty()) { in HideMenuInSubWindow() 2540 if (dialogMap_.empty()) { in ReloadBuilderNodeConfig() [all...] |
/foundation/arkui/ace_engine/adapter/ohos/osal/ |
H A D | js_accessibility_manager.cpp | 271 if (!children.empty()) { in CheckInvalidNodeParentID() 401 if (!actionForLog.empty()) { in UpdateAccessibilityNodeInfo() 450 while (!children.empty()) { in UpdateCacheInfo() 466 while (!accessibilityIdQueue.empty()) { in SortAccessibilityInfosByBreadth() 570 if (!node->GetChildList().empty()) { in FindAccessibilityFocus() 627 if (node->GetChildren(true).empty()) { in FindAccessibilityFocus() 664 if (!node->GetChildList().empty()) { in FindInputFocus() 723 if (!node->GetChildList().empty()) { in FindText() 742 if (!node->GetChildren(true).empty()) { in FindText() 776 while (!nodes.empty()) { in GetFramenodeByAccessibilityId() [all...] |
/foundation/CastEngine/castengine_wifi_display/services/mediachannel/ |
H A D | buffer_dispatcher.cpp | 569 if (!idleVideoBuffer_.empty()) { in RequestDataBuffer() 580 if (!idleAudioBuffer_.empty()) { in RequestDataBuffer() 689 if (circularBuffer_.empty()) { in AttachReceiver() 694 SHARING_LOGD("BufferDispatcher Attach when buffer empty RecvId: %{public}d.", receiver->GetReceiverId()); in AttachReceiver() 705 SHARING_LOGD("BufferDispatcher Attach when Keyindex List empty RecvId: %{public}d.", in AttachReceiver() 708 if (!keyIndexList_.empty()) { in AttachReceiver() 1116 if (!keyIndexList_.empty() && keyIndexList_.back() > 0) { in EraseOldGopDatas() 1153 if (circularBuffer_.empty()) { in DeleteHeadDatas() 1187 if (!keyIndexList_.empty() && keyIndexList_.front() == 0) { in UpdateIndex() 1231 if (circularBuffer_.empty()) { in FindLastIndex() [all...] |
/foundation/arkui/ace_engine/adapter/ohos/capability/html/ |
H A D | html_to_span.cpp | 73 if (!font.empty()) { in ParseFontFamily() 210 if (str.empty()) { in FromString() 211 LOGE("UITree |ERROR| empty string"); in FromString() 387 if (!unit.empty()) { in InitLineHeight() 470 if (!attribute[FIRST_PARAM].empty()) { in InitShadow() 473 if (!attribute[SECOND_PARAM].empty()) { in InitShadow() 476 if (!attribute[THIRD_PARAM].empty()) { in InitShadow() 479 if (!attribute[FOUTH_PARAM].empty()) { in InitShadow() 486 return !str.empty() && in IsLength() 689 if (src.empty()) { in HandleImagePixelMap() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/form/ |
H A D | form_test_ng.cpp | 1143 ASSERT_EQ(event.GetTouches().empty(), false); in HWTEST_F() 1168 ASSERT_EQ(event.GetTouches().empty(), false); in HWTEST_F() 1210 ASSERT_EQ(pattern->formLinkInfos_.empty(), false); in HWTEST_F() 1215 ASSERT_EQ(pattern->formLinkInfos_.empty(), true); in HWTEST_F() 1237 ASSERT_EQ(pattern->formLinkInfos_.empty(), true); in HWTEST_F() 1248 ASSERT_EQ(pattern->formLinkInfos_.empty(), false); in HWTEST_F() 1252 ASSERT_EQ(pattern->formLinkInfos_.empty(), false); in HWTEST_F() 1276 ASSERT_EQ(pattern->formLinkInfos_.empty(), false); in HWTEST_F() 1281 ASSERT_EQ(pattern->formLinkInfos_.empty(), false); in HWTEST_F() 1285 ASSERT_EQ(pattern->formLinkInfos_.empty(), tru in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper/ |
H A D | swiper_layout_algorithm.cpp | 219 if (itemPosition_.empty()) { in Measure() 221 } else if (itemPositionInAnimation_.empty()) { in Measure() 250 if (!itemPosition_.empty()) { in Measure() 273 if (!hasCachedCapture_ || itemPosition_.empty()) { in CaptureMeasure() 385 if (itemPosition_.empty()) { in GetChildMaxSize() 457 if (!itemPosition_.empty()) { in MeasureSwiper() 535 itemPosition_.empty() ? 0.0f : itemPosition_.begin()->second.startPos - spaceWidth_; in MeasureSwiper() 567 if (isMeasureOneMoreItem_ && !itemPosition_.empty() && measureIndex == GetLoopIndex(itemPosition_.begin()->first)) { in LayoutForwardItem() 614 if (isMeasureOneMoreItem_ && !itemPosition_.empty() && in LayoutBackwardItem() 752 if (LessNotEqual(currentEndPos, endMainPos_) && !itemPosition_.empty()) { in LayoutForward() [all...] |
/foundation/communication/netstack/frameworks/js/napi/tls/src/ |
H A D | tls_socket_server.cpp | 93 return !result.empty();
in SeekIntersection() 475 if (!protocolVec.empty()) {
in SetLocalTlsConfiguration() 533 if (cipherSuite.empty()) {
in GetCipherSuite() 555 if (signatureAlgorithms.empty()) {
in GetSignatureAlgorithms() 762 if (!cipherSuite.empty()) {
in TlsAcceptToHost() 766 if (!signatureAlgorithms.empty()) {
in TlsAcceptToHost() 770 if (!protocolVec.empty()) {
in TlsAcceptToHost() 793 if (data.empty()) {
in Send() 794 NETSTACK_LOGI("data is empty");
in Send() 1160 if (!dnsNames.empty() || inde in CheckIpAndDnsName() [all...] |
/foundation/ability/form_fwk/test/unittest/fms_form_data_mgr_test/ |
H A D | fms_form_data_mgr_test.cpp | 75 while (!formDataMgr_.formRecords_.empty()) { in TearDown() 78 if (!formDataMgr_.clientRecords_.empty()) { in TearDown() 81 if (!formDataMgr_.tempForms_.empty()) { in TearDown() 84 if (!FormDbCache::GetInstance().formDBInfos_.empty()) { in TearDown() 111 * temporaryFlag is true, and tempForms is empty, then create a tempForm. 112 * formRecords_ is empty, then create formRecords. 250 * 获取配置项scheduledUpdateTime_为empty 467 * tempForms_ is empty. 594 EXPECT_EQ(true, formDataMgr_.tempForms_.empty()); in HWTEST_F() 964 EXPECT_EQ(true, formHostRecords.empty()); in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
H A D | jsi_canvas_bridge.cpp | 1965 if (argv.empty() || argc == 0) { in JsFillStyleSetter() 2005 if (argv.empty() || argc == 0) { in JsStrokeStyleSetter() 2045 if (argv.empty() || argc == 0) { in JsLineCapSetter() 2074 if (argv.empty() || argc == 0) { in JsLineJoinSetter() 2103 if (argv.empty() || argc == 0) { in JsMiterLimitSetter() 2126 if (argv.empty() || argc == 0) { in JsLineWidthSetter() 2149 if (argv.empty() || argc == 0) { in JsTextAlignSetter() 2173 if (argv.empty() || argc == 0) { in JsTextBaselineSetter() 2198 if (argv.empty() || argc == 0) { in JsFontSetter() 2243 if (argv.empty() || arg in JsAlphaSetter() [all...] |
/foundation/distributeddatamgr/relational_store/frameworks/js/napi/relationalstore/src/ |
H A D | napi_rdb_store.cpp | 299 CHECK_RETURN_SET(!context->tableName.empty(), std::make_shared<ParamError>("table", "not empty string.")); in ParseTableName() 315 CHECK_RETURN_SET(!context->columnName.empty(), std::make_shared<ParamError>("columnName", "not empty string.")); in ParseColumnName() 322 CHECK_RETURN_SET(!context->keys.empty(), std::make_shared<ParamError>("PRIKey", "number or string.")); in ParsePrimaryKey() 329 CHECK_RETURN_SET(!context->device.empty(), std::make_shared<ParamError>("device", "not empty")); in ParseDevice() 336 CHECK_RETURN_SET(ret == napi_ok, std::make_shared<ParamError>("tablesNames", "not empty string.")); in ParseTablesName() 437 CHECK_RETURN_SET(!context->srcName.empty(), std::make_shared<ParamError>("srcName", "not empty")); in ParseSrcName() [all...] |
/foundation/distributeddatamgr/pasteboard/services/core/src/ |
H A D | pasteboard_service.cpp | 380 if (bundles_.empty()) { in IsDefaultIME() 892 PASTEBOARD_HILOGW(PASTEBOARD_MODULE_SERVICE, "record do not has empty value."); in GetDelayPasteRecord() 900 if (entries.empty()) { in GetDelayPasteRecord() 997 if (deviceId.empty()) { in PasteComplete() 1061 if (!item->isConvertUriFromRemote && !item->GetConvertUri().empty()) { in CheckUriPermission() 1065 if (item->isConvertUriFromRemote && !item->GetConvertUri().empty()) { in CheckUriPermission() 1088 if (pasteData == nullptr || bundles.empty()) { in RevokeUriPermission() 1133 if (uris.empty()) { in CheckAppUriPermission() 1330 if (events.empty()) { in GetValidDistributeEvent() 1331 PASTEBOARD_HILOGI(PASTEBOARD_MODULE_SERVICE, "events empty in GetValidDistributeEvent() [all...] |
/foundation/multimedia/media_library/frameworks/js/src/ |
H A D | media_library_napi.cpp | 810 if (!tmp.empty()) { in DealWithCommonParam() 816 if (!tmp.empty()) { in DealWithCommonParam() 822 if (!tmp.empty()) { in DealWithCommonParam() 828 if (!tmp.empty()) { in DealWithCommonParam() 834 if (!tmp.empty()) { in DealWithCommonParam() 872 NAPI_ASSERT(env, argv != nullptr, "Argument list is empty"); in ConvertJSArgsToNative() 1038 if (!context->uri.empty()) { in GetFileAssetUpdateSelections() 1046 if (!fileId.empty()) { in GetFileAssetUpdateSelections() 1107 if (!context->networkId.empty()) { in GetFileAssetsExecute() 1299 if (!context->networkId.empty()) { in SetAlbumCoverUri() [all...] |
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/mission/ |
H A D | distributed_bm_storage_test.cpp | 466 EXPECT_EQ(dmsBmStorage_->bundleNameIdTables_.empty(), true);
in HWTEST_F() 539 EXPECT_EQ(distributedBundleInfo.bundleName.empty(), true);
in HWTEST_F() 543 EXPECT_EQ(distributedBundleInfo.bundleName.empty(), false);
in HWTEST_F()
|
/foundation/ability/idl_tool/idl_tool_2/codegen/HDI/type/ |
H A D | hdi_enum_type_emitter.cpp | 72 if (it->GetValue().empty()) {
in EmitCTypeDecl() 86 if (baseTypeName_.empty()) {
in EmitCppTypeDecl() 93 if (it->GetValue().empty()) {
in EmitCppTypeDecl()
|
/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/src/ |
H A D | prepared_model_service.cpp | 50 if (!modelCache.empty()) { in ExportModelCache() 51 HDF_LOGE("The parameters of ExportModelCache should be an empty vector."); in ExportModelCache() 343 if (m_inputs.empty()) { in GetMSInputsAndOutputs() 349 if (m_outputs.empty()) { in GetMSInputsAndOutputs()
|
/foundation/ability/form_fwk/services/src/ |
H A D | form_dump_mgr.cpp | 177 if (!formRecordInfo.hapSourceDirs.empty()) { in DumpFormInfo() 185 if (!formRecordInfo.formUserUids.empty()) { in DumpFormInfo() 337 if (!bundleFormInfo.supportDimensions.empty()) { in AppendBundleFormInfo()
|
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | nncompiled_cache.cpp | 44 if (caches.empty()) { in Save() 45 LOGE("[NNCompiledCache] Save failed, caches is empty."); in Save() 50 LOGE("[NNCompiledCache] Save failed, m_device is empty."); in Save() 68 if (cacheDir.empty()) { in Restore() 69 LOGE("[NNCompiledCache] Restore failed, cacheDir is empty."); in Restore() 73 if (!caches.empty()) { in Restore() 74 LOGE("[NNCompiledCache] Restore failed, caches is not empty."); in Restore() 79 LOGE("[NNCompiledCache] Restore failed, m_device is empty."); in Restore() 426 LOGE("[NNCompiledCache] GetCacheFileLength failed, unable to read huge or empty input stream, " in GetCacheFileLength()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | child_main_thread.cpp | 236 if (moduleName.empty()) { in HandleLoadArkTs() 402 if (!nativeLibPath.empty() && nativeLibPath.back() != '/') { in UpdateNativeChildLibModuleName() 423 if (!nativeLibraryPath.empty()) { in GetNativeLibPath()
|