Searched defs:write (Results 26 - 50 of 56) sorted by relevance

123

/frameworks/base/tools/aapt/
H A DZipEntry.cpp469 status_t ZipEntry::LocalFileHeader::write(FILE* fp) function in class:ZipEntry::LocalFileHeader
488 /* write filename */
494 /* write "extra field" */
627 status_t ZipEntry::CentralDirEntry::write(FILE* fp) function in class:ZipEntry::CentralDirEntry
652 /* write filename */
658 /* write "extra field" */
664 /* write comment */
H A DZipFile.cpp73 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.
509 * Go back and write the LFH.
515 pEntry->mLFH.write(mZipFp);
583 pEntry->mLFH.write(mZipFp);
738 * Compress all of the data in "srcFp" and write it to "dstFp".
839 /* write when we're full or when we're done */
847 ALOGD("write
1262 status_t ZipFile::EndOfCentralDir::write(FILE* fp) function in class:ZipFile::EndOfCentralDir
[all...]
/frameworks/compile/mclinker/lib/Support/
H A DFileHandle.cpp198 bool FileHandle::write(const void* pMemBuffer, size_t pStartOffset, size_t pLength) function in class:FileHandle
239 // write-only
244 // read and write
249 // can not read/write
/frameworks/native/include/binder/
H A DParcel.h91 status_t write(const void* data, size_t len);
105 status_t write(const Flattenable& val);
108 status_t write(const LightFlattenable<T>& val);
280 status_t Parcel::write(const LightFlattenable<T>& val) { function in class:android::Parcel
/frameworks/av/media/libnbaio/
H A DMonoPipe.cpp96 ssize_t MonoPipe::write(const void *buffer, size_t count) function in class:android::MonoPipe
163 // deduct the elapsed time since previous write() completed
186 // record the time that this write() completed
218 // use the current value of the write pointer to figure out how many
220 // next time we write to the MonoPipe, the data will hit the speakers at
/frameworks/base/core/java/android/content/res/
H A DAssetFileDescriptor.java270 public void write(byte[] buffer, int offset, int count) throws IOException { method in class:AssetFileDescriptor.AutoCloseOutputStream
274 super.write(buffer, offset, count);
279 super.write(buffer, offset, count);
283 public void write(byte[] buffer) throws IOException { method in class:AssetFileDescriptor.AutoCloseOutputStream
288 super.write(buffer);
293 super.write(buffer);
297 public void write(int oneByte) throws IOException { method in class:AssetFileDescriptor.AutoCloseOutputStream
300 super.write(oneByte);
305 super.write(oneByte);
/frameworks/base/core/java/android/os/
H A DMemoryFile.java33 * After a file is purged, attempts to read or write the file will
92 * After this method has been called, read and write operations through this object
211 * @param buffer byte array to write bytes from.
212 * @param srcOffset offset into the byte array buffer to write from.
213 * @param destOffset offset into the memory file to write to.
214 * @param count number of bytes to write.
220 throw new IOException("Can't write to deactivated memory file.");
331 public void write(byte buffer[], int offset, int count) throws IOException { method in class:MemoryFile.MemoryOutputStream
337 public void write(int oneByte) throws IOException { method in class:MemoryFile.MemoryOutputStream
342 write(mSingleByt
[all...]
/frameworks/base/core/java/android/speech/srec/
H A DWaveHeader.java230 public int write(OutputStream out) throws IOException { method in class:WaveHeader
254 for (int i = 0; i < id.length(); i++) out.write(id.charAt(i));
258 out.write(val >> 0);
259 out.write(val >> 8);
260 out.write(val >> 16);
261 out.write(val >> 24);
265 out.write(val >> 0);
266 out.write(val >> 8);
/frameworks/base/core/java/android/speech/tts/
H A DBlockingAudioTrack.java117 public int write(byte[] data) { method in class:BlockingAudioTrack
164 // The last call to AudioTrack.write( ) will return only after
202 int written = audioTrack.write(bytes, count, bytes.length);
/frameworks/base/core/java/com/android/internal/os/
H A DLoggingPrintStream.java63 public void write(int oneByte) throws IOException {
110 public void write(int oneByte) { method in class:LoggingPrintStream
111 write(new byte[] { (byte) oneByte }, 0, 1);
115 public void write(byte[] buffer) { method in class:LoggingPrintStream
116 write(buffer, 0, buffer.length);
120 public synchronized void write(byte bytes[], int start, int count) { method in class:LoggingPrintStream
/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/jni/android/graphics/
H A DCreateJavaOutputStreamAdaptor.cpp192 virtual bool write(const void* buffer, size_t size) { function in class:SkJavaOutputStream
207 SkDebugf("--- write:SetByteArrayElements threw an exception\n");
216 SkDebugf("------- write threw an exception\n");
246 "write", "([BII)V");
/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DFileRotatorTest.java80 // write single new value
96 // first combine should have empty read, but still write data.
102 // and write final data to disk.
179 // first, write some valid data
188 public void write(OutputStream out) throws IOException {
194 fail("woah, somehow able to write exception");
200 // the failed write above.
224 write("rotator.100-200", "meow");
310 // return to present and verify we write oldest active file
321 // write activ
377 private void write(String name, String value) throws IOException { method in class:FileRotatorTest
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DProcessList.java175 private void updateOomLevels(int displayWidth, int displayHeight, boolean write) { argument
206 if (write) {
227 fos.write(data.getBytes());
229 Slog.w(ActivityManagerService.TAG, "Unable to write " + path);
/frameworks/base/services/java/com/android/server/net/
H A DNetworkStatsRecorder.java263 * with anything read from disk, and write combined set to disk. Clears the
289 public void write(OutputStream out) throws IOException { method in class:NetworkStatsRecorder.CombiningRewriter
290 mCollection.write(new DataOutputStream(out));
326 public void write(OutputStream out) throws IOException { method in class:NetworkStatsRecorder.RemoveUidRewriter
327 mTemp.write(new DataOutputStream(out));
H A DNetworkStatsCollection.java293 public void write(DataOutputStream out) throws IOException { method in class:NetworkStatsCollection
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DSerializedFrame.java92 public final void write(byte b[]) { method in class:SerializedFrame.DirectByteOutputStream
93 write(b, 0, b.length);
97 public final void write(byte b[], int off, int len) { method in class:SerializedFrame.DirectByteOutputStream
104 public final void write(int b) { method in class:SerializedFrame.DirectByteOutputStream
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothSocket.java420 /*package*/ int write(byte[] b, int offset, int length) throws IOException { method in class:BluetoothSocket
422 if (VDBG) Log.d(TAG, "write: " + mSocketOS + " length: " + length);
423 mSocketOS.write(b, offset, length);
425 if (VDBG) Log.d(TAG, "write out: " + mSocketOS + " length: " + length);
/frameworks/base/core/java/android/net/
H A DLocalSocketImpl.java42 /** file descriptor array that should be written during next write */
112 public void write (byte[] b) throws IOException { method in class:LocalSocketImpl.SocketOutputStream
113 write(b, 0, b.length);
118 public void write (byte[] b, int off, int len) throws IOException { method in class:LocalSocketImpl.SocketOutputStream
132 public void write (int b) throws IOException { method in class:LocalSocketImpl.SocketOutputStream
428 * is one deep. The file descriptors will be sent with the next write
/frameworks/base/voip/java/android/net/sip/
H A DSimpleSessionDescription.java139 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/base/services/java/com/android/server/usb/
H A DUsbSettingsManager.java157 public void write(XmlSerializer serializer) throws IOException { method in class:UsbSettingsManager.DeviceFilter
296 public void write(XmlSerializer serializer)throws IOException { method in class:UsbSettingsManager.AccessoryFilter
513 filter.write(serializer);
520 filter.write(serializer);
529 Slog.e(TAG, "Failed to write settings", e);
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfigStore.java85 * the file. On the next write, the latest version is written to file.
87 * Any failures during read or write to the configuration file are ignored
685 DelayedDiskWrite.write(networks);
696 static void write (final List<WifiConfiguration> networks) { method in class:WifiConfigStore.DelayedDiskWrite
698 /* Do a delayed write to disk on a seperate handler thread */
1186 /* Compare current and new configuration and write to file on change */
1229 loge("Ignore invalid ip assignment during write");
1253 loge("Ignore invalid proxy configuration during write");
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsBackupAgent.java172 public void write(Writer w) throws IOException { method in class:SettingsBackupAgent.Network
173 w.write("\nnetwork={\n");
175 w.write("\t" + line + "\n");
177 w.write("}\n");
246 public void write(Writer w) throws IOException { method in class:SettingsBackupAgent.WifiNetworkSettings
248 net.write(w);
424 out.write(systemSettingsData);
427 out.write(secureSettingsData);
430 out.write(globalSettingsData);
433 out.write(local
[all...]
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorPlayer.cpp489 ssize_t VideoEditorPlayer::VeAudioOutput::write( function in class:android::VideoEditorPlayer::VeAudioOutput
492 LOG_FATAL_IF(mCallback != NULL, "Don't call write if supplying a callback.");
494 //ALOGV("write(%p, %u)", buffer, size);
497 ssize_t ret = mTrack->write(buffer, size);
573 ::write(fd, result.string(), result.size());
/frameworks/av/media/libmedia/
H A DAudioTrack.cpp1072 ssize_t AudioTrack::write(const void* buffer, size_t userSize) function in class:android::AudioTrack
1081 ALOGE("AudioTrack::write(buffer=%p, size=%u (%d)",
1086 ALOGV("write %p: %d bytes, mActive=%d", this, userSize, mActive);
1359 // restore write index and set other indexes to reflect empty buffer status
1450 ::write(fd, result.string(), result.size());

Completed in 918 milliseconds

123