/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsUsageMonitor.java | 505 XmlSerializer out = new FastXmlSerializer(); local 506 out.setOutput(outfile, StandardCharsets.UTF_8.name()); 508 out.startDocument(null, true); 510 out.startTag(null, TAG_SMS_POLICY_BODY); 513 out.startTag(null, TAG_PACKAGE); 514 out.attribute(null, ATTR_PACKAGE_NAME, policy.getKey()); 515 out.attribute(null, ATTR_PACKAGE_SMS_POLICY, policy.getValue().toString()); 516 out.endTag(null, TAG_PACKAGE); 519 out.endTag(null, TAG_SMS_POLICY_BODY); 520 out.endDocument() [all...] |
/packages/services/Telephony/src/com/android/phone/ |
CarrierConfigLoader.java | 118 // Bind timed out for the default app. 120 // Bind timed out for a carrier app. 489 FastXmlSerializer out = new FastXmlSerializer(); local 490 out.setOutput(outFile, "utf-8"); 491 out.startDocument("utf-8", true); 492 out.startTag(null, TAG_DOCUMENT); 493 out.startTag(null, TAG_VERSION); 494 out.text(version); 495 out.endTag(null, TAG_VERSION); 496 out.startTag(null, TAG_BUNDLE) [all...] |
/cts/tests/tests/content/src/android/content/res/cts/ |
AssetFileDescriptorTest.java | 194 // test writeToParcel(), test by assert source and out FileDescriptor content equals. 198 AssetFileDescriptor out = AssetFileDescriptor.CREATOR.createFromParcel(parcel); local 199 assertEquals(out.getStartOffset(), mAssetFileDes.getStartOffset()); 200 assertEquals(out.getDeclaredLength(), mAssetFileDes.getDeclaredLength()); 201 assertEquals(out.getParcelFileDescriptor().getStatSize(),
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
ValueEncoder.java | 46 * Handler for writing out {@code encoded_values} and parts 102 private final AnnotatedOutput out; field in class:ValueEncoder 108 * @param out {@code non-null;} output stream to write to 110 public ValueEncoder(DexFile file, AnnotatedOutput out) { 115 if (out == null) { 116 throw new NullPointerException("out == null"); 120 this.out = out; 124 * Writes out the encoded form of the given constant. 184 out.writeByte(type) [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
ValueEncoder.java | 44 * Handler for writing out {@code encoded_values} and parts 100 private final AnnotatedOutput out; field in class:ValueEncoder 106 * @param out {@code non-null;} output stream to write to 108 public ValueEncoder(DexFile file, AnnotatedOutput out) { 113 if (out == null) { 114 throw new NullPointerException("out == null"); 118 this.out = out; 122 * Writes out the encoded form of the given constant. 182 out.writeByte(type) [all...] |
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/translit/ |
UnicodeSetCloseOver.java | 64 System.out.println("This tool will generate several output files. Each is named according"); 65 System.out.println("the target file. For example, the contents of to_UnicodeSet.java should"); 66 System.out.println("be pasted into UnicodeSet.java."); 67 System.out.println(); 200 PrintStream out = new PrintStream(new FileOutputStream(JAVA_OUT)); local 201 System.out.println("Writing " + JAVA_OUT); 203 out.println(" // " + WARNING); 204 out.println(" private static final String CASE_PAIRS ="); 205 out.println(Utility.formatForSource(pairs.toString()) + ";"); 206 out.println() [all...] |
/external/okhttp/okcurl/src/main/java/com/squareup/okhttp/curl/ |
Main.java | 134 System.out.println(NAME + " " + versionString()); 135 System.out.println("Protocols: " + protocols()); 148 System.out.println(StatusLine.get(response)); 151 System.out.println(headers.name(i) + ": " + headers.value(i)); 153 System.out.println(); 156 // Stream the response to the System.out as it is returned from the server. 157 Sink out = Okio.sink(System.out); local 160 out.write(source.buffer(), source.buffer().size()); 161 out.flush() [all...] |
/frameworks/base/obex/javax/obex/ |
ClientSession.java | 31 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 488 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 489 out.write((byte)opCode); 493 out.write(0x00); 494 out.write(0x03); 496 out.write((byte)((head.length + 3) >> 8)); 497 out.write((byte)(head.length + 3)); 498 out.write(head); 503 mOutput.write(out.toByteArray()); 588 out.write((byte)HeaderSet.AUTH_RESPONSE) [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
ViewServer.java | 187 BufferedWriter out = null; local 190 out = new BufferedWriter(new OutputStreamWriter(clientStream), 8 * 1024); 191 out.write(value); 192 out.write("\n"); 193 out.flush(); 198 if (out != null) { 200 out.close(); 296 BufferedWriter out = null; local 298 out = new BufferedWriter(new OutputStreamWriter(mClient.getOutputStream())); 316 out.write("LIST UPDATE\n") [all...] |
/frameworks/multidex/library/test/src/android/support/multidex/ |
ZipUtilTest.java | 50 "out/target/common/obj/JAVA_LIBRARIES/android-support-multidex_intermediates/javalib.jar"); 62 System.out.println("crc is " + crc); 121 OutputStream out = new FileOutputStream(tmp); local 124 out.write(buffer, 0, read); 128 out.close(); 151 OutputStream out = new FileOutputStream(tmp); local 154 out.write(buffer, 0, read); 158 out.close();
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
PasspointManagementObjectManagerTest.java | 71 FileOutputStream out = new FileOutputStream(file); local 76 out.write(line.getBytes(StandardCharsets.UTF_8)); 79 out.flush(); 80 out.close(); 214 // Serialize it back out:
|
/libcore/benchmarks/src/benchmarks/regression/ |
SerializationBenchmark.java | 30 ObjectOutputStream out = new ObjectOutputStream(baos); local 31 out.writeObject(o); 32 out.close(); 87 ObjectOutputStream out = new ObjectOutputStream(baos); local 89 out.reset(); 92 out.close(); 108 ObjectOutputStream out = new ObjectOutputStream(baos); local 110 out.writeObject(o); 111 out.reset(); 114 out.close() [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
FileOutputStreamTest.java | 203 FileOutputStream out = new FileOutputStream(file); local 205 out.write(null, 0, 0); 210 out.close();
|
/libcore/ojluni/src/main/java/java/util/zip/ |
ZipOutputStream.java | 102 * @param out the actual output stream 104 public ZipOutputStream(OutputStream out) { 105 this(out, StandardCharsets.UTF_8); 111 * @param out the actual output stream 118 public ZipOutputStream(OutputStream out, Charset charset) { 119 super(out, new Deflater(Deflater.DEFAULT_COMPRESSION, true)); 323 out.write(b, off, len); 584 OutputStream out = this.out; local 585 out.write((v >>> 0) & 0xff) 594 OutputStream out = this.out; local 606 OutputStream out = this.out; local [all...] |
/libcore/ojluni/src/main/java/sun/nio/cs/ |
StreamEncoder.java | 49 public static StreamEncoder forOutputStreamWriter(OutputStream out, 59 return new StreamEncoder(out, lock, Charset.forName(csn)); 64 public static StreamEncoder forOutputStreamWriter(OutputStream out, 68 return new StreamEncoder(out, lock, cs); 71 public static StreamEncoder forOutputStreamWriter(OutputStream out, 75 return new StreamEncoder(out, lock, enc); 166 private final OutputStream out; field in class:StreamEncoder 174 private StreamEncoder(OutputStream out, Object lock, Charset cs) { 175 this(out, lock, 181 private StreamEncoder(OutputStream out, Object lock, CharsetEncoder enc) [all...] |
/art/runtime/ |
leb128.h | 44 // Note: We don't check to see if cur is out of range here, 88 // Note: We don't check to see if cur is out of range here, 119 uint8_t out = value & 0x7f; local 122 *dest++ = out | 0x80; 123 out = value & 0x7f; 126 *dest++ = out; 133 uint8_t out = value & 0x7f; local 136 dest->push_back(out | 0x80); 137 out = value & 0x7f; 140 dest->push_back(out); 158 uint8_t out = value & 0x7f; local 173 uint8_t out = value & 0x7f; local [all...] |
/art/test/113-multidex/src/ |
Main.java | 19 System.out.println(new FillerA().getClass().getName()); 22 System.out.println(second.getClass().getName());
|
/bionic/libc/bionic/ |
net_if.cpp | 24 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT 137 struct if_nameindex* out = result; local 139 out->if_index = it->data.if_index; 140 out->if_name = it->data.if_name; 141 ++out; 143 out->if_index = 0; 144 out->if_name = nullptr;
|
/bootable/recovery/mtdutils/ |
flash_image.c | 98 MtdWriteContext *out = mtd_write_partition(partition); local 99 if (out == NULL) die("error writing %s", argv[1]); 103 int wrote = mtd_write_data(out, buf, headerlen); 108 wrote = mtd_write_data(out, buf, len); 113 if (mtd_write_close(out)) die("error closing %s", argv[1]); 117 out = mtd_write_partition(partition); 118 if (out == NULL) die("error re-opening %s", argv[1]); 120 wrote = mtd_write_data(out, header, headerlen); 136 if (mtd_write_data(out, buf, len) != len) 141 if (mtd_write_close(out)) die("error closing %s", argv[1]) [all...] |
/build/tools/rgb2565/ |
to565.c | 32 unsigned short out; local 35 out = to565(in[0],in[1],in[2]); 36 write(1, &out, 2); 44 unsigned short out; local 65 out = to565(rb, gb, bb); 66 write(1, &out, 2); 75 e = r - from565_r(out); 78 e = g - from565_g(out); 81 e = b - from565_b(out);
|
/cts/hostsidetests/devicepolicy/app/VpnApp/src/com/android/cts/vpnfirewall/ |
IcmpMessage.java | 72 StringBuilder out = new StringBuilder(64); local 73 out.append("ICMP payload {"); 74 out.append("\n Type: "); out.append(type); 75 out.append("\n Code: "); out.append(code); 76 out.append("\n Quench: "); out.append(quench); 77 out.append("\n Data: ["); 80 out.append(String.format("\n%4s", "")) [all...] |
/cts/hostsidetests/theme/src/android/theme/cts/ |
ThemeHostTest.java | 130 final FileOutputStream out = new FileOutputStream(tmp); local 134 out.write(buffer, 0, count); 137 out.flush(); 138 out.close();
|
/cts/libs/vogar-expect/src/vogar/ |
Outcome.java | 100 PrintWriter out = new PrintWriter(writer); local 101 t.printStackTrace(out);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ProviderTestUtils.java | 55 StringBuilder out = new StringBuilder(); local 57 out.append(str); 59 return out.toString();
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/generated/ |
TestNanHalf.java | 41 public Target.Floaty out; field in class:TestNanHalf.ArgumentsHalf 46 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 1), INPUTSIZE); local 47 script.forEach_testNanHalfHalf(out); 48 verifyResultsNanHalfHalf(out, false); 53 Allocation out = Allocation.createSized(mRS, getElement(mRS, Element.DataType.FLOAT_16, 1), INPUTSIZE); local 54 scriptRelaxed.forEach_testNanHalfHalf(out); 55 verifyResultsNanHalfHalf(out, true); 61 private void verifyResultsNanHalfHalf(Allocation out, boolean relaxed) { 64 out.copyTo(arrayOut); 71 // Figure out what the outputs should have been [all...] |