/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 | 73 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/ |
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 __anonbd34842a0202() 273 EXPECT_FALSE(traceId.IsValid()); in __anonbd34842a0402()
|
/base/sensors/sensor/frameworks/native/sensor/src/ |
D | sensor_agent_proxy.cpp | 143 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/ |
D | text_label_adapter.h | 31 static bool IsValid(const UxLabelInfo &info);
|
D | box_progress_adapter.h | 36 static bool IsValid(const UxBoxProgressInfo &info);
|
D | label_btn_adapter.h | 33 static bool IsValid(const UxLabelBtnInfo &info);
|
D | img_view_adapter.h | 44 static bool IsValid(const UxImageInfo &info);
|
D | component_factory.cpp | 46 … return [&specific] ([[maybe_unused]] const UxViewInfo &info) { return T::IsValid(specific); }; in operator ()()
|
D | text_label_adapter.cpp | 40 bool TextLabelAdapter::IsValid(const UxLabelInfo &info) in IsValid() function in Updater::TextLabelAdapter
|
/base/hiviewdfx/hitrace/interfaces/native/innerkits/include/hitrace/ |
D | hitraceid.h | 32 bool IsValid() const;
|
/base/sensors/miscdevice/frameworks/native/miscdevice/include/ |
D | light_client.h | 35 bool IsValid(int32_t lightId);
|
/base/sensors/sensor/frameworks/native/sensor/include/ |
D | sensor_service_client.h | 44 bool IsValid(uint32_t sensorId);
|
/base/hiviewdfx/hitrace/frameworks/native/ |
D | hitraceid.cpp | 43 bool HiTraceId::IsValid() const in IsValid() function in OHOS::HiviewDFX::HiTraceId
|
/base/sensors/miscdevice/services/miscdevice_service/src/ |
D | miscdevice_service.cpp | 112 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/ |
D | write_controller.cpp | 43 if (!stat.IsValid()) { in CheckLimitWritingEvent()
|
/base/hiviewdfx/faultloggerd/tools/process_dump/ |
D | dfx_maps.h | 32 bool IsValid();
|
/base/useriam/user_auth_framework/frameworks/js/napi/user_auth/inc/ |
D | user_auth_napi_helper.h | 58 bool IsValid() const;
|
/base/notification/eventhandler/frameworks/eventhandler/include/ |
D | event_handler_utils.h | 73 if ((!traceId) || (!traceId->IsValid())) { in AllowHiTraceOutPut()
|
/base/sensors/miscdevice/services/miscdevice_service/include/ |
D | miscdevice_service.h | 54 bool IsValid(int32_t lightId);
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/ |
D | hiappevent_write.cpp | 71 if (!hitraceId.IsValid()) { in TraceAppEventPack()
|