/frameworks/base/tools/aapt2/ |
D | LoadedApk.cpp | 30 using ::aapt::io::IFile; 31 using ::aapt::io::IFileCollection; 38 static ApkFormat DetermineApkFormat(io::IFileCollection* apk) { in DetermineApkFormat() 45 io::IFile* manifest_file = apk->FindFile(kAndroidManifestPath); in DetermineApkFormat() 51 std::unique_ptr<io::InputStream> manifest_in = manifest_file->OpenInputStream(); in DetermineApkFormat() 54 io::ProtoInputStreamReader proto_reader(manifest_in.get()); in DetermineApkFormat() 61 std::unique_ptr<io::IData> manifest_data = manifest_file->OpenAsData(); in DetermineApkFormat() 78 std::unique_ptr<io::ZipFileCollection> apk = io::ZipFileCollection::Create(path, &error); in LoadApkFromPath() 97 const Source& source, unique_ptr<io::IFileCollection> collection, IDiagnostics* diag) { in LoadProtoApkFromFileCollection() 100 io::IFile* table_file = collection->FindFile(kProtoResourceTablePath); in LoadProtoApkFromFileCollection() [all …]
|
/frameworks/base/tools/aapt2/io/ |
D | Util.h | 31 namespace io { 50 bool Copy(::google::protobuf::io::ZeroCopyOutputStream* out, InputStream* in); 52 class OutputStreamAdaptor : public io::OutputStream { 54 explicit OutputStreamAdaptor(::google::protobuf::io::ZeroCopyOutputStream* out) : out_(out) { in OutputStreamAdaptor() 82 ::google::protobuf::io::ZeroCopyOutputStream* out_; 86 class ZeroCopyInputAdaptor : public ::google::protobuf::io::ZeroCopyInputStream { 88 explicit ZeroCopyInputAdaptor(io::InputStream* in) : in_(in) { in ZeroCopyInputAdaptor() 123 io::InputStream* in_; 128 explicit ProtoInputStreamReader(io::InputStream* in) : in_(in) { } in ProtoInputStreamReader() 133 google::protobuf::io::CodedInputStream coded_stream(&adapter); in ReadMessage() [all …]
|
/frameworks/base/tools/preload/ |
D | Root.java | 17 import java.io.Serializable; 18 import java.io.IOException; 19 import java.io.Writer; 20 import java.io.BufferedWriter; 21 import java.io.OutputStreamWriter; 22 import java.io.FileOutputStream; 23 import java.io.FileInputStream; 24 import java.io.ObjectInputStream; 25 import java.io.BufferedInputStream; 26 import java.io.ObjectOutputStream; [all …]
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | DataStreamFileCodec.java | 19 import java.io.BufferedOutputStream; 20 import java.io.DataInputStream; 21 import java.io.DataOutputStream; 22 import java.io.File; 23 import java.io.FileInputStream; 24 import java.io.FileOutputStream; 25 import java.io.IOException;
|
D | FullBackupUtils.java | 24 import java.io.DataInputStream; 25 import java.io.EOFException; 26 import java.io.FileInputStream; 27 import java.io.IOException; 28 import java.io.OutputStream;
|
/frameworks/base/services/core/java/com/android/server/ |
D | RandomBlock.java | 21 import java.io.Closeable; 22 import java.io.DataOutput; 23 import java.io.EOFException; 24 import java.io.FileInputStream; 25 import java.io.IOException; 26 import java.io.InputStream; 27 import java.io.RandomAccessFile;
|
/frameworks/base/tools/aapt2/format/ |
D | Container.h | 40 explicit ContainerWriter(::google::protobuf::io::ZeroCopyOutputStream* out, size_t entry_count); 43 bool AddResFileEntry(const pb::internal::CompiledFile& file, io::KnownSizeInputStream* in); 50 ::google::protobuf::io::ZeroCopyOutputStream* out_; 83 explicit ContainerReader(io::InputStream* in); 95 io::InputStream* in_; 96 io::ZeroCopyInputAdaptor adaptor_; 97 ::google::protobuf::io::CodedInputStream coded_in_;
|
/frameworks/base/cmds/hid/src/com/android/commands/hid/ |
D | Hid.java | 24 import libcore.io.IoUtils; 26 import java.io.BufferedInputStream; 27 import java.io.File; 28 import java.io.FileInputStream; 29 import java.io.FileNotFoundException; 30 import java.io.InputStream; 31 import java.io.InputStreamReader; 32 import java.io.IOException; 33 import java.io.UnsupportedEncodingException;
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutDumpFiles.java | 22 import java.io.BufferedOutputStream; 23 import java.io.BufferedReader; 24 import java.io.File; 25 import java.io.FileInputStream; 26 import java.io.FileOutputStream; 27 import java.io.IOException; 28 import java.io.InputStreamReader; 29 import java.io.PrintWriter;
|
D | CompilerStats.java | 26 import libcore.io.IoUtils; 28 import java.io.BufferedReader; 29 import java.io.File; 30 import java.io.FileNotFoundException; 31 import java.io.FileOutputStream; 32 import java.io.IOException; 33 import java.io.InputStreamReader; 34 import java.io.OutputStreamWriter; 35 import java.io.Reader; 36 import java.io.Writer;
|
/frameworks/base/obex/javax/obex/ |
D | ObexTransport.java | 35 import java.io.DataInputStream; 36 import java.io.DataOutputStream; 37 import java.io.IOException; 38 import java.io.InputStream; 39 import java.io.OutputStream;
|
D | Operation.java | 35 import java.io.DataInputStream; 36 import java.io.DataOutputStream; 37 import java.io.IOException; 38 import java.io.InputStream; 39 import java.io.OutputStream;
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | ProcessedPackagesJournal.java | 23 import java.io.BufferedInputStream; 24 import java.io.DataInputStream; 25 import java.io.EOFException; 26 import java.io.File; 27 import java.io.FileInputStream; 28 import java.io.IOException; 29 import java.io.RandomAccessFile;
|
D | DataChangedJournal.java | 21 import java.io.BufferedInputStream; 22 import java.io.DataInputStream; 23 import java.io.File; 24 import java.io.FileInputStream; 25 import java.io.IOException; 26 import java.io.RandomAccessFile;
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
D | GraphReader.java | 18 package android.filterfw.io; 23 import android.filterfw.io.GraphIOException; 25 import java.io.InputStream; 26 import java.io.InputStreamReader; 27 import java.io.IOException; 28 import java.io.StringWriter;
|
/frameworks/base/drm/java/android/drm/ |
D | DrmUtils.java | 19 import java.io.BufferedInputStream; 20 import java.io.Closeable; 21 import java.io.File; 22 import java.io.FileInputStream; 23 import java.io.FileOutputStream; 24 import java.io.IOException; 25 import java.io.InputStream; 26 import java.io.OutputStream;
|
/frameworks/base/keystore/java/android/security/ |
D | Credentials.java | 21 import com.android.org.bouncycastle.util.io.pem.PemObject; 22 import com.android.org.bouncycastle.util.io.pem.PemReader; 23 import com.android.org.bouncycastle.util.io.pem.PemWriter; 25 import java.io.ByteArrayInputStream; 26 import java.io.ByteArrayOutputStream; 27 import java.io.IOException; 28 import java.io.InputStreamReader; 29 import java.io.OutputStreamWriter; 30 import java.io.Reader; 31 import java.io.Writer;
|
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
D | HugeAgent.java | 24 import java.io.ByteArrayInputStream; 25 import java.io.ByteArrayOutputStream; 26 import java.io.DataInputStream; 27 import java.io.DataOutputStream; 28 import java.io.File; 29 import java.io.FileInputStream; 30 import java.io.FileOutputStream; 31 import java.io.IOException; 32 import java.io.RandomAccessFile;
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/ |
D | BandwidthTestUtil.java | 32 import java.io.BufferedInputStream; 33 import java.io.BufferedReader; 34 import java.io.DataInputStream; 35 import java.io.File; 36 import java.io.FileInputStream; 37 import java.io.FileOutputStream; 38 import java.io.IOException; 39 import java.io.InputStream; 40 import java.io.InputStreamReader;
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
D | TestAssetRepository.java | 23 import java.io.File; 24 import java.io.FileInputStream; 25 import java.io.FileNotFoundException; 26 import java.io.IOException; 27 import java.io.InputStream;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DpmTestUtils.java | 28 import libcore.io.Streams; 36 import java.io.BufferedReader; 37 import java.io.File; 38 import java.io.FileNotFoundException; 39 import java.io.FileOutputStream; 40 import java.io.FileWriter; 41 import java.io.IOException; 42 import java.io.InputStream; 43 import java.io.InputStreamReader;
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
D | LayoutPullParser.java | 22 import org.kxml2.io.KXmlParser; 27 import java.io.ByteArrayInputStream; 28 import java.io.File; 29 import java.io.FileInputStream; 30 import java.io.FileNotFoundException; 31 import java.io.IOError; 32 import java.io.InputStream;
|
/frameworks/base/core/java/android/print/ |
D | PrintFileDocumentAdapter.java | 31 import libcore.io.IoUtils; 33 import java.io.File; 34 import java.io.FileInputStream; 35 import java.io.FileOutputStream; 36 import java.io.IOException; 37 import java.io.InputStream; 38 import java.io.OutputStream;
|
/frameworks/base/tools/aapt2/cmd/ |
D | Convert.cpp | 79 io::BigBufferInputStream input_stream(&buffer); in SerializeXml() 80 return io::CopyInputStreamToArchive(context_, &input_stream, path, compression_flags, writer); in SerializeXml() 90 io::BigBufferInputStream input_stream(&buffer); in SerializeTable() 91 return io::CopyInputStreamToArchive(context_, &input_stream, kApkResourceTablePath, in SerializeTable() 97 unique_ptr<io::InputStream> in = file->file->OpenInputStream(); in SerializeFile() 105 io::ProtoInputStreamReader proto_reader(in.get()); in SerializeFile() 130 if (!io::CopyFileToArchivePreserveCompression(context_, file->file, *file->path, writer)) { in SerializeFile() 156 return io::CopyProtoToArchive(context_, &pb_node, path, compression_flags, writer); in SerializeXml() 162 return io::CopyProtoToArchive(context_, &pb_table, kProtoResourceTablePath, in SerializeTable() 168 std::unique_ptr<io::IData> data = file->file->OpenAsData(); in SerializeFile() [all …]
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
D | NinePatchInputStream.java | 21 import java.io.File; 22 import java.io.FileInputStream; 23 import java.io.FileNotFoundException; 24 import java.io.IOException; 25 import java.io.InputStream;
|