Home
last modified time | relevance | path

Searched refs:pageIndex (Results 1 - 13 of 13) sorted by relevance

/foundation/communication/nfc/interfaces/inner_api/tags/
H A Dmifare_ultralight_tag.cpp62 int MifareUltralightTag::ReadMultiplePages(uint32_t pageIndex, std::string &hexRespData) in ReadMultiplePages() argument
68 if (pageIndex < MU_MAX_PAGE_COUNT) { in ReadMultiplePages()
71 sendCommand += NfcSdkCommon::UnsignedCharToHexString(pageIndex & 0xFF); in ReadMultiplePages()
77 int MifareUltralightTag::WriteSinglePage(uint32_t pageIndex, const std::string& data) in WriteSinglePage() argument
83 if (pageIndex < MU_MAX_PAGE_COUNT && in WriteSinglePage()
87 sendCommand += NfcSdkCommon::UnsignedCharToHexString(pageIndex & 0xFF); in WriteSinglePage()
H A Dmifare_ultralight_tag.h46 * @param pageIndex index of page to read
50 int ReadMultiplePages(uint32_t pageIndex, std::string &hexRespData);
53 * @param pageIndex index of page to write
57 int WriteSinglePage(uint32_t pageIndex, const std::string& data);
/foundation/communication/nfc/test/fuzztest/tags_test/mifareultralighttag/mifareultralighttag_fuzzer/
H A Dmifareultralighttag_fuzzer.cpp93 uint32_t pageIndex = ConvertToUint32(data); in FuzzReadMultiplePages() local
95 mifareUltralightTag->ReadMultiplePages(pageIndex, hexRespData); in FuzzReadMultiplePages()
109 uint32_t pageIndex = ConvertToUint32(data); in FuzzWriteSinglePage() local
111 mifareUltralightTag->WriteSinglePage(pageIndex, hexRespData); in FuzzWriteSinglePage()
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/swiper_indicator/dot_indicator/
H A Doverlength_dot_indicator_modifier.cpp668 void OverlengthDotIndicatorModifier::InitOverlongSelectedIndex(int32_t pageIndex)
670 if (pageIndex < maxDisplayCount_ - 1 - THIRD_POINT_INDEX) {
671 targetSelectedIndex_ = pageIndex;
675 if (pageIndex >= maxDisplayCount_ - 1 - THIRD_POINT_INDEX && pageIndex < realItemCount_ - 1 - THIRD_POINT_INDEX) {
680 if (pageIndex >= maxDisplayCount_ - 1 - THIRD_POINT_INDEX && pageIndex == realItemCount_ - 1 - THIRD_POINT_INDEX) {
685 if (pageIndex >= maxDisplayCount_ - 1 - THIRD_POINT_INDEX && pageIndex == realItemCount_ - 1 - SECOND_POINT_INDEX) {
690 if (pageIndex >
[all...]
H A Doverlength_dot_indicator_modifier.h185 void InitOverlongStatus(int32_t pageIndex);
186 void InitOverlongSelectedIndex(int32_t pageIndex);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stage/
H A Dpage_info.h73 void SetPageIndex(int32_t pageIndex) in SetPageIndex() argument
75 pageIndex_ = pageIndex; in SetPageIndex()
/foundation/ai/ai_engine/interfaces/kits/cv/card_rectification/
H A Dcr_constants.h64 int pageIndex; // index of respondent cards member
/foundation/communication/nfc/test/unittest/services/tags_test/
H A Dmifare_ultralight_tag_test.cpp109 uint32_t pageIndex = MifareUltralightTag::MU_PAGE_SIZE; in HWTEST_F() local
112 int result = mifareUltralight->ReadMultiplePages(pageIndex, hexRespData); in HWTEST_F()
122 uint32_t pageIndex = MifareUltralightTag::MU_PAGE_SIZE; in HWTEST_F() local
125 int result = mifareUltralight->WriteSinglePage(pageIndex, hexRespData); in HWTEST_F()
/foundation/communication/nfc/frameworks/js/napi/tag/
H A Dnfc_napi_tag_mifare_ul.cpp38 if (!CheckParametersAndThrow(env, parameters, {napi_number}, "pageIndex", "number")) { in CheckReadMultiplePagesParameters()
44 "pageIndex & callback", "number & function")) { in CheckReadMultiplePagesParameters()
65 context->errorCode = nfcMifareUlTagPtr->ReadMultiplePages(context->pageIndex, hexRespData); in NativeReadMultiplePages()
106 napi_get_value_int32(env, params[ARGV_INDEX_0], &context->pageIndex); in ReadMultiplePages()
120 if (!CheckParametersAndThrow(env, parameters, {napi_number, napi_object}, "pageIndex & data", in CheckWriteSinglePagesParameters()
128 "pageIndex & data & callback", "number & number[] & function") || in CheckWriteSinglePagesParameters()
149 context->errorCode = nfcMifareUlTagPtr->WriteSinglePage(context->pageIndex, context->data); in NativeWriteSinglePages()
189 napi_get_value_int32(env, params[ARGV_INDEX_0], &context->pageIndex); in WriteSinglePage()
H A Dnfc_napi_tag_mifare_ul.h39 int pageIndex; member
/foundation/arkui/ace_engine/test/unittest/core/pattern/swiper/
H A Dswiper_overlength_indicator_modifier_test_ng.cpp528 int32_t pageIndex = 1; in HWTEST_F() local
529 indicatorModifier->InitOverlongSelectedIndex(pageIndex); in HWTEST_F()
530 EXPECT_EQ(indicatorModifier->targetSelectedIndex_, pageIndex); in HWTEST_F()
536 pageIndex = 7; in HWTEST_F()
537 indicatorModifier->InitOverlongSelectedIndex(pageIndex); in HWTEST_F()
544 pageIndex = 8; in HWTEST_F()
545 indicatorModifier->InitOverlongSelectedIndex(pageIndex); in HWTEST_F()
552 pageIndex = 9; in HWTEST_F()
553 indicatorModifier->InitOverlongSelectedIndex(pageIndex); in HWTEST_F()
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/
H A Dswiper_tdd_test.cpp106 const int pageIndex = 2; in ComponentSwiperAttributeSetTest001() local
107 if (swiperView->GetCurrentPage() == pageIndex) { in ComponentSwiperAttributeSetTest001()
112 EXPECT_EQ(swiperView->GetCurrentPage(), pageIndex); in ComponentSwiperAttributeSetTest001()
122 if (swiperView->GetCurrentPage() == pageIndex) { in ComponentSwiperAttributeSetTest001()
127 EXPECT_EQ(swiperView->GetCurrentPage(), pageIndex); in ComponentSwiperAttributeSetTest001()
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/common/distributeddb/src/
H A Ddistributed_test_tools.cpp233 for (int pageIndex = 0; pageIndex < pages; ++pageIndex) { in GetGroupEntries()
235 int pageStart = pageSize * pageIndex; in GetGroupEntries()
236 int pageEnd = (pageSize * (pageIndex + 1)) - 1; in GetGroupEntries()
240 MST_LOG("The %d page start position: %d, end position: %d", pageIndex, pageStart, pageEnd); in GetGroupEntries()

Completed in 10 milliseconds