Searched refs:write (Results 251 - 275 of 1003) sorted by relevance

<<11121314151617181920>>

/frameworks/av/media/libaudioclient/
H A DIEffectClient.cpp75 data.write(pCmdData, size);
83 data.write(pReplyData, size);
/frameworks/av/media/libaudioclient/tests/
H A Dtest_create_audiorecord.cpp49 write(outputFileFd, "Error creating AudioRecord\n",
113 write(outputFileFd, statusStr, strlen(statusStr));
H A Dtest_create_audiotrack.cpp47 write(outputFileFd, "Error creating AudioTrack\n",
137 write(outputFileFd, statusStr, strlen(statusStr));
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DIOProfile.cpp131 write(fd, result.string(), result.size());
142 write(fd, result.string(), result.size());
/frameworks/base/cmds/incident_helper/src/parsers/
H A DProcrankParser.cpp91 proto.write(ProcrankProto::Summary::Zram::RAW_TEXT, zram);
96 proto.write(ProcrankProto::Summary::Ram::RAW_TEXT, ram);
/frameworks/base/cmds/statsd/tests/condition/
H A DStateTracker_test.cpp48 event->write(uid);
49 event->write(state);
/frameworks/base/cmds/statsd/tests/metrics/
H A DEventMetricProducer_test.cpp104 EXPECT_TRUE(event1.write("111"));
110 EXPECT_TRUE(event2.write("222"));
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DPerfMeasurement.java135 dump.write("timestamp gpu_duration cpu_duration\n");
137 dump.write(String.format("%d %d %d\n",
/frameworks/base/core/java/android/util/jar/
H A DStrictJarManifestReader.java165 valueBuffer.write(buf, mark, last - mark);
179 valueBuffer.write(buf, mark, last - mark);
/frameworks/base/core/tests/benchmarks/src/android/util/
H A DStreamsBenchmark.java35 public void write(int b) throws IOException {
39 public void write(byte b[], int off, int len) throws IOException {
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DFileRotatorTest.java82 // write single new value
98 // first combine should have empty read, but still write data.
104 // and write final data to disk.
181 // first, write some valid data
190 public void write(OutputStream out) throws IOException {
196 fail("woah, somehow able to write exception");
202 // the failed write above.
226 write("rotator.100-200", "meow");
312 // return to present and verify we write oldest active file
323 // write activ
389 private void write(String name, String value) throws IOException { method in class:FileRotatorTest
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DPoint.java117 * @param out The parcel to write the point's coordinates into
129 * @param protoOutputStream Stream to write the Rect object to.
135 protoOutputStream.write(PointProto.X, x);
136 protoOutputStream.write(PointProto.Y, y);
160 * parcel. To write a point to a parcel, call writeToParcel().
/frameworks/base/media/java/android/media/midi/
H A DMidiInputPort.java89 mOutputStream.write(mBuffer, 0, length);
100 mOutputStream.write(mBuffer, 0, length);
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DMtpFileWriter.java52 int write(long offset, int size, byte[] bytes) throws IOException, ErrnoException { method in class:MtpFileWriter
61 return Os.write(mCacheFd.getFileDescriptor(), bytes, 0, size);
/frameworks/base/services/backup/java/com/android/server/backup/utils/
H A DFullBackupUtils.java47 * @param out - stream to write the data to.
66 out.write(buffer, 0, nRead);
75 * @param pkg - app package, which manifest to write.
79 * @param withWidgets - whether to write widgets data.
109 // write the signature block
114 // retrieve the newest sigs to write
124 outstream.write(builder.toString().getBytes());
/frameworks/base/services/core/java/com/android/server/am/
H A DUserState.java137 proto.write(UserStateProto.STATE, stateToProtoEnum(state));
138 proto.write(UserStateProto.SWITCHING, switching);
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
H A DSmsMessage.java892 dos.write(destAddr.digitMode);
893 dos.write(destAddr.numberMode);
894 dos.write(destAddr.ton); // number_type
895 dos.write(destAddr.numberPlan);
896 dos.write(destAddr.numberOfDigits);
897 dos.write(destAddr.origBytes, 0, destAddr.origBytes.length); // digits
899 dos.write(0); //subaddressType
900 dos.write(0); //subaddr_odd
901 dos.write(0); //subaddr_nbr_of_digits
902 dos.write(encodedBearerDat
[all...]
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
H A DMain.java84 zos.write(bis.read());
102 out.write(data);
/frameworks/ml/nn/runtime/test/
H A DTestMemory.cpp51 write(fd, matrix2, sizeof(matrix2));
53 write(fd, matrix3, sizeof(matrix3));
/frameworks/native/libs/gui/bufferqueue/1.0/
H A DH2BGraphicBufferProducer.cpp281 FlattenableUtils::write(buffer, size,
630 FlattenableUtils::write(buffer, size,
634 FlattenableUtils::write(buffer, size,
640 FlattenableUtils::write(buffer, size,
642 FlattenableUtils::write(buffer, size, t.signalTimeNs);
728 FlattenableUtils::write(buffer, size, t.frameNumber);
731 FlattenableUtils::write(buffer, size, static_cast<uint8_t>(t.index));
732 FlattenableUtils::write(
734 FlattenableUtils::write(
736 FlattenableUtils::write(
[all...]
/frameworks/support/jetifier/jetifier/processor/src/main/kotlin/com/android/tools/build/jetifier/processor/archive/
H A DArchiveFile.kt46 outputStream.write(data)
/frameworks/base/core/java/android/os/
H A DBatteryStats.java1549 // we need to write another int of data.
3281 proto.write(TimerProto.DURATION_MS, timeMs);
3282 proto.write(TimerProto.COUNT, count);
3285 proto.write(TimerProto.MAX_DURATION_MS, maxDurationMs);
3288 proto.write(TimerProto.CURRENT_DURATION_MS, curDurationMs);
3291 proto.write(TimerProto.TOTAL_DURATION_MS, totalDurationMs);
3361 proto.write(ControllerActivityProto.IDLE_DURATION_MS,
3363 proto.write(ControllerActivityProto.RX_DURATION_MS,
3365 proto.write(ControllerActivityProto.POWER_MAH,
3373 proto.write(ControllerActivityProt
[all...]
/frameworks/base/cmds/statsd/tests/
H A DLogEntryMatcher_test.cpp50 EXPECT_TRUE(event.write(11));
79 event.write(attribution_nodes);
80 event.write("some value");
323 event.write(attribution_nodes);
324 event.write("some value");
398 event.write(attribution_nodes);
399 event.write("some value");
462 EXPECT_TRUE(event.write(true));
463 EXPECT_TRUE(event.write(false));
497 event.write("som
[all...]
/frameworks/av/include/media/nbaio/
H A DMonoPipe.h31 // - write() cannot overrun; instead it will return a short actual count if insufficient space
32 // - write() can optionally block if the pipe is full
63 virtual ssize_t write(const void *buffer, size_t count);
67 // See throttling mechanism in MonoPipe::write()
72 // Set the shutdown state for the write side of a pipe.
74 // a write that would otherwise block instead returns a short transfer count.
80 // Return true if the write side of a pipe is currently shutdown.
92 struct timespec mWriteTs; // time that the previous write() completed
94 const bool mWriteCanBlock; // whether write() should block if the pipe is full
/frameworks/av/media/img_utils/include/img_utils/
H A DTiffHelpers.h40 BAIL_ON_FAIL((output)->write(ZERO_WORD, 0, remaining), ret); \

Completed in 462 milliseconds

<<11121314151617181920>>