Home
last modified time | relevance | path

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

/cts/hostsidetests/securitybulletin/securityPatch/CVE-2020-0470/
Dpoc.cpp26 #define FILE_SIZE 72 macro
63 AMediaFormat_setInt32(format, AMEDIAFORMAT_KEY_MAX_INPUT_SIZE, FILE_SIZE); in main()
81 if (filePos < FILE_SIZE) { in main()
82 bytesRead = fread(buf, 1, FILE_SIZE, inFile); in main()
83 filePos += FILE_SIZE; in main()
/cts/tests/tests/content/jni/
DNativeCursorWindow.cpp83 const int FILE_SIZE = 1024; in Java_android_content_cts_CursorWindowContentProvider_makeNativeCursorWindowFd() local
93 ftruncate(fd, FILE_SIZE); in Java_android_content_cts_CursorWindowContentProvider_makeNativeCursorWindowFd()
95 char* data = (char*) mmap(NULL, FILE_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in Java_android_content_cts_CursorWindowContentProvider_makeNativeCursorWindowFd()
117 munmap(data, FILE_SIZE); in Java_android_content_cts_CursorWindowContentProvider_makeNativeCursorWindowFd()
/cts/tests/filesystem/src/android/filesystem/cts/
DAlmostFullTest.java109 final long FILE_SIZE = 400L * 1024L * 1024L; in testSequentialUpdate() local
112 if (freeDisk < FILE_SIZE) { in testSequentialUpdate()
119 FileUtil.doSequentialUpdateTest(getContext(), DIR_SEQ_UPDATE, FILE_SIZE, BUFFER_SIZE, in testSequentialUpdate() local
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2485/
Dpoc.cpp26 #define FILE_SIZE UINT16_MAX + 1 macro
69 long size = FILE_SIZE; in main()