Searched refs:write (Results 76 - 100 of 1003) sorted by relevance

1234567891011>>

/frameworks/av/media/mtp/
H A DMtpEventPacket.h36 // write our data to the given usb handle
37 int write(IMtpHandle *h);
H A DMtpRequestPacket.h40 // write our buffer to the given endpoint
41 int write(struct usb_request *request);
/frameworks/base/core/java/android/content/pm/
H A DFeatureInfo.java121 proto.write(FeatureInfoProto.NAME, name);
123 proto.write(FeatureInfoProto.VERSION, version);
124 proto.write(FeatureInfoProto.GLES_VERSION, getGlEsVersion());
125 proto.write(FeatureInfoProto.FLAGS, flags);
/frameworks/base/services/core/java/com/android/server/net/watchlist/
H A DReportEncoder.java85 proto.write(NetworkWatchlistReportProto.REPORT_VERSION, REPORT_VERSION);
86 proto.write(NetworkWatchlistReportProto.WATCHLIST_CONFIG_HASH,
95 proto.write(NetworkWatchlistAppResultProto.APP_DIGEST, key);
96 proto.write(NetworkWatchlistAppResultProto.ENCODED_RESULT, encodedResult);
/frameworks/base/services/core/java/com/android/server/power/
H A DWirelessChargerDetector.java173 proto.write(WirelessChargerDetectorProto.IS_POWERED_WIRELESSLY, mPoweredWirelessly);
174 proto.write(WirelessChargerDetectorProto.IS_AT_REST, mAtRest);
177 proto.write(WirelessChargerDetectorProto.VectorProto.X, mRestX);
178 proto.write(WirelessChargerDetectorProto.VectorProto.Y, mRestY);
179 proto.write(WirelessChargerDetectorProto.VectorProto.Z, mRestZ);
182 proto.write(
184 proto.write(WirelessChargerDetectorProto.DETECTION_START_TIME_MS, mDetectionStartTime);
185 proto.write(
188 proto.write(WirelessChargerDetectorProto.TOTAL_SAMPLES, mTotalSamples);
189 proto.write(WirelessChargerDetectorProt
[all...]
/frameworks/native/opengl/tools/glgen2/registry/
H A Dgenheaders.py53 write('Enabling debug (-debug)', file=sys.stderr)
56 write('Enabling dump (-dump)', file=sys.stderr)
59 write('Disabling inclusion protection in output headers', file=sys.stderr)
62 write('Enabling profiling (-profile)', file=sys.stderr)
67 write('Using registry ', regFilename, file=sys.stderr)
69 write('Enabling timing (-time)', file=sys.stderr)
72 write('Enabling group validation (-validate)', file=sys.stderr)
75 write('Unrecognized argument:', arg, file=sys.stderr)
79 write('Using target', target, file=sys.stderr)
90 write(ms
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
H A DHSOsuProvidersElementTest.java58 out.write((byte) osuSsidBytes.length);
59 out.write(osuSsidBytes);
60 out.write((byte) TEST_PROVIDER_LIST.size());
61 out.write(OsuProviderInfoTestUtil.TEST_OSU_PROVIDER_INFO_RAW_BYTES);
/frameworks/av/media/img_utils/include/img_utils/
H A DEndianUtils.h58 * Wrap the given Output. Calling write methods will result in
91 // TODO: switch write methods to uint32_t instead of size_t,
95 * The following methods will write elements from given input buffer to the output.
102 virtual status_t write(const uint8_t* buf, size_t offset, size_t count);
104 virtual status_t write(const int8_t* buf, size_t offset, size_t count);
106 virtual status_t write(const uint16_t* buf, size_t offset, size_t count);
108 virtual status_t write(const int16_t* buf, size_t offset, size_t count);
110 virtual status_t write(const uint32_t* buf, size_t offset, size_t count);
112 virtual status_t write(const int32_t* buf, size_t offset, size_t count);
114 virtual status_t write(cons
[all...]
H A DTiffEntryImpl.h126 BAIL_ON_FAIL(out->write(&mTag, 0, 1), ret);
127 BAIL_ON_FAIL(out->write(&mType, 0, 1), ret);
128 BAIL_ON_FAIL(out->write(&mCount, 0, 1), ret);
132 BAIL_ON_FAIL(out->write(&offset, 0, 1), ret);
143 BAIL_ON_FAIL(out->write(mData.array(), 0, count), ret);
170 BAIL_ON_FAIL(out->write(mData.array(), 0, count), ret);
186 BAIL_ON_FAIL(out->write(&mTag, 0, 1), ret);
187 BAIL_ON_FAIL(out->write(&mType, 0, 1), ret);
188 BAIL_ON_FAIL(out->write(&mCount, 0, 1), ret);
190 BAIL_ON_FAIL(out->write(
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DAudioSourceDescriptor.cpp42 write(fd, result.string(), result.size());
54 write(fd, buffer, strlen(buffer));
57 write(fd, buffer, strlen(buffer));
/frameworks/base/cmds/statsd/src/external/
H A DSubsystemSleepStatePuller.cpp104 statePtr->write(state.name);
105 statePtr->write("");
106 statePtr->write(state.totalTransitions);
107 statePtr->write(state.residencyInMsecSinceBoot);
118 voterPtr->write(state.name);
119 voterPtr->write(voter.name);
120 voterPtr->write(voter.totalNumberOfTimesVotedSinceBoot);
121 voterPtr->write(voter.totalTimeInMsecVotedForSinceBoot);
154 subsystemStatePtr->write(subsystem.name);
155 subsystemStatePtr->write(stat
[all...]
/frameworks/base/core/java/android/app/slice/
H A DSliceMetrics.java58 mMetricsLogger.write(mLogMaker);
69 mMetricsLogger.write(mLogMaker);
92 mMetricsLogger.write(mLogMaker);
/frameworks/base/services/core/java/com/android/server/net/
H A DDelayedDiskWrite.java40 public void write(final String filePath, final Writer w) { method in class:DelayedDiskWrite
41 write(filePath, w, true);
44 public void write(final String filePath, final Writer w, final boolean open) { method in class:DelayedDiskWrite
49 /* Do a delayed write to disk on a separate handler thread */
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/report/
H A DReportCanvas.java45 public abstract void write(String text); method in class:ReportCanvas
66 write(text);
116 write(text);
159 * @param builder The StringBuilder to write text into.
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/util/
H A DAtomicFileTest.kt42 it.write(byteArrayOf(0, 1, 2))
50 os.write(byteArrayOf(0, 1, 2))
56 it.write(byteArrayOf(3, 4, 5))
88 os.write(byteArrayOf(0, 1, 2))
96 os.write(byteArrayOf(72, 101, 121))
104 os.write(byteArrayOf(72, 0, 101, 0, 121, 0))
/frameworks/support/navigation/safe-args-generator/src/main/kotlin/androidx/navigation/safe/args/generator/
H A DTypes.kt84 abstract fun write(): CodeBlock
88 override fun write(): CodeBlock = CodeBlock.of(resReference.accessor())
92 override fun write(): CodeBlock = CodeBlock.of(S, value)
97 override fun write(): CodeBlock = CodeBlock.of(value)
102 override fun write(): CodeBlock = CodeBlock.of("${value}F")
106 override fun write(): CodeBlock = CodeBlock.of(value)
/frameworks/base/tools/preload/
H A DWritePreloadedClassFile.java61 out.write("# Classes which are preloaded by"
63 out.write("# Automatically generated by frameworks/base/tools/preload/"
65 out.write("# MIN_LOAD_TIME_MICROS=" + MIN_LOAD_TIME_MICROS + "\n");
66 out.write("# MIN_PROCESSES=" + MIN_PROCESSES + "\n");
121 out.write(loadedClass.name + "\n");
/frameworks/base/tests/BandwidthTests/src/com/android/tests/bandwidthenforcement/
H A DBandwidthEnforcementTestService.java88 Log.e(TAG, "Could not write file " + e.getMessage());
197 out.write(id);
198 out.write(new byte[] { 0x01, 0x00 });
199 out.write(new byte[] { 0x00, 0x01 });
200 out.write(new byte[] { 0x00, 0x00 });
201 out.write(new byte[] { 0x00, 0x00 });
202 out.write(new byte[] { 0x00, 0x00 });
206 out.write(bytes.length);
207 out.write(bytes);
209 out.write(
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DCdmaServiceCategoryProgramHandler.java165 dos.write(destAddr.digitMode);
166 dos.write(destAddr.numberMode);
167 dos.write(destAddr.ton); // number_type
168 dos.write(destAddr.numberPlan);
169 dos.write(destAddr.numberOfDigits);
170 dos.write(destAddr.origBytes, 0, destAddr.origBytes.length); // digits
172 dos.write(0); //subaddressType
173 dos.write(0); //subaddr_odd
174 dos.write(0); //subaddr_nbr_of_digits
175 dos.write(encodedBearerDat
[all...]
/frameworks/base/libs/protoutil/include/android/util/
H A DProtoOutputStream.h79 * Class to write to a protobuf stream.
81 * Each write method takes an ID code from the protoc generated classes
82 * and the value to write. To make a nested object, call start
94 * Write APIs for dumping protobuf data. Returns true if the write succeeds.
96 bool write(uint64_t fieldId, double val);
97 bool write(uint64_t fieldId, float val);
98 bool write(uint64_t fieldId, int val);
99 bool write(uint64_t fieldId, long long val);
100 bool write(uint64_t fieldId, bool val);
101 bool write(uint64_
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCatService.java576 buf.write(tag);
577 buf.write(0x03); // length
578 buf.write(cmdDet.commandNumber);
579 buf.write(cmdDet.typeOfCommand);
580 buf.write(cmdDet.commandQualifier);
590 buf.write(tag);
591 buf.write(0x02); // length
592 buf.write(DEV_ID_TERMINAL); // source device id
593 buf.write(DEV_ID_UICC); // destination device id
600 buf.write(ta
[all...]
/frameworks/base/cmds/statsd/src/guardrail/
H A DStatsdStats.cpp539 proto->write(FIELD_TYPE_INT32 | FIELD_ID_CONFIG_STATS_UID, configStats.uid);
540 proto->write(FIELD_TYPE_INT64 | FIELD_ID_CONFIG_STATS_ID, (long long)configStats.id);
541 proto->write(FIELD_TYPE_INT32 | FIELD_ID_CONFIG_STATS_CREATION, configStats.creation_time_sec);
543 proto->write(FIELD_TYPE_INT32 | FIELD_ID_CONFIG_STATS_RESET, configStats.reset_time_sec);
546 proto->write(FIELD_TYPE_INT32 | FIELD_ID_CONFIG_STATS_DELETION,
549 proto->write(FIELD_TYPE_INT32 | FIELD_ID_CONFIG_STATS_METRIC_COUNT, configStats.metric_count);
550 proto->write(FIELD_TYPE_INT32 | FIELD_ID_CONFIG_STATS_CONDITION_COUNT,
552 proto->write(FIELD_TYPE_INT32 | FIELD_ID_CONFIG_STATS_MATCHER_COUNT, configStats.matcher_count);
553 proto->write(FIELD_TYPE_INT32 | FIELD_ID_CONFIG_STATS_ALERT_COUNT, configStats.alert_count);
554 proto->write(FIELD_TYPE_BOO
[all...]
/frameworks/base/cmds/statsd/tests/
H A DLogEvent_test.cpp40 event1.write(nodes);
41 event1.write("hello");
42 event1.write((int32_t)10);
43 event1.write((int64_t)20);
44 event1.write((float)1.1);
97 event1.write("hello");
109 event1.write(nodes);
111 event1.write((int32_t)10);
112 event1.write((int64_t)20);
113 event1.write((floa
[all...]
/frameworks/base/core/java/android/util/jar/
H A DStrictJarManifest.java173 public void write(OutputStream os) throws IOException { method in class:StrictJarManifest
174 write(this, os);
249 * the manifest to write out.
251 * The {@code OutputStream} to write to.
255 static void write(StrictJarManifest manifest, OutputStream out) throws IOException { method in class:StrictJarManifest
275 out.write(LINE_SEPARATOR);
286 out.write(LINE_SEPARATOR);
293 os.write(nameString.getBytes(StandardCharsets.US_ASCII));
294 os.write(VALUE_SEPARATOR);
306 os.write(bBu
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DCameraStressTest.java90 mOutput.write(this.getName() + "\n");
106 mOutput.write("\n\n");
139 mOutput.write("Total number of loops: " +
142 mOutput.write("No of loop: ");
159 mOutput.write(Integer.toString(j + i * NUMBER_OF_SCENE_MODE_LOOPS));
161 mOutput.write(", " + (j + i * NUMBER_OF_SCENE_MODE_LOOPS));
187 mOutput.write("Total number of loops: " + NUMBER_OF_ZOOM_LOOPS + "\n");
188 mOutput.write("No of loops: ");
218 mOutput.write(Integer.toString(i));
220 mOutput.write(", "
[all...]

Completed in 627 milliseconds

1234567891011>>