/base/inputmethod/imf/test/unittest/cpp_test/src/ |
H A D | input_method_private_member_test.cpp | 212 EXPECT_TRUE(inputMethodInfos.empty()); in HWTEST_F() 226 EXPECT_TRUE(props.empty()); in HWTEST_F() 334 EXPECT_TRUE(cfg.currentSubName.empty()); in HWTEST_F() 335 EXPECT_TRUE(cfg.currentIme.empty()); in HWTEST_F() 529 // currentIme is empty in HWTEST_F() 562 // currentIme is empty in HWTEST_F() 586 // currentIme is empty in HWTEST_F() 603 // currentIme is empty in HWTEST_F() 653 EXPECT_TRUE(ImeCfgManager::GetInstance().imeConfigs_.empty()); in HWTEST_F() 734 // currentIme is empty in HWTEST_F() [all...] |
/base/print/print_fwk/interfaces/kits/napi/print_napi/src/ |
H A D | napi_print_ext.cpp | 53 if (context->printerInfos.empty()) { in AddPrinters() 102 if (context->printerIds.empty()) { in RemovePrinters() 153 if (context->printerInfos.empty()) { in UpdatePrinters() 547 if (context->printerInfos.empty()) { in AddPrinterToDiscovery() 549 PRINT_HILOGE("printerInfos is empty!"); in AddPrinterToDiscovery() 598 if (context->printerInfos.empty()) { in UpdatePrinterInDiscovery() 600 PRINT_HILOGE("printerInfos is empty!"); in UpdatePrinterInDiscovery()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/ |
H A D | permission_manager.cpp | 359 if (permRequestToggleStatusRes.empty()) { in FindPermRequestToggleStatusFromDb() 664 if ((scopeRes.tokenIDs.empty()) && (!scopeSrc.tokenIDs.empty())) { in ScopeFilter() 668 if ((scopeRes.permList.empty()) && (!scopeSrc.permList.empty())) { in ScopeFilter()
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/ability_runtime/ |
H A D | js_ability.cpp | 126 if (srcPath.empty()) { in Init() 156 if (!abilityInfo->srcPath.empty()) { in GenerateSrcPath() 161 if (abilityInfo->srcEntrance.empty()) { in GenerateSrcPath() 162 TAG_LOGE(AAFwkTag::ABILITY, "abilityInfo srcEntrance empty"); in GenerateSrcPath() 678 if (flag && !strDisplayId.empty()) { in InitWindowScene() 1065 if (GetApplicationInfo() == nullptr || GetApplicationInfo()->bundleName.empty()) { in CreateADelegatorAbilityProperty()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/ |
H A D | calendar_month_pattern.cpp | 170 if (!obtainedMonth_.days.empty()) { in SetVirtualNodeUserSelected() 186 if (!selectMessage.empty()) { in SetVirtualNodeUserSelected() 291 if (!obtainedMonth_.days.empty()) { in OnClick() 311 if (!isCalendarDialog_ || obtainedMonth_.days.empty()) { in OnTouchEvent() 330 if (!isCalendarDialog_ || obtainedMonth_.days.empty()) { in OnHoverEvent()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/ |
H A D | dialog_layout_algorithm.cpp | 99 if (children.empty()) { in Measure() 229 if (dialogPattern->GetTitle().empty() && dialogPattern->GetSubtitle().empty()) { in AnalysisLayoutOfContent() 532 if (children.empty()) { in Layout() 906 if (!foldCreaseRects.empty()) { in UpdateSafeArea()
|
/foundation/arkui/ace_engine/frameworks/core/components/tween/ |
H A D | tween_element.cpp | 547 LOGE("no tween component found. return empty child."); in BuildChild() 809 LOGE("set controller failed. controller is empty."); in SetController() 836 if (children_.empty()) { in SetOpacity() 874 if (children_.empty()) { in SetWrapHidden() 898 if (children_.empty()) { in SetTouchable() 966 if (children_.empty()) { in ApplyKeyframes() 1084 if (propertyFloatMap.empty()) { in CreatePropertyAnimationFloat()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | navigation_title_util.cpp | 388 !barItem.text.value().empty()) { in UpdateBarItemNodeWithItem() 561 if (message.empty()) { in CreatePopupDialogNode() 578 if (menuItem.text.has_value() && !menuItem.text.value().empty()) { in CreatePopupDialogNode() 586 if (menuItem.icon.has_value() && !menuItem.icon.value().empty()) { in CreatePopupDialogNode() 933 return !foldCreaseRects.empty() && isParentFullPage; in IsNeedHoverModeAction()
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/event/ |
H A D | gesture_event_hub.cpp | 157 if (!longPressRecognizers.empty()) { in ProcessDragEventTouchTestHit() 861 if (!responseRegion_.empty()) { in SetResponseRegion() 871 if (responseRegion_.empty()) { in RemoveLastResponseRect() 876 if (responseRegion_.empty()) { in RemoveLastResponseRect() 1170 if (!mouseResponseRegion_.empty()) { in SetMouseResponseRegion()
|
/foundation/arkui/ace_engine/frameworks/core/components/calendar/ |
H A D | rosen_render_calendar.cpp | 364 if (!day.dayMark.empty() && showHoliday_ && type_ == CalendarType::SIMPLE) { in PaintDay() 372 !day.dayMark.empty() && showHoliday_) { in PaintDay() 392 if (!day.dayMark.empty() && showHoliday_ && type_ != CalendarType::SIMPLE) { in PaintDay() 590 if (dataAdapter_->ShowLunar() && !day.lunarDay.empty()) { in HandleAdditionalConditions() 660 if (dataAdapter_->ShowLunar() && !day.lunarDay.empty()) { in DrawTvCalendar()
|
/foundation/arkui/ace_engine/frameworks/base/i18n/ |
H A D | localization.cpp | 200 if (!script.empty()) { in SetLocaleImpl() 203 if (!countryOrRegion.empty()) { in SetLocaleImpl() 523 if (!weekday.empty()) { in GetWeekdays() 803 if (lettersIndex.empty()) { in GetEntryLetters() 840 if (errorIndex.empty()) { in GetErrorDescription()
|
/foundation/arkui/ace_engine/test/unittest/core/layout/ |
H A D | layout_wrapper_test_ng.cpp | 300 * @tc.expected: the return value is empty. in HWTEST_F() 303 EXPECT_TRUE(retCachedList.empty()); in HWTEST_F() 313 * @tc.expected: the return value is not empty. in HWTEST_F() 316 EXPECT_FALSE(retCachedList.empty()); in HWTEST_F() 321 * @tc.expected: the return value is not empty. in HWTEST_F() 324 EXPECT_FALSE(retCachedList.empty()); in HWTEST_F() 347 * @tc.expected: the return value is not empty. in HWTEST_F() 351 EXPECT_FALSE(retCachedList.empty()); in HWTEST_F() 407 * @tc.expected: the return value is not empty. in HWTEST_F() 410 EXPECT_FALSE(retCachedList.empty()); in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/test/unittest/base/ |
H A D | base_utils_test.cpp | 609 * @tc.desc: Set an empty string 622 * @tc.desc: Set an empty string, check StringToDegree 789 * @tc.desc: splitString is empty 800 ASSERT_TRUE(stringOut.empty()); in HWTEST_F() 801 ASSERT_TRUE(dimOut.empty()); in HWTEST_F() 834 * @tc.desc: empty string 908 * @tc.desc: empty string 944 * @tc.desc: empty string 1162 EXPECT_TRUE(!result.empty()); in HWTEST_F() 1163 EXPECT_TRUE(!opStack.empty()); in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/pattern/calendar/ |
H A D | calendar_month_pattern_test.cpp | 622 * @tc.expected: currentData.days is empty, so immediately return. in HWTEST_F() 627 EXPECT_TRUE(currentData.days.empty()); in HWTEST_F() 681 * @tc.expected: buttonAccessibilityNodeVec_ is empty, so immediately return. in HWTEST_F() 685 EXPECT_TRUE(calendarMonthPattern->buttonAccessibilityNodeVec_.empty()); in HWTEST_F() 713 * @tc.expected: currentData.days is empty, so immediately return. in HWTEST_F() 719 EXPECT_TRUE(currentData.days.empty()); in HWTEST_F() 741 * @tc.expected: accessibilityText_ is empty, so immediately return. in HWTEST_F() 827 * @tc.expected: accessibilityText_ is empty, so selectedIndex_ not equal to index. in HWTEST_F() 860 * @tc.expected: accessibilityText_ is not empty, so selectedIndex_ equal index in HWTEST_F() 1016 * @tc.expected: obtainedMonth_.days is empty, s in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/ |
H A D | rating_pattern.cpp | 377 if (inspectorId.empty()) { in FireChangeEvent() 419 if (info.GetTouches().empty()) { in InitTouchEvent() 718 if (!iconPath.empty()) { in LoadForeground() 748 if (!iconPath.empty()) { in LoadSecondary() 776 if (!iconPath.empty()) { in LoadBackground()
|
/foundation/arkui/ace_engine/interfaces/napi/kits/router/ |
H A D | js_router.cpp | 526 napi_value params = paramsStr.empty() ? nullptr : ParseJSONParams(env, paramsStr); in JSRouterGetState() 565 if (routeName.empty()) { in JSGetStateByIndex() 579 if (!routeParams.empty()) { in JSGetStateByIndex() 634 if (!routeParams.empty()) { in JSGetStateByUrl() 825 if (paramsStr.empty()) { in JSRouterGetParams()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/avrcp_ct/ |
H A D | avrcp_ct_connection.cpp | 69 while (!ptInfo_.cmdQue_.empty()) { in ~AvrcCtConnectInfo() 77 while (!unInfo_.cmdQue_.empty()) { in ~AvrcCtConnectInfo() 85 while (!vdInfo_.cmdQue_.empty()) { in ~AvrcCtConnectInfo() 93 while (!brInfo_.cmdQue_.empty()) { in ~AvrcCtConnectInfo() 236 return infos_.empty(); in IsConnectInfoEmpty() 432 HILOGI("The PASS THROUGH packet is empty!"); in IsPassPacketEmpty()
|
/foundation/graphic/graphic_3d/kits/js/src/ |
H A D | SceneJS.cpp | 206 if (!uri.empty()) { in FetchResourceOrUri() 241 if (!uri.empty()) { in FetchResourceOrUri() 253 if (uri.empty()) { in Load() 393 while (!disposables_.empty()) { in DisposeNative() 404 while (!strongDisposables_.empty()) { in DisposeNative()
|
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/ |
H A D | rs_surface_render_node_two_test.cpp | 329 EXPECT_TRUE(!children.empty()); in HWTEST_F() 333 EXPECT_TRUE(!children.empty()); in HWTEST_F() 470 EXPECT_TRUE(!renderNode->childSubSurfaceNodes_.empty()); in HWTEST_F() 752 EXPECT_FALSE(testNode->GetChildrenNeedFilterRectsWithoutCacheValid().empty()); in HWTEST_F() 785 ASSERT_FALSE(node->childHardwareEnabledNodes_.empty()); in HWTEST_F()
|
/foundation/graphic/graphic_3d/lume/LumeEngine/api/core/json/ |
H A D | json.h | 450 bool empty() const noexcept 453 return object_.empty(); 455 return array_.empty(); 762 // handle empty object. 797 if (stack.empty()) { 812 // handle empty array. 816 // push the empty array on the stack and hope to find values 835 if (stack.empty()) {
|
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/mode/ |
H A D | profession_session_napi.cpp | 211 if (!meteringModes.empty()) {
in GetSupportedMeteringModes() 332 if (vecExposureList.empty() || napi_create_array(env, &result) != napi_ok) {
in GetExposureDurationRange() 437 if (!focusAssistFlashs.empty()) {
in GetSupportedFocusAssistFlashModes() 564 if (!vecIsoList.empty() && napi_create_array(env, &result) == napi_ok) {
in GetIsoRange() 572 MEDIA_ERR_LOG("vecIsoList is empty or failed to create array!");
in GetIsoRange() 691 if (!exposureHints.empty()) {
in GetSupportedExposureHintModes()
|
/foundation/multimodalinput/input/service/event_resample/test/ |
H A D | event_resample_test.cpp | 181 if ((event.action == PointerEvent::POINTER_ACTION_UP) && (!eventBatch.empty())) { in AddEvent() 197 if (eventBatch.empty()) { in CalculateExpected() 198 MMI_HILOGD("Event Batch empty"); in CalculateExpected() 231 if (eventBatch.empty()) { in ResampleCoord() 309 if (pointIds.empty()) { in SetupPointerEvent() 446 while (!eventQueue_.empty()) { in ReadQueue()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/ |
H A D | netsys_native_service.cpp | 427 if (virnicAddr.empty() || iif.empty()) { in EnableDistributedClientNet() 428 NETNATIVE_LOGE("EnableDistributedClientNet param is empty."); in EnableDistributedClientNet() 439 if (iif.empty() || devIface.empty() || dstAddr.empty()) { in EnableDistributedServerNet() 440 NETNATIVE_LOGE("EnableDistributedServerNet param is empty."); in EnableDistributedServerNet()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_scan/ |
H A D | scan_state_machine.cpp | 244 if (wifiCountryCode.empty()) { in HandleUpdateCountryCode() 828 if (hiddenSsid.empty()) { in GetCommonScanConfig() 883 /* When scanFreqs is empty, it means that scan all frequenties */ in StartNewCommonScan() 884 if (configIter->second.scanFreqs.empty()) { in StartNewCommonScan() 989 /* When scanFreqs is empty, it means that scan all frequenties */ in ActiveCoverNewScan() 1497 if (hiddenSsid.empty()) { in GetPnoScanConfig() 1508 if (savedSizeStr.empty()) { in GetPnoScanConfig()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/matrix/src/ |
H A D | device_matrix.cpp | 65 if (meta.empty()) { in DeviceMatrix() 184 if (device.empty() || !dataLevel.IsValid()) { in OnBroadcast() 337 if (device.empty() || dataLevel.switches == INVALID_VALUE || in SaveSwitches() 463 if (device.empty() || type < LevelType::STATICS || type > LevelType::DYNAMIC) { in OnExchanged() 677 if (device.empty() || type < 0 || type >= LevelType::BUTT) { in UpdateLevel()
|