Searched defs:basepath (Results 1 - 1 of 1) sorted by relevance

/frameworks/base/cmds/installd/
H A Dutils.c312 int lookup_media_dir(char basepath[PATH_MAX], const char *dir) argument
317 char* dirpos = basepath + strlen(basepath);
324 CACHE_NOISY(ALOGI("Looking up %s in %s\n", dir, basepath));
327 if ((dirpos-basepath+strlen(dir)) >= (PATH_MAX-1)) {
328 ALOGW("Path exceeds limit: %s%s", basepath, dir);
334 if (stat(basepath, &s) >= 0) {
335 CACHE_NOISY(ALOGI("Found direct: %s\n", basepath));
343 d = opendir(basepath);
352 CACHE_NOISY(ALOGI("Found search: %s\n", basepath));
620 add_cache_files(cache_t* cache, const char *basepath, const char *cachedir) argument
[all...]

Completed in 62 milliseconds