/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/ |
D | permission_policy_test.cpp | 104 ASSERT_TRUE(policy->IsValid()); 123 ASSERT_FALSE(policy->IsValid()); 128 ASSERT_FALSE(policy->IsValid()); 147 ASSERT_FALSE(policy->IsValid()); 151 ASSERT_FALSE(policy->IsValid()); 170 ASSERT_FALSE(policy->IsValid()); 175 ASSERT_FALSE(policy->IsValid()); 194 ASSERT_FALSE(policy->IsValid()); 199 ASSERT_FALSE(policy->IsValid()); 219 EXPECT_FALSE(policy->IsValid()); [all …]
|
/base/hiviewdfx/hitrace/test/unittest/common/native/ |
D | hitracechaincpp_test.cpp | 76 EXPECT_EQ(0, initId.IsValid()); 88 EXPECT_EQ(1, initId.IsValid()); 97 EXPECT_EQ(1, getId.IsValid()); 107 EXPECT_EQ(1, getId.IsValid()); 115 EXPECT_EQ(0, clearId.IsValid()); 141 EXPECT_EQ(0, initId.IsValid()); 151 EXPECT_EQ(1, initId.IsValid()); 164 EXPECT_EQ(0, bytesToId.IsValid()); 166 EXPECT_EQ(0, bytesToId.IsValid()); 168 EXPECT_EQ(1, bytesToId.IsValid()); [all …]
|
/base/update/updater/services/ui/view/page/ |
D | sub_page.cpp | 40 if (!IsValid()) { in BuildSubPage() 85 if (!IsValid()) { in SetVisible() 114 if (!IsValid()) { in GetView() 120 bool SubPage::IsValid() const in IsValid() function in Updater::SubPage 122 if (basePage_ == nullptr || !basePage_->IsValid()) { in IsValid() 131 if (!IsValid()) { in IsValidCom() 143 if (!IsValid()) { in operator []()
|
D | sub_page.h | 32 bool IsValid() const override;
|
D | page.h | 35 [[nodiscard]] virtual bool IsValid() const = 0;
|
D | base_page.h | 36 bool IsValid() const override;
|
/base/update/updater/test/unittest/updater_ui_test/view/ |
D | ui_component_unittest.cpp | 75 EXPECT_FALSE(BoxProgressAdapter::IsValid(UxBoxProgressInfo {101, "", "", "", false})); 76 EXPECT_FALSE(BoxProgressAdapter::IsValid(UxBoxProgressInfo {50, "#", "", "", false})); 77 EXPECT_FALSE(BoxProgressAdapter::IsValid(UxBoxProgressInfo {50, "#000000ff", "", "", false})); 78 …EXPECT_FALSE(BoxProgressAdapter::IsValid(UxBoxProgressInfo {50, "#000000ff", "#000000ff", "", true… 79 …EXPECT_TRUE(BoxProgressAdapter::IsValid(UxBoxProgressInfo {50, "#000000ff", "#000000ff", "", false… 234 EXPECT_FALSE(ImgViewAdapter::IsValid(UxImageInfo {"", "", 100, 0})); 235 EXPECT_TRUE(ImgViewAdapter::IsValid(UxImageInfo {"resPath", "", 100, 0})); 238 EXPECT_FALSE(ImgViewAdapter::IsValid(UxImageInfo {"", "", 100, 10})); 239 EXPECT_FALSE(ImgViewAdapter::IsValid(UxImageInfo {"dir/", "", 100, 10})); 240 EXPECT_FALSE(ImgViewAdapter::IsValid(UxImageInfo {"dir/", "filePrefix", maxImgCnt + 1, 10})); [all …]
|
/base/notification/eventhandler/frameworks/eventhandler/test/unittest/ |
D | lib_event_handler_trace_test.cpp | 53 EXPECT_TRUE(traceId->IsValid()); in ProcessEvent() 83 EXPECT_TRUE(eventTraceId->IsValid()); in ProcessEvent() 97 EXPECT_FALSE(eventTraceId->IsValid()); in ProcessEvent() 206 EXPECT_TRUE(traceId->IsValid()); 207 EXPECT_TRUE(eventTraceId->IsValid()); 237 EXPECT_TRUE(traceId.IsValid()); in __anon084c07880202() 273 EXPECT_FALSE(traceId.IsValid()); in __anon084c07880402()
|
/base/update/sys_installer/services/module_update/util/include/ |
D | module_zip_helper.h | 32 bool IsValid() const in IsValid() function
|
/base/update/updater/services/ui/view/component/ |
D | text_label_adapter.h | 41 static bool IsValid(const UxLabelInfo &info);
|
D | box_progress_adapter.h | 46 static bool IsValid(const UxBoxProgressInfo &info);
|
D | component_factory.cpp | 42 … return [&specific] ([[maybe_unused]] const UxViewInfo &info) { return T::IsValid(specific); }; in operator ()()
|
D | label_btn_adapter.h | 46 static bool IsValid(const UxLabelBtnInfo &info);
|
D | img_view_adapter.h | 53 static bool IsValid(const UxImageInfo &info);
|
D | text_label_adapter.cpp | 36 bool TextLabelAdapter::IsValid(const UxLabelInfo &info) in IsValid() function in Updater::TextLabelAdapter
|
/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace/ |
D | hitraceid.h | 33 bool IsValid() const;
|
/base/update/sys_installer/services/module_update/util/src/ |
D | module_zip_helper.cpp | 76 if (IsValid()) { in ~ModuleZipHelper() 86 if (!IsValid()) { in GetNumberOfEntry() 102 if (!IsValid()) { in LocateFile()
|
/base/sensors/sensor/frameworks/native/sensor/src/ |
D | sensor_agent_proxy.cpp | 129 if (!SenClient.IsValid(sensorId)) { in ActivateSensor() 153 if (!SenClient.IsValid(sensorId)) { in DeactivateSensor() 176 if (!SenClient.IsValid(sensorId)) { in SetBatch() 199 if (!SenClient.IsValid(sensorId)) { in SubscribeSensor() 218 if (!SenClient.IsValid(sensorId)) { in UnsubscribeSensor() 242 if (!SenClient.IsValid(sensorId)) { in SetMode()
|
/base/hiviewdfx/faultloggerd/test/unittest/unwinder/ |
D | elf_test.cpp | 56 if (!elf->Init() || !elf->IsValid()) {
|
/base/sensors/miscdevice/frameworks/native/miscdevice/include/ |
D | light_client.h | 36 bool IsValid(int32_t lightId);
|
/base/account/os_account/frameworks/ohosaccount/native/src/ |
D | ohos_account_kits_impl.cpp | 107 if (!ohosAccountInfo.IsValid()) { in SetOhosAccountInfo() 122 if (!ohosAccountInfo.IsValid()) { in SetOhosAccountInfoByUserId()
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/include/ |
D | event_query_wrapper_builder.h | 71 bool IsValid() const; 127 bool IsValid() const;
|
/base/hiviewdfx/hitrace/frameworks/native/ |
D | hitraceid.cpp | 43 bool HiTraceId::IsValid() const in IsValid() function in OHOS::HiviewDFX::HiTraceId
|
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/src/ |
D | user_auth_widget_mgr_v10.cpp | 122 if (callbackRef == nullptr || !callbackRef->IsValid()) { in On() 168 if (callbackRef == nullptr || !callbackRef->IsValid()) { in Off()
|
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/ |
D | write_controller.cpp | 42 if (!stat.IsValid()) { in CheckLimitWritingEvent()
|