Home
last modified time | relevance | path

Searched refs:out (Results 1 – 25 of 578) sorted by relevance

12345678910>>...24

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DLoggingPrintStreamTest.java34 TestPrintStream out = new TestPrintStream(); field in LoggingPrintStreamTest
43 t.printStackTrace(out); in testPrintException()
47 assertEquals(Arrays.asList(lines), out.lines); in testPrintException()
52 out.print(4); in testPrintObject()
53 out.print(o); in testPrintObject()
54 out.print(2); in testPrintObject()
55 out.flush(); in testPrintObject()
56 assertEquals(Arrays.asList("4" + o + "2"), out.lines); in testPrintObject()
61 out.print(4); in testPrintlnObject()
62 out.println(o); in testPrintlnObject()
[all …]
/frameworks/base/opengl/tools/glgen/src/
DJniCodeEmitter.java123 public void emitNativeDeclaration(JFunc jfunc, PrintStream out) { in emitNativeDeclaration() argument
124 out.println(" // C function " + jfunc.getCFunc().getOriginal()); in emitNativeDeclaration()
125 out.println(); in emitNativeDeclaration()
127 emitFunction(jfunc, out, true, false); in emitNativeDeclaration()
130 public void emitJavaInterfaceCode(JFunc jfunc, PrintStream out) { in emitJavaInterfaceCode() argument
131 emitFunction(jfunc, out, false, true); in emitJavaInterfaceCode()
134 public void emitJavaCode(JFunc jfunc, PrintStream out) { in emitJavaCode() argument
135 emitFunction(jfunc, out, false, false); in emitJavaCode()
144 void emitFunctionCall(JFunc jfunc, PrintStream out, String iii, boolean grabArray) { in emitFunctionCall() argument
149 out.println(iii + in emitFunctionCall()
[all …]
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/
DWap230WspContentTypeTest.java257 ByteArrayOutputStream out = new ByteArrayOutputStream(); in testDecodeReturnsFalse_WhenOnlyAZeroBytePresent() local
258 out.write(0x00); in testDecodeReturnsFalse_WhenOnlyAZeroBytePresent()
259 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); in testDecodeReturnsFalse_WhenOnlyAZeroBytePresent()
266 ByteArrayOutputStream out = new ByteArrayOutputStream(); in testConstrainedMediaExtensionMedia() local
267 out.write(testType.getBytes("US-ASCII")); in testConstrainedMediaExtensionMedia()
268 out.write(WSP_STRING_TERMINATOR); in testConstrainedMediaExtensionMedia()
270 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); in testConstrainedMediaExtensionMedia()
281 ByteArrayOutputStream out = new ByteArrayOutputStream(); in testGeneralFormShortLengthExtensionMedia() local
282 out.write(testType.length() + 1); in testGeneralFormShortLengthExtensionMedia()
283 out.write(testType.getBytes("US-ASCII")); in testGeneralFormShortLengthExtensionMedia()
[all …]
/frameworks/base/tools/preload/
DPrintCsv.java42 printHeaders(System.out); in main()
51 printRow(System.out, baseline, loadedClass); in main()
55 static void printHeaders(PrintStream out) { in printHeaders() argument
56 out.println("Name" in printHeaders()
70 static void printRow(PrintStream out, MemoryUsage baseline, in printRow() argument
72 out.print(loadedClass.name); in printRow()
73 out.print(','); in printRow()
74 out.print(loadedClass.preloaded); in printRow()
75 out.print(','); in printRow()
76 out.print(loadedClass.medianLoadTimeMicros()); in printRow()
[all …]
DPrintHtmlDiff.java71 PrintStream out = System.out; in main() local
73 out.println("<html><body>"); in main()
74 out.println("<style>"); in main()
75 out.println("a, th, td, h2 { font-family: arial }"); in main()
76 out.println("th, td { font-size: small }"); in main()
77 out.println("</style>"); in main()
78 out.println("<script src=\"sorttable.js\"></script>"); in main()
79 out.println("<p><a href=\"#removed\">Removed</a>"); in main()
80 out.println("<a name=\"added\"/><h2>Added</h2>"); in main()
81 printTable(out, root.baseline, added); in main()
[all …]
/frameworks/base/core/java/com/android/internal/http/multipart/
DPart.java203 protected void sendStart(OutputStream out) throws IOException { in sendStart() argument
205 out.write(EXTRA_BYTES); in sendStart()
206 out.write(getPartBoundary()); in sendStart()
207 out.write(CRLF_BYTES); in sendStart()
216 protected void sendDispositionHeader(OutputStream out) throws IOException { in sendDispositionHeader() argument
218 out.write(CONTENT_DISPOSITION_BYTES); in sendDispositionHeader()
219 out.write(QUOTE_BYTES); in sendDispositionHeader()
220 out.write(EncodingUtils.getAsciiBytes(getName())); in sendDispositionHeader()
221 out.write(QUOTE_BYTES); in sendDispositionHeader()
229 protected void sendContentTypeHeader(OutputStream out) throws IOException { in sendContentTypeHeader() argument
[all …]
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/
Ddct.cpp38 Void BlockDCT_AANwSub(Short *out, UChar *cur, UChar *pred, Int width) in BlockDCT_AANwSub() argument
50 dst = out + 64 ; in BlockDCT_AANwSub()
52 out += 128; in BlockDCT_AANwSub()
158 while (dst < out); in BlockDCT_AANwSub()
160 out -= 64; in BlockDCT_AANwSub()
161 dst = out + 8; in BlockDCT_AANwSub()
166 k0 = out[0]; in BlockDCT_AANwSub()
167 k1 = out[8]; in BlockDCT_AANwSub()
168 k2 = out[16]; in BlockDCT_AANwSub()
169 k3 = out[24]; in BlockDCT_AANwSub()
[all …]
Ddct_inline.h29 int32 out; in mla724() local
33 out = op2 * 724 + op3; /* op1 is not used here */ in mla724()
35 return out; in mla724()
62 int32 out; in mla1338() local
66 out = k6 * 1338 + k1; in mla1338()
68 return out; in mla1338()
73 int32 out; in mla946() local
77 out = k6 * 946 + k1; in mla946()
79 return out; in mla946()
113 int32 out; in mla724() local
[all …]
/frameworks/base/core/java/android/util/
DJsonWriter.java123 private final Writer out; field in JsonWriter
148 public JsonWriter(Writer out) { in JsonWriter() argument
149 if (out == null) { in JsonWriter()
152 this.out = out; in JsonWriter()
241 out.write(openBracket); in open()
260 out.write(closeBracket); in close()
315 out.write("null"); in nullValue()
326 out.write(value ? "true" : "false"); in value()
342 out.append(Double.toString(value)); in value()
353 out.write(Long.toString(value)); in value()
[all …]
/frameworks/base/core/java/android/speech/srec/
DWaveHeader.java230 public int write(OutputStream out) throws IOException { in write() argument
232 writeId(out, "RIFF"); in write()
233 writeInt(out, 36 + mNumBytes); in write()
234 writeId(out, "WAVE"); in write()
237 writeId(out, "fmt "); in write()
238 writeInt(out, 16); in write()
239 writeShort(out, mFormat); in write()
240 writeShort(out, mNumChannels); in write()
241 writeInt(out, mSampleRate); in write()
242 writeInt(out, mNumChannels * mSampleRate * mBitsPerSample / 8); in write()
[all …]
/frameworks/base/core/java/android/appwidget/
DAppWidgetProviderInfo.java193 public void writeToParcel(android.os.Parcel out, int flags) { in writeToParcel() argument
195 out.writeInt(1); in writeToParcel()
196 this.provider.writeToParcel(out, flags); in writeToParcel()
198 out.writeInt(0); in writeToParcel()
200 out.writeInt(this.minWidth); in writeToParcel()
201 out.writeInt(this.minHeight); in writeToParcel()
202 out.writeInt(this.minResizeWidth); in writeToParcel()
203 out.writeInt(this.minResizeHeight); in writeToParcel()
204 out.writeInt(this.updatePeriodMillis); in writeToParcel()
205 out.writeInt(this.initialLayout); in writeToParcel()
[all …]
/frameworks/base/opengl/tools/glgen/
Dgen4 rm -rf out generated
6 mkdir out
11 mkdir -p out/javax/microedition/khronos/opengles
12 mkdir -p out/com/google/android/gles_jni
13 mkdir -p out/android/app
14 mkdir -p out/android/graphics
15 mkdir -p out/android/opengl
16 mkdir -p out/android/content
17 mkdir -p out/android/content/pm
18 mkdir -p out/android/os
[all …]
/frameworks/base/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_imdct_synth.cpp243 int32 * out = in + (band * FILTERBANK_BANDS); in pvmp3_imdct_synth() local
250 pvmp3_mdct_18(out, history, normal_win); in pvmp3_imdct_synth()
256 pvmp3_mdct_18(out, history, start_win); in pvmp3_imdct_synth()
262 pvmp3_mdct_18(out, history, stop_win); in pvmp3_imdct_synth()
273 Scratch_mem[i ] = out[(i*3)]; in pvmp3_imdct_synth()
274 Scratch_mem[6 +i] = out[(i*3) + 1]; in pvmp3_imdct_synth()
275 Scratch_mem[12 +i] = out[(i*3) + 2]; in pvmp3_imdct_synth()
288 out[i] = temp; in pvmp3_imdct_synth()
293 out[i+6] = fxp_mul32_Q32(Scratch_mem[i] << 1, short_win[i]); in pvmp3_imdct_synth()
294 out[i+6] += history[i+6]; in pvmp3_imdct_synth()
[all …]
/frameworks/base/services/java/com/android/server/
DEntropyService.java128 PrintWriter out = null; in addDeviceSpecificEntropy() local
130 out = new PrintWriter(new FileOutputStream(randomDevice)); in addDeviceSpecificEntropy()
131 out.println("Copyright (C) 2009 The Android Open Source Project"); in addDeviceSpecificEntropy()
132 out.println("All Your Randomness Are Belong To Us"); in addDeviceSpecificEntropy()
133 out.println(START_TIME); in addDeviceSpecificEntropy()
134 out.println(START_NANOTIME); in addDeviceSpecificEntropy()
135 out.println(SystemProperties.get("ro.serialno")); in addDeviceSpecificEntropy()
136 out.println(SystemProperties.get("ro.bootmode")); in addDeviceSpecificEntropy()
137 out.println(SystemProperties.get("ro.baseband")); in addDeviceSpecificEntropy()
138 out.println(SystemProperties.get("ro.carrier")); in addDeviceSpecificEntropy()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DXmlUtils.java179 public static final void writeMapXml(Map val, OutputStream out) in writeMapXml() argument
182 serializer.setOutput(out, "utf-8"); in writeMapXml()
201 public static final void writeListXml(List val, OutputStream out) in writeListXml() argument
205 serializer.setOutput(out, "utf-8"); in writeListXml()
226 public static final void writeMapXml(Map val, String name, XmlSerializer out) in writeMapXml() argument
230 out.startTag(null, "null"); in writeMapXml()
231 out.endTag(null, "null"); in writeMapXml()
238 out.startTag(null, "map"); in writeMapXml()
240 out.attribute(null, "name", name); in writeMapXml()
245 writeValueXml(e.getValue(), (String)e.getKey(), out); in writeMapXml() local
[all …]
/frameworks/base/tools/aapt/
DAaptAssets.cpp813 ResTable_config* out) in getMccName() argument
816 if (out) out->mcc = 0; in getMccName()
837 if (out) out->mcc = d; in getMccName()
845 ResTable_config* out) in getMncName() argument
848 if (out) out->mcc = 0; in getMncName()
867 if (out) { in getMncName()
868 out->mnc = atoi(val); in getMncName()
882 ResTable_config* out) in getLocaleName() argument
886 if (out) { in getLocaleName()
887 out->language[0] = 0; in getLocaleName()
[all …]
/frameworks/base/media/libstagefright/foundation/
Dbase64.cpp43 uint8_t *out = buffer->data(); in decodeBase64() local
72 out[j++] = (accum >> 16); in decodeBase64()
74 if (j < outLen) { out[j++] = (accum >> 8) & 0xff; } in decodeBase64()
75 if (j < outLen) { out[j++] = accum & 0xff; } in decodeBase64()
99 const void *_data, size_t size, AString *out) { in encodeBase64() argument
100 out->clear(); in encodeBase64()
110 out->append(encode6Bit(x1 >> 2)); in encodeBase64()
111 out->append(encode6Bit((x1 << 4 | x2 >> 4) & 0x3f)); in encodeBase64()
112 out->append(encode6Bit((x2 << 2 | x3 >> 6) & 0x3f)); in encodeBase64()
113 out->append(encode6Bit(x3 & 0x3f)); in encodeBase64()
[all …]
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java464 protected void dump(String prefix, FileDescriptor fd, PrintWriter out, String[] args) { in dump() argument
465 out.print(prefix); out.print("mInitializing="); out.print(mInitializing); in dump()
466 out.print(" mDestroyed="); out.println(mDestroyed); in dump()
467 out.print(prefix); out.print("mVisible="); out.print(mVisible); in dump()
468 out.print(" mScreenOn="); out.print(mScreenOn); in dump()
469 out.print(" mReportedVisible="); out.println(mReportedVisible); in dump()
470 out.print(prefix); out.print("mCreated="); out.print(mCreated); in dump()
471 out.print(" mSurfaceCreated="); out.print(mSurfaceCreated); in dump()
472 out.print(" mIsCreating="); out.print(mIsCreating); in dump()
473 out.print(" mDrawingAllowed="); out.println(mDrawingAllowed); in dump()
[all …]
/frameworks/base/core/java/android/view/
DViewDebug.java531 DataOutputStream out = new DataOutputStream(new BufferedOutputStream(fos)); in saveTraces() local
534 writeHeader(out, mTraceWallStart, mTraceNames, mTraces); in saveTraces()
535 out.flush(); in saveTraces()
537 writeTraces(fos, out.size(), mTraceWallStart, mTraceThreadStart, mTraces); in saveTraces()
544 out.close(); in saveTraces()
556 private static void writeTraces(FileOutputStream out, long offset, long wallStart, in writeTraces() argument
559 FileChannel channel = out.getChannel(); in writeTraces()
601 private static void writeHeader(DataOutputStream out, long start, in writeHeader() argument
607 startSection("version", out); in writeHeader()
608 addValue(null, Integer.toString(TRACE_VERSION_NUMBER), out); in writeHeader()
[all …]
/frameworks/opt/calendar/tests/src/com/android/calendarcommon/
DEventRecurrenceTest.java602 System.out.println("Error... got:"); in verifyRecurType()
604 System.out.println("expected:"); in verifyRecurType()
605 System.out.println("{"); in verifyRecurType()
606 System.out.println(" freq=" + freq); in verifyRecurType()
607 System.out.println(" until=" + until); in verifyRecurType()
608 System.out.println(" count=" + count); in verifyRecurType()
609 System.out.println(" interval=" + interval); in verifyRecurType()
610 System.out.println(" wkst=" + wkst); in verifyRecurType()
611 System.out.println(" bysecond=" + Arrays.toString(bysecond)); in verifyRecurType()
612 System.out.println(" byminute=" + Arrays.toString(byminute)); in verifyRecurType()
[all …]
/frameworks/base/obex/javax/obex/
DObexHelper.java352 ByteArrayOutputStream out = new ByteArrayOutputStream(); in createHeader() local
362 out.write((byte)HeaderSet.CONNECTION_ID); in createHeader()
363 out.write(headImpl.mConnectionID); in createHeader()
369 out.write((byte)HeaderSet.COUNT); in createHeader()
371 out.write(value); in createHeader()
380 out.write((byte)HeaderSet.NAME); in createHeader()
385 out.write(lengthArray); in createHeader()
386 out.write(value); in createHeader()
395 out.write((byte)HeaderSet.TYPE); in createHeader()
405 out.write(lengthArray); in createHeader()
[all …]
/frameworks/compile/linkloader/utils/
Dhelper.cpp36 out() << format("%08x", i) << ':'; in dump_hex()
39 out().changeColor(raw_ostream::MAGENTA); in dump_hex()
44 out().resetColor(); in dump_hex()
48 out().changeColor(raw_ostream::MAGENTA); in dump_hex()
52 out() << ' ' << format("%02x", (unsigned)data[j]); in dump_hex()
56 out().resetColor(); in dump_hex()
57 out() << " "; in dump_hex()
61 out() << (char)data[j]; in dump_hex()
63 out() << '.'; in dump_hex()
67 out() << '\n'; in dump_hex()
/frameworks/compile/linkloader/include/impl/
DELFSectionHeader.hxx70 out() << '\n' << fillformat('=', 79) << '\n'; in print()
71 out().changeColor(raw_ostream::WHITE, true); in print()
72 out() << "ELF Section Header " in print()
74 out().resetColor(); in print()
75 out() << fillformat('-', 79) << '\n'; in print()
77 out() << fillformat('-', 79) << '\n'; in print()
78 out().changeColor(raw_ostream::YELLOW, true); in print()
79 out() << "ELF Section Header " in print()
81 out().resetColor(); in print()
85 out() << format(" %-13s : ", (char const *)(title)) << (value) << '\n' in print()
[all …]
DELFSectionBits.hxx34 out() << '\n' << fillformat('=', 79) << '\n'; in print()
35 out().changeColor(raw_ostream::WHITE, true); in print()
36 out() << "ELF " << section_type_str << ": " << sh->getName() << '\n'; in print()
37 out().resetColor(); in print()
38 out() << fillformat('-', 79) << '\n'; in print()
40 out() << " Size : " << sh->getSize() << '\n'; in print()
41 out() << " Start Address: " << (void *)chunk.getBuffer() << '\n'; in print()
42 out() << fillformat('-', 79) << '\n'; in print()
46 out() << fillformat('=', 79) << '\n'; in print()
/frameworks/base/core/jni/
Dandroid_content_res_Configuration.cpp47 JNIEnv* env, jobject clazz, struct AConfiguration* out) { in android_Configuration_getFromJava() argument
48 out->mcc = env->GetIntField(clazz, gConfigurationClassInfo.mcc); in android_Configuration_getFromJava()
49 out->mnc = env->GetIntField(clazz, gConfigurationClassInfo.mnc); in android_Configuration_getFromJava()
50 out->screenLayout = env->GetIntField(clazz, gConfigurationClassInfo.screenLayout); in android_Configuration_getFromJava()
51 out->touchscreen = env->GetIntField(clazz, gConfigurationClassInfo.touchscreen); in android_Configuration_getFromJava()
52 out->keyboard = env->GetIntField(clazz, gConfigurationClassInfo.keyboard); in android_Configuration_getFromJava()
53 out->navigation = env->GetIntField(clazz, gConfigurationClassInfo.navigation); in android_Configuration_getFromJava()
55 out->inputFlags = env->GetIntField(clazz, gConfigurationClassInfo.keyboardHidden); in android_Configuration_getFromJava()
57 if (out->inputFlags == ACONFIGURATION_KEYSHIDDEN_NO in android_Configuration_getFromJava()
59 out->inputFlags = ACONFIGURATION_KEYSHIDDEN_SOFT; in android_Configuration_getFromJava()
[all …]

12345678910>>...24