/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsXml.java | 78 public static void write(AtomicFile file, IntervalStats stats) throws IOException { method in class:UsageStatsXml 81 write(fos, stats); 85 // When fos is null (successful write), this will no-op 116 static void write(OutputStream out, IntervalStats stats) throws IOException { method in class:UsageStatsXml 124 UsageStatsXmlV1.write(xml, stats);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | MediaAudioTrackTest.java | 339 track.write(data, 0, data.length); 340 track.write(data, 0, data.length); 367 track.write(data, 0, data.length); 368 track.write(data, 0, data.length); 397 track.write(data, 0, data.length); 398 track.write(data, 0, data.length); 428 track.write(data, 0, data.length); 429 track.write(data, 0, data.length); 462 track.write(data, 0, data.length); 463 track.write(dat [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/ |
H A D | BearerData.java | 449 outStream.write(8, 3); 450 outStream.write(4, bData.messageType); 451 outStream.write(8, bData.messageId >> 8); 452 outStream.write(8, bData.messageId); 453 outStream.write(1, bData.hasUserDataHeader ? 1 : 0); 509 outStream.write(7, UserData.UNENCODABLE_7_BIT_CHAR); 514 outStream.write(7, charCode); 553 * extended with byte-wise reversed endianness read/write 719 outStream.write(8, paramBytes); 720 outStream.write( [all...] |
/frameworks/av/media/libstagefright/ |
H A D | AACWriter.cpp | 240 write(mFd, &data, 1); 249 write(mFd, &data, 1); 260 write(mFd, &data, 1); 268 write(mFd, &data, 1); 271 write(mFd, &data, 1); 276 write(mFd, &data, 1); 281 write(mFd, &data, 1); 355 dataLength != write(mFd, data, dataLength)) {
|
/frameworks/base/core/java/android/print/ |
H A D | IPrintDocumentAdapter.aidl | 37 void write(in PageRange[] pages, in ParcelFileDescriptor fd,
|
/frameworks/base/core/java/android/service/persistentdata/ |
H A D | PersistentDataBlockManager.java | 31 * {@link PersistentDataBlockManager#write(byte[])} 82 * @param data the data to write 84 public int write(byte[] data) { method in class:PersistentDataBlockManager 86 return sService.write(data);
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | BitwiseOutputStream.java | 20 * An object that provides bitwise incremental write access to a byte array. 89 * @param bits the amount of data to write (gte 0, lte 8) 90 * @param data to write, will be masked to expose only bits param from lsb 92 public void write(int bits, int data) throws AccessException { method in class:BitwiseOutputStream 94 throw new AccessException("illegal write (" + bits + " bits)"); 109 * @param bits the amount of data to write 116 write(increment, (byte)(arr[i] >>> (8 - increment)));
|
/frameworks/base/libs/androidfw/ |
H A D | ObbFile.cpp | 240 ALOGW("failed to write to %s: %s\n", filename, strerror(errno)); 254 ALOGW("tried to write uninitialized ObbFile data\n"); 262 if (write(fd, &intBuf, sizeof(uint32_t)) != (ssize_t)sizeof(uint32_t)) { 263 ALOGW("couldn't write signature version: %s\n", strerror(errno)); 268 if (write(fd, &intBuf, sizeof(uint32_t)) != (ssize_t)sizeof(uint32_t)) { 269 ALOGW("couldn't write package version\n"); 274 if (write(fd, &intBuf, sizeof(uint32_t)) != (ssize_t)sizeof(uint32_t)) { 275 ALOGW("couldn't write package version\n"); 279 if (write(fd, mSalt, sizeof(mSalt)) != (ssize_t)sizeof(mSalt)) { 280 ALOGW("couldn't write sal [all...] |
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/ |
H A D | UnsafeByteSequence.java | 43 * Moves the write pointer back to the beginning of the sequence, 50 public void write(byte[] buffer, int offset, int length) { method in class:UnsafeByteSequence 60 public void write(int b) { method in class:UnsafeByteSequence
|
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/ |
H A D | BRWriter.kt | 23 public fun write(pkg : String): String = "package $pkg;${StringUtils.LINE_SEPARATOR}$klass"
|
/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 73 writerContext.write(" ");
|
/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
H A D | PoolingByteArrayOutputStreamTest.java | 61 os.write(data); 73 os.write(data[i]);
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
H A D | DiskBasedCache.java | 205 VolleyLog.d("Failed to write header for %s", file.getAbsolutePath()); 208 fos.write(entry.data); 494 os.write((n >> 0) & 0xff); 495 os.write((n >> 8) & 0xff); 496 os.write((n >> 16) & 0xff); 497 os.write((n >> 24) & 0xff); 510 os.write((byte)(n >>> 0)); 511 os.write((byte)(n >>> 8)); 512 os.write((byte)(n >>> 16)); 513 os.write((byt [all...] |
/frameworks/base/cmds/screencap/ |
H A D | screencap.cpp | 183 write(fd, data->data(), data->size()); 189 write(fd, &w, 4); 190 write(fd, &h, 4); 191 write(fd, &f, 4); 194 write(fd, base, w*Bpp);
|
/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/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
H A D | AppFuseTest.java | 161 stream.write('a'); 162 stream.write('b'); 163 stream.write('c'); 164 stream.write('d'); 165 stream.write('e'); 191 stream.write('a'); 228 stream.write('a');
|
/frameworks/base/obex/javax/obex/ |
H A D | ServerOperation.java | 119 * @param out the output stream to write to 435 out.write(headerArray); 486 out.write(0x49); 488 out.write((byte)(bodyLength >> 8)); 489 out.write((byte)bodyLength); 490 out.write(body); 494 out.write(0x48); 496 out.write((byte)(bodyLength >> 8)); 497 out.write((byte)bodyLength); 498 out.write(bod [all...] |
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
H A D | DocumentStack.java | 78 * details included in {@link #write(DataOutputStream)}, since they change 125 public void write(DataOutputStream out) throws IOException { method in class:DocumentStack 129 root.write(out); 137 doc.write(out);
|
/frameworks/native/include/private/gui/ |
H A D | LayerState.h | 73 status_t write(Parcel& output) const; 100 // non POD must be last. see write/read 107 status_t write(Parcel& output) const; 139 status_t write(Parcel& output) const;
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
H A D | SharingSupport.java | 76 fw.write("This is a file share"); 95 fw.write("This is a file share"); 99 fw.write("This is another file share");
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/ |
H A D | SharingSupport.java | 76 fw.write("This is a file share"); 95 fw.write("This is a file share"); 99 fw.write("This is another file share");
|
/frameworks/av/include/media/nbaio/ |
H A D | MonoPipe.h | 30 // - write() cannot overrun; instead it will return a short actual count if insufficient space 31 // - write() can optionally block if the pipe is full 59 virtual ssize_t write(const void *buffer, size_t count); 63 // See throttling mechanism in MonoPipe::write() 68 // Set the shutdown state for the write side of a pipe. 70 // a write that would otherwise block instead returns a short transfer count. 76 // Return true if the write side of a pipe is currently shutdown. 94 struct timespec mWriteTs; // time that the previous write() completed 96 const bool mWriteCanBlock; // whether write() should block if the pipe is full
|
/frameworks/av/include/media/stagefright/ |
H A D | SkipCutBuffer.h | 49 void write(const char *src, size_t num);
|
/frameworks/av/media/mtp/ |
H A D | MtpEventPacket.cpp | 43 int MtpEventPacket::write(int fd) { function in class:android::MtpEventPacket
|
H A D | MtpRequestPacket.cpp | 62 // write our buffer to the given endpoint (host mode) 63 int MtpRequestPacket::write(struct usb_request *request) function in class:android::MtpRequestPacket
|