/system/core/fs_mgr/libdm/ |
D | dm.cpp | 66 struct dm_ioctl io; in CreateDevice() local 67 InitIo(&io, name); in CreateDevice() 69 snprintf(io.uuid, sizeof(io.uuid), "%s", uuid.c_str()); in CreateDevice() 72 if (ioctl(fd_, DM_DEV_CREATE, &io)) { in CreateDevice() 79 CHECK(io.target_count == 0) << "Unexpected targets for newly created [" << name << "] device"; in CreateDevice() 80 CHECK(io.open_count == 0) << "Unexpected opens for newly created [" << name << "] device"; in CreateDevice() 104 struct dm_ioctl io; in DeleteDevice() local 105 InitIo(&io, name); in DeleteDevice() 107 if (ioctl(fd_, DM_DEV_REMOVE, &io)) { in DeleteDevice() 114 CHECK(io.flags & DM_UEVENT_GENERATED_FLAG) in DeleteDevice() [all …]
|
/system/core/storaged/ |
D | storaged_utils.cpp | 48 uint64_t l_bytes = l.io[i].read_bytes + l.io[i].write_bytes; in cmp_uid_info() 49 uint64_t r_bytes = r.io[i].read_bytes + r.io[i].write_bytes; in cmp_uid_info() 50 uint64_t l_chars = l.io[i].rchar + l.io[i].wchar; in cmp_uid_info() 51 uint64_t r_chars = r.io[i].rchar + r.io[i].wchar; in cmp_uid_info() 77 uid.io[0].rchar, uid.io[0].wchar, uid.io[0].read_bytes, uid.io[0].write_bytes, in log_console_running_uids_info() 78 uid.io[1].rchar, uid.io[1].wchar, uid.io[1].read_bytes, uid.io[1].write_bytes, in log_console_running_uids_info() 79 uid.io[0].fsync, uid.io[1].fsync); in log_console_running_uids_info() 86 … task.io[0].rchar, task.io[0].wchar, task.io[0].read_bytes, task.io[0].write_bytes, in log_console_running_uids_info() 87 … task.io[1].rchar, task.io[1].wchar, task.io[1].read_bytes, task.io[1].write_bytes, in log_console_running_uids_info() 88 task.io[0].fsync, task.io[1].fsync); in log_console_running_uids_info()
|
D | uid_info.cpp | 27 parcel->write(&io, sizeof(io)); in writeToParcel() 33 parcel->write(&task_it.second.io, sizeof(task_it.second.io)); in writeToParcel() 41 parcel->read(&io, sizeof(io)); in readFromParcel() 48 parcel->read(&task.io, sizeof(task.io)); in readFromParcel()
|
D | storaged_uid_monitor.cpp | 64 !ParseUint(fields[1], &io[FOREGROUND].rchar) || in parse_uid_io_stats() 65 !ParseUint(fields[2], &io[FOREGROUND].wchar) || in parse_uid_io_stats() 66 !ParseUint(fields[3], &io[FOREGROUND].read_bytes) || in parse_uid_io_stats() 67 !ParseUint(fields[4], &io[FOREGROUND].write_bytes) || in parse_uid_io_stats() 68 !ParseUint(fields[5], &io[BACKGROUND].rchar) || in parse_uid_io_stats() 69 !ParseUint(fields[6], &io[BACKGROUND].wchar) || in parse_uid_io_stats() 70 !ParseUint(fields[7], &io[BACKGROUND].read_bytes) || in parse_uid_io_stats() 71 !ParseUint(fields[8], &io[BACKGROUND].write_bytes) || in parse_uid_io_stats() 72 !ParseUint(fields[9], &io[FOREGROUND].fsync) || in parse_uid_io_stats() 73 !ParseUint(fields[10], &io[BACKGROUND].fsync)) { in parse_uid_io_stats() [all …]
|
/system/extras/tests/crypto/ |
D | get_dm_versions.c | 11 static void ioctl_init(struct dm_ioctl *io, size_t dataSize, const char *name, unsigned flags) in ioctl_init() argument 13 memset(io, 0, dataSize); in ioctl_init() 14 io->data_size = dataSize; in ioctl_init() 15 io->data_start = sizeof(struct dm_ioctl); in ioctl_init() 16 io->version[0] = 4; in ioctl_init() 17 io->version[1] = 0; in ioctl_init() 18 io->version[2] = 0; in ioctl_init() 19 io->flags = flags; in ioctl_init() 21 strncpy(io->name, name, sizeof(io->name)); in ioctl_init() 28 struct dm_ioctl *io; in main() local [all …]
|
/system/tools/xsdc/tests/resources/reference/api/ |
D | current.txt | 13 …ic static reference.Class read(java.io.InputStream) throws javax.xml.datatype.DatatypeConfiguratio… 14 …method public static String readText(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org… 15 …method public static void skip(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpu… 18 public class XmlWriter implements java.io.Closeable { 19 ctor public XmlWriter(java.io.PrintWriter); 21 … method public static void write(reference.XmlWriter, reference.Class) throws java.io.IOException;
|
/system/tools/xsdc/tests/resources/simple_type/api/ |
D | current.txt | 39 …pe.MultiChoice readMultiChoice(java.io.InputStream) throws javax.xml.datatype.DatatypeConfiguratio… 40 …pe.SimpleTypes readSimpleTypes(java.io.InputStream) throws javax.xml.datatype.DatatypeConfiguratio… 41 ….SingleChoice readSingleChoice(java.io.InputStream) throws javax.xml.datatype.DatatypeConfiguratio… 42 …method public static String readText(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org… 43 …method public static void skip(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpu… 46 public class XmlWriter implements java.io.Closeable { 47 ctor public XmlWriter(java.io.PrintWriter); 49 …method public static void write(simple.type.XmlWriter, simple.type.SimpleTypes) throws java.io.IOE… 50 …method public static void write(simple.type.XmlWriter, simple.type.MultiChoice) throws java.io.IOE… 51 …method public static void write(simple.type.XmlWriter, simple.type.SingleChoice) throws java.io.IO…
|
/system/apex/apexd/apex-info-list-api/ |
D | current.txt | 29 …oid.apex.ApexInfo readApexInfo(java.io.InputStream) throws javax.xml.datatype.DatatypeConfiguratio… 30 ….ApexInfoList readApexInfoList(java.io.InputStream) throws javax.xml.datatype.DatatypeConfiguratio… 31 …method public static String readText(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org… 32 …method public static void skip(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpu… 35 public class XmlWriter implements java.io.Closeable { 36 ctor public XmlWriter(java.io.PrintWriter); 38 …c void write(com.android.apex.XmlWriter, com.android.apex.ApexInfoList) throws java.io.IOException; 39 …tatic void write(com.android.apex.XmlWriter, com.android.apex.ApexInfo) throws java.io.IOException;
|
/system/tools/xsdc/tests/resources/group/api/ |
D | current.txt | 16 …blic static group.Student read(java.io.InputStream) throws javax.xml.datatype.DatatypeConfiguratio… 17 …method public static String readText(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org… 18 …method public static void skip(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpu… 21 public class XmlWriter implements java.io.Closeable { 22 ctor public XmlWriter(java.io.PrintWriter); 24 method public static void write(group.XmlWriter, group.Student) throws java.io.IOException;
|
/system/tools/xsdc/tests/resources/attr_group_simple/api/ |
D | current.txt | 18 …attr.group.simple.Student read(java.io.InputStream) throws javax.xml.datatype.DatatypeConfiguratio… 19 …method public static String readText(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org… 20 …method public static void skip(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpu… 23 public class XmlWriter implements java.io.Closeable { 24 ctor public XmlWriter(java.io.PrintWriter); 26 …atic void write(attr.group.simple.XmlWriter, attr.group.simple.Student) throws java.io.IOException;
|
/system/tools/xsdc/src/com/android/xsdc/ |
D | FileSystem.java | 19 import java.io.File; 20 import java.io.IOException; 21 import java.io.PrintWriter; 22 import java.io.StringWriter;
|
/system/tools/aidl/tests/ |
D | aidl_parser_fuzzer.cpp | 34 FakeIoDelegate io; in fuzz() local 35 io.SetFileContents("a/path/Foo.aidl", content); in fuzz() 50 int ret = android::aidl::aidl_entry(Options::From(args), io); in fuzz() 54 for (const std::string& f : io.ListOutputFiles()) { in fuzz() 56 if (io.GetWrittenContents(f, &output)) { in fuzz()
|
/system/tools/xsdc/tests/resources/purchase_simple/api/ |
D | current.txt | 31 ….simple.PurchaseOrderType read(java.io.InputStream) throws javax.xml.datatype.DatatypeConfiguratio… 32 …method public static String readText(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org… 33 …method public static void skip(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpu… 36 public class XmlWriter implements java.io.Closeable { 37 ctor public XmlWriter(java.io.PrintWriter); 39 …oid write(purchase.simple.XmlWriter, purchase.simple.PurchaseOrderType) throws java.io.IOException;
|
/system/tools/xsdc/tests/resources/simple_complex_content/api/ |
D | current.txt | 60 …plex.content.Person readPerson(java.io.InputStream) throws javax.xml.datatype.DatatypeConfiguratio… 61 …ex.content.Person2 readPerson2(java.io.InputStream) throws javax.xml.datatype.DatatypeConfiguratio… 62 …method public static String readText(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org… 63 …method public static void skip(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpu… 66 public class XmlWriter implements java.io.Closeable { 67 ctor public XmlWriter(java.io.PrintWriter); 69 … write(simple.complex.content.XmlWriter, simple.complex.content.Person) throws java.io.IOException; 70 …write(simple.complex.content.XmlWriter, simple.complex.content.Person2) throws java.io.IOException;
|
/system/core/adb/ |
D | adb_io_test.cpp | 45 POSIX_TEST(io, ReadFdExactly_whole) { in POSIX_TEST() argument 59 POSIX_TEST(io, ReadFdExactly_eof) { in POSIX_TEST() argument 73 POSIX_TEST(io, ReadFdExactly_partial) { in POSIX_TEST() argument 90 POSIX_TEST(io, WriteFdExactly_whole) { in POSIX_TEST() argument 105 POSIX_TEST(io, WriteFdExactly_partial) { in POSIX_TEST() argument 122 POSIX_TEST(io, WriteFdExactly_ENOSPC) { in POSIX_TEST() argument 131 POSIX_TEST(io, WriteFdExactly_string) { in POSIX_TEST() argument 145 POSIX_TEST(io, WriteFdFmt) { in POSIX_TEST() argument
|
/system/timezone/distro/tools/src/main/com/android/timezone/distro/tools/ |
D | CreateTimeZoneDistro.java | 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.OutputStream; 30 import java.io.Reader;
|
/system/timezone/distro/core/src/main/com/android/timezone/distro/ |
D | TimeZoneDistro.java | 18 import java.io.ByteArrayInputStream; 19 import java.io.ByteArrayOutputStream; 20 import java.io.File; 21 import java.io.FileOutputStream; 22 import java.io.IOException; 23 import java.io.InputStream;
|
D | FileUtils.java | 18 import java.io.File; 19 import java.io.FileInputStream; 20 import java.io.FileNotFoundException; 21 import java.io.FileOutputStream; 22 import java.io.IOException;
|
/system/tools/xsdc/tests/resources/nested_type/api/ |
D | current.txt | 47 …atic nested.type.Employee read(java.io.InputStream) throws javax.xml.datatype.DatatypeConfiguratio… 48 …method public static String readText(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org… 49 …method public static void skip(org.xmlpull.v1.XmlPullParser) throws java.io.IOException, org.xmlpu… 52 public class XmlWriter implements java.io.Closeable { 53 ctor public XmlWriter(java.io.PrintWriter); 55 …method public static void write(nested.type.XmlWriter, nested.type.Employee) throws java.io.IOExce…
|
/system/extras/boottime_tools/io_analysis/ |
D | check_verity.py | 109 io, verity, total, blocks = get_average_and_std_dev(l) 110 print msg, "counts:", len(l), "io latency:", io[0], io[1], io[2], "verity latency:", \ 112 return io, verity, total, blocks 116 io, verity, total, blocks = self.dump_list ("total,", self.reads) 117 io_latency_per_1024KB = io[2] / blocks * (1024 / 4)
|
/system/core/libunwindstack/ |
D | Regs.cpp | 49 struct iovec io; in RemoteGet() local 50 io.iov_base = buffer.data(); in RemoteGet() 51 io.iov_len = buffer.size() * sizeof(uint64_t); in RemoteGet() 53 if (ptrace(PTRACE_GETREGSET, pid, NT_PRSTATUS, reinterpret_cast<void*>(&io)) == -1) { in RemoteGet() 57 switch (io.iov_len) { in RemoteGet()
|
/system/core/adb/fastdeploy/deployagent/src/com/android/fastdeploy/ |
D | PatchUtils.java | 19 import java.io.DataInputStream; 20 import java.io.IOException; 21 import java.io.InputStream; 22 import java.io.OutputStream;
|
/system/timezone/input_tools/android/telephonylookup_generator/src/main/java/com/android/libcore/timezone/telephonylookup/ |
D | TelephonyLookupXmlFile.java | 18 import java.io.FileOutputStream; 19 import java.io.IOException; 20 import java.io.OutputStreamWriter; 21 import java.io.StringReader; 22 import java.io.StringWriter; 23 import java.io.Writer;
|
D | TelephonyLookupProtoFileSupport.java | 21 import java.io.BufferedReader; 22 import java.io.FileReader; 23 import java.io.IOException;
|
/system/timezone/distro/core/src/test/com/android/timezone/distro/ |
D | TimeZoneDistroTest.java | 19 import libcore.testing.io.TestIoUtils; 21 import java.io.ByteArrayInputStream; 22 import java.io.ByteArrayOutputStream; 23 import java.io.File; 24 import java.io.FilterInputStream; 25 import java.io.IOException; 26 import java.io.InputStream;
|