Home | History | Annotate | Download | only in installd

Lines Matching defs:file

5 ** you may not use this file except in compliance with the License. 
480 cache_file_t* file = (cache_file_t*)_cache_malloc(cache, sizeof(cache_file_t)+nameLen+1);
481 if (file != NULL) {
482 file->dir = dir;
483 file->modTime = modTime;
484 strcpy(file->name, name);
490 ALOGE("Failure growing cache file array for %s\n", name);
496 CACHE_NOISY(ALOGI("Setting file %p at position %d in array %p", file,
498 cache->files[cache->numFiles] = file;
505 return file;
587 // Build final full path for file... this may change dirName
591 CACHE_NOISY(ALOGI("Collecting file %s\n", pathBase));
597 ALOGW("Unable to stat cache file %s; deleting\n", pathBase);
604 // this file.
605 ALOGW("Cache file %s truncated in path %s; deleting\n",
757 cache_file_t* file = cache->files[i];
758 strcpy(create_dir_path(path, file->dir), file->name);
759 ALOGI("DEL (mod %d) %s\n", (int)file->modTime, path);
763 file->dir->childCount--;
764 if (file->dir->childCount <= 0) {
765 delete_cache_dir(path, file->dir);
782 cache_file_t* file = cache->files[i];
783 ALOGI("file #%d: %p %s time=%d dir=%p\n", i, file, file->name,
784 (int)file->modTime, file->dir);
797 * Checks whether a path points to a system app (.apk file). Returns 0
903 * Check whether path points to a valid path for an APK file. An ASEC