Searched refs:write (Results 126 - 150 of 715) sorted by relevance

1234567891011>>

/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/
H A Dbuild-release.py21 file.write(newVal + "\n")
/frameworks/support/samples/SupportLeanbackShowcase/
H A Dbuild-release.py21 file.write(newVal + "\n")
/frameworks/base/obex/javax/obex/
H A DClientSession.java489 out.write((byte)opCode);
493 out.write(0x00);
494 out.write(0x03);
496 out.write((byte)((head.length + 3) >> 8));
497 out.write((byte)(head.length + 3));
498 out.write(head);
503 mOutput.write(out.toByteArray());
588 out.write((byte)HeaderSet.AUTH_RESPONSE);
589 out.write((byte)((header.mAuthResp.length + 3) >> 8));
590 out.write((byt
[all...]
H A DClientOperation.java48 * write data via puts and gets.
99 * Creates new OperationImpl to read and write data to a server
185 * we just need to write and read the same bytes
514 out.write(headerArray);
538 out.write(HeaderSet.END_OF_BODY);
541 out.write(HeaderSet.BODY);
545 out.write((byte)(bodyLength >> 8));
546 out.write((byte)bodyLength);
549 out.write(body);
556 out.write(HeaderSe
[all...]
/frameworks/av/media/libnbaio/
H A DAudioStreamOutSink.cpp58 ssize_t AudioStreamOutSink::write(const void *buffer, size_t count) function in class:android::AudioStreamOutSink
65 status_t ret = mStream->write(buffer, count * mFrameSize, &written);
/frameworks/base/core/java/android/os/
H A DMessage.java527 proto.write(MessageProto.WHEN, when);
531 proto.write(MessageProto.CALLBACK, callback.getClass().getName());
533 proto.write(MessageProto.WHAT, what);
537 proto.write(MessageProto.ARG1, arg1);
541 proto.write(MessageProto.ARG2, arg2);
545 proto.write(MessageProto.OBJ, obj.toString());
548 proto.write(MessageProto.TARGET, target.getClass().getName());
550 proto.write(MessageProto.BARRIER, arg1);
/frameworks/base/core/java/android/service/persistentdata/
H A DPersistentDataBlockManager.java35 * {@link PersistentDataBlockManager#write(byte[])}
88 * {@link #wipe} will block any further {@link #write} operation until reboot,
91 * @param data the data to write
94 public int write(byte[] data) { method in class:PersistentDataBlockManager
96 return sService.write(data);
144 * It will also prevent any further {@link #write} operation until reboot,
/frameworks/base/core/java/com/android/internal/logging/
H A DAndroidHandler.java96 sw.write(r.getMessage());
97 sw.write("\n");
/frameworks/base/core/java/com/android/internal/util/
H A DFastPrintWriter.java49 public void write(char[] buf, int offset, int count) throws IOException { method in class:FastPrintWriter.DummyWriter
352 mOutputStream.write(mBytes.array(), 0, position);
380 mWriter.write(mText, 0, mPos);
483 * The bytes are then written to the target with {@code write(int)}.
489 * @see #write(int)
585 * the buffer to write to the target.
587 * the index of the first character in {@code buffer} to write.
589 * the number of characters in {@code buffer} to write.
595 public void write(char[] buf, int offset, int count) { method in class:FastPrintWriter
614 * the character to write t
617 public void write(int oneChar) { method in class:FastPrintWriter
635 public void write(String str) { method in class:FastPrintWriter
661 public void write(String str, int offset, int count) { method in class:FastPrintWriter
[all...]
/frameworks/base/media/jni/soundpool/
H A DSoundPoolThread.cpp25 void SoundPoolThread::write(SoundPoolMsg msg) { function in class:android::SoundPoolThread
102 write(SoundPoolMsg(SoundPoolMsg::LOAD_SAMPLE, sampleID));
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/
H A DCallbackWrapperWriter.kt39 public fun write() = kcode("") {
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
H A DDomainNameElementTest.java45 * @param stream Stream to write to
51 stream.write((byte) domainBytes.length);
52 stream.write(domainBytes);
/frameworks/support/buildSrc/src/main/groovy/android/support/doclava/
H A DDoclavaMultilineJavadocOptionFileOption.java62 public void write(JavadocOptionFileWriterContext writerContext) throws IOException { method in class:DoclavaMultilineJavadocOptionFileOption
74 writerContext.write(" ");
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp193 bool write(const void* buffer, size_t size) override {
195 return size == 0 || ::write(fFd, buffer, size) > 0;
203 write(fd, &w, 4);
204 write(fd, &h, 4);
205 write(fd, &f, 4);
208 write(fd, base, w*Bpp);
/frameworks/base/core/java/com/android/internal/os/
H A DLoggingPrintStream.java63 public void write(int oneByte) throws IOException {
110 public void write(int oneByte) { method in class:LoggingPrintStream
111 write(new byte[] { (byte) oneByte }, 0, 1);
115 public void write(byte[] buffer) { method in class:LoggingPrintStream
116 write(buffer, 0, buffer.length);
120 public synchronized void write(byte bytes[], int start, int count) { method in class:LoggingPrintStream
/frameworks/base/core/jni/
H A Dandroid_util_EventLog.cpp58 return ctx.write();
71 return ctx.write();
84 return ctx.write();
104 return ctx.write();
117 return ctx.write();
144 return ctx.write();
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DLoggingPrintStreamTest.java136 out.write(expected.getBytes("UTF-8"));
144 out.write(b);
152 out.write(expected.getBytes());
162 out.write(bytes, i, 5);
165 out.write(bytes, i, bytes.length - i);
175 out.write(toWrite.getBytes());
/frameworks/native/include/binder/
H A DSafeInterface.h46 status_t write(Parcel* parcel, bool b) const { function in namespace:android::SafeInterface
58 typename std::enable_if<std::is_enum<E>::value, status_t>::type write(Parcel* parcel, function in namespace:android
60 return write(parcel, static_cast<typename std::underlying_type<E>::type>(e));
68 typename std::enable_if<std::is_base_of<Flattenable<T>, T>::value, status_t>::type write( function
70 return callParcel("write(Flattenable)", [&]() { return parcel->write(t); });
79 typename std::enable_if<std::is_base_of<Flattenable<T>, T>::value, status_t>::type write(
81 return callParcel("write(sp<Flattenable>)", [&]() { return parcel->write(*(t.get())); });
89 typename std::enable_if<std::is_base_of<LightFlattenable<T>, T>::value, status_t>::type write(
[all...]
/frameworks/native/libs/binder/include/binder/
H A DSafeInterface.h46 status_t write(Parcel* parcel, bool b) const { function in namespace:android::SafeInterface
58 typename std::enable_if<std::is_enum<E>::value, status_t>::type write(Parcel* parcel, function in namespace:android
60 return write(parcel, static_cast<typename std::underlying_type<E>::type>(e));
68 typename std::enable_if<std::is_base_of<Flattenable<T>, T>::value, status_t>::type write( function
70 return callParcel("write(Flattenable)", [&]() { return parcel->write(t); });
79 typename std::enable_if<std::is_base_of<Flattenable<T>, T>::value, status_t>::type write(
81 return callParcel("write(sp<Flattenable>)", [&]() { return parcel->write(*(t.get())); });
89 typename std::enable_if<std::is_base_of<LightFlattenable<T>, T>::value, status_t>::type write(
[all...]
/frameworks/av/media/mtp/
H A DMtpFfsHandle.cpp329 ret = TEMP_FAILURE_RETRY(::write(mControl, &v2_descriptor, sizeof(v2_descriptor)));
338 ret = TEMP_FAILURE_RETRY(::write(mControl, &v1_descriptor, sizeof(v1_descriptor)));
344 ret = TEMP_FAILURE_RETRY(::write(mControl, &strings, sizeof(strings)));
365 LOG(VERBOSE) << "MTP about to write fd = " << fd << ", len=" << len;
370 int n = TEMP_FAILURE_RETRY(::write(fd, buf, write_len));
373 PLOG(ERROR) << "write ERROR: fd = " << fd << ", n = " << n;
431 int MtpFfsHandle::write(const void* data, int len) { function in class:android::MtpFfsHandle
518 /* Read from USB and write to a local file. */
544 bool write = false; local
549 while (file_length > 0 || write) {
648 bool write = false; local
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DMediaRecorderStressTest.java97 mOutput.write(this.getName() + "\n");
113 mOutput.write("\n\n");
204 mOutput.write("Total number of loops: " + iterations + "\n");
207 mOutput.write("No of loop: ");
262 mOutput.write(i + 1);
264 mOutput.write(String.format(", %d", (i + 1)));
307 mOutput.write("Total number of loops: " + NUMBER_OF_TIME_LAPSE_LOOPS + "\n");
311 mOutput.write("No of loop: camera " + i);
366 mOutput.write(j + 1);
368 mOutput.write(Strin
[all...]
/frameworks/av/media/mtp/tests/
H A DMtpFfsHandle_test.cpp91 EXPECT_EQ(write(bulk_out, dummyDataStr.c_str(), TEST_PACKET_SIZE), TEST_PACKET_SIZE);
101 EXPECT_EQ(handle->write(dummyDataStr.c_str(), TEST_PACKET_SIZE), TEST_PACKET_SIZE);
118 EXPECT_EQ(write(bulk_out, ss.str().c_str(), size), size);
138 EXPECT_EQ(write(bulk_out, ss.str().c_str(), size), size);
161 EXPECT_EQ(write(dummy_file.fd, ss.str().c_str(), size), size);
190 EXPECT_EQ(write(dummy_file.fd, ss.str().c_str(), size), size);
217 EXPECT_EQ(write(dummy_file.fd, ss.str().c_str(), size), size);
/frameworks/native/libs/gui/
H A DIGraphicBufferProducer.cpp219 data.write(*buffer.get());
243 data.write(input);
263 data.write(*fence.get());
463 ALOGE("IGBP::getFrameTimestamps failed to write token: %d", result);
633 reply->write(*buffer);
667 reply->write(*fence);
669 reply->write(frameTimestamps);
690 reply->write(*buffer);
694 reply->write(*fence);
718 reply->write(outpu
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiConfigStoreTest.java181 // Perform force write to both share and user store file.
183 mWifiConfigStore.write(true);
195 * Tests the write API with the force flag set to true.
196 * Expected behavior: This should trigger an immediate write to the store files and no alarms
202 mWifiConfigStore.write(true);
210 * Tests the write API with the force flag set to false.
211 * Expected behavior: This should set an alarm to write to the store files.
216 mWifiConfigStore.write(false);
230 * Tests the force write after a buffered write
[all...]
/frameworks/base/core/java/android/net/
H A DNetworkIdentity.java118 proto.write(NetworkIdentityProto.TYPE, mType);
123 proto.write(NetworkIdentityProto.SUBSCRIBER_ID, scrubSubscriberId(mSubscriberId));
125 proto.write(NetworkIdentityProto.NETWORK_ID, mNetworkId);
126 proto.write(NetworkIdentityProto.ROAMING, mRoaming);
127 proto.write(NetworkIdentityProto.METERED, mMetered);

Completed in 585 milliseconds

1234567891011>>