Home
last modified time | relevance | path

Searched refs:IsValid (Results 1 – 25 of 52) sorted by relevance

123

/base/hiviewdfx/hitrace/test/unittest/common/native/
Dhitracechaincpp_test.cpp76 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/
Dsub_page.cpp40 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 []()
Dsub_page.h32 bool IsValid() const override;
Dpage.h35 [[nodiscard]] virtual bool IsValid() const = 0;
Dbase_page.h36 bool IsValid() const override;
/base/update/updater/test/unittest/updater_ui_test/view/
Dui_component_unittest.cpp73 EXPECT_FALSE(BoxProgressAdapter::IsValid(UxBoxProgressInfo {101, "", "", "", false}));
74 EXPECT_FALSE(BoxProgressAdapter::IsValid(UxBoxProgressInfo {50, "#", "", "", false}));
75 EXPECT_FALSE(BoxProgressAdapter::IsValid(UxBoxProgressInfo {50, "#000000ff", "", "", false}));
76 …EXPECT_FALSE(BoxProgressAdapter::IsValid(UxBoxProgressInfo {50, "#000000ff", "#000000ff", "", true…
77 …EXPECT_TRUE(BoxProgressAdapter::IsValid(UxBoxProgressInfo {50, "#000000ff", "#000000ff", "", false…
231 EXPECT_FALSE(ImgViewAdapter::IsValid(UxImageInfo {"", "", 100, 0}));
232 EXPECT_TRUE(ImgViewAdapter::IsValid(UxImageInfo {"resPath", "", 100, 0}));
235 EXPECT_FALSE(ImgViewAdapter::IsValid(UxImageInfo {"", "", 100, 10}));
236 EXPECT_FALSE(ImgViewAdapter::IsValid(UxImageInfo {"dir/", "", 100, 10}));
237 EXPECT_FALSE(ImgViewAdapter::IsValid(UxImageInfo {"dir/", "filePrefix", maxImgCnt + 1, 10}));
[all …]
/base/notification/eventhandler/frameworks/eventhandler/test/unittest/
Dlib_event_handler_trace_test.cpp53 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 __anonbd34842a0202()
273 EXPECT_FALSE(traceId.IsValid()); in __anonbd34842a0402()
/base/sensors/sensor/frameworks/native/sensor/src/
Dsensor_agent_proxy.cpp143 if (!SenClient.IsValid(sensorId)) { in ActivateSensor()
167 if (!SenClient.IsValid(sensorId)) { in DeactivateSensor()
190 if (!SenClient.IsValid(sensorId)) { in SetBatch()
213 if (!SenClient.IsValid(sensorId)) { in SubscribeSensor()
232 if (!SenClient.IsValid(sensorId)) { in UnsubscribeSensor()
256 if (!SenClient.IsValid(sensorId)) { in SetMode()
/base/update/updater/services/ui/view/component/
Dtext_label_adapter.h31 static bool IsValid(const UxLabelInfo &info);
Dbox_progress_adapter.h36 static bool IsValid(const UxBoxProgressInfo &info);
Dlabel_btn_adapter.h33 static bool IsValid(const UxLabelBtnInfo &info);
Dimg_view_adapter.h44 static bool IsValid(const UxImageInfo &info);
Dcomponent_factory.cpp46 … return [&specific] ([[maybe_unused]] const UxViewInfo &info) { return T::IsValid(specific); }; in operator ()()
Dtext_label_adapter.cpp40 bool TextLabelAdapter::IsValid(const UxLabelInfo &info) in IsValid() function in Updater::TextLabelAdapter
/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace/
Dhitraceid.h32 bool IsValid() const;
/base/sensors/miscdevice/frameworks/native/miscdevice/include/
Dlight_client.h35 bool IsValid(int32_t lightId);
/base/sensors/sensor/frameworks/native/sensor/include/
Dsensor_service_client.h44 bool IsValid(uint32_t sensorId);
/base/hiviewdfx/hitrace/frameworks/native/
Dhitraceid.cpp43 bool HiTraceId::IsValid() const in IsValid() function in OHOS::HiviewDFX::HiTraceId
/base/sensors/miscdevice/services/miscdevice_service/src/
Dmiscdevice_service.cpp112 bool MiscdeviceService::IsValid(int32_t lightId) in IsValid() function in OHOS::Sensors::MiscdeviceService
311 if (!IsValid(lightId)) { in TurnOn()
330 if (!IsValid(lightId)) { in TurnOff()
/base/hiviewdfx/hisysevent/interfaces/native/innerkits/hisysevent/
Dwrite_controller.cpp43 if (!stat.IsValid()) { in CheckLimitWritingEvent()
/base/hiviewdfx/faultloggerd/tools/process_dump/
Ddfx_maps.h32 bool IsValid();
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/inc/
Duser_auth_napi_helper.h58 bool IsValid() const;
/base/notification/eventhandler/frameworks/eventhandler/include/
Devent_handler_utils.h73 if ((!traceId) || (!traceId->IsValid())) { in AllowHiTraceOutPut()
/base/sensors/miscdevice/services/miscdevice_service/include/
Dmiscdevice_service.h54 bool IsValid(int32_t lightId);
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/
Dhiappevent_write.cpp71 if (!hitraceId.IsValid()) { in TraceAppEventPack()

123