/frameworks/base/core/java/android/os/ |
H A D | Message.java | 545 proto.write(MessageProto.WHEN, when); 549 proto.write(MessageProto.CALLBACK, callback.getClass().getName()); 551 proto.write(MessageProto.WHAT, what); 555 proto.write(MessageProto.ARG1, arg1); 559 proto.write(MessageProto.ARG2, arg2); 563 proto.write(MessageProto.OBJ, obj.toString()); 566 proto.write(MessageProto.TARGET, target.getClass().getName()); 568 proto.write(MessageProto.BARRIER, arg1);
|
/frameworks/base/core/java/android/service/persistentdata/ |
H A D | PersistentDataBlockManager.java | 35 * {@link PersistentDataBlockManager#write(byte[])} 88 * {@link #wipe} will block any further {@link #write} operation until reboot, 91 * @param data the data to write 94 public int write(byte[] data) { method in class:PersistentDataBlockManager 96 return sService.write(data); 145 * It will also prevent any further {@link #write} operation until reboot,
|
/frameworks/base/core/java/com/android/internal/logging/ |
H A D | AndroidHandler.java | 96 sw.write(r.getMessage()); 97 sw.write("\n");
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | FastPrintWriter.java | 49 public void write(char[] buf, int offset, int count) throws IOException { method in class:FastPrintWriter.DummyWriter 352 mOutputStream.write(mBytes.array(), 0, position); 380 mWriter.write(mText, 0, mPos); 483 * The bytes are then written to the target with {@code write(int)}. 489 * @see #write(int) 585 * the buffer to write to the target. 587 * the index of the first character in {@code buffer} to write. 589 * the number of characters in {@code buffer} to write. 595 public void write(char[] buf, int offset, int count) { method in class:FastPrintWriter 614 * the character to write t 617 public void write(int oneChar) { method in class:FastPrintWriter 635 public void write(String str) { method in class:FastPrintWriter 661 public void write(String str, int offset, int count) { method in class:FastPrintWriter [all...] |
/frameworks/base/media/jni/soundpool/ |
H A D | SoundPoolThread.cpp | 25 void SoundPoolThread::write(SoundPoolMsg msg) { function in class:android::SoundPoolThread 102 write(SoundPoolMsg(SoundPoolMsg::LOAD_SAMPLE, sampleID));
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/ |
H A D | CallbackWrapperWriter.kt | 39 public fun write() = kcode("") {
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
H A D | DomainNameElementTest.java | 45 * @param stream Stream to write to 51 stream.write((byte) domainBytes.length); 52 stream.write(domainBytes);
|
/frameworks/support/core/ktx/src/main/java/androidx/core/util/ |
H A D | AtomicFile.kt | 27 * Perform the write operations inside [block] on this file. If [block] throws an exception the 28 * write will be failed. Otherwise the write will be applied atomically to the file. 52 it.write(array)
|
/frameworks/base/cmds/statsd/tests/ |
H A D | statsd_test_util.cpp | 298 EXPECT_TRUE(event->write(state)); 306 EXPECT_TRUE(event->write(BatterySaverModeStateChanged::ON)); 314 EXPECT_TRUE(event->write(BatterySaverModeStateChanged::OFF)); 322 EXPECT_TRUE(event->write(level)); 332 event->write(attributions); 333 event->write(jobName); 334 event->write(state); 358 event->write(attributions); 359 event->write(android::os::WakeLockLevelEnum::PARTIAL_WAKE_LOCK); 360 event->write(wakelockNam [all...] |
/frameworks/base/core/java/android/net/ |
H A D | NetworkIdentity.java | 123 proto.write(NetworkIdentityProto.TYPE, mType); 128 proto.write(NetworkIdentityProto.SUBSCRIBER_ID, scrubSubscriberId(mSubscriberId)); 130 proto.write(NetworkIdentityProto.NETWORK_ID, mNetworkId); 131 proto.write(NetworkIdentityProto.ROAMING, mRoaming); 132 proto.write(NetworkIdentityProto.METERED, mMetered); 133 proto.write(NetworkIdentityProto.DEFAULT_NETWORK, mDefaultNetwork);
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | LoggingPrintStream.java | 66 public void write(int oneByte) throws IOException { 113 public void write(int oneByte) { method in class:LoggingPrintStream 114 write(new byte[] { (byte) oneByte }, 0, 1); 118 public void write(byte[] buffer) { method in class:LoggingPrintStream 119 write(buffer, 0, buffer.length); 123 public synchronized void write(byte bytes[], int start, int count) { method in class:LoggingPrintStream
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | LoggingPrintStreamTest.java | 136 out.write(expected.getBytes("UTF-8")); 144 out.write(b); 152 out.write(expected.getBytes()); 162 out.write(bytes, i, 5); 165 out.write(bytes, i, bytes.length - i); 175 out.write(toWrite.getBytes());
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ServiceRecord.java | 166 proto.write(ServiceRecordProto.StartItem.ID, id); 169 proto.write(ServiceRecordProto.StartItem.DELIVERY_COUNT, deliveryCount); 170 proto.write(ServiceRecordProto.StartItem.DONE_EXECUTING_COUNT, doneExecutingCount); 236 proto.write(ServiceRecordProto.SHORT_NAME, this.shortName); 237 proto.write(ServiceRecordProto.IS_RUNNING, app != null); 239 proto.write(ServiceRecordProto.PID, app.pid); 245 proto.write(ServiceRecordProto.PACKAGE_NAME, packageName); 246 proto.write(ServiceRecordProto.PROCESS_NAME, processName); 247 proto.write(ServiceRecordProto.PERMISSION, permission); 253 proto.write(ServiceRecordProt [all...] |
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
H A D | BackgroundJobsController.java | 127 proto.write(TrackedJob.SOURCE_UID, sourceUid); 129 proto.write(TrackedJob.SOURCE_PACKAGE_NAME, sourcePkg); 131 proto.write(TrackedJob.IS_IN_FOREGROUND, 133 proto.write(TrackedJob.IS_WHITELISTED, 137 proto.write( 142 proto.write(
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbAlsaDevice.java | 250 dump.write("card", UsbAlsaDeviceProto.CARD, mCardNum); 251 dump.write("device", UsbAlsaDeviceProto.DEVICE, mDeviceNum); 252 dump.write("name", UsbAlsaDeviceProto.NAME, mDeviceName); 253 dump.write("has_output", UsbAlsaDeviceProto.HAS_PLAYBACK, mHasOutput); 254 dump.write("has_input", UsbAlsaDeviceProto.HAS_CAPTURE, mHasInput); 255 dump.write("address", UsbAlsaDeviceProto.ADDRESS, mDeviceAddress);
|
/frameworks/native/include/binder/ |
H A D | SafeInterface.h | 46 status_t write(Parcel* parcel, bool b) const { function in namespace:android::SafeInterface 58 typename std::enable_if<std::is_enum<E>::value, status_t>::type write(Parcel* parcel, function in namespace:android 60 return write(parcel, static_cast<typename std::underlying_type<E>::type>(e)); 68 typename std::enable_if<std::is_base_of<Flattenable<T>, T>::value, status_t>::type write( function 70 return callParcel("write(Flattenable)", [&]() { return parcel->write(t); }); 79 typename std::enable_if<std::is_base_of<Flattenable<T>, T>::value, status_t>::type write( 81 return callParcel("write(sp<Flattenable>)", [&]() { return parcel->write(*(t.get())); }); 89 typename std::enable_if<std::is_base_of<LightFlattenable<T>, T>::value, status_t>::type write( [all...] |
/frameworks/native/libs/binder/include/binder/ |
H A D | SafeInterface.h | 46 status_t write(Parcel* parcel, bool b) const { function in namespace:android::SafeInterface 58 typename std::enable_if<std::is_enum<E>::value, status_t>::type write(Parcel* parcel, function in namespace:android 60 return write(parcel, static_cast<typename std::underlying_type<E>::type>(e)); 68 typename std::enable_if<std::is_base_of<Flattenable<T>, T>::value, status_t>::type write( function 70 return callParcel("write(Flattenable)", [&]() { return parcel->write(t); }); 79 typename std::enable_if<std::is_base_of<Flattenable<T>, T>::value, status_t>::type write( 81 return callParcel("write(sp<Flattenable>)", [&]() { return parcel->write(*(t.get())); }); 89 typename std::enable_if<std::is_base_of<LightFlattenable<T>, T>::value, status_t>::type write( [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
H A D | ImsRttTextHandlerTest.java | 52 public synchronized void write(String s) { method in class:ImsRttTextHandlerTest.MockNetworkWriter 110 mPipeToHandler.write("abcd"); 133 mPipeToHandler.write("abcd"); 148 mPipeToHandler.write("efgh"); 152 // Wait for the handler to write to the mock network writer 176 mPipeToHandler.write(String.valueOf(c)); 183 // Make sure that the ordering is correct and that there was only one write 194 mPipeToHandler.write(toSend);
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | MediaRecorderStressTest.java | 97 mOutput.write(this.getName() + "\n"); 113 mOutput.write("\n\n"); 204 mOutput.write("Total number of loops: " + iterations + "\n"); 207 mOutput.write("No of loop: "); 262 mOutput.write(i + 1); 264 mOutput.write(String.format(", %d", (i + 1))); 307 mOutput.write("Total number of loops: " + NUMBER_OF_TIME_LAPSE_LOOPS + "\n"); 311 mOutput.write("No of loop: camera " + i); 366 mOutput.write(j + 1); 368 mOutput.write(Strin [all...] |
/frameworks/base/obex/javax/obex/ |
H A D | ClientOperation.java | 48 * write data via puts and gets. 99 * Creates new OperationImpl to read and write data to a server 185 * we just need to write and read the same bytes 514 out.write(headerArray); 538 out.write(HeaderSet.END_OF_BODY); 541 out.write(HeaderSet.BODY); 545 out.write((byte)(bodyLength >> 8)); 546 out.write((byte)bodyLength); 549 out.write(body); 556 out.write(HeaderSe [all...] |
/frameworks/av/media/libstagefright/bqhelper/ |
H A D | Conversion.cpp | 263 * not expose ways to read or write their fields to the public. To pass an 314 * this file are not member functions of the object type. For example, we write 424 FlattenableUtils::write(buffer, size, 603 FlattenableUtils::write(buffer, size, 607 FlattenableUtils::write(buffer, size, 611 FlattenableUtils::write(buffer, size, 613 FlattenableUtils::write(buffer, size, t.signalTimeNs); 808 FlattenableUtils::write(buffer, size, t.frameNumber); 811 FlattenableUtils::write(buffer, size, static_cast<uint8_t>(t.index)); 812 FlattenableUtils::write( [all...] |
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | HwModule.cpp | 233 write(fd, result.string(), result.size()); 235 write(fd, " - outputs:\n", strlen(" - outputs:\n")); 238 write(fd, buffer, strlen(buffer)); 243 write(fd, " - inputs:\n", strlen(" - inputs:\n")); 246 write(fd, buffer, strlen(buffer)); 315 write(fd, buffer, strlen(buffer)); 318 write(fd, buffer, strlen(buffer));
|
/frameworks/base/cmds/statsd/src/metrics/ |
H A D | CountMetricProducer.cpp | 153 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_ID, (long long)mMetricId); 154 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_TIME_BASE, (long long)mTimeBaseNs); 155 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_BUCKET_SIZE, (long long)mBucketSizeNs); 212 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_START_BUCKET_ELAPSED_MILLIS, 214 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_END_BUCKET_ELAPSED_MILLIS, 217 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_BUCKET_NUM, 220 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_COUNT, (long long)bucket.mCount);
|
H A D | ValueMetricProducer.cpp | 183 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_ID, (long long)mMetricId); 184 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_TIME_BASE, (long long)mTimeBaseNs); 185 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_BUCKET_SIZE, (long long)mBucketSizeNs); 207 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_SKIPPED_START_MILLIS, 209 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_SKIPPED_END_MILLIS, 250 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_START_BUCKET_ELAPSED_MILLIS, 252 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_END_BUCKET_ELAPSED_MILLIS, 255 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_BUCKET_NUM, 259 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_VALUE, (long long)bucket.mValue);
|
/frameworks/native/libs/gui/ |
H A D | IGraphicBufferProducer.cpp | 234 data.write(*buffer.get()); 258 data.write(input); 278 data.write(*fence.get()); 478 ALOGE("IGBP::getFrameTimestamps failed to write token: %d", result); 663 ALOGE("exportToParcel: Cannot write magic, res=%d.", res); 743 reply->write(*buffer); 778 reply->write(*fence); 781 reply->write(frameTimestamps); 802 reply->write(*buffer); 806 reply->write(*fenc [all...] |