/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/ |
H A D | build-release.py | 21 file.write(newVal + "\n")
|
/frameworks/support/samples/SupportLeanbackShowcase/ |
H A D | build-release.py | 21 file.write(newVal + "\n")
|
/frameworks/base/obex/javax/obex/ |
H A D | ClientSession.java | 489 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 D | ClientOperation.java | 48 * 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 D | AudioStreamOutSink.cpp | 58 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 D | Message.java | 527 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 D | PersistentDataBlockManager.java | 35 * {@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 D | AndroidHandler.java | 96 sw.write(r.getMessage()); 97 sw.write("\n");
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | FastPrintWriter.java | 49 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 D | SoundPoolThread.cpp | 25 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 D | CallbackWrapperWriter.kt | 39 public fun write() = kcode("") {
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
H A D | DomainNameElementTest.java | 45 * @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 D | DoclavaMultilineJavadocOptionFileOption.java | 62 public void write(JavadocOptionFileWriterContext writerContext) throws IOException { method in class:DoclavaMultilineJavadocOptionFileOption 74 writerContext.write(" ");
|
/frameworks/base/cmds/screencap/ |
H A D | screencap.cpp | 193 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 D | LoggingPrintStream.java | 63 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 D | android_util_EventLog.cpp | 58 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 D | LoggingPrintStreamTest.java | 136 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 D | SafeInterface.h | 46 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 D | SafeInterface.h | 46 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 D | MtpFfsHandle.cpp | 329 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 D | MediaRecorderStressTest.java | 97 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 D | MtpFfsHandle_test.cpp | 91 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 D | IGraphicBufferProducer.cpp | 219 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 D | WifiConfigStoreTest.java | 181 // 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 D | NetworkIdentity.java | 118 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);
|