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

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

Completed in 89 milliseconds