Home
last modified time | relevance | path

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

/system/extras/tests/sdcard/
Dtestcase.cpp193 void TestCase::setFadvise(const char *advice) in setFadvise() argument
196 if (strcmp(advice, "sequential") == 0) in setFadvise()
200 else if (strcmp(advice, "random") == 0) in setFadvise()
204 else if (strcmp(advice, "noreuse") == 0) in setFadvise()
208 else if (strcmp(advice, "willneed") == 0) in setFadvise()
212 else if (strcmp(advice, "dontneed") == 0) in setFadvise()
Dtestcase.h95 void setFadvise(const char *advice);
Dsdcard_perf_test.cpp88 #define FADVISE(fd, off, len, advice) (void)0 argument
/system/core/include/utils/
DFileMap.h104 int advise(MapAdvice advice);
/system/core/libutils/
DFileMap.cpp216 int FileMap::advise(MapAdvice advice) in advise() argument
220 switch (advice) { in advise()