/frameworks/base/services/core/java/com/android/server/am/ |
H A D | UidRecord.java | 150 proto.write(UidRecordProto.UID, uid); 151 proto.write(UidRecordProto.CURRENT, ProcessList.makeProcStateProtoEnum(curProcState)); 152 proto.write(UidRecordProto.EPHEMERAL, ephemeral); 153 proto.write(UidRecordProto.FG_SERVICES, foregroundServices); 154 proto.write(UidRecordProto.WHILELIST, curWhitelist); 157 proto.write(UidRecordProto.IDLE, idle); 162 proto.write(UidRecordProto.NUM_PROCS, numProcs); 165 proto.write(UidRecordProto.ProcStateSequence.CURURENT, curProcStateSeq); 166 proto.write(UidRecordProto.ProcStateSequence.LAST_NETWORK_UPDATED, 168 proto.write(UidRecordProt [all...] |
H A D | ActiveInstrumentation.java | 127 proto.write(ActiveInstrumentationProto.FINISHED, mFinished); 133 proto.write(ActiveInstrumentationProto.TARGET_PROCESSES, p); 138 proto.write(ActiveInstrumentationProto.PROFILE_FILE, mProfileFile); 139 proto.write(ActiveInstrumentationProto.WATCHER, mWatcher.toString()); 140 proto.write(ActiveInstrumentationProto.UI_AUTOMATION_CONNECTION, 142 proto.write(ActiveInstrumentationProto.ARGUMENTS, mArguments.toString());
|
H A D | IntentBindRecord.java | 118 proto.write(IntentBindRecordProto.BINDER, binder.toString()); 120 proto.write(IntentBindRecordProto.AUTO_CREATE, 122 proto.write(IntentBindRecordProto.REQUESTED, requested); 123 proto.write(IntentBindRecordProto.RECEIVED, received); 124 proto.write(IntentBindRecordProto.HAS_BOUND, hasBound); 125 proto.write(IntentBindRecordProto.DO_REBIND, doRebind);
|
H A D | AppBindRecord.java | 67 proto.write(AppBindRecordProto.SERVICE_NAME, service.shortName); 68 proto.write(AppBindRecordProto.CLIENT_PROC_NAME, client.processName); 72 proto.write(AppBindRecordProto.CONNECTIONS,
|
/frameworks/base/cmds/incidentd/src/ |
H A D | Section.cpp | 149 // only returns error if there is no fd to write to. 194 proto.write(FIELD_TYPE_ENUM | IncidentMetadata::kDestFieldNumber, metadata.dest()); 195 proto.write(FIELD_TYPE_INT32 | IncidentMetadata::kRequestSizeFieldNumber, 197 proto.write(FIELD_TYPE_BOOL | IncidentMetadata::kUseDropboxFieldNumber, metadata.use_dropbox()); 202 proto.write(FIELD_TYPE_INT32 | IncidentMetadata::SectionStats::kIdFieldNumber, stats.id()); 203 proto.write(FIELD_TYPE_BOOL | IncidentMetadata::SectionStats::kSuccessFieldNumber, 205 proto.write(FIELD_TYPE_INT32 | IncidentMetadata::SectionStats::kReportSizeBytesFieldNumber, 207 proto.write(FIELD_TYPE_INT64 | IncidentMetadata::SectionStats::kExecDurationMsFieldNumber, 209 proto.write(FIELD_TYPE_INT32 | IncidentMetadata::SectionStats::kDumpSizeBytesFieldNumber, 211 proto.write(FIELD_TYPE_INT6 [all...] |
/frameworks/base/core/java/android/os/ |
H A D | ZygoteProcess.java | 256 writer.write("1"); 260 writer.write("--query-abi-list"); 299 * After the zygote process reads these it will write the pid of 306 writer.write(Integer.toString(args.size())); 311 writer.write(arg); 384 argsForZygote.add("--mount-external-write"); 514 state.writer.write(Integer.toString(mApiBlacklistExemptions.size() + 1)); 516 state.writer.write("--set-api-blacklist-exemptions"); 519 state.writer.write(mApiBlacklistExemptions.get(i)); 543 state.writer.write(Intege [all...] |
/frameworks/native/libs/sensor/ |
H A D | Sensor.cpp | 480 FlattenableUtils::write(buffer, size, mVersion); 481 FlattenableUtils::write(buffer, size, mHandle); 482 FlattenableUtils::write(buffer, size, mType); 483 FlattenableUtils::write(buffer, size, mMinValue); 484 FlattenableUtils::write(buffer, size, mMaxValue); 485 FlattenableUtils::write(buffer, size, mResolution); 486 FlattenableUtils::write(buffer, size, mPower); 487 FlattenableUtils::write(buffer, size, mMinDelay); 488 FlattenableUtils::write(buffer, size, mFifoReservedEventCount); 489 FlattenableUtils::write(buffe [all...] |
/frameworks/base/cmds/statsd/src/metrics/ |
H A D | EventMetricProducer.cpp | 114 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_ID, (long long)mMetricId); 121 protoOutput->write(FIELD_TYPE_MESSAGE | FIELD_ID_EVENT_METRICS, 147 mProto->write(FIELD_TYPE_INT64 | FIELD_ID_ELAPSED_TIMESTAMP_NANOS, 149 mProto->write(FIELD_TYPE_INT64 | FIELD_ID_WALL_CLOCK_TIMESTAMP_NANOS, 152 mProto->write(FIELD_TYPE_INT64 | FIELD_ID_ELAPSED_TIMESTAMP_NANOS, 154 mProto->write(FIELD_TYPE_INT64 | FIELD_ID_WALL_CLOCK_TIMESTAMP_NANOS,
|
/frameworks/base/core/java/android/app/ |
H A D | ProfilerInfo.java | 140 proto.write(ProfilerInfoProto.PROFILE_FILE, profileFile); 142 proto.write(ProfilerInfoProto.PROFILE_FD, profileFd.getFd()); 144 proto.write(ProfilerInfoProto.SAMPLING_INTERVAL, samplingInterval); 145 proto.write(ProfilerInfoProto.AUTO_STOP_PROFILER, autoStopProfiler); 146 proto.write(ProfilerInfoProto.STREAMING_OUTPUT, streamingOutput); 147 proto.write(ProfilerInfoProto.AGENT, agent);
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | LineBreakBufferedWriter.java | 65 * @param out The writer to write to. 75 * @param out The writer to write to. 98 public void write(int c) { method in class:LineBreakBufferedWriter 108 write(new char[] { (char)c }, 0 ,1); 114 write(lineSeparator); 118 public void write(char[] buf, int off, int len) { method in class:LineBreakBufferedWriter 172 public void write(String s, int off, int len) { method in class:LineBreakBufferedWriter 285 * Helper method, write the given part of the buffer, [start,length), to the output. 290 super.write(buffer, 0, length);
|
/frameworks/base/tools/sdkparcelables/src/com/android/sdkparcelables/ |
H A D | Main.kt | 58 outWriter.write("parcelable ") 59 outWriter.write(parcelable.replace('/', '.').replace('$', '.')) 60 outWriter.write(";\n")
|
/frameworks/base/core/java/android/content/pm/ |
H A D | ApplicationInfo.java | 1273 proto.write(ApplicationInfoProto.PERMISSION, permission); 1274 proto.write(ApplicationInfoProto.PROCESS_NAME, processName); 1275 proto.write(ApplicationInfoProto.UID, uid); 1276 proto.write(ApplicationInfoProto.FLAGS, flags); 1277 proto.write(ApplicationInfoProto.PRIVATE_FLAGS, privateFlags); 1278 proto.write(ApplicationInfoProto.THEME, theme); 1279 proto.write(ApplicationInfoProto.SOURCE_DIR, sourceDir); 1281 proto.write(ApplicationInfoProto.PUBLIC_SOURCE_DIR, publicSourceDir); 1285 proto.write(ApplicationInfoProto.SPLIT_SOURCE_DIRS, dir); 1291 proto.write(ApplicationInfoProt [all...] |
/frameworks/av/media/mtp/ |
H A D | MtpFfsCompatHandle.cpp | 76 int n = TEMP_FAILURE_RETRY(::write(fd, buf, write_len)); 79 PLOG(ERROR) << "write ERROR: fd = " << fd << ", n = " << n; 156 int MtpFfsCompatHandle::write(const void* data, size_t len) { function in class:android::MtpFfsCompatHandle 177 bool write = false; local 182 while (file_length > 0 || write) { 186 // Read data from USB, handle errors after waiting for write thread. 196 if (write) { 197 // get the return status of the last write request 209 write = false; 226 // Enqueue a new write reques 269 bool write = false; local [all...] |
/frameworks/av/services/audioflinger/ |
H A D | BufLog.h | 82 BufLogSingleton::instance()->write(STREAMID, TAG, FORMAT, CHANNELS, SAMPLINGRATE, MAXBYTES, \ 123 // write buffer to stream 125 // size: number of bytes to write 126 size_t write(const void *buf, size_t size); 170 size_t write(int streamid, 180 // New streams will be created if write() is called again.
|
H A D | SpdifStreamOut.cpp | 118 return AudioStreamOut::write(buffer, bytes); 121 ssize_t SpdifStreamOut::write(const void* buffer, size_t numBytes) function in class:android::SpdifStreamOut 124 return mSpdifEncoder.write(buffer, numBytes);
|
/frameworks/base/core/java/android/util/ |
H A D | Base64OutputStream.java | 40 * @param out the OutputStream to write the encoded data to 53 * @param out the OutputStream to write the encoded data to 70 public void write(int b) throws IOException { method in class:Base64OutputStream 72 // bytes, we buffer up calls to write(int) in an internal 80 // internal buffer full; write it out. 88 * Flush any buffered data from calls to write(int). Needed 89 * before doing a write(byte[], int, int) or a close(). 98 public void write(byte[] b, int off, int len) throws IOException { method in class:Base64OutputStream 141 out.write(coder.output, 0, coder.op);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | LockscreenGestureLogger.java | 46 public void write(int gesture, int length, int velocity) { method in class:LockscreenGestureLogger 47 mMetricsLogger.write(mLogMaker.setCategory(gesture) 51 // also write old-style logs for backward-0compatibility 63 mMetricsLogger.write(mLogMaker.setCategory(category)
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/ |
H A D | SharingSupport.java | 76 fw.write("This is a file share"); 95 fw.write("This is a file share"); 99 fw.write("This is another file share");
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/app/ |
H A D | SharingSupport.java | 76 fw.write("This is a file share"); 95 fw.write("This is a file share"); 99 fw.write("This is another file share");
|
/frameworks/av/include/media/nbaio/ |
H A D | Pipe.h | 26 // It cannot UNDERRUN on write, unless we allow designation of a master reader that provides the 53 // The write side of a pipe permits overruns; flow control is the caller's responsibility. 57 virtual ssize_t write(const void *buffer, size_t count);
|
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | ByteArrayOutput.h | 55 virtual status_t write(const uint8_t* buf, size_t offset, size_t count); 71 * open, write, or close is called after this method.
|
H A D | FileOutput.h | 35 virtual status_t write(const uint8_t* buf, size_t offset, size_t count);
|
/frameworks/av/media/img_utils/src/ |
H A D | ByteArrayOutput.cpp | 32 status_t ByteArrayOutput::write(const uint8_t* buf, size_t offset, size_t count) { function in class:android::img_utils::ByteArrayOutput 34 ALOGE("%s: Failed to write to ByteArrayOutput.", __FUNCTION__);
|
/frameworks/av/media/libnbaio/ |
H A D | LibsndfileSink.cpp | 37 ssize_t LibsndfileSink::write(const void *buffer, size_t count) function in class:android::LibsndfileSink
|
/frameworks/av/media/libnbaio/include/media/nbaio/ |
H A D | Pipe.h | 26 // It cannot UNDERRUN on write, unless we allow designation of a master reader that provides the 53 // The write side of a pipe permits overruns; flow control is the caller's responsibility. 57 virtual ssize_t write(const void *buffer, size_t count);
|