Searched refs:write (Results 26 - 50 of 1003) sorted by relevance

1234567891011>>

/frameworks/av/media/img_utils/src/
H A DEndianUtils.cpp48 status_t EndianOutput::write(const uint8_t* buf, size_t offset, size_t count) { function in class:android::img_utils::EndianOutput
50 if((res = mOutput->write(buf, offset, count)) == OK) {
56 status_t EndianOutput::write(const int8_t* buf, size_t offset, size_t count) { function in class:android::img_utils::EndianOutput
57 return write(reinterpret_cast<const uint8_t*>(buf), offset, count);
61 status_t EndianOutput::write(const _type_* buf, size_t offset, size_t count) { \
72 status_t EndianOutput::write(const float* buf, size_t offset, size_t count) { function in class:android::img_utils::EndianOutput
77 status_t EndianOutput::write(const double* buf, size_t offset, size_t count) { function in class:android::img_utils::EndianOutput
H A DDngUtils.cpp242 err = mEndianOut.write(&flags, 0, 1);
251 err = mEndianOut.write(&totalSize, 0, 1);
266 err = mEndianOut.write(settings1, 0, NELEMS(settings1));
274 err = mEndianOut.write(settings2, 0, NELEMS(settings2));
277 err = mEndianOut.write(&mapPlanes, 0, 1);
280 err = mEndianOut.write(mapGains, 0, mapPointsV * mapPointsH * mapPlanes);
331 err = mEndianOut.write(&flags, 0, 1);
338 err = mEndianOut.write(&totalSize, 0, 1);
341 err = mEndianOut.write(&numPlanes, 0, 1);
344 err = mEndianOut.write(kCoeff
[all...]
/frameworks/rs/tests/java_api/RSUnitTests/
H A DRSUnitTests.py182 gen_file.write(
219 gen_file.write(
223 gen_file.write(' $(call all-java-files-under,{})\\\n'.format(src_dir))
225 gen_file.write(
230 gen_file.write(
234 gen_file.write(' $(my_rs_unit_tests_path)/{}\\\n'.format(rs_file))
242 gen_file.write(
322 out_file.write(
330 out_file.write(line)
338 out_file.write(
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/
H A DCdmaSmsCbTest.java55 * Initialize a Parcel for an incoming CDMA cell broadcast. The caller will write the
88 bos.write(8, SUBPARAM_MESSAGE_IDENTIFIER);
89 bos.write(8, 3); // length: 3 bytes
90 bos.write(4, BearerData.MESSAGE_TYPE_DELIVER);
91 bos.write(8, ((messageId >>> 8) & 0xff));
92 bos.write(8, (messageId & 0xff));
93 bos.write(1, 0); // no User Data Header
94 bos.write(3, 0); // reserved
97 bos.write(8, SUBPARAM_PRIORITY_INDICATOR);
98 bos.write(
[all...]
/frameworks/base/core/tests/coretests/src/android/net/
H A DLocalSocketTest.java46 // Test trivial read and write
47 ls.getOutputStream().write(42);
60 ls.getOutputStream().write(42);
68 // Test multible byte write and available()
69 ls1.getOutputStream().write(new byte[]{0, 1, 2, 3, 4, 5}, 1, 5);
94 ls.getOutputStream().write(buffer, 1, 16);
101 ls.getOutputStream().write(buffer, -1, 15);
108 ls.getOutputStream().write(buffer, 0, -1);
129 ls.getOutputStream().write(42);
138 // Try write o
[all...]
/frameworks/base/core/java/android/util/
H A DJsonWriter.java37 * <li>To write <strong>arrays</strong>, first call {@link #beginArray()}.
41 * <li>To write <strong>objects</strong>, first call {@link #beginObject()}.
53 * "text": "How do I write JSON on Android?",
116 * <p>Each {@code JsonWriter} may be used to write a single JSON stream.
241 out.write(openBracket);
260 out.write(closeBracket);
315 out.write("null");
326 out.write(value ? "true" : "false");
353 out.write(Long.toString(value));
401 out.write("\"");
[all...]
/frameworks/av/media/libmediaplayer2/nuplayer2/
H A DNuPlayer2Drm.cpp113 buf.write(reinterpret_cast<const char *>(&psshsize), sizeof(psshsize));
114 buf.write(reinterpret_cast<const char *>(pssh), psshsize);
122 buf.write(reinterpret_cast<char *>(&n), sizeof(n));
125 buf.write(reinterpret_cast<const char *>(&n), sizeof(n));
126 buf.write(reinterpret_cast<const char *>(uuid.ptr()), DrmUUID::UUID_SIZE);
145 pssh.write(reinterpret_cast<const char *>(&entry->uuid), sizeof(entry->uuid));
146 pssh.write(reinterpret_cast<const char *>(&datalen), sizeof(datalen));
147 pssh.write(reinterpret_cast<const char *>(entry->data), datalen);
156 drmInfo.write(reinterpret_cast<const char *>(&psshSize), sizeof(psshSize));
157 drmInfo.write(reinterpret_cas
[all...]
/frameworks/base/core/java/com/android/internal/util/dump/
H A DDumpUtils.java28 * @param proto The proto to write to
31 * @param string The string to write
36 proto.write(idName, id, string);
43 * @param proto The proto to write to
46 * @param component The component name to write
51 proto.write("package_name", ComponentNameProto.PACKAGE_NAME, component.getPackageName());
52 proto.write("class_name", ComponentNameProto.CLASS_NAME, component.getClassName());
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/
H A Dgeneratev4.py22 tofile.write("// CHECKSTYLE:OFF Generated code\n")
23 tofile.write("/* This file is auto-generated from {}.java. DO NOT MODIFY. */\n\n".format(name))
37 outfile.write(line)
51 outfile.write(line)
71 outfile.write(line)
83 outfile.write(line)
92 outfile.write(line)
107 outfile.write(line)
126 outfile.write(line)
140 outfile.write(lin
[all...]
/frameworks/support/samples/SupportLeanbackDemos/
H A Dgeneratev4.py22 tofile.write("// CHECKSTYLE:OFF Generated code\n")
23 tofile.write("/* This file is auto-generated from {}.java. DO NOT MODIFY. */\n\n".format(name))
37 outfile.write(line)
51 outfile.write(line)
71 outfile.write(line)
83 outfile.write(line)
92 outfile.write(line)
107 outfile.write(line)
126 outfile.write(line)
140 outfile.write(lin
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
H A DHSIconFileElementTest.java47 out.write((byte) statusCode);
49 // No need to write other data if status code is not success.
54 out.write(iconTypeBytes.length);
55 out.write(iconTypeBytes);
56 out.write(TEST_ICON_DATA.length & 0xFF);
57 out.write((TEST_ICON_DATA.length >> 8) & 0xFF);
58 out.write(TEST_ICON_DATA);
H A DNAIRealmDataTestUtil.java89 stream.write((byte) realmData.length);
90 stream.write((byte) realmData.length >> 8);
91 stream.write(realmData);
112 stream.write((byte) (utfEncoding ? NAIRealmData.NAI_ENCODING_UTF8_MASK : 0));
113 stream.write((byte) realmStrData.length);
114 stream.write(realmStrData);
115 stream.write((byte) 1); // EAP Method count
116 stream.write(TEST_EAP_METHOD_BYTES);
H A DANQPParserTest.java53 stream.write(new byte[VenueNameElement.VENUE_INFO_LENGTH]);
54 stream.write(getI18NameListPayload(language, text));
69 stream.write((byte) nameBytes.length);
70 stream.write(nameBytes);
87 stream.write((byte) oisLength[i]);
90 stream.write((byte) ((ois[i].longValue() >> l * Byte.SIZE) & 0xFF));
106 stream.write((byte) (realmDataList.length & 0xFF));
107 stream.write((byte) ((realmDataList.length >> 8) & 0xFF));
109 stream.write(realmData);
124 stream.write((byt
[all...]
/frameworks/av/media/mtp/
H A DMtpResponsePacket.cpp39 int MtpResponsePacket::write(IMtpHandle *h) { function in class:android::MtpResponsePacket
42 int ret = h->write(mBuffer, mPacketSize);
H A DMtpResponsePacket.h34 // write our data to the given usb handle
35 int write(IMtpHandle *h);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioCollections.cpp47 write(fd, buffer, strlen(buffer));
50 write(fd, buffer, strlen(buffer));
/frameworks/base/cmds/incident_helper/src/parsers/
H A DPageTypeInfoParser.cpp49 proto.write(PageTypeInfoProto::PAGE_BLOCK_ORDER, pageBlockOrder);
53 proto.write(PageTypeInfoProto::PAGES_PER_BLOCK, toInt(line));
70 proto.write(PageTypeInfoProto::MigrateType::NODE, toInt(record[0]));
74 proto.write(PageTypeInfoProto::MigrateType::ZONE, record[1]);
88 proto.write(PageTypeInfoProto::MigrateType::TYPE, pageCounts[0]);
90 proto.write(PageTypeInfoProto::MigrateType::FREE_PAGES_COUNT, toInt(pageCounts[i]));
98 proto.write(PageTypeInfoProto::Block::NODE, toInt(record[0]));
103 proto.write(PageTypeInfoProto::Block::ZONE, blockCounts[0]);
/frameworks/base/cmds/statsd/src/logd/
H A DLogEvent.h105 bool write(uint32_t value);
106 bool write(int32_t value);
107 bool write(uint64_t value);
108 bool write(int64_t value);
109 bool write(const std::string& value);
110 bool write(float value);
111 bool write(const std::vector<AttributionNodeInternal>& nodes);
112 bool write(const AttributionNodeInternal& node);
172 // This field is used when statsD wants to create log event object and write fields to it. After
/frameworks/base/tools/fonts/
H A Dadd_additional_fonts.py38 output_file.write(override_line)
39 output_file.write(line)
/frameworks/support/leanback/src/androidTest/
H A Dgeneratev4.py37 outfile.write("// CHECKSTYLE:OFF Generated code\n")
38 outfile.write("/* This file is auto-generated from {}SupportFragment.java. DO NOT MODIFY. */\n\n".format(w))
46 outfile.write(line)
60 outfile.write("// CHECKSTYLE:OFF Generated code\n")
61 outfile.write("/* This file is auto-generated from {}SupportFrgamentTestBase.java. DO NOT MODIFY. */\n\n".format(w))
72 outfile.write(line)
86 outfile.write("// CHECKSTYLE:OFF Generated code\n")
87 outfile.write("/* This file is auto-generated from {}SupportFragmentTest.java. DO NOT MODIFY. */\n\n".format(w))
104 outfile.write(line)
116 outfile.write("// CHECKSTYL
[all...]
/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageSetting.java181 proto.write(PackageProto.NAME, (realName != null ? realName : name));
182 proto.write(PackageProto.UID, appId);
183 proto.write(PackageProto.VERSION_CODE, versionCode);
184 proto.write(PackageProto.VERSION_STRING, pkg.mVersionName);
185 proto.write(PackageProto.INSTALL_TIME_MS, firstInstallTime);
186 proto.write(PackageProto.UPDATE_TIME_MS, lastUpdateTime);
187 proto.write(PackageProto.INSTALLER_NAME, installerPackageName);
191 proto.write(PackageProto.SplitProto.NAME, "base");
192 proto.write(PackageProto.SplitProto.REVISION_CODE, pkg.baseRevisionCode);
197 proto.write(PackageProt
[all...]
/frameworks/av/include/media/nbaio/
H A DLibsndfileSink.h46 virtual ssize_t write(const void *buffer, size_t count);
/frameworks/av/media/libnbaio/include/media/nbaio/
H A DLibsndfileSink.h46 virtual ssize_t write(const void *buffer, size_t count);
/frameworks/base/cmds/statsd/benchmark/
H A Dget_dimensions_for_condition_benchmark.cpp35 event->write(nodes);
36 event->write(3.2f);
37 event->write("LOCATION");
38 event->write((int64_t)990);
/frameworks/base/services/core/java/com/android/server/display/utils/
H A DPlog.java55 write(formatTitle(title));
68 write(formatPoint(name, x, y));
81 write(formatCurve(name, xs, ys));
104 private void write(String message) { method in class:Plog

Completed in 472 milliseconds

1234567891011>>