Lines Matching defs:out
285 // metadata again. In either case, take it out of mExisting so that
435 private static void writeSignatureHashArray(DataOutputStream out, ArrayList<byte[]> hashes)
438 out.writeInt(hashes.size());
442 out.writeInt(buffer.length);
443 out.write(buffer);
494 // Util: parse out an existing state file into a usable structure
581 // Util: write out our new backup state file
586 DataOutputStream out = new DataOutputStream(outbuf);
591 out.writeUTF(STATE_FILE_HEADER);
592 out.writeInt(STATE_FILE_VERSION);
596 out.writeUTF(DEFAULT_HOME_KEY);
597 out.writeUTF(preferredHome.flattenToString());
598 out.writeLong(homeVersion);
599 writeSignatureHashArray(out, homeSigHashes);
603 out.writeUTF(GLOBAL_METADATA_KEY);
604 out.writeInt(Build.VERSION.SDK_INT);
605 out.writeUTF(Build.VERSION.INCREMENTAL);
609 out.writeUTF(pkg.packageName);
610 out.writeInt(pkg.versionCode);
613 out.flush();