Lines Matching defs:data
127 " ('-r' means reinstall the app, keeping its data)\n"
131 " ('-k' means keep the data and cache directories)\n"
136 " - write an archive of the device's data to <file>.\n"
137 " If no -f option is supplied then the data is written\n"
181 " - If <directory> is not specified, both /system and /data partitions will be updated.\n"
183 " - If it is \"system\" or \"data\", only the corresponding partition\n"
374 int adb_download_buffer(const char *service, const void* data, int sz,
393 ptr = data;
404 fprintf(stderr,"* failed to write data '%s' *\n", adb_error());
437 void *data;
440 data = load_file(fn, &sz);
441 if(data == 0) {
446 int status = adb_download_buffer(service, data, sz, progress);
447 free(data);
1291 /* A local path or "android"/"data" arg was specified. */
1302 ret = do_sync_sync(data_srcpath, "/data", listonly);
1421 data_srcdir = product_file("data");
1423 /* srcarg may be "data", "system" or NULL.
1424 * if srcarg is NULL, then both data and system are synced
1429 } else if(strcmp(srcarg, "data") == 0) {
1431 data_srcdir = product_file("data");
1433 /* It's not "system" or "data".
1476 out with the option to uninstall the remaining data somehow (adb/ui) */
1480 "The -k option uninstalls the application while retaining the data/cache.\n"
1481 "At the moment, there is no way to remove the remaining data.\n"
1539 static const char *const DATA_DEST = "/data/local/tmp/%s";