/frameworks/base/services/tests/servicestests/src/com/android/server/net/ |
NetworkStatsCollectionTest.java | 161 OutputStream out = null; local 164 out = new FileOutputStream(file); 165 Streams.copy(in, out); 168 IoUtils.closeQuietly(out);
|
/frameworks/base/telephony/java/android/telephony/ |
PreciseDataConnectionState.java | 169 public void writeToParcel(Parcel out, int flags) { 170 out.writeInt(mState); 171 out.writeInt(mNetworkType); 172 out.writeString(mAPNType); 173 out.writeString(mAPN); 174 out.writeString(mReason); 175 out.writeParcelable(mLinkProperties, flags); 176 out.writeString(mFailCause);
|
/frameworks/base/tests/HugeBackup/src/com/android/hugebackup/ |
HugeAgent.java | 128 // out of the buffering stream object and send it off. 190 * Write out the new state file: the version number, followed by the 195 DataOutputStream out = new DataOutputStream(outstream); local 197 out.writeInt(AGENT_VERSION); 198 out.writeInt(mFilling); 199 out.writeBoolean(mAddMayo); 200 out.writeBoolean(mAddTomato); 207 * be running while we change its data out from under it. That, in 208 * turn, means that there is no need to send out any sort of notification
|
/frameworks/base/tools/preload/ |
PrintCsv.java | 42 printHeaders(System.out); 51 printRow(System.out, baseline, loadedClass); 55 static void printHeaders(PrintStream out) { 56 out.println("Name" 70 static void printRow(PrintStream out, MemoryUsage baseline, 72 out.print(loadedClass.name); 73 out.print(','); 74 out.print(loadedClass.preloaded); 75 out.print(','); 76 out.print(loadedClass.medianLoadTimeMicros()) [all...] |
Root.java | 135 FileOutputStream out = new FileOutputStream(fileName); local 137 new BufferedOutputStream(out));
|
/frameworks/compile/mclinker/lib/Object/ |
SectionMap.cpp | 164 iterator out, outBegin = begin(), outEnd = end(); local 165 for (out = outBegin; out != outEnd; ++out) { 166 if (*out != NULL) { 167 Output::iterator in, inBegin = (*out)->begin(), inEnd = (*out)->end(); 172 delete *out; 181 const_iterator out, outBegin = begin(), outEnd = end(); local 182 for (out = outBegin; out != outEnd; ++out) 195 iterator out, outBegin = begin(), outEnd = end(); local 209 const_iterator out, outBegin = begin(), outEnd = end(); local 220 iterator out, outBegin = begin(), outEnd = end(); local 233 iterator out, outBegin = begin(), outEnd = end(); local 266 iterator out, outBegin = begin(), outEnd = end(); local [all...] |
/frameworks/rs/cpu_ref/ |
rsCpuIntrinsicConvolve3x3.cpp | 91 static void ConvolveOneU4(const RsForEachStubParamStruct *p, uint32_t x, uchar4 *out, 110 *out = o; 113 static void ConvolveOneU2(const RsForEachStubParamStruct *p, uint32_t x, uchar2 *out, 131 *out = convert_uchar2(px); 134 static void ConvolveOneU1(const RsForEachStubParamStruct *p, uint32_t x, uchar *out, 150 *out = clamp(px, 0.f, 255.f); 153 static void ConvolveOneF4(const RsForEachStubParamStruct *p, uint32_t x, float4 *out, 159 *out = (py0[x1] * coeff[0]) + (py0[x] * coeff[1]) + (py0[x2] * coeff[2]) + 164 static void ConvolveOneF2(const RsForEachStubParamStruct *p, uint32_t x, float2 *out, 170 *out = (py0[x1] * coeff[0]) + (py0[x] * coeff[1]) + (py0[x2] * coeff[2]) 204 uchar4 *out = (uchar4 *)p->out; local 251 uchar2 *out = (uchar2 *)p->out; local 296 uchar *out = (uchar *)p->out; local 341 float4 *out = (float4 *)p->out; local 386 float2 *out = (float2 *)p->out; local 430 float *out = (float *)p->out; local [all...] |
rsCpuIntrinsicYuvToRGB.cpp | 126 uchar4 *out = (uchar4 *)p->out + xstart; local 160 *out = rsYuvToRGBA_uchar4(Y[x1], u[cx], v[cx]); 161 out++; 169 rsdIntrinsicYuv2_K(p->out, Y, u, v, x1, x2); 171 out += len; 178 rsdIntrinsicYuv_K(p->out, Y, v, x1, x2); 180 out += len; 182 rsdIntrinsicYuvR_K(p->out, Y, u, x1, x2); 184 out += len [all...] |
/frameworks/rs/java/tests/RSTest_CompatLib/src/com/android/rs/test/ |
UnitTest.java | 124 String out = name; local 126 out += " - PASSED"; 129 out += " - FAILED"; 131 return out;
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
UnitTest.java | 124 String out = name; local 126 out += " - PASSED"; 129 out += " - FAILED"; 131 return out;
|
/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/platform/ |
JankTestBase.java | 127 BufferedOutputStream out = null; local 134 out = new BufferedOutputStream(new FileOutputStream(mFile)); 137 out.write(buffer, 0, n); 138 out.flush(); 141 out.close(); 360 mStatusWriter.write(String.format("%s: %d success runs out of %d iterations\n", 368 log(String.format("In %s, # of successful test runs out of %s iterations: %d ",
|
/libcore/benchmarks/src/benchmarks/regression/ |
SSLSocketBenchmark.java | 83 OutputStream out = s.getOutputStream(); local 84 out.write(webSite.request);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
ConsoleTest.java | 43 private OutputStream out = new ByteArrayOutputStream(); field in class:ConsoleTest 52 console = constructor.newInstance(in, out); 68 String prompt = new String(((ByteArrayOutputStream) out).toByteArray()); 75 String prompt = new String(((ByteArrayOutputStream) out).toByteArray()); 94 String prompt = new String(((ByteArrayOutputStream) out).toByteArray());
|
OutputStreamTesterTest.java | 121 PipedOutputStream out = new PipedOutputStream(in); local 137 return out;
|
WriterTesterTest.java | 114 PipedWriter out = new PipedWriter(in); local 130 return out; 200 private ByteArrayOutputStream out; field in class:WriterTesterTest.OutputStreamWriterCharSinkTester 204 out = new ByteArrayOutputStream(); 205 return new OutputStreamWriter(out, "UTF-8"); 210 return new String(out.toByteArray(), "UTF-8").toCharArray();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/charset/ |
UTF16CharsetEncoderTest.java | 116 void assertByteArray(ByteBuffer out, byte[] expected) { 117 out = out.duplicate(); 118 if (out.position() > 0) { 119 out.flip(); 122 assertEquals(decoder.decode(out), decoder.decode(ByteBuffer
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
NumberFormatTest.java | 37 StringBuffer out; local 42 out = format.format(new Long(Long.MAX_VALUE), new StringBuffer(), pos); 43 assertEquals("Wrong result L1: " + out, "9,223,372,036,854,775,807", 44 out.toString()); 47 out = format.format(new Long(Long.MIN_VALUE), new StringBuffer(), pos); 48 assertEquals("Wrong result L2: " + out, "-9,223,372,036,854,775,808", 49 out.toString()); 52 out = format.format(new java.math.BigInteger(String 54 assertEquals("Wrong result BI1: " + out, "9,223,372,036,854,775,807", 55 out.toString()) [all...] |
/libcore/luni/src/main/java/java/beans/ |
PropertyChangeSupport.java | 130 * names in the same order and bottom out in the same event listener. This 317 private void writeObject(ObjectOutputStream out) throws IOException { 338 ObjectOutputStream.PutField putFields = out.putFields(); 341 out.writeFields(); 345 out.writeObject(p); 348 out.writeObject(null);
|
/libcore/luni/src/main/java/java/io/ |
DataOutputStream.java | 37 * The number of bytes written out so far. 43 * {@code out}. Note that data written by this stream is not in a human 47 * @param out 50 public DataOutputStream(OutputStream out) { 51 super(out); 55 * Flushes this stream to ensure all pending data is sent out to the target 98 out.write(buffer, offset, count); 114 out.write(oneByte); 128 out.write(val ? 1 : 0); 144 out.write(val) [all...] |
InputStreamReader.java | 210 CharBuffer out = CharBuffer.wrap(buffer, offset, count); local 217 while (out.hasRemaining()) { 221 if (in.available() == 0 && out.position() > offset) { 244 result = decoder.decode(bytes, out, false); 260 result = decoder.decode(bytes, out, true); 262 result = decoder.flush(out); 270 return out.position() - offset == 0 ? -1 : out.position() - offset;
|
PipedReader.java | 40 * range {@code [out, in)} and written to the range {@code [in, out)}. 45 * out in</pre> 50 * in out</pre> 53 * {@code in == out}. Writing when the buffer is full will block until free 66 private int out; field in class:PipedReader 87 * {@code out}. Any data written to the writer can be read from the this 90 * @param out 93 * if {@code out} is already connected. 95 public PipedReader(PipedWriter out) throws IOException [all...] |
/libcore/luni/src/main/java/libcore/io/ |
Streams.java | 50 public static void writeSingleByte(OutputStream out, int b) throws IOException { 53 out.write(buffer); 176 * Copies all of the bytes from {@code in} to {@code out}. Neither stream is closed. 179 public static int copy(InputStream in, OutputStream out) throws IOException { 185 out.write(buffer, 0, c);
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
ASN1BitString.java | 85 @Override public void encodeContent(BerOutputStream out) { 86 out.encodeBitString(); 89 @Override public void setEncodingContent(BerOutputStream out) { 90 out.length = ((BitString) out.content).bytes.length + 1; 159 @Override public void setEncodingContent(BerOutputStream out) { 160 boolean[] toEncode = (boolean[]) out.content; 168 out.content = emptyString; 169 out.length = 1; 191 out.content = new BitString(bytes, unusedBits) [all...] |
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
OldCharset_SingleByteAbstractTest.java | 48 Charset_TestGenerator.Dumper out = new Charset_TestGenerator.Dumper1(); local 56 out.consume(outputCB.get()); 59 System.out.println(e); 118 // System.out.format("Mismatch at index %d: %d instead of expected %d.\n", 122 //// System.out.format("Match index %d: %d = %d\n", 141 // System.out.format("REPLACE mismatch at index %d (byte %d): %d instead of expected %d.\n", 144 // System.out.format("REPLACE mismatch at index %d (byte %d): %d instead of expected %d.\n", 149 // System.out.format("MISMATCH at index %d (byte %d): %d instead of expected %d.\n", 162 // System.out.println("for charset " + charsetName); 171 // System.out.format("MISMATCH at index %d: %d instead of expected %d.\n" [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
DateFormatSymbolsTest.java | 58 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 59 new ObjectOutputStream(out).writeObject(originalDfs); 60 byte[] bytes = out.toByteArray(); 133 // that use icu4c's probably-out-of-date time zone transition data.
|