Home
last modified time | relevance | path

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

12345678910>>...36

/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/opt/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/native/opengl/tools/glgen/src/
DJniCodeEmitter.java130 public void emitNativeDeclaration(JFunc jfunc, PrintStream out) { in emitNativeDeclaration() argument
132 out.println(" /* @hide C function " + jfunc.getCFunc().getOriginal() + " */"); in emitNativeDeclaration()
133 out.println(); in emitNativeDeclaration()
135 out.println(" // C function " + jfunc.getCFunc().getOriginal()); in emitNativeDeclaration()
136 out.println(); in emitNativeDeclaration()
139 emitFunction(jfunc, out, true, false); in emitNativeDeclaration()
142 public void emitJavaInterfaceCode(JFunc jfunc, PrintStream out) { in emitJavaInterfaceCode() argument
143 emitFunction(jfunc, out, false, true); in emitJavaInterfaceCode()
146 public void emitJavaCode(JFunc jfunc, PrintStream out) { in emitJavaCode() argument
147 emitFunction(jfunc, out, false, false); in emitJavaCode()
[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/rs/driver/
DrsdIntrinsicBlend.cpp101 uchar4 *out = (uchar4 *)p->out; in ColorMatrix_uchar4() local
108 for (;x1 < x2; x1++, out++) { in ColorMatrix_uchar4()
109 *out = 0; in ColorMatrix_uchar4()
113 for (;x1 < x2; x1++, out++, in++) { in ColorMatrix_uchar4()
114 *out = *in; in ColorMatrix_uchar4()
124 rsdIntrinsicBlendSrcOver_K(out, in, len); in ColorMatrix_uchar4()
126 out += len << 3; in ColorMatrix_uchar4()
130 for (;x1 < x2; x1++, out++, in++) { in ColorMatrix_uchar4()
132 short4 out_s = convert_short4(*out); in ColorMatrix_uchar4()
134 *out = convert_uchar4(in_s); in ColorMatrix_uchar4()
[all …]
/frameworks/support/renderscript/v8/rs_support/driver/
DrsdIntrinsicBlend.cpp101 uchar4 *out = (uchar4 *)p->out; in ColorMatrix_uchar4() local
107 out += xstart; in ColorMatrix_uchar4()
111 for (;x1 < x2; x1++, out++) { in ColorMatrix_uchar4()
112 *out = 0; in ColorMatrix_uchar4()
116 for (;x1 < x2; x1++, out++, in++) { in ColorMatrix_uchar4()
117 *out = *in; in ColorMatrix_uchar4()
127 rsdIntrinsicBlendSrcOver_K(out, in, len); in ColorMatrix_uchar4()
129 out += len << 3; in ColorMatrix_uchar4()
133 for (;x1 < x2; x1++, out++, in++) { in ColorMatrix_uchar4()
135 short4 out_s = convert_short4(*out); in ColorMatrix_uchar4()
[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/av/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/native/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/view
16 mkdir -p out/android/opengl
17 mkdir -p out/android/content
18 mkdir -p out/android/content/pm
[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/tools/aapt/
DAaptAssets.cpp881 ResTable_config* out) in getMccName() argument
884 if (out) out->mcc = 0; in getMccName()
905 if (out) out->mcc = d; in getMccName()
913 ResTable_config* out) in getMncName() argument
916 if (out) out->mcc = 0; in getMncName()
935 if (out) { in getMncName()
936 out->mnc = atoi(val); in getMncName()
950 ResTable_config* out) in getLocaleName() argument
954 if (out) { in getLocaleName()
955 out->language[0] = 0; in getLocaleName()
[all …]
/frameworks/av/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/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/core/java/android/appwidget/
DAppWidgetProviderInfo.java226 public void writeToParcel(android.os.Parcel out, int flags) { in writeToParcel() argument
228 out.writeInt(1); in writeToParcel()
229 this.provider.writeToParcel(out, flags); in writeToParcel()
231 out.writeInt(0); in writeToParcel()
233 out.writeInt(this.minWidth); in writeToParcel()
234 out.writeInt(this.minHeight); in writeToParcel()
235 out.writeInt(this.minResizeWidth); in writeToParcel()
236 out.writeInt(this.minResizeHeight); in writeToParcel()
237 out.writeInt(this.updatePeriodMillis); in writeToParcel()
238 out.writeInt(this.initialLayout); in writeToParcel()
[all …]
/frameworks/base/services/java/com/android/server/
DEntropyMixer.java131 PrintWriter out = null; in addDeviceSpecificEntropy() local
133 out = new PrintWriter(new FileOutputStream(randomDevice)); in addDeviceSpecificEntropy()
134 out.println("Copyright (C) 2009 The Android Open Source Project"); in addDeviceSpecificEntropy()
135 out.println("All Your Randomness Are Belong To Us"); in addDeviceSpecificEntropy()
136 out.println(START_TIME); in addDeviceSpecificEntropy()
137 out.println(START_NANOTIME); in addDeviceSpecificEntropy()
138 out.println(SystemProperties.get("ro.serialno")); in addDeviceSpecificEntropy()
139 out.println(SystemProperties.get("ro.bootmode")); in addDeviceSpecificEntropy()
140 out.println(SystemProperties.get("ro.baseband")); in addDeviceSpecificEntropy()
141 out.println(SystemProperties.get("ro.carrier")); in addDeviceSpecificEntropy()
[all …]
/frameworks/av/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.java503 protected void dump(String prefix, FileDescriptor fd, PrintWriter out, String[] args) { in dump() argument
504 out.print(prefix); out.print("mInitializing="); out.print(mInitializing); in dump()
505 out.print(" mDestroyed="); out.println(mDestroyed); in dump()
506 out.print(prefix); out.print("mVisible="); out.print(mVisible); in dump()
507 out.print(" mScreenOn="); out.print(mScreenOn); in dump()
508 out.print(" mReportedVisible="); out.println(mReportedVisible); in dump()
509 out.print(prefix); out.print("mCreated="); out.print(mCreated); in dump()
510 out.print(" mSurfaceCreated="); out.print(mSurfaceCreated); in dump()
511 out.print(" mIsCreating="); out.print(mIsCreating); in dump()
512 out.print(" mDrawingAllowed="); out.println(mDrawingAllowed); in dump()
[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/base/media/mca/filterpacks/native/base/
Dvec_types.h60 Vec<T, dim> out; variable
62 out.data[i] = x.data[i] + y.data[i];
63 return out;
68 Vec<T, dim> out; variable
70 out.data[i] = x.data[i] - y.data[i];
71 return out;
76 Vec<T, dim> out; variable
78 out.data[i] = x.data[i] * y.data[i];
79 return out;
84 Vec<T, dim> out; variable
[all …]
/frameworks/opt/calendar/tests/src/com/android/calendarcommon2/
DEventRecurrenceTest.java731 System.out.println("Error... got:"); in verifyRecurType()
733 System.out.println("expected:"); in verifyRecurType()
734 System.out.println("{"); in verifyRecurType()
735 System.out.println(" freq=" + freq); in verifyRecurType()
736 System.out.println(" until=" + until); in verifyRecurType()
737 System.out.println(" count=" + count); in verifyRecurType()
738 System.out.println(" interval=" + interval); in verifyRecurType()
739 System.out.println(" wkst=" + wkst); in verifyRecurType()
740 System.out.println(" bysecond=" + Arrays.toString(bysecond)); in verifyRecurType()
741 System.out.println(" byminute=" + Arrays.toString(byminute)); in verifyRecurType()
[all …]
/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 …]
/frameworks/base/core/java/android/ddm/
DDdmHandleHello.java123 ByteBuffer out = ByteBuffer.allocate(20 in handleHELO() local
125 out.order(ChunkHandler.CHUNK_ORDER); in handleHELO()
126 out.putInt(DdmServer.CLIENT_PROTOCOL_VERSION); in handleHELO()
127 out.putInt(android.os.Process.myPid()); in handleHELO()
128 out.putInt(vmIdent.length()); in handleHELO()
129 out.putInt(appName.length()); in handleHELO()
130 putString(out, vmIdent); in handleHELO()
131 putString(out, appName); in handleHELO()
132 out.putInt(UserHandle.myUserId()); in handleHELO()
134 Chunk reply = new Chunk(CHUNK_HELO, out); in handleHELO()
[all …]

12345678910>>...36