Searched refs:write (Results 451 - 475 of 1003) sorted by relevance

<<11121314151617181920>>

/frameworks/support/compat/src/androidTest/java/androidx/core/content/
H A DFileProviderTest.java275 out.write(TEST_DATA_ALT);
296 out.write(TEST_DATA_ALT);
380 out.write(data);
435 bytes.write(buffer, 0, count);
/frameworks/support/slices/view/src/androidTest/java/androidx/slice/render/
H A DRenderTest.java98 out.write(buf, 0, len);
/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationRecord.java395 proto.write(NotificationRecordProto.KEY, sbn.getKey());
396 proto.write(NotificationRecordProto.STATE, state);
398 proto.write(NotificationRecordProto.CHANNEL_ID, getChannel().getId());
400 proto.write(NotificationRecordProto.CAN_SHOW_LIGHT, getLight() != null);
401 proto.write(NotificationRecordProto.CAN_VIBRATE, getVibration() != null);
402 proto.write(NotificationRecordProto.FLAGS, sbn.getNotification().flags);
403 proto.write(NotificationRecordProto.GROUP_KEY, getGroupKey());
404 proto.write(NotificationRecordProto.IMPORTANCE, getImportance());
406 proto.write(NotificationRecordProto.SOUND, getSound().toString());
/frameworks/av/drm/common/
H A DIDrmManagerService.cpp248 data.write(dataBuffer.data, dataBufferSize);
352 data.write(dataBuffer.data, dataBuffer.length);
512 data.write(inputData->data, inputData->length);
668 data.write(buf.data, buf.length);
714 data.write(headerInfo->data, headerInfo->length);
735 data.write(encBuffer->data, encBuffer->length);
739 data.write(IV->data, IV->length);
875 reply->write(value, bufferSize + 1);
907 reply->write(value, bufferSize + 1);
974 reply->write(drmBuffe
[all...]
/frameworks/av/include/media/stagefright/
H A DMPEG4Writer.h59 void write(const void *data, size_t size);
60 inline size_t write(const void *ptr, size_t size, size_t nmemb);
225 // Retrieve the proper chunk to write if there is one
229 // Actually write the given chunk to the file.
/frameworks/av/media/img_utils/include/img_utils/
H A DTiffWriter.h84 * write all SubIFDs and tags.
93 virtual status_t write(Output* out, StripSource** sources, size_t sourcesCount,
98 * write all SubIFDs and tags.
107 virtual status_t write(Output* out, Endianness end = LITTLE);
167 * Call this before using a StripSource as an input to write.
/frameworks/av/media/libaaudio/src/client/
H A DAudioStreamInternalPlay.cpp100 aaudio_result_t AudioStreamInternalPlay::write(const void *buffer, int32_t numFrames, function in class:AudioStreamInternalPlay
143 // If the read index passed the write index then consider it an underrun.
155 //ALOGD("AudioStreamInternal::processDataNow() - tried to write %d frames, wrote %d",
172 // Don't wait to write more data. Just prime the buffer.
275 // Render audio in the application callback and then write the data to the stream.
290 result = write(mCallbackBuffer, mCallbackFrames, timeoutNanos);
/frameworks/av/media/libaudioclient/
H A DIEffect.cpp81 data.write(pCmdData, size);
197 reply->write(resp, replySize);
/frameworks/av/media/libstagefright/
H A DAMRWriter.cpp90 if (write(mFd, kHeader, n) != n) {
239 ssize_t n = write(mFd,
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DMPEG4Writer.h59 void write(const void *data, size_t size);
60 inline size_t write(const void *ptr, size_t size, size_t nmemb);
225 // Retrieve the proper chunk to write if there is one
229 // Actually write the given chunk to the file.
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioPatch.cpp82 write(fd, result.string(), result.size());
169 write(fd, buffer, strlen(buffer));
/frameworks/base/cmds/incidentd/src/
H A DFdBuffer.cpp203 // write to parsing process
207 amt = ::write(toFd.get(), cirBuf + wpos, rpos - wpos);
209 amt = ::write(toFd.get(), cirBuf + wpos, BUFFER_SIZE - wpos);
213 VLOG("Fail to write toFd %d: %s", toFd.get(), strerror(errno));
222 // if buffer is empty and fd is closed, close write fd.
224 VLOG("Close write pipe %d", toFd.get());
/frameworks/base/core/java/android/app/backup/
H A DBlobBackupHelper.java155 Log.e(TAG, "Unable to write updated state", e);
167 // write the header directly to the sink ahead of the deflated payload
171 out.write(data);
202 inflated.write(buffer, 0, nRead);
/frameworks/base/core/java/android/os/
H A DLooper.java209 // Once we write a slow delivery log, suppress until the queue drains.
387 proto.write(LooperProto.THREAD_NAME, mThread.getName());
388 proto.write(LooperProto.THREAD_ID, mThread.getId());
/frameworks/base/core/java/android/speech/tts/
H A DBlockingAudioTrack.java116 public int write(byte[] data) { method in class:BlockingAudioTrack
163 // The last call to AudioTrack.write( ) will return only after
201 int written = audioTrack.write(bytes, count, bytes.length);
/frameworks/base/core/java/com/android/internal/logging/
H A DMetricsLogger.java50 public void write(LogMaker content) { method in class:MetricsLogger
189 /** @deprecated use {@link #write(LogMaker)} */
192 getLogger().write(content);
/frameworks/base/core/jni/
H A Dandroid_hardware_SerialPort.cpp218 jint ret = write(fd, buf, length);
234 int ret = write(fd, buf, length);
/frameworks/base/libs/common_time/
H A Ddiag_thread.cpp287 write(data_fd_, buf, strlen(buf));
310 write(data_fd_, buf, strlen(buf));
/frameworks/base/media/java/android/media/
H A DMiniThumbFile.java213 mChannel.write(mEmptyBuffer, pos);
258 mChannel.write(mBuffer, pos);
/frameworks/base/media/native/midi/
H A Dmidi.cpp251 ssize_t numWritten = write(((AMIDI_Port*)inputPort)->ufd, writeBuffer, numTransferBytes);
254 ALOGE("AMIDI_sendWithTimestamp Couldn't write MIDI data buffer. requested:%zu, written%zu",
264 ssize_t numWritten = write(((AMIDI_Port*)inputPort)->ufd, &opCode, numTransferBytes);
267 ALOGE("AMIDI_flush Couldn't write MIDI flush. requested:%zu, written%zu",
/frameworks/base/opengl/java/android/opengl/
H A DETC1Util.java203 * @param output the stream to write the formatted texture data to.
216 output.write(ioBuffer, 0, ETC1.ETC_PKM_HEADER_SIZE);
221 output.write(ioBuffer, 0, chunkSize);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DNetworkPolicyEditor.java79 // when we cleaned policies above, write back changes
89 write(policies);
95 public void write(NetworkPolicy[] policies) { method in class:NetworkPolicyEditor
/frameworks/base/services/backup/java/com/android/server/backup/
H A DBackupPasswordManager.java125 Slog.e(TAG, "Unable to write backup pw version; password not changed");
269 dataOutputStream.write(integer);
293 dataOutputStream.write(backupPasswordHash.salt);
/frameworks/base/services/core/java/com/android/server/
H A DRecoverySystemService.java94 uncryptFile.write(filename + "\n");
290 dos.write(cmdUtf8, 0, cmdUtf8.length);
/frameworks/base/services/core/java/com/android/server/job/controllers/
H A DIdleController.java248 proto.write(StateControllerProto.IdleController.IS_IDLE, mIdleTracker.isIdle());
257 proto.write(StateControllerProto.IdleController.TrackedJob.SOURCE_UID,

Completed in 756 milliseconds

<<11121314151617181920>>