Searched refs:write (Results 201 - 225 of 577) sorted by relevance

1234567891011>>

/frameworks/av/radio/
H A DIRadio.cpp67 data.write(config, sizeof(struct radio_band_config));
252 reply->write(&config, sizeof(struct radio_band_config));
314 reply->write(&info, sizeof(struct radio_program_info));
319 reply->write(info.metadata, size);
/frameworks/av/services/camera/libcameraservice/common/
H A DCamera2ClientBase.cpp138 write(fd, result.string(), result.size());
151 write(fd, result.string(), result.size());
155 write(fd, result.string(), result.size());
163 write(fd, result.string(), result.size());
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3DummyStream.cpp68 write(fd, lines.string(), lines.size());
/frameworks/base/core/java/android/net/
H A DLocalSocketImpl.java51 /** file descriptor array that should be written during next write */
130 public void write (byte[] b) throws IOException { method in class:LocalSocketImpl.SocketOutputStream
131 write(b, 0, b.length);
136 public void write (byte[] b, int off, int len) throws IOException { method in class:LocalSocketImpl.SocketOutputStream
150 public void write (int b) throws IOException { method in class:LocalSocketImpl.SocketOutputStream
547 * is one deep. The file descriptors will be sent with the next write
/frameworks/base/core/java/com/android/internal/util/
H A DFileRotator.java76 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/java/com/android/server/backup/
H A DUsageStatsBackupHelper.java42 out.write(localUsageStatsManager.getBackupPayload(UserHandle.USER_SYSTEM, key));
/frameworks/base/core/tests/coretests/src/android/database/
H A DDatabaseErrorHandlerTest.java67 // write junk into the database file
69 writer.write("blah");
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/base/
H A DInputStreamSource.java72 byteStream.write(buffer, 0, bytesRead);
/frameworks/base/services/core/java/com/android/server/
H A DRandomBlock.java82 // write is a character device, such as /dev/urandom, and
88 out.write(block);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DAudioTrackDecoder.java89 mAudioByteStream.write(data);
/frameworks/compile/mclinker/include/mcld/Support/
H A DFileHandle.h87 bool write(const void* pMemBuffer, size_t pStartOffset, size_t pLength);
/frameworks/native/include/gui/
H A DSensorEventQueue.h74 static ssize_t write(const sp<BitTube>& tube,
/frameworks/opt/bluetooth/src/android/bluetooth/client/map/
H A DBluetoothMasRequestGetMessage.java68 baos.write(buf, 0, len);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioInputDescriptor.cpp195 write(fd, result.string(), result.size());
265 write(fd, buffer, strlen(buffer));
268 write(fd, buffer, strlen(buffer));
/frameworks/base/core/java/android/os/
H A DMemoryFile.java33 * After a file is purged, attempts to read or write the file will
97 * After this method has been called, read and write operations through this object
216 * @param buffer byte array to write bytes from.
217 * @param srcOffset offset into the byte array buffer to write from.
218 * @param destOffset offset into the memory file to write to.
219 * @param count number of bytes to write.
225 throw new IOException("Can't write to deactivated memory file.");
336 public void write(byte buffer[], int offset, int count) throws IOException { method in class:MemoryFile.MemoryOutputStream
342 public void write(int oneByte) throws IOException { method in class:MemoryFile.MemoryOutputStream
347 write(mSingleByt
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DFileSynthesisCallback.java140 fileChannel.write(ByteBuffer.allocate(WAV_HEADER_LENGTH));
143 Log.e(TAG, "Failed to write wav header to output file descriptor", ex);
185 fileChannel.write(ByteBuffer.wrap(buffer, offset, length));
188 Log.e(TAG, "Failed to write to output file descriptor", ex);
236 fileChannel.write(
245 Log.e(TAG, "Failed to write to output file descriptor", ex);
/frameworks/base/core/jni/
H A Dandroid_backup_BackupHelperDispatcher.cpp190 err = write(fd, &header, sizeof(chunk_header_v1));
196 err = write(fd, buf, header.nameLength);
204 err = write(fd, &zero, namePadding);
/frameworks/base/keystore/java/android/security/keystore/
H A DKeyStoreCryptoOperationChunkedStreamer.java170 bufferedOutput.write(opResult.output);
184 bufferedOutput.write(opResult.output);
286 bufferedOutput.write(opResult.output);
/frameworks/base/media/java/android/media/
H A DAudioTrack.java48 * {@link #write(byte[], int, int)}, {@link #write(short[], int, int)},
49 * and {@link #write(float[], int, int, int)} methods.
53 * one of the {@code write()} methods. These are blocking and return when the data has been
199 * The write mode indicating the write operation will block until all data has been written,
201 * {@link #write(byte[], int, int, int)}, {@link #write(short[], int, int, int)},
202 * {@link #write(float[], int, int, int)}, {@link #write(ByteBuffe
1856 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { method in class:AudioTrack
1902 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, method in class:AudioTrack
1967 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { method in class:AudioTrack
2011 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, method in class:AudioTrack
2092 public int write(@NonNull float[] audioData, int offsetInFloats, int sizeInFloats, method in class:AudioTrack
2173 public int write(@NonNull ByteBuffer audioData, int sizeInBytes, method in class:AudioTrack
2246 public int write(@NonNull ByteBuffer audioData, int sizeInBytes, method in class:AudioTrack
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
H A DOMAConstants.java116 out.write(prefix);
117 out.write(octets);
121 out.write(INDENT, 0, level);
H A DOMAConstructed.java142 out.write(String.format("(%s)", getContext()).getBytes(StandardCharsets.UTF_8));
144 out.write(new byte[]{'+', '\n'});
150 out.write(".\n".getBytes(StandardCharsets.UTF_8));
/frameworks/base/services/core/java/com/android/server/am/
H A DNativeCrashListener.java37 * order to write a description of a native crash. The crash info is
148 Os.write(peerFd, ackSignal, 0, 1);
248 os.write(buf, 0, bytes-1); // exclude the EOD token
252 os.write(buf, 0, bytes);
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
H A DTrackerActivity.java179 exportWriter.write(trackerData.getOutputHeader());
184 exportWriter.write(line);
186 exportWriter.write(trackerData.getOutputFooter());
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
H A DOMAConstructed.java145 out.write(String.format("(%s)", getContext()).getBytes(StandardCharsets.UTF_8));
147 out.write(new byte[] { '+', '\n' });
153 out.write(".\n".getBytes(StandardCharsets.UTF_8));
/frameworks/av/media/img_utils/src/
H A DTiffWriter.cpp59 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);

Completed in 3067 milliseconds

1234567891011>>