Searched refs:write (Results 501 - 525 of 577) sorted by relevance

<<21222324

/frameworks/base/services/backup/java/com/android/server/backup/
H A DPackageManagerBackupAgent.java263 // write its signature block to the output, keyed on the package name.
320 // Now we can write the backup entity for this package
343 Slog.e(TAG, "Unable to write package backup data file!");
347 // Finally, write the new state blob -- just the list of all apps we handled
443 out.write(buffer);
528 // make sure to write our full backup dataset when given an opportunity.
581 // Util: write out our new backup state file
607 // now write all the app names + versions
615 Slog.e(TAG, "Unable to write package manager state file!");
/frameworks/base/services/core/java/com/android/server/
H A DLockSettingsStorage.java329 raf.write(hash, 0, hash.length);
517 * - Writes to storage write directly to the cache, but this MUST happen within the atomic
526 * This guarantees that no read operation can shadow a write to the cache that happens
608 // Make sure in-flight loads can't write to cache.
H A DNativeDaemonConnector.java478 mOutputStream.write(rawCmd.getBytes(StandardCharsets.UTF_8));
H A DLockSettingsService.java1071 outputStream.write(iv);
1072 outputStream.write(encryptionResult);
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkStatsCollection.java358 public void write(DataOutputStream out) throws IOException { method in class:NetworkStatsCollection
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
H A DAsmGeneratorTest.java448 bos.write(buffer, 0, read);
/frameworks/native/cmds/installd/
H A Dinstalld.cpp491 r = write(s, buf + n, count - n);
494 ALOGE("write error: %s\n", strerror(errno));
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiLogger.java557 bos.write(buf, 0, count);
H A DWifiNetworkHistory.java52 * Provides an API to read and write the network history from WifiConfigurations to file
129 * @param networks List of ConfiguredNetworks to write to NetworkHistory
142 mWriter.write(NETWORK_HISTORY_CONFIG_FILE, new DelayedDiskWrite.Writer() {
145 //loge("onWriteCalled write SSID: " + config.SSID);
181 logv("writeKnownNetworkHistory trying to write config with null SSID");
186 logv("writeKnownNetworkHistory write config " + config.configKey());
267 log("writeKnownNetworkHistory write linked "
/frameworks/base/services/core/java/com/android/server/am/
H A DAppErrors.java174 pw.write(info.stack, lastPos, pos-lastPos);
181 pw.write(info.stack, lastPos, info.stack.length()-lastPos);
H A DProcessStatsService.java227 Slog.i(TAG, "Prepared write state in " + (SystemClock.uptimeMillis()-now) + "ms");
248 if (DEBUG) Slog.d(TAG, "Performing write to " + mFile.getBaseFile());
266 stream.write(data.marshall());
521 fout.write(outData);
575 pw.println(" [--max N] --active] [--commit] [--reset] [--clear] [--write] [-h]");
594 pw.println(" --write: write current in-memory stats to disk.");
779 } else if ("--write".equals(arg)) {
/frameworks/base/tools/apilint/
H A Dapilint.py417 write = [ i for i in clazz.methods if i.name == "writeToParcel" ]
420 if len(creator) == 0 or len(write) == 0 or len(describe) == 0:
/frameworks/native/services/sensorservice/
H A DSensorService.cpp107 int result = write(fd, sHmacGlobalKey, sizeof(sHmacGlobalKey));
114 ALOGW("Unable to write HMAC key; dynamic sensor getId() will change "
117 // Even if we failed to write the key we return true, because we did
467 write(fd, result.string(), result.size());
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DPduParser.java1201 out.write(temp);
1205 out.write(temp);
/frameworks/av/services/audioflinger/
H A DThreads.cpp158 // For example, one HAL implementation returns an error from a large write,
975 write(fd, buffer, strlen(buffer));
1760 write(fd, result.string(), result.length());
1804 write(fd, result.string(), result.size());
1814 dprintf(fd, " Last write occurred (msecs): %llu\n",
1818 dprintf(fd, " Blocked in write: %s\n", mInWrite ? "yes" : "no");
2690 // If an NBAIO sink is present, use it to write the normal mixer's submix
2695 ATRACE_BEGIN("write");
2706 ssize_t framesWritten = mNormalSink->write((char *)mSinkBuffer + offset, count);
2718 ALOGW_IF(mWriteAckSequence & 1, "threadLoop_write(): out of sequence write reques
[all...]
H A DEffects.cpp1080 write(fd, result.string(), result.length());
1817 write(fd, result.string(), result.size());
H A DTracks.cpp249 (void) mTeeSink->write(buffer->raw, buffer->frameCount);
1198 bool AudioFlinger::PlaybackThread::OutputTrack::write(void* data, uint32_t frames) function in class:android::AudioFlinger::PlaybackThread::OutputTrack
1213 // First write pending buffers, then new data
1229 ALOGV("OutputTrack::write() %p thread %p no more output buffers; status %d", this,
1264 ALOGV("OutputTrack::write() %p thread %p released overflow buffer %zu", this,
1272 // If we could not write all frames, allocate a buffer and queue it for next time.
1283 ALOGV("OutputTrack::write() %p thread %p adding overflow buffer %zu", this,
1286 ALOGW("OutputTrack::write() %p thread %p no more overflow buffers",
1292 // Calling write() with a 0 length buffer means that no more data will be written:
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.cpp446 // the mimetype on the Java end. We still write a placeholder mime to keep the
464 reply->writeInt32(2); // write something non-zero
534 // write inband tracks
539 // write CC track
2391 in.write(buffer->data(), buffer->size());
2404 in.write(buffer->data(), buffer->size());
/frameworks/base/core/java/android/app/
H A DWallpaperManager.java956 // Might be redundant but completion shouldn't wait unless the write
1122 fos.write(buffer, 0, amt);
/frameworks/base/core/java/android/app/backup/
H A DBackupAgent.java187 * The application is being asked to write any data changed since the last
207 * @param data A structured wrapper around an open, read/write
210 * write to this file.
211 * @param newState An open, read/write ParcelFileDescriptor pointing to an
223 * the restore is finished, the application should write a representation of
245 * @param newState An open, read/write ParcelFileDescriptor pointing to an
1001 out.write(buf);
/frameworks/base/core/java/android/print/
H A DPrintManager.java856 public void write(PageRange[] pages, ParcelFileDescriptor fd, method in class:PrintManager.PrintDocumentAdapterDelegate
864 Log.e(LOG_TAG, "Error notifying for write start", re);
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsHelper.java177 fout.write(histData);
179 Log.w(TAG, "Unable to write history to file", e);
/frameworks/base/core/jni/
H A Dandroid_media_AudioTrack.cpp627 // regular write() or copy the data to the AudioTrack's shared memory?
630 written = track->write(data + offsetInSamples, sizeInBytes, blocking);
631 // for compatibility with earlier behavior of write(), return 0 in this case
661 "Unable to retrieve AudioTrack pointer for write()");
687 //ALOGV("write wrote %d (tried %d) samples in the native AudioTrack with offset %d",
701 "Unable to retrieve AudioTrack pointer for write()");
815 // to simulate partially set params, we do a read-modify-write.
H A Dandroid_util_Process.cpp546 write(fd, text, strlen(text));

Completed in 915 milliseconds

<<21222324