/bootable/diskinstaller/ |
H A D | installer.conf | 4 filename /data/bootldr.bin 10 filename /data/boot.img 16 filename /data/system.img 22 filename /data/userdata.img 39 # filename /data/system.tar.gz
|
H A D | installer.c | 201 const char *filename = NULL; local 209 filename = config_str(img, "filename", NULL); 245 } else if (filename) { 246 ALOGE("Providing filename and mkfs parameters is meaningless"); 280 * there's a filename involved */ 281 if (!filename) { 340 if (write_raw_image(dinfo->device, filename, offset, test)) 356 if (process_ext2_image(dest_part, filename, flags, test))
|
/bootable/recovery/tools/ota/ |
H A D | add-property-tag.c | 67 const char *filename = "/system/build.prop"; local 75 case 'f': filename = optarg; break; 94 FILE *input = fopen(filename, "r"); 96 fprintf(stderr, "can't read %s: %s\n", filename, strerror(errno)); 101 snprintf(tmpname, sizeof(tmpname), "%s.tmp", filename); 128 fprintf(stderr, "property %s not found in %s\n", propname, filename); 133 if (rename(tmpname, filename)) { 135 tmpname, filename, strerror(errno));
|
/bootable/recovery/applypatch/ |
H A D | applypatch.h | 48 size_t FreeSpaceForFile(const char* filename); 60 int applypatch_check(const char* filename, 64 int LoadFileContents(const char* filename, FileContents* file, 66 int SaveFileContents(const char* filename, const FileContents* file);
|
H A D | applypatch.c | 33 static int LoadPartitionContents(const char* filename, FileContents* file); 53 int LoadFileContents(const char* filename, FileContents* file, argument 57 // A special 'filename' beginning with "MTD:" or "EMMC:" means to 59 if (strncmp(filename, "MTD:", 4) == 0 || 60 strncmp(filename, "EMMC:", 5) == 0) { 61 return LoadPartitionContents(filename, file); 64 if (stat(filename, &file->st) != 0) { 65 printf("failed to stat \"%s\": %s\n", filename, strerror(errno)); 72 FILE* f = fopen(filename, "rb"); 74 printf("failed to open \"%s\": %s\n", filename, strerro 140 LoadPartitionContents(const char* filename, FileContents* file) argument 327 SaveFileContents(const char* filename, const FileContents* file) argument 492 applypatch_check(const char* filename, int num_patches, char** const patch_sha1_str) argument 570 FreeSpaceForFile(const char* filename) argument [all...] |
H A D | imgdiff.c | 154 char* filename; // used for zip entries member in struct:__anon2 166 char* filename; member in struct:__anon3 185 unsigned char* ReadZip(const char* filename, argument 189 if (stat(filename, &st) != 0) { 190 printf("failed to stat \"%s\": %s\n", filename, strerror(errno)); 195 FILE* f = fopen(filename, "rb"); 197 printf("failed to read \"%s\" %s\n", filename, strerror(errno)); 233 int nlen = Read2(cd+28); // filename len 238 char* filename = malloc(nlen+1); local 239 memcpy(filename, c 376 ReadImage(const char* filename, int* num_chunks, ImageChunk** chunks) argument [all...] |
/bootable/recovery/ |
H A D | screen_ui.h | 110 void LoadBitmap(const char* filename, gr_surface* surface); 111 void LoadLocalizedBitmap(const char* filename, gr_surface* surface);
|
H A D | screen_ui.cpp | 312 void ScreenRecoveryUI::LoadBitmap(const char* filename, gr_surface* surface) { argument 313 int result = res_create_surface(filename, surface); 315 LOGE("missing bitmap %s\n(Code %d)\n", filename, result); 319 void ScreenRecoveryUI::LoadLocalizedBitmap(const char* filename, gr_surface* surface) { argument 320 int result = res_create_localized_surface(filename, surface); 322 LOGE("missing bitmap %s\n(Code %d)\n", filename, result); 356 char filename[40]; local 358 sprintf(filename, "indeterminate%02d", i+1); 359 LoadBitmap(filename, progressBarIndeterminate+i); 366 char filename[4 local [all...] |
H A D | install.cpp | 97 // firmware <"hboot"|"radio"> <filename> 98 // arrange to install the contents of <filename> in the 101 // (API v2: <filename> may start with "PACKAGE:" to 198 load_keys(const char* filename, int* numKeys) { argument 202 FILE* f = fopen(filename, "r"); 204 LOGE("opening %s: %s\n", filename, strerror(errno));
|
/bootable/diskinstaller/editdisklbl/ |
H A D | editdisklbl.c | 36 const char *filename; member in struct:pf_map 87 fprintf(stderr, "Image filename and configuration file are required\n"); 122 /* parse the filename->partition mappings from the command line and patch 147 /* here pair points to the filename (after the '=') */ 149 part_file_map[x++].filename = pair; 193 if (write_raw_image(dest_fn, part_file_map[cnt].filename, offs, test)) {
|
/bootable/recovery/updater/ |
H A D | install.c | 632 char* filename; local 634 if (ReadArgs(state, argv, 2, &filename, &key) < 0) { 639 if (stat(filename, &st) < 0) { 641 name, filename, strerror(errno)); 649 filename, name, MAX_FILE_GETPROP_SIZE); 659 FILE* f = fopen(filename, "rb"); 662 name, filename, strerror(errno)); 668 name, st.st_size+1, filename); 687 name, line, filename); 716 free(filename); 776 char* filename = contents->data; local 923 char* filename; local 1105 char* filename; local [all...] |
H A D | Android.mk | 56 # Encode the value of TARGET_RECOVERY_UPDATER_LIBS into the filename of the dependency.
|