/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | LoggingPrintStreamTest.java | 34 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/native/opengl/tools/glgen/src/ |
D | JniCodeEmitter.java | 123 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/ |
D | Wap230WspContentTypeTest.java | 257 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/ |
D | PrintCsv.java | 42 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 …]
|
D | PrintHtmlDiff.java | 71 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/ |
D | Part.java | 203 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/ |
D | dct.cpp | 38 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 …]
|
D | dct_inline.h | 29 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/ |
D | JsonWriter.java | 123 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/ |
D | WaveHeader.java | 230 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/ |
D | AppWidgetProviderInfo.java | 193 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/native/opengl/tools/glgen/ |
D | gen | 4 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/av/media/libstagefright/codecs/mp3dec/src/ |
D | pvmp3_imdct_synth.cpp | 243 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/ |
D | XmlUtils.java | 179 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/services/java/com/android/server/ |
D | EntropyMixer.java | 128 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/tools/aapt/ |
D | AaptAssets.cpp | 851 ResTable_config* out) in getMccName() argument 854 if (out) out->mcc = 0; in getMccName() 875 if (out) out->mcc = d; in getMccName() 883 ResTable_config* out) in getMncName() argument 886 if (out) out->mcc = 0; in getMncName() 905 if (out) { in getMncName() 906 out->mnc = atoi(val); in getMncName() 920 ResTable_config* out) in getLocaleName() argument 924 if (out) { in getLocaleName() 925 out->language[0] = 0; in getLocaleName() [all …]
|
/frameworks/av/media/libstagefright/foundation/ |
D | base64.cpp | 43 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/ |
D | WallpaperService.java | 496 protected void dump(String prefix, FileDescriptor fd, PrintWriter out, String[] args) { in dump() argument 497 out.print(prefix); out.print("mInitializing="); out.print(mInitializing); in dump() 498 out.print(" mDestroyed="); out.println(mDestroyed); in dump() 499 out.print(prefix); out.print("mVisible="); out.print(mVisible); in dump() 500 out.print(" mScreenOn="); out.print(mScreenOn); in dump() 501 out.print(" mReportedVisible="); out.println(mReportedVisible); in dump() 502 out.print(prefix); out.print("mCreated="); out.print(mCreated); in dump() 503 out.print(" mSurfaceCreated="); out.print(mSurfaceCreated); in dump() 504 out.print(" mIsCreating="); out.print(mIsCreating); in dump() 505 out.print(" mDrawingAllowed="); out.println(mDrawingAllowed); in dump() [all …]
|
/frameworks/base/obex/javax/obex/ |
D | ObexHelper.java | 352 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/ |
D | vec_types.h | 60 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/calendarcommon/ |
D | EventRecurrenceTest.java | 731 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/ |
D | android_content_res_Configuration.cpp | 47 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/services/java/com/android/server/net/ |
D | NetworkIdentitySet.java | 67 public void writeToStream(DataOutputStream out) throws IOException { in writeToStream() argument 68 out.writeInt(VERSION_ADD_NETWORK_ID); in writeToStream() 69 out.writeInt(size()); in writeToStream() 71 out.writeInt(ident.getType()); in writeToStream() 72 out.writeInt(ident.getSubType()); in writeToStream() 73 writeOptionalString(out, ident.getSubscriberId()); in writeToStream() 74 writeOptionalString(out, ident.getNetworkId()); in writeToStream() 75 out.writeBoolean(ident.getRoaming()); in writeToStream() 79 private static void writeOptionalString(DataOutputStream out, String value) throws IOException { in writeOptionalString() argument 81 out.writeByte(1); in writeOptionalString() [all …]
|
/frameworks/compile/linkloader/utils/ |
D | helper.cpp | 36 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/ |
D | ELFSectionHeader.hxx | 70 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 …]
|