Home
last modified time | relevance | path

Searched refs:fsize (Results 1 – 5 of 5) sorted by relevance

/system/core/trusty/storage/tests/
Dmain.cpp1149 storage_off_t fsize = (storage_off_t)(-1); in TEST_P() local
1150 rc = storage_get_file_size(handle1, &fsize); in TEST_P()
1195 storage_off_t fsize = (storage_off_t)(-1); in TEST_P() local
1196 rc = storage_get_file_size(handle1, &fsize); in TEST_P()
1240 storage_off_t fsize = (storage_off_t)(-1); in TEST_P() local
1250 rc = storage_get_file_size(handle, &fsize); in TEST_P()
1252 ASSERT_EQ((storage_off_t)0, fsize); in TEST_P()
1259 rc = storage_get_file_size(handle, &fsize); in TEST_P()
1261 ASSERT_EQ((storage_off_t)exp_len, fsize); in TEST_P()
1268 rc = storage_get_file_size(handle, &fsize); in TEST_P()
[all …]
/system/media/audio_utils/spdif/
DDTSFrameScanner.cpp88 uint32_t fsize = parser.readBits(14); in parseHeader() local
104 if (fsize < DTS_MINIMUM_FSIZE) { in parseHeader()
105 ALOGE("DTSFrameScanner: ERROR - fsize = %u", fsize); in parseHeader()
128 mFrameSizeBytes = fsize + 1; in parseHeader()
/system/extras/mmap-perf/
DmmapPerf.cpp18 static size_t fsize = 1024 * (1ull << 20); variable
19 static size_t pagesTotal = fsize / pageSize;
115 FileMap file{"/data/local/tmp/mmap_test", fsize}; in benchRandomRead()
125 FileMap file{"/data/local/tmp/mmap_test", fsize}; in benchRandomWrite()
135 FileMap file{"/data/local/tmp/mmap_test", fsize}; in benchLinearRead()
146 FileMap file{"/data/local/tmp/mmap_test", fsize}; in benchLinearWrite()
/system/core/fastboot/
Dvendor_boot_img_utils_test.cpp128 Result<uint64_t> fsize() { in fsize() function
284 EXPECT_RESULT(vboot->fsize(), vboot->size()) << "File size should not change after repack"; in TEST_P()
372 EXPECT_RESULT(vboot->fsize(), vboot->size()) << "File size should not change after repack"; in TEST_P()
/system/core/fastboot/fuzzy_fastboot/
Dmain.cpp1375 size_t fsize = lseek(fd, 0, SEEK_END); in TEST_P() local
1376 ASSERT_GT(fsize, 0) << fname + " appears to be an empty image"; in TEST_P()
1377 ASSERT_EQ(fb->FlashPartition(part_name, fd, fsize), SUCCESS); in TEST_P()
1500 size_t fsize = lseek(fd, 0, SEEK_END); in TEST_P() local
1501 ASSERT_GT(fsize, 0) << packed_image + " appears to be an empty image"; in TEST_P()
1502 ASSERT_EQ(fb->FlashPartition(packed_name + packed_suffix, fd, fsize), DEVICE_FAIL) in TEST_P()
1541 size_t fsize = lseek(fd, 0, SEEK_END); in TEST_P() local
1545 EXPECT_LT(fsize, size) << "'" << test.input << "'" in TEST_P()
1547 ASSERT_EQ(fb->Download(fd, fsize), SUCCESS) << "'" << test.input << "'" in TEST_P()