/frameworks/av/media/libaudiohal/2.0/ |
H A D | StreamHalHidl.cpp | 325 status_t StreamOutHalHidl::write(const void *buffer, size_t bytes, size_t *written) { function in class:StreamOutHalHidl 330 // Can't determine the size for the MQ buffer. Wait for a non-empty write request. 331 ALOGW_IF(mCallback.unsafe_get(), "First call to async write with 0 bytes"); 352 WriteCommand::WRITE, "write", static_cast<const uint8_t*>(buffer), bytes, 367 if (!mCommandMQ->write(&cmd)) { 368 ALOGE("command message queue write failed for \"%s\"", cmdName); 374 ALOGW("truncating write data from %lld to %lld due to insufficient data queue space", 378 if (!mDataMQ->write(data, dataSize)) { 379 ALOGE("data message queue write failed for \"%s\"", cmdName); 645 if (!mCommandMQ->write( [all...] |
H A D | StreamHalLocal.cpp | 139 status_t StreamOutHalLocal::write(const void *buffer, size_t bytes, size_t *written) { function in class:android::StreamOutHalLocal 140 ssize_t writeResult = mStream->write(mStream, buffer, bytes);
|
/frameworks/av/media/libaudiohal/4.0/ |
H A D | StreamHalLocal.cpp | 141 status_t StreamOutHalLocal::write(const void *buffer, size_t bytes, size_t *written) { function in class:android::V4_0::StreamOutHalLocal 142 ssize_t writeResult = mStream->write(mStream, buffer, bytes);
|
H A D | StreamHalHidl.cpp | 336 status_t StreamOutHalHidl::write(const void *buffer, size_t bytes, size_t *written) { function in class:android::StreamOutHalHidl 341 // Can't determine the size for the MQ buffer. Wait for a non-empty write request. 342 ALOGW_IF(mCallback.unsafe_get(), "First call to async write with 0 bytes"); 363 WriteCommand::WRITE, "write", static_cast<const uint8_t*>(buffer), bytes, 378 if (!mCommandMQ->write(&cmd)) { 379 ALOGE("command message queue write failed for \"%s\"", cmdName); 385 ALOGW("truncating write data from %lld to %lld due to insufficient data queue space", 389 if (!mDataMQ->write(data, dataSize)) { 390 ALOGE("data message queue write failed for \"%s\"", cmdName); 673 if (!mCommandMQ->write( [all...] |
/frameworks/av/media/libmediaplayer2/ |
H A D | MediaPlayer2AudioOutput.cpp | 57 ::write(fd, result.string(), result.size()); 483 ssize_t MediaPlayer2AudioOutput::write(const void* buffer, size_t size, bool blocking) { function in class:android::MediaPlayer2AudioOutput 485 LOG_ALWAYS_FATAL_IF(mCallback != NULL, "Don't call write if supplying a callback."); 487 //ALOGV("write(%p, %u)", buffer, size); 489 return mTrack->write(buffer, size, blocking);
|
H A D | JAudioTrack.cpp | 322 ssize_t JAudioTrack::write(const void* buffer, size_t size, bool blocking) { function in class:android::JAudioTrack 345 jmethodID jWrite = env->GetMethodID(mAudioTrackCls, "write", "(Ljava/nio/ByteBuffer;II)I"); 452 ::write(fd, result.string(), result.size());
|
/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 | 167 int MtpFfsHandle::write(const void* data, size_t len) { function in class:android::MtpFfsHandle 259 if (::write(mControl, buf.data(), length) != length) { 260 PLOG(ERROR) << "Mtp error ctrlreq write data"; 364 if (::write(mBulkOut, nullptr, 0) != -1 || errno != EBADMSG) 467 // Get the return status of the last write request. 483 // Get the result of the read request, and queue a write to disk. 536 // Enqueue a new write request 608 // Wait for usb write. Cancel unwritten portion if there's an error. 637 // Queue up a write to usb. 650 if (write(mIobu [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothSocket.java | 564 /*package*/ int write(byte[] b, int offset, int length) throws IOException { method in class:BluetoothSocket 568 // splitting the write into multiple smaller writes. 571 if (VDBG) Log.d(TAG, "write: " + mSocketOS + " length: " + length); 574 mSocketOS.write(b, offset, length); 587 mSocketOS.write(b, tmpOffset, tmpLength); 593 mSocketOS.write(b, offset, length); 596 if (VDBG) Log.d(TAG, "write out: " + mSocketOS + " length: " + length);
|
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsCollection.java | 495 public void write(DataOutputStream out) throws IOException { method in class:NetworkStatsCollection 699 proto.write(NetworkStatsCollectionKeyProto.UID, key.uid); 700 proto.write(NetworkStatsCollectionKeyProto.SET, key.set); 701 proto.write(NetworkStatsCollectionKeyProto.TAG, key.tag);
|
/frameworks/base/services/core/java/com/android/server/pm/dex/ |
H A D | PackageDexUsage.java | 220 write(osw); 227 Slog.e(TAG, "Failed to write usage for dex files", e); 250 /* package */ void write(Writer out) { method in class:PackageDexUsage 684 write(sw);
|
/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/av/media/libaaudio/src/core/ |
H A D | AudioStream.h | 317 // A Stream will only implement read() or write() depending on its direction. 318 virtual aaudio_result_t write(const void *buffer __unused, function in class:aaudio::AudioStream
|
/frameworks/base/core/java/android/print/ |
H A D | PrintManager.java | 879 public void write(PageRange[] pages, ParcelFileDescriptor fd, method in class:PrintManager.PrintDocumentAdapterDelegate 887 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:__anon1070::JavaArrayWriter 122 return static_cast<JavaArrayWriter*>(clientData)->write(data, offset, length);
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ProcessList.java | 214 private void updateOomLevels(int displayWidth, int displayHeight, boolean write) { argument 292 if (write) { 825 sLmkdOutputStream.write(buf.array(), 0, buf.position());
|
/frameworks/av/media/libaaudio/examples/loopback/src/ |
H A D | LoopbackAnalyzer.h | 251 int write(int16_t *inputData, int inputChannelCount, int numFrames) { function in class:AudioRecording 263 int write(float *inputData, int inputChannelCount, int numFrames) { function in class:AudioRecording 590 mAudioRecording.write(inputData, inputChannelCount, numFrames); 597 numWritten = mAudioRecording.write(inputData, inputChannelCount, numFrames);
|
/frameworks/av/services/audioflinger/ |
H A D | Tracks.cpp | 278 (void) mTeeSink->write(buffer->raw, buffer->frameCount); 1345 bool AudioFlinger::PlaybackThread::OutputTrack::write(void* data, uint32_t frames) function in class:android::AudioFlinger::PlaybackThread::OutputTrack 1360 // First write pending buffers, then new data 1376 ALOGV("OutputTrack::write() %p thread %p no more output buffers; status %d", this, 1413 ALOGV("OutputTrack::write() %p thread %p released overflow buffer %zu", this, 1421 // If we could not write all frames, allocate a buffer and queue it for next time. 1432 ALOGV("OutputTrack::write() %p thread %p adding overflow buffer %zu", this, 1435 ALOGW("OutputTrack::write() %p thread %p no more overflow buffers", 1441 // Calling write() with a 0 length buffer means that no more data will be written:
|
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageInstaller.java | 800 * Open a stream to write an APK file into the session. 808 * You can write data into the returned stream, optionally call 849 public void write(@NonNull String name, long offsetBytes, long lengthBytes, method in class:PackageInstaller.Session 852 mSession.write(name, offsetBytes, lengthBytes, fd);
|
/frameworks/base/core/java/android/util/proto/ |
H A D | ProtoOutputStream.java | 29 * Class to write to a protobuf stream. 31 * Each write method takes an ID code from the protoc generated classes 32 * and the value to write. To make a nested object, call #start 40 * TODO: Add a constructor that takes an OutputStream and write to that 54 * cache the size, and then write the size-prefixed buffers. 62 * So what we do here is to let the calling code write the data into a 78 * To accomplish the multiple passes, whenever we write a 79 * WIRE_TYPE_LENGTH_DELIMITED field, we write the size occupied in our 84 * write the negative of childRawSize, as a sentinel that we need to 276 public void write(lon method in class:ProtoOutputStream 411 public void write(long fieldId, float val) { method in class:ProtoOutputStream 546 public void write(long fieldId, int val) { method in class:ProtoOutputStream 681 public void write(long fieldId, long val) { method in class:ProtoOutputStream 814 public void write(long fieldId, boolean val) { method in class:ProtoOutputStream 843 public void write(long fieldId, String val) { method in class:ProtoOutputStream 872 public void write(long fieldId, byte[] val) { method in class:ProtoOutputStream [all...] |
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLSurfaceView.java | 1868 @Override public void write(char[] buf, int offset, int count) { method in class:GLSurfaceView.LogWriter
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | PackageInstallerSession.java | 609 public void write(String name, long offsetBytes, long lengthBytes, method in class:PackageInstallerSession 1657 * @param out Where to write the session to 1660 void write(@NonNull XmlSerializer out, @NonNull File sessionsDir) throws IOException { method in class:PackageInstallerSession 1711 Slog.w(TAG, "Failed to write icon " + appIconFile + ": " + e.getMessage());
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/store/ |
H A D | SetterStore.java | 439 public void write(String projectPackage, ProcessingEnvironment processingEnvironment) method in class:SetterStore
|
/frameworks/av/media/libaudioclient/ |
H A D | AudioTrack.cpp | 707 // write before stop could be partial. 1409 // use case 4: synchronous write 1760 ssize_t AudioTrack::write(const void* buffer, size_t userSize, bool blocking) function in class:android::AudioTrack 1779 ALOGE("AudioTrack::write(buffer=%p, size=%zu (%zd)", buffer, userSize, userSize); 2810 ::write(fd, result.string(), result.size());
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 364 ::write(fd, result.string(), result.size()); 399 write(fd, result.string(), result.size()); 407 write(fd, "\n", 1); 444 write(fd, result.string(), result.size()); 543 write(fd, result.string(), result.size()); 1953 ALOGV("can't chain callback and write"); 2240 ssize_t MediaPlayerService::AudioOutput::write(const void* buffer, size_t size, bool blocking) function in class:android::MediaPlayerService::AudioOutput 2243 LOG_ALWAYS_FATAL_IF(mCallback != NULL, "Don't call write if supplying a callback."); 2245 //ALOGV("write(%p, %u)", buffer, size); 2247 return mTrack->write(buffe [all...] |