Searched defs:write (Results 51 - 75 of 92) sorted by relevance

1234

/frameworks/base/core/java/android/util/jar/
H A DStrictJarVerifier.java117 public void write(int value) { method in class:StrictJarVerifier.VerifierEntry
125 public void write(byte[] buf, int off, int nbytes) { method in class:StrictJarVerifier.VerifierEntry
/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/java/com/android/internal/util/
H A DFastPrintWriter.java33 public void write(char[] buf, int offset, int count) throws IOException { method in class:FastPrintWriter.DummyWriter
336 mOutputStream.write(mBytes.array(), 0, position);
364 mWriter.write(mText, 0, mPos);
467 * The bytes are then written to the target with {@code write(int)}.
473 * @see #write(int)
569 * the buffer to write to the target.
571 * the index of the first character in {@code buffer} to write.
573 * the number of characters in {@code buffer} to write.
579 public void write(char[] buf, int offset, int count) { method in class:FastPrintWriter
598 * the character to write t
601 public void write(int oneChar) { method in class:FastPrintWriter
619 public void write(String str) { method in class:FastPrintWriter
645 public void write(String str, int offset, int count) { method in class:FastPrintWriter
[all...]
H A DFileRotator.java76 public void write(OutputStream out) throws IOException; method in interface:FileRotator.Writer
118 // write failed with backup; recover last file
128 // write failed without backup; delete both
178 * writing modified data. Maintains a backup during write, which is restored
179 * if the write fails.
207 public void write(OutputStream out) throws IOException {
208 writer.write(out);
229 * writing modified data. Maintains a backup during write, which is restored
230 * if the write fails.
244 // skip when rewriter has nothing to write
[all...]
/frameworks/base/core/jni/android/graphics/
H A DCreateJavaOutputStreamAdaptor.cpp192 virtual bool write(const void* buffer, size_t size) { function in class:SkJavaOutputStream
211 SkDebugf("--- write:SetByteArrayElements threw an exception\n");
220 SkDebugf("------- write threw an exception\n");
274 gOutputStream_writeMethodID = getMethodIDCheck(env, outputStream_Clazz, "write", "([BII)V");
/frameworks/base/core/jni/android/graphics/pdf/
H A DPdfDocument.cpp90 void write(SkWStream* stream) { function in class:android::PdfDocument
143 document->write(skWStream);
/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/pdf/
H A DPdfEditor.java219 public void write(ParcelFileDescriptor output) throws IOException { method in class:PdfEditor
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
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/packages/DocumentsUI/src/com/android/documentsui/model/
H A DDocumentInfo.java104 public void write(DataOutputStream out) throws IOException { method in class:DocumentInfo
H A DRootInfo.java141 public void write(DataOutputStream out) throws IOException { method in class:RootInfo
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
H A DPdfManipulationService.java354 public void write(ParcelFileDescriptor destination) throws RemoteException { method in class:PdfManipulationService.PdfEditorImpl
359 Log.i(LOG_TAG, "write()");
361 mEditor.write(destination);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifOutputStream.java43 * eos.write(jpeg);
118 public void write(byte[] buffer, int offset, int length) throws IOException { method in class:ExifOutputStream
129 out.write(buffer, offset, byteToProcess);
147 throw new IOException("Not a valid jpeg image, cannot write exif");
149 out.write(mBuffer.array(), 0, 2);
164 out.write(mBuffer.array(), 0, 2);
177 out.write(mBuffer.array(), 0, 4);
180 out.write(mBuffer.array(), 0, 4);
187 out.write(buffer, offset, length);
196 public void write(in method in class:ExifOutputStream
205 public void write(byte[] buffer) throws IOException { method in class:ExifOutputStream
[all...]
/frameworks/native/opengl/tools/glgen2/registry/
H A Dreg.py27 def write( *args, **kwargs ): function
30 file.write( ' '.join([str(arg) for arg in args]) )
31 file.write( end )
211 # filename - name of file to generate, or None to write to stdout.
328 # errFile, warnFile, diagFile - file handles to write errors,
329 # warnings, diagnostics to. May be None to not write.
337 # beginFeature(interface, emit) - write interface for a feature
340 # emit - actually write to the header only when True
363 # logMsg - write a message of different categories to different
374 write('ERRO
[all...]
/frameworks/av/media/img_utils/src/
H A DTiffWriter.cpp59 status_t TiffWriter::write(Output* out, StripSource** sources, size_t sourcesCount, function in class:android::img_utils::TiffWriter
114 ALOGE("%s: Could not write to stream, received %d.", __FUNCTION__, ret);
132 status_t TiffWriter::write(Output* out, Endianness end) { function in class:android::img_utils::TiffWriter
361 BAIL_ON_FAIL(out.write(&endMarker, 0, 1), ret);
364 BAIL_ON_FAIL(out.write(&tiffMarker, 0, 1), ret);
367 BAIL_ON_FAIL(out.write(&offsetMarker, 0, 1), ret);
/frameworks/av/media/libstagefright/
H A DHevcUtils.cpp126 bool HevcParameterSets::write(size_t index, uint8_t* dest, size_t size) { function in class:android::HevcParameterSets
453 if (!write(j, header + 2, size - (header - (uint8_t *)hvcc))) {
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsCollection.java358 public void write(DataOutputStream out) throws IOException { method in class:NetworkStatsCollection
H A DNetworkStatsRecorder.java347 * with anything read from disk, and write combined set to disk. Clears the
373 public void write(OutputStream out) throws IOException { method in class:NetworkStatsRecorder.CombiningRewriter
374 mCollection.write(new DataOutputStream(out));
410 public void write(OutputStream out) throws IOException { method in class:NetworkStatsRecorder.RemoveUidRewriter
411 mTemp.write(new DataOutputStream(out));
/frameworks/native/include/binder/
H A DParcel.h101 status_t write(const void* data, size_t len);
123 // Take a UTF8 encoded string, convert to UTF16, write it to the parcel.
164 status_t write(const Flattenable<T>& val);
167 status_t write(const LightFlattenable<T>& val);
482 status_t write(const FlattenableHelperInterface& val);
511 status_t Parcel::write(const Flattenable<T>& val) { function in class:android::Parcel
513 return write(helper);
517 status_t Parcel::write(const LightFlattenable<T>& val) { function in class:android::Parcel
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSimpleSessionDescription.java139 mFields.write(buffer);
141 media.write(buffer);
368 private void write(StringBuilder buffer) { method in class:SimpleSessionDescription.Media
378 super.write(buffer);
513 private void write(StringBuilder buffer) { method in class:SimpleSessionDescription.Fields
/frameworks/av/media/libstagefright/webm/
H A DWebmElement.cpp113 int WebmElement::write(int fd, uint64_t& size) { function in class:android::WebmElement
117 ::write(fd, buf, 1); // extend file
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothSocket.java523 /*package*/ int write(byte[] b, int offset, int length) throws IOException { method in class:BluetoothSocket
527 // splitting the write into multiple smaller writes.
530 if (VDBG) Log.d(TAG, "write: " + mSocketOS + " length: " + length);
533 mSocketOS.write(b, offset, length);
543 mSocketOS.write(b, tmpOffset, tmpLength);
553 mSocketOS.write(b, offset, length);
556 if (VDBG) Log.d(TAG, "write out: " + mSocketOS + " length: " + length);
/frameworks/base/services/usb/java/com/android/server/usb/
H A DUsbSettingsManager.java197 public void write(XmlSerializer serializer) throws IOException { method in class:UsbSettingsManager.DeviceFilter
413 public void write(XmlSerializer serializer)throws IOException { method in class:UsbSettingsManager.AccessoryFilter
644 filter.write(serializer);
651 filter.write(serializer);
660 Slog.e(TAG, "Failed to write settings", e);
/frameworks/base/tools/aapt/
H A DZipFile.cpp73 return INVALID_OPERATION; // create requires write
408 pEntry->mLFH.write(mZipFp);
488 * We could write the "Data Descriptor", but there doesn't seem to
489 * be any point since we're going to go back and write the LFH.
508 * Go back and write the LFH.
514 pEntry->mLFH.write(mZipFp);
582 pEntry->mLFH.write(mZipFp);
735 * Compress all of the data in "srcFp" and write it to "dstFp".
836 /* write when we're full or when we're done */
844 ALOGD("write
1259 status_t ZipFile::EndOfCentralDir::write(FILE* fp) function in class:ZipFile::EndOfCentralDir
[all...]
/frameworks/av/services/audioflinger/
H A DTracks.cpp251 (void) mTeeSink->write(buffer->raw, buffer->frameCount);
1188 bool AudioFlinger::PlaybackThread::OutputTrack::write(void* data, uint32_t frames) function in class:android::AudioFlinger::PlaybackThread::OutputTrack
1203 // First write pending buffers, then new data
1219 ALOGV("OutputTrack::write() %p thread %p no more output buffers; status %d", this,
1254 ALOGV("OutputTrack::write() %p thread %p released overflow buffer %zu", this,
1262 // If we could not write all frames, allocate a buffer and queue it for next time.
1273 ALOGV("OutputTrack::write() %p thread %p adding overflow buffer %zu", this,
1276 ALOGW("OutputTrack::write() %p thread %p no more overflow buffers",
1282 // Calling write() with a 0 length buffer means that no more data will be written:

Completed in 954 milliseconds

1234