/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/pm/dex/ |
H A D | PackageDexUsage.java | 172 write(osw); 179 Slog.e(TAG, "Failed to write usage for dex files", e); 200 /* package */ void write(Writer out) { method in class:PackageDexUsage 529 write(sw);
|
/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 226 next.write(); 246 abstract void write(); method in class:TaskSnapshotPersister.WriteQueueItem 283 void write() { method in class:TaskSnapshotPersister.StoreWriteQueueItem 314 fos.write(bytes); 357 void write() { method in class:TaskSnapshotPersister.DeleteWriteQueueItem 375 void write() { method in class:TaskSnapshotPersister.RemoveObsoleteFilesQueueItem
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | UsageStatsXmlV1.java | 248 // Now write the attributes representing the configuration object. 333 * @param xml The serializer to which to write the packageStats data. 334 * @param stats The stats object to write to the XML file. 336 public static void write(XmlSerializer xml, IntervalStats stats) throws IOException { method in class:UsageStatsXmlV1
|
/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/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/core/ |
H A D | AudioStream.h | 220 // A Stream will only implement read() or write() depending on its direction. 221 virtual aaudio_result_t write(const void *buffer, function in class:aaudio::AudioStream
|
/frameworks/av/media/libaudiohal/ |
H A D | StreamHalLocal.cpp | 132 status_t StreamOutHalLocal::write(const void *buffer, size_t bytes, size_t *written) { function in class:android::StreamOutHalLocal 133 ssize_t writeResult = mStream->write(mStream, buffer, bytes);
|
/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 469 if (!write(j, header + 2, size - (header - (uint8_t *)hvcc))) {
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsCollection.java | 365 public void write(DataOutputStream out) throws IOException { method in class:NetworkStatsCollection 569 proto.write(NetworkStatsCollectionKeyProto.UID, key.uid); 570 proto.write(NetworkStatsCollectionKeyProto.SET, key.set); 571 proto.write(NetworkStatsCollectionKeyProto.TAG, key.tag);
|
H A D | NetworkStatsRecorder.java | 349 * with anything read from disk, and write combined set to disk. Clears the 375 public void write(OutputStream out) throws IOException { method in class:NetworkStatsRecorder.CombiningRewriter 376 mCollection.write(new DataOutputStream(out)); 412 public void write(OutputStream out) throws IOException { method in class:NetworkStatsRecorder.RemoveUidRewriter 413 mTemp.write(new DataOutputStream(out)); 473 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); 540 status_t write(const FlattenableHelperInterface& val); 569 status_t Parcel::write(const Flattenable<T>& val) { function in class:android::Parcel 571 return write(helper); 575 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); 540 status_t write(const FlattenableHelperInterface& val); 569 status_t Parcel::write(const Flattenable<T>& val) { function in class:android::Parcel 571 return write(helper); 575 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 | 111 * Flag to indicate if there is a buffered write pending. 123 Log.wtf(TAG, "Buffered write failed", e); 237 * API to write the data provided by registered store data to config stores. 241 * @param forceSync boolean to force write the config stores now. if false, the writes are 244 public void write(boolean forceSync) method in class:WifiConfigStore 246 // Serialize the provided data and send it to the respective stores. The actual write will 255 // Every write provides a new snapshot to be persisted, so |forceSync| flag overrides any 298 * Helper method to start a buffered write alarm if one doesn't already exist. 310 * Helper method to stop a buffered write alarm if one exists. 320 * Helper method to actually perform the writes to the file. This flushes out any write dat [all...] |
/frameworks/av/media/libstagefright/webm/ |
H A D | WebmElement.cpp | 113 int WebmElement::write(int fd, uint64_t& size) { function in class:android::WebmElement 117 ::write(fd, buf, 1); // extend file
|
/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/core/java/android/bluetooth/ |
H A D | BluetoothSocket.java | 528 /*package*/ int write(byte[] b, int offset, int length) throws IOException { method in class:BluetoothSocket 532 // splitting the write into multiple smaller writes. 535 if (VDBG) Log.d(TAG, "write: " + mSocketOS + " length: " + length); 538 mSocketOS.write(b, offset, length); 549 mSocketOS.write(b, tmpOffset, tmpLength); 555 mSocketOS.write(b, offset, length); 558 if (VDBG) Log.d(TAG, "write out: " + mSocketOS + " length: " + length);
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ProcessList.java | 210 private void updateOomLevels(int displayWidth, int displayHeight, boolean write) { argument 288 if (write) { 688 sLmkdOutputStream.write(buf.array(), 0, buf.position());
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbProfileGroupSettingsManager.java | 260 public void write(XmlSerializer serializer) throws IOException { method in class:UsbProfileGroupSettingsManager.DeviceFilter 487 public void write(XmlSerializer serializer)throws IOException { method in class:UsbProfileGroupSettingsManager.AccessoryFilter 781 * <p>In the uncommon case that the system crashes in between the scheduling and the write the 810 filter.write(serializer); 820 filter.write(serializer); 829 Slog.e(TAG, "Failed to write settings", e);
|
/frameworks/base/tools/aapt/ |
H A D | ZipFile.cpp | 73 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/base/core/java/android/print/ |
H A D | PrintManager.java | 872 public void write(PageRange[] pages, ParcelFileDescriptor fd, method in class:PrintManager.PrintDocumentAdapterDelegate 880 Log.e(LOG_TAG, "Error notifying for write start", re);
|
/frameworks/base/media/jni/ |
H A D | android_mtp_MtpDevice.cpp | 114 bool write(void* data, uint32_t offset, uint32_t length) { function in class:__anon1287::JavaArrayWriter 122 return static_cast<JavaArrayWriter*>(clientData)->write(data, offset, length);
|
/frameworks/av/media/libaudioclient/ |
H A D | AudioTrack.cpp | 624 // write before stop could be partial. 1336 // use case 4: synchronous write 1749 ssize_t AudioTrack::write(const void* buffer, size_t userSize, bool blocking) function in class:android::AudioTrack 1768 ALOGE("AudioTrack::write(buffer=%p, size=%zu (%zd)", buffer, userSize, userSize); 2734 ::write(fd, result.string(), result.size());
|
/frameworks/av/services/audioflinger/ |
H A D | Tracks.cpp | 267 (void) mTeeSink->write(buffer->raw, buffer->frameCount); 1289 bool AudioFlinger::PlaybackThread::OutputTrack::write(void* data, uint32_t frames) function in class:android::AudioFlinger::PlaybackThread::OutputTrack 1304 // First write pending buffers, then new data 1320 ALOGV("OutputTrack::write() %p thread %p no more output buffers; status %d", this, 1355 ALOGV("OutputTrack::write() %p thread %p released overflow buffer %zu", this, 1363 // If we could not write all frames, allocate a buffer and queue it for next time. 1374 ALOGV("OutputTrack::write() %p thread %p adding overflow buffer %zu", this, 1377 ALOGW("OutputTrack::write() %p thread %p no more overflow buffers", 1383 // Calling write() with a 0 length buffer means that no more data will be written:
|