Home
last modified time | relevance | path

Searched refs:IncFs_GetFilledRanges (Results 1 – 3 of 3) sorted by relevance

/system/incremental_delivery/incfs/tests/
Dincfs_test.cpp428 EXPECT_EQ(-EBADF, IncFs_GetFilledRanges(-1, {}, nullptr)); in TEST_F()
429 EXPECT_EQ(-EINVAL, IncFs_GetFilledRanges(0, {}, nullptr)); in TEST_F()
439 EXPECT_EQ(-EPERM, IncFs_GetFilledRanges(readFd.get(), {buffer, std::size(buffer)}, &res)); in TEST_F()
453 EXPECT_EQ(0, IncFs_GetFilledRanges(fd.get(), IncFsSpan{}, &filledRanges)); in TEST_F()
457 EXPECT_EQ(0, IncFs_GetFilledRanges(fd.get(), bufferSpan, &filledRanges)); in TEST_F()
487 EXPECT_EQ(0, IncFs_GetFilledRanges(fd.get(), bufferSpan, &filledRanges)); in TEST_F()
514 EXPECT_EQ(0, IncFs_GetFilledRanges(fd.get(), bufferSpan, &filledRanges)); in TEST_F()
543 EXPECT_EQ(0, IncFs_GetFilledRanges(fd.get(), bufferSpan, &filledRanges)); in TEST_F()
584 EXPECT_EQ(0, IncFs_GetFilledRanges(fd.get(), bufferSpan, &filledRanges)); in TEST_F()
644 EXPECT_EQ(-ERANGE, IncFs_GetFilledRanges(fd.get(), bufferSpan, &filledRanges)); in TEST_F()
[all …]
/system/incremental_delivery/incfs/include/
Dincfs_ndk.h302 IncFsErrorCode IncFs_GetFilledRanges(int fd, IncFsSpan outBuffer, IncFsFilledRanges* filledRanges);
/system/incremental_delivery/incfs/
Dincfs.cpp1375 IncFsErrorCode IncFs_GetFilledRanges(int fd, IncFsSpan outBuffer, IncFsFilledRanges* filledRanges) { in IncFs_GetFilledRanges() function
1494 auto res = IncFs_GetFilledRanges(fd, IncFsSpan{.data = buffer, .size = std::size(buffer)}, in isFullyLoadedSlow()