Home
last modified time | relevance | path

Searched refs:lastReadError (Results 1 – 4 of 4) sorted by relevance

/system/incremental_delivery/incfs/tests/
Dincfs_test.cpp1191 IncFsLastReadError lastReadError = {.id = fileId(-1), in TEST_F() local
1196 EXPECT_EQ(0, IncFs_GetLastReadError(control_, &lastReadError)); in TEST_F()
1198 EXPECT_EQ(FileId{}, lastReadError.id); in TEST_F()
1199 EXPECT_EQ(0, (int)lastReadError.timestampUs); in TEST_F()
1200 EXPECT_EQ(0, (int)lastReadError.block); in TEST_F()
1201 EXPECT_EQ(0, (int)lastReadError.errorNo); in TEST_F()
1202 EXPECT_EQ(0, (int)lastReadError.uid); in TEST_F()
1231 IncFsLastReadError lastReadError = {.id = fileId(-1), in TEST_F() local
1236 EXPECT_EQ(0, IncFs_GetLastReadError(control_, &lastReadError)); in TEST_F()
1237 EXPECT_EQ(id, lastReadError.id); in TEST_F()
[all …]
/system/incremental_delivery/incfs/include/
Dincfs_inline.h477 LastReadError lastReadError; in getLastReadError() local
478 if (const auto res = IncFs_GetLastReadError(control, &lastReadError); res < 0) { in getLastReadError()
482 return lastReadError; in getLastReadError()
Dincfs_ndk.h343 IncFsLastReadError* lastReadError);
/system/incremental_delivery/incfs/
Dincfs.cpp2126 IncFsLastReadError* lastReadError) { in IncFs_GetLastReadError() argument
2139 *lastReadError = IncFsLastReadError{ in IncFs_GetLastReadError()
2145 static_assert(sizeof(args.file_id_out.bytes) == sizeof(lastReadError->id.data)); in IncFs_GetLastReadError()
2146 memcpy(lastReadError->id.data, args.file_id_out.bytes, sizeof(args.file_id_out.bytes)); in IncFs_GetLastReadError()