Searched refs:write (Results 151 - 175 of 577) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/hardware/
H A DSerialPort.java102 * @param buffer to write
103 * @param length number of bytes to write
105 public void write(ByteBuffer buffer, int length) throws IOException { method in class:SerialPort
/frameworks/base/core/java/com/android/internal/os/
H A DTransferPipe.java133 if (DEBUG) Slog.i(TAG, "read=" + getReadFd() + " write=" + getWriteFd()
136 // Close the write fd, so we know when the other side is done.
211 fos.write(buffer, 0, size);
217 fos.write(buffer, start, i-start);
221 fos.write(bufferPrefix);
233 fos.write(buffer, start, size-start);
/frameworks/base/core/tests/coretests/src/android/net/
H A DSSLTest.java42 // System.out.println("going for write...");
43 out.write(get.getBytes());
/frameworks/base/libs/androidfw/
H A DBackupData.cpp77 amt = write(m_fd, &padding, paddingSize);
124 amt = write(m_fd, &header, sizeof(entity_header_v1));
132 amt = write(m_fd, k.string(), keyLen+1);
158 // We don't write padding here, because they're allowed to call this several
159 // times with smaller buffers. We write it at the end of WriteEntityHeader
161 ssize_t amt = write(m_fd, data, size);
164 if (kIsDebug) ALOGD("write returned error %d (%s)", m_status, strerror(m_status));
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DKeyValueMap.java77 writer.write(entry.getKey() + " = " + valueString + ";\n");
H A DSerializedFrame.java88 public final void write(byte b[]) { method in class:SerializedFrame.DirectByteOutputStream
89 write(b, 0, b.length);
93 public final void write(byte b[], int off, int len) { method in class:SerializedFrame.DirectByteOutputStream
100 public final void write(int b) { method in class:SerializedFrame.DirectByteOutputStream
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
H A DGraphReader.java49 writer.write(buffer, 0, bytesRead);
/frameworks/base/services/core/java/com/android/server/wm/
H A DViewServer.java191 out.write(value);
192 out.write("\n");
316 out.write("LIST UPDATE\n");
320 out.write("ACTION_FOCUS UPDATE\n");
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
H A DUsbAccessoryStreamTransport.java68 mOutputStream.write(buffer, offset, count);
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A DModuleClassLoader.java55 buffer.write(data, 0, nRead);
/frameworks/minikin/libs/minikin/
H A Dunicode_emoji_h_gen.py104 header_file.write(header)
/frameworks/native/cmds/bugreport/
H A Dbugreport.cpp82 bytes_written = TEMP_FAILURE_RETRY(write(STDOUT_FILENO,
86 printf("Failed to write data to stdout: read %zd, trying to send %zd (%s)\n",
/frameworks/native/cmds/bugreportz/
H A Dbugreportz_test.cpp56 ADD_FAILURE() << "cannot write '" << data << "' because socket is already closed";
60 int actual = write(write_fd_, data.data(), data.length());
/frameworks/native/include/gui/
H A DBitTube.h75 // send a message. The write is guaranteed to send the whole message or fail.
76 ssize_t write(void const* vaddr, size_t size);
79 // write call used to send the message, excess data is silently discarded.
/frameworks/native/services/inputflinger/host/
H A DInputFlinger.cpp62 write(fd, result.string(), result.size());
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/
H A Dbuild-local.py21 file.write(newVal + "\n")
/frameworks/support/samples/SupportLeanbackShowcase/
H A Dbuild-local.py21 file.write(newVal + "\n")
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DHwModule.cpp232 write(fd, result.string(), result.size());
234 write(fd, " - outputs:\n", strlen(" - outputs:\n"));
237 write(fd, buffer, strlen(buffer));
242 write(fd, " - inputs:\n", strlen(" - inputs:\n"));
245 write(fd, buffer, strlen(buffer));
334 write(fd, buffer, strlen(buffer));
337 write(fd, buffer, strlen(buffer));
/frameworks/base/core/java/android/view/
H A DViewDebug.java512 out.write("-1 -1 -1");
515 out.write("DONE.");
607 out.write(String.valueOf(durationMeasure));
608 out.write(' ');
609 out.write(String.valueOf(durationLayout));
610 out.write(' ');
611 out.write(String.valueOf(durationDraw));
679 clientStream.write(2);
697 clientStream.write(1);
824 out.write("DON
[all...]
/frameworks/av/media/libstagefright/timedtext/
H A DTextDescriptions.cpp56 // write the size of the text sample
58 // write the text sample as a byte array
60 parcel->write(data, size);
76 // write start time to display this text sample
89 // write text sample length and text sample itself
93 parcel->write(data + 2, textLen);
281 parcel->write(tmpData + 5, len);
304 parcel->write(tmpData, len);
487 parcel->write(tmpData, len);
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsBackupAgent.java225 public void write(Writer w) throws IOException { method in class:SettingsBackupAgent.Network
226 w.write("\nnetwork={\n");
228 w.write("\t" + line + "\n");
230 w.write("}\n");
377 public void write(Writer w) throws IOException { method in class:SettingsBackupAgent.WifiNetworkSettings
392 net.write(w);
662 out.write(systemSettingsData);
667 out.write(secureSettingsData);
672 out.write(globalSettingsData);
675 out.write(local
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DPersistentDataBlockService.java57 * {@link android.service.persistentdata.IPersistentDataBlockService}.write(byte[] data)
219 outputStream.write(digest, 0, DIGEST_SIZE_BYTES);
222 Slog.e(TAG, "failed to write block checksum", e);
286 outputStream.write(data, 0, DIGEST_SIZE_BYTES);
318 channel.write(data);
356 public int write(byte[] data) throws RemoteException {
359 // Need to ensure we don't write over the last byte
382 outputStream.write(checksum, 0, DIGEST_SIZE_BYTES);
383 outputStream.write(headerAndData.array());
/frameworks/av/media/libstagefright/
H A DMPEG4Writer.cpp126 // A helper class to handle faster write box with table entries
231 // @arg writer the writer to actual write to the storage
232 void write(MPEG4Writer *writer) const { function in struct:android::MPEG4Writer::Track::ListTableEntries
240 writer->write(*it, sizeof(TYPE) * ENTRY_SIZE, mElementCapacity);
243 writer->write(*it, sizeof(TYPE) * ENTRY_SIZE, nEntries);
467 ::write(fd, result.string(), result.size());
489 ::write(fd, result.string(), result.size());
783 * mWriteMoovBoxToMemory must be set to false to direct the write
812 write("free", 4);
821 write("
1253 size_t MPEG4Writer::write( function in class:android::MPEG4Writer
1451 void MPEG4Writer::write(const void *data, size_t size) { function in class:android::MPEG4Writer
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DSmsMessage.java325 bo.write(0x00);
334 bo.write(0x08);
338 bo.write(userData, 0, userData.length);
426 bo.write(0x04);
431 bo.write(data.length + smsHeaderData.length + 1);
434 bo.write(smsHeaderData.length);
435 bo.write(smsHeaderData, 0, smsHeaderData.length);
438 bo.write(data, 0, data.length);
476 bo.write(mtiByte);
479 bo.write(
[all...]
/frameworks/av/include/media/stagefright/
H A DMPEG4Writer.h59 void write(const void *data, size_t size);
60 inline size_t write(const void *ptr, size_t size, size_t nmemb);
161 // Retrieve the proper chunk to write if there is one
165 // Actually write the given chunk to the file.

Completed in 761 milliseconds

1234567891011>>