/frameworks/base/core/java/com/android/internal/os/ |
H A D | LoggingPrintStream.java | 66 public void write(int oneByte) throws IOException { 113 public void write(int oneByte) { method in class:LoggingPrintStream 114 write(new byte[] { (byte) oneByte }, 0, 1); 118 public void write(byte[] buffer) { method in class:LoggingPrintStream 119 write(buffer, 0, buffer.length); 123 public synchronized void write(byte bytes[], int start, int count) { method in class:LoggingPrintStream
|
/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...] |
H A D | FileRotator.java | 76 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 D | CreateJavaOutputStreamAdaptor.cpp | 226 virtual bool write(const void* buffer, size_t size) { function in class:SkJavaOutputStream 245 SkDebugf("--- write:SetByteArrayElements threw an exception\n"); 254 SkDebugf("------- write threw an exception\n"); 308 gOutputStream_writeMethodID = getMethodIDCheck(env, outputStream_Clazz, "write", "([BII)V");
|
/frameworks/base/core/jni/android/graphics/pdf/ |
H A D | PdfDocument.cpp | 90 void write(SkWStream* stream) { function in class:android::PdfDocument 142 document->write(skWStream);
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
H A D | FileRotatorTest.java | 82 // 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 D | PdfEditor.java | 255 public void write(ParcelFileDescriptor output) throws IOException { method in class:PdfEditor
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | SerializedFrame.java | 88 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/PrintSpooler/src/com/android/printspooler/renderer/ |
H A D | PdfManipulationService.java | 354 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 D | ExifOutputStream.java | 43 * 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/base/services/core/java/com/android/server/wm/ |
H A D | TaskSnapshotPersister.java | 122 * In case a write/delete operation was lost because the system crashed, this makes sure to 235 next.write(); 255 abstract void write(); method in class:TaskSnapshotPersister.WriteQueueItem 294 void write() { method in class:TaskSnapshotPersister.StoreWriteQueueItem 328 fos.write(bytes); 389 void write() { method in class:TaskSnapshotPersister.DeleteWriteQueueItem 407 void write() { method in class:TaskSnapshotPersister.RemoveObsoleteFilesQueueItem
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsXmlV1.java | 275 // Now write the attributes representing the configuration object. 380 * @param xml The serializer to which to write the packageStats data. 381 * @param stats The stats object to write to the XML file. 383 public static void write(XmlSerializer xml, IntervalStats stats) throws IOException { method in class:UsageStatsXmlV1
|
/frameworks/base/telephony/java/com/android/internal/telephony/uicc/asn1/ |
H A D | Asn1Node.java | 537 * @throws IndexOutOfBoundsException If the {@code dest} doesn't have enough space to write. 542 "Not enough space to write. Required bytes: " + mEncodedLength); 544 write(dest, offset); 550 write(dest, 0); 572 /** Returns the new offset where to write the next node data. */ 573 private int write(byte[] dest, int offset) { method in class:Asn1Node 590 offset = child.write(dest, offset);
|
/frameworks/native/opengl/tools/glgen2/registry/ |
H A D | reg.py | 27 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/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
H A D | ImsRttTextHandler.java | 32 void write(String s); method in interface:ImsRttTextHandler.NetworkWriter 133 mRttTextStream.write(messageToIncall); 169 mNetworkWriter.write(stringToSend);
|
/frameworks/av/media/img_utils/src/ |
H A D | TiffWriter.cpp | 59 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/libaaudio/src/legacy/ |
H A D | AudioStreamTrack.cpp | 379 aaudio_result_t AudioStreamTrack::write(const void *buffer, function in class:AudioStreamTrack 396 ssize_t bytesWritten = mAudioTrack->write(buffer, numBytes, blocking); 400 ALOGE("invalid write, returned %d", (int)bytesWritten);
|
/frameworks/av/media/libstagefright/ |
H A D | HevcUtils.cpp | 142 bool HevcParameterSets::write(size_t index, uint8_t* dest, size_t size) { function in class:android::HevcParameterSets 471 if (!write(j, header + 2, size - (header - (uint8_t *)hvcc))) {
|
/frameworks/base/core/jni/ |
H A D | android_os_HwBlob.cpp | 129 status_t JHwBlob::write(size_t offset, const void *data, size_t size) { function in class:android::JHwBlob 171 return write(offset, &data, sizeof(data)); 403 status_t err = blob->write(offset, &x, sizeof(x)); \ 423 status_t err = blob->write(offset, &b, sizeof(b)); 446 subBlob->write(0 /* offset */, s, size); 455 blob->write(offset, &tmp, sizeof(tmp)); 471 status_t err = blob->write( \
|
/frameworks/base/libs/protoutil/src/ |
H A D | ProtoOutputStream.cpp | 54 ProtoOutputStream::write(uint64_t fieldId, double val) function in class:android::util::ProtoOutputStream 80 ProtoOutputStream::write(uint64_t fieldId, float val) function in class:android::util::ProtoOutputStream 106 ProtoOutputStream::write(uint64_t fieldId, int val) function in class:android::util::ProtoOutputStream 134 ProtoOutputStream::write(uint64_t fieldId, long long val) function in class:android::util::ProtoOutputStream 162 ProtoOutputStream::write(uint64_t fieldId, bool val) function in class:android::util::ProtoOutputStream 178 ProtoOutputStream::write(uint64_t fieldId, std::string val) function in class:android::util::ProtoOutputStream 194 ProtoOutputStream::write(uint64_t fieldId, const char* val, size_t size) function in class:android::util::ProtoOutputStream 204 // can directly write valid format of message bytes into ProtoOutputStream without calling start/end 302 // If raw size is larger than 0, write the negative value here to indicate a compact is needed. 336 // reset both edit pointer and write pointe [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsRecorder.java | 366 * with anything read from disk, and write combined set to disk. Clears the 392 public void write(OutputStream out) throws IOException { method in class:NetworkStatsRecorder.CombiningRewriter 393 mCollection.write(new DataOutputStream(out)); 429 public void write(OutputStream out) throws IOException { method in class:NetworkStatsRecorder.RemoveUidRewriter 430 mTemp.write(new DataOutputStream(out)); 490 proto.write(NetworkStatsRecorderProto.PENDING_TOTAL_BYTES, mPending.getTotalBytes());
|
/frameworks/native/include/binder/ |
H A D | Parcel.h | 108 status_t write(const void* data, size_t len); 130 // Take a UTF8 encoded string, convert to UTF16, write it to the parcel. 175 status_t write(const Flattenable<T>& val); 178 status_t write(const LightFlattenable<T>& val); 542 status_t write(const FlattenableHelperInterface& val); 571 status_t Parcel::write(const Flattenable<T>& val) { function in class:android::Parcel 573 return write(helper); 577 status_t Parcel::write(const LightFlattenable<T>& val) { function in class:android::Parcel
|
/frameworks/native/libs/binder/include/binder/ |
H A D | Parcel.h | 108 status_t write(const void* data, size_t len); 130 // Take a UTF8 encoded string, convert to UTF16, write it to the parcel. 175 status_t write(const Flattenable<T>& val); 178 status_t write(const LightFlattenable<T>& val); 542 status_t write(const FlattenableHelperInterface& val); 571 status_t Parcel::write(const Flattenable<T>& val) { function in class:android::Parcel 573 return write(helper); 577 status_t Parcel::write(const LightFlattenable<T>& val) { function in class:android::Parcel
|
/frameworks/opt/net/voip/src/java/android/net/sip/ |
H A D | SimpleSessionDescription.java | 139 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/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiConfigStore.java | 115 * Flag to indicate if there is a buffered write pending. 127 Log.wtf(TAG, "Buffered write failed", e); 241 * API to write the data provided by registered store data to config stores. 245 * @param forceSync boolean to force write the config stores now. if false, the writes are 248 public void write(boolean forceSync) method in class:WifiConfigStore 250 // Serialize the provided data and send it to the respective stores. The actual write will 259 // Every write provides a new snapshot to be persisted, so |forceSync| flag overrides any 302 * Helper method to start a buffered write alarm if one doesn't already exist. 314 * Helper method to stop a buffered write alarm if one exists. 324 * Helper method to actually perform the writes to the file. This flushes out any write dat [all...] |