/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/ |
H A D | SequencePusher.java | 80 StatsLog.write(StatsLog.BATTERY_LEVEL_CHANGED, 50 + i /* battery_level */); 86 StatsLog.write(StatsLog.BLE_SCAN_RESULT_RECEIVED, i /* uid */, 92 StatsLog.write(StatsLog.CHARGING_STATE_CHANGED, 99 StatsLog.write(StatsLog.GPS_SCAN_STATE_CHANGED, i /* uid */, 105 StatsLog.write(StatsLog.CHARGING_STATE_CHANGED, 112 StatsLog.write(StatsLog.GPS_SCAN_STATE_CHANGED, i /* uid */, 117 StatsLog.write(StatsLog.SCREEN_STATE_CHANGED, 122 StatsLog.write(StatsLog.AUDIO_STATE_CHANGED, i /* uid */, 127 StatsLog.write(StatsLog.SCREEN_STATE_CHANGED, 132 StatsLog.write(StatsLo [all...] |
/frameworks/av/services/camera/libcameraservice/tests/ |
H A D | DistortionMapperComp.py | 32 f.write('// Generated by DistortionMapperComp.py\n'); 33 f.write('// for use by DistortionMapperTest.cpp\n\n'); 35 f.write('namespace openCvData {\n') 36 f.write('std::array<int32_t, %d> rawCoords = {\n' % (rawCoords.shape[0] * rawCoords.shape[1])) 38 f.write(' %d, %d,\n' % (rawCoords[i][0], rawCoords[i][1])) 39 f.write('};\n') 41 f.write('std::array<int32_t, %d> expCoords = {\n' % (expCoords.shape[0] * expCoords.shape[2])) 43 f.write(' %d, %d,\n' % (expCoords[i][0][0], expCoords[i][0][1])) 44 f.write('};\n') 45 f.write('} // namespac [all...] |
/frameworks/base/core/java/android/os/ |
H A D | StatsLogEventWrapper.java | 41 * for pushed and pulled data. The write* methods must be called in the same order as their 42 * field number. There is no checking that the correct number of write* methods is called. 43 * We also write an END_LIST character before beginning to write to parcel, but this END_LIST 54 mStorage.write(EVENT_TYPE_LIST); // This is required to start the log entry. 55 mStorage.write(fields + 2); // Indicate number of elements in this list. +1 for the tag 77 mStorage.write(val); 78 mStorage.write(val >>> 8); 79 mStorage.write(val >>> 16); 80 mStorage.write(va [all...] |
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothOutputStream.java | 51 public void write(int oneByte) throws IOException { method in class:BluetoothOutputStream 54 mSocket.write(b, 0, 1); 63 * @param count the number of bytes from {@code buffer} to write to this stream. 69 public void write(byte[] b, int offset, int count) throws IOException { method in class:BluetoothOutputStream 76 mSocket.write(b, offset, count);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | Wap230WspContentTypeTest.java | 258 out.write(0x00); 267 out.write(testType.getBytes("US-ASCII")); 268 out.write(WSP_STRING_TERMINATOR); 282 out.write(testType.length() + 1); 283 out.write(testType.getBytes("US-ASCII")); 284 out.write(WSP_STRING_TERMINATOR); 298 out.write(0x01); 299 out.write(SHORT_MIME_TYPE_ROLLOVER_CERTIFICATE | WSP_SHORT_INTEGER_MASK); 314 out.write(0x01); 315 out.write(SHORT_MIME_TYPE_UNASSIGNE [all...] |
/frameworks/base/tests/AmSlam/src/test/amslam/subreceivers/ |
H A D | gen.py | 44 f.write(TEMPLATE.format(index=i)) 50 manifest.write(MANIFEST_ADD.format(i))
|
/frameworks/support/navigation/safe-args-generator/src/tests/kotlin/androidx/navigation/safe/args/generator/ |
H A D | WritableValueTest.kt | 31 assertThat(IntValue("-10").write().toString(), `is`("-10")) 32 assertThat(IntValue("11").write().toString(), `is`("11")) 37 assertThat(StringValue("foo").write().toString(), `is`("\"foo\"")) 42 assertThat(ReferenceValue(ResReference("foo", "id", "bla")).write().toString(),
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/ |
H A D | MediaPlayerStressTest.java | 74 output.write("File Name: " + filename); 75 output.write(" Complete: " + CodecTest.onCompleteSuccess); 76 output.write(" Error: " + CodecTest.mPlaybackError); 77 output.write(" Unknown Info: " + CodecTest.mMediaInfoUnknownCount); 78 output.write(" Track Lagging: " + CodecTest.mMediaInfoVideoTrackLaggingCount); 79 output.write(" Bad Interleaving: " + CodecTest.mMediaInfoBadInterleavingCount); 80 output.write(" Not Seekable: " + CodecTest.mMediaInfoNotSeekableCount); 81 output.write(" Info Meta data update: " + CodecTest.mMediaInfoMetdataUpdateCount); 82 output.write(" Failed To Complete With No Error: " + 84 output.write("\ [all...] |
H A D | MediaPlayerStreamingStressTest.java | 78 output.write("URL: " + filename); 79 output.write(" Complete: " + CodecTest.onCompleteSuccess); 80 output.write(" Error: " + CodecTest.mPlaybackError); 81 output.write(" Unknown Info: " + CodecTest.mMediaInfoUnknownCount); 82 output.write(" Track Lagging: " + CodecTest.mMediaInfoVideoTrackLaggingCount); 83 output.write(" Bad Interleaving: " + CodecTest.mMediaInfoBadInterleavingCount); 84 output.write(" Not Seekable: " + CodecTest.mMediaInfoNotSeekableCount); 85 output.write(" Info Meta data update: " + CodecTest.mMediaInfoMetdataUpdateCount); 86 output.write("\n"); 90 output.write("Tota [all...] |
/frameworks/base/cmds/statsd/tests/external/ |
H A D | puller_util_test.cpp | 64 event->write(isolatedUid); 65 event->write(hostNonAdditiveData); 66 event->write(isolatedAdditiveData); 72 event->write(hostUid); 73 event->write(hostNonAdditiveData); 74 event->write(hostAdditiveData); 96 event->write(isolatedUid); 97 event->write(isolatedNonAdditiveData); 98 event->write(isolatedAdditiveData); 104 event->write(hostUi [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
H A D | GraphExporter.java | 58 dotFile.write("digraph graphname {\n"); 59 dotFile.write(" node [shape=record];\n"); 64 // Iterate over all filters of the graph, write corresponding DOT node elements 67 dotFile.write(getDotName(" " + filter.getName()) + " [label=\"{"); 72 dotFile.write(" { "); 75 dotFile.write("<" + getDotName(p) + "_IN>" + p); 76 if(++counter != inputPorts.size()) dotFile.write(" | "); 78 dotFile.write(" } | "); 82 dotFile.write(filter.getName()); 87 dotFile.write(" | { "); [all...] |
/frameworks/base/core/java/android/util/proto/ |
H A D | ProtoUtils.java | 23 * This class contains a list of helper functions to write common proto in 35 proto.write(AggStats.MIN, min); 36 proto.write(AggStats.AVERAGE, average); 37 proto.write(AggStats.MAX, max); 47 proto.write(Duration.START_MS, startMs); 48 proto.write(Duration.END_MS, endMs); 53 * Helper function to write bit-wise flags to proto as repeated enums 65 proto.write(fieldId, protoEnums[i]); 69 proto.write(fieldId, protoEnums[i]);
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | IndentingPrintWriter.java | 28 * Delays writing indent until first actual write on a newline, enabling indent 44 * next write should be prefixed with the current indent. 104 write('\n'); 108 public void write(int c) { method in class:IndentingPrintWriter 110 write(mSingleChar, 0, 1); 114 public void write(String s, int off, int len) { method in class:IndentingPrintWriter 117 write(buf, 0, len); 121 public void write(char[] buf, int offset, int count) { method in class:IndentingPrintWriter 133 super.write(buf, lineStart, lineEnd - lineStart); 143 super.write('\ [all...] |
/frameworks/opt/net/wifi/service/ |
H A D | wifi-events.rc | 24 write /sys/kernel/debug/tracing/instances/wifi/tracing_on 0 25 write /sys/kernel/debug/tracing/instances/wifi/buffer_size_kb 1 26 write /sys/kernel/debug/tracing/instances/wifi/trace_options disable_on_free 32 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/cfg80211_gtk_rekey_notify/enable 1 33 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_add_key/enable 1 34 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_assoc/enable 1 35 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_auth/enable 1 36 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_connect/enable 1 37 write /sys/kernel/debug/tracing/instances/wifi/events/cfg80211/rdev_set_default_key/enable 1 38 write /sy [all...] |
/frameworks/base/core/java/com/android/internal/usb/ |
H A D | DumpUtils.java | 54 dump.write("manufacturer", UsbAccessoryProto.MANUFACTURER, accessory.getManufacturer()); 55 dump.write("model", UsbAccessoryProto.MODEL, accessory.getModel()); 58 dump.write("version", UsbAccessoryProto.VERSION, accessory.getVersion()); 60 dump.write("serial", UsbAccessoryProto.SERIAL, accessory.getSerial()); 69 dump.write("name", UsbDeviceProto.NAME, device.getDeviceName()); 70 dump.write("vendor_id", UsbDeviceProto.VENDOR_ID, device.getVendorId()); 71 dump.write("product_id", UsbDeviceProto.PRODUCT_ID, device.getProductId()); 72 dump.write("class", UsbDeviceProto.CLASS, device.getDeviceClass()); 73 dump.write("subclass", UsbDeviceProto.SUBCLASS, device.getDeviceSubclass()); 74 dump.write("protoco [all...] |
/frameworks/base/cmds/statsd/benchmark/ |
H A D | filter_value_benchmark.cpp | 35 event->write(nodes); 36 event->write(3.2f); 37 event->write("LOCATION"); 38 event->write((int64_t)990);
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
H A D | CellularNetworkTestUtil.java | 70 stream.write((byte) ieiType); 72 stream.write((byte) ((plmnsSize + 1) & CellularNetwork.IEI_CONTENT_LENGTH_MASK)); 73 stream.write((byte) plmnList.length); 75 stream.write(plmn);
|
H A D | OsuProviderInfoTestUtil.java | 68 out.write(payload); 86 out.write(payload); 106 out.write(friendlyNamesData); 112 out.write((byte) TEST_METHOD_LIST.size()); 114 out.write((byte) method.intValue()); 119 out.write(IconInfoTestUtil.TEST_ICON_INFO_RAW_BYTES); 127 out.write(serviceDescriptionsData); 136 out.write((byte) data.length); 137 out.write(data); 151 out.write(valu [all...] |
H A D | IconInfoTestUtil.java | 55 out.write(TEST_LANGUAGE.getBytes(StandardCharsets.US_ASCII)); 56 out.write((byte) 0); // Padding for language code. 68 * @param out The output stream to write to 69 * @param value The integer value to write 72 out.write(value & 0xFF); 73 out.write((value >> 8) & 0xFF); 80 * @param out The output stream to write to 81 * @param data The byte array to write 86 out.write((byte) data.length); 87 out.write(dat [all...] |
/frameworks/base/core/java/android/service/persistentdata/ |
H A D | IPersistentDataBlockService.aidl | 30 int write(in byte[] data);
|
/frameworks/base/obex/javax/obex/ |
H A D | PrivateOutputStream.java | 55 * Creates an empty <code>PrivateOutputStream</code> to write to. 75 * write is that one byte is written to the output stream. The byte to be 78 * @param b the byte to write 82 public synchronized void write(int b) throws IOException { method in class:PrivateOutputStream 85 mArray.write(b); 92 public void write(byte[] buffer) throws IOException { method in class:PrivateOutputStream 93 write(buffer, 0, buffer.length); 97 public synchronized void write(byte[] buffer, int offset, int count) throws IOException { method in class:PrivateOutputStream 112 mArray.write(buffer, offset1, bufferLeft); 118 mArray.write(buffe [all...] |
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
H A D | Usb10ACMixerUnit.java | 82 canvas.write("Num Inputs: " + numInputs + " ["); 84 canvas.write("" + ReportCanvas.getHexString(inputIDs[input])); 86 canvas.write(" "); 89 canvas.write("]"); 97 canvas.write("Controls: " + controls.length + " ["); 99 canvas.write("" + controls[ctrl]); 101 canvas.write(" "); 104 canvas.write("]");
|
H A D | UsbEndpointDescriptor.java | 149 canvas.write("Attributes: " + ReportCanvas.getHexString(attributes) + " "); 152 canvas.write("Control"); 155 canvas.write("Iso"); 158 canvas.write("Bulk"); 161 canvas.write("Interrupt"); 170 canvas.write("Aync: "); 173 canvas.write("NONE"); 176 canvas.write("ASYNC"); 179 canvas.write("ADAPTIVE ASYNC"); 185 canvas.write("Useag [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | SmsHeader.java | 216 outStream.write(ELT_ID_CONCATENATED_8_BIT_REFERENCE); 217 outStream.write(3); 218 outStream.write(concatRef.refNumber); 220 outStream.write(ELT_ID_CONCATENATED_16_BIT_REFERENCE); 221 outStream.write(4); 222 outStream.write(concatRef.refNumber >>> 8); 223 outStream.write(concatRef.refNumber & 0x00FF); 225 outStream.write(concatRef.msgCount); 226 outStream.write(concatRef.seqNumber); 231 outStream.write(ELT_ID_APPLICATION_PORT_ADDRESSING_8_BI [all...] |
/frameworks/base/core/java/com/android/internal/print/ |
H A D | DumpUtils.java | 51 * @param proto The proto to write to 54 * @param printerId The printer id to write 61 proto.write("local_id", PrinterIdProto.LOCAL_ID, printerId.getLocalId()); 68 * @param proto The proto to write to 71 * @param cap The capabilities to write 93 proto.write("color_modes", PrinterCapabilitiesProto.COLOR_MODES, 97 proto.write("color_modes", PrinterCapabilitiesProto.COLOR_MODES, 102 proto.write("duplex_modes", PrinterCapabilitiesProto.DUPLEX_MODES, 106 proto.write("duplex_modes", PrinterCapabilitiesProto.DUPLEX_MODES, 110 proto.write("duplex_mode [all...] |