/frameworks/base/core/tests/coretests/src/com/android/internal/util/ |
H A D | FastXmlSerializerTest.java | 32 final XmlSerializer out = new FastXmlSerializer(); 33 out.setOutput(stream, "utf-8"); 34 out.startDocument(null, true); 35 out.setFeature("http://xmlpull.org/v1/doc/features.html#indent-output", true); 37 out.startTag(null, "string"); 38 out.attribute(null, "name", "meow"); 39 out.text(""); 40 out.endTag(null, "string"); 42 out.endDocument();
|
/frameworks/base/tools/aapt/ |
H A D | AaptConfig.cpp | 33 bool parse(const String8& str, ConfigDescription* out) { argument 217 if (out != NULL) { 219 *out = config; 267 bool parseMcc(const char* name, ResTable_config* out) { argument 269 if (out) out->mcc = 0; 290 if (out) out->mcc = d; 297 bool parseMnc(const char* name, ResTable_config* out) { argument 299 if (out) ou 328 parseLayoutDirection(const char* name, ResTable_config* out) argument 349 parseScreenLayoutSize(const char* name, ResTable_config* out) argument 380 parseScreenLayoutLong(const char* name, ResTable_config* out) argument 401 parseOrientation(const char* name, ResTable_config* out) argument 419 parseUiModeType(const char* name, ResTable_config* out) argument 455 parseUiModeNight(const char* name, ResTable_config* out) argument 476 parseDensity(const char* name, ResTable_config* out) argument 556 parseTouchscreen(const char* name, ResTable_config* out) argument 574 parseKeysHidden(const char* name, ResTable_config* out) argument 599 parseKeyboard(const char* name, ResTable_config* out) argument 617 parseNavHidden(const char* name, ResTable_config* out) argument 639 parseNavigation(const char* name, ResTable_config* out) argument 660 parseScreenSize(const char* name, ResTable_config* out) argument 694 parseSmallestScreenWidthDp(const char* name, ResTable_config* out) argument 718 parseScreenWidthDp(const char* name, ResTable_config* out) argument 740 parseScreenHeightDp(const char* name, ResTable_config* out) argument 762 parseVersion(const char* name, ResTable_config* out) argument [all...] |
H A D | AaptConfig.h | 37 bool parse(const android::String8& str, ConfigDescription* out = NULL); 55 bool parseMcc(const char* str, android::ResTable_config* out = NULL); 56 bool parseMnc(const char* str, android::ResTable_config* out = NULL); 57 bool parseLayoutDirection(const char* str, android::ResTable_config* out = NULL); 58 bool parseSmallestScreenWidthDp(const char* str, android::ResTable_config* out = NULL); 59 bool parseScreenWidthDp(const char* str, android::ResTable_config* out = NULL); 60 bool parseScreenHeightDp(const char* str, android::ResTable_config* out = NULL); 61 bool parseScreenLayoutSize(const char* str, android::ResTable_config* out = NULL); 62 bool parseScreenLayoutLong(const char* str, android::ResTable_config* out = NULL); 63 bool parseOrientation(const char* str, android::ResTable_config* out [all...] |
/frameworks/base/tools/preload/ |
H A D | PrintCsv.java | 42 printHeaders(System.out); 51 printRow(System.out, baseline, loadedClass); 55 static void printHeaders(PrintStream out) { argument 56 out.println("Name" 70 static void printRow(PrintStream out, MemoryUsage baseline, argument 72 out.print(loadedClass.name); 73 out.print(','); 74 out.print(loadedClass.preloaded); 75 out.print(','); 76 out [all...] |
H A D | PrintHtmlDiff.java | 71 PrintStream out = System.out; 73 out.println("<html><body>"); 74 out.println("<style>"); 75 out.println("a, th, td, h2 { font-family: arial }"); 76 out.println("th, td { font-size: small }"); 77 out.println("</style>"); 78 out.println("<script src=\"sorttable.js\"></script>"); 79 out.println("<p><a href=\"#removed\">Removed</a>"); 80 out 87 printTable(PrintStream out, MemoryUsage baseline, Iterable<LoadedClass> classes) argument [all...] |
/frameworks/native/services/surfaceflinger/ |
H A D | Colorizer.h | 41 void colorize(String8& out, color c) { argument 43 out.appendFormat("\e[%dm", c); 47 void bold(String8& out) { argument 49 out.append("\e[1m"); 53 void reset(String8& out) { argument 55 out.append("\e[0m");
|
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | exposure.rs | 28 uchar4 out = 0; 29 out.r = rsClamp((int)(bright * in.r), 0, 255); 30 out.g = rsClamp((int)(bright * in.g), 0, 255); 31 out.b = rsClamp((int)(bright * in.b), 0, 255); 32 return out;
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
H A D | LoggingPrintStreamTest.java | 34 TestPrintStream out = new TestPrintStream(); field in class:LoggingPrintStreamTest 43 t.printStackTrace(out); 47 assertEquals(Arrays.asList(lines), out.lines); 52 out.print(4); 53 out.print(o); 54 out.print(2); 55 out.flush(); 56 assertEquals(Arrays.asList("4" + o + "2"), out.lines); 61 out.print(4); 62 out [all...] |
/frameworks/base/libs/androidfw/tests/ |
H A D | ConfigLocale_test.cpp | 31 char out[4] = { 1, 1, 1, 1}; local 32 config.unpackLanguage(out); 33 EXPECT_EQ('e', out[0]); 34 EXPECT_EQ('n', out[1]); 35 EXPECT_EQ(0, out[2]); 36 EXPECT_EQ(0, out[3]); 38 memset(out, 1, sizeof(out)); 40 config.unpackLanguage(out); 41 EXPECT_EQ(0, out[ 54 char out[4] = { 1, 1, 1, 1}; local 70 char out[4] = { 1, 1, 1, 1}; local 94 char out[4] = { 1, 1, 1, 1}; local 106 char out[4] = { 1, 1, 1, 1}; local 114 fillIn(const char* lang, const char* country, const char* script, const char* variant, ResTable_config* out) argument 184 char out[4] = { 1, 1, 1, 1}; local [all...] |
/frameworks/rs/cpu_ref/linkloader/include/impl/ |
H A D | ELFSectionBits.hxx | 38 out() << '\n' << fillformat('=', 79) << '\n'; 39 out().changeColor(raw_ostream::WHITE, true); 40 out() << "ELF " << section_type_str << ": " << sh->getName() << '\n'; 41 out().resetColor(); 42 out() << fillformat('-', 79) << '\n'; 44 out() << " Size : " << sh->getSize() << '\n'; 45 out() << " Start Address: " << (void *)chunk.getBuffer() << '\n'; 46 out() << fillformat('-', 79) << '\n'; 50 out() << fillformat('=', 79) << '\n';
|
H A D | ELFSectionHeader.hxx | 70 out() << '\n' << fillformat('=', 79) << '\n'; 71 out().changeColor(raw_ostream::WHITE, true); 72 out() << "ELF Section Header " 74 out().resetColor(); 75 out() << fillformat('-', 79) << '\n'; 77 out() << fillformat('-', 79) << '\n'; 78 out().changeColor(raw_ostream::YELLOW, true); 79 out() << "ELF Section Header " 81 out().resetColor(); 85 out() << forma [all...] |
H A D | ELFHeader.hxx | 29 out() << fillformat('=', 79) << '\n'; 30 out().changeColor(raw_ostream::WHITE, true); 31 out() << "ELF Header\n"; 32 out().resetColor(); 33 out() << fillformat('-', 79) << '\n'; 36 out() << format(" %-32s : ", (char const *)(title)) << (value) << '\n' 57 out() << fillformat('=', 79) << "\n\n";
|
H A D | ELFReloc.hxx | 85 out() << '\n' << fillformat('=', 79) << '\n'; 86 out().changeColor(raw_ostream::WHITE, true); 87 out() << "ELF Relaocation Table Entry " 89 out().resetColor(); 90 out() << fillformat('-', 79) << '\n'; 92 out() << fillformat('-', 79) << '\n'; 93 out().changeColor(raw_ostream::YELLOW, true); 94 out() << "ELF Relaocation Table Entry " 96 out().resetColor(); 100 out() << forma [all...] |
/frameworks/native/opengl/tools/glgen/src/ |
H A D | JniCodeEmitter.java | 130 public void emitNativeDeclaration(JFunc jfunc, PrintStream out) { argument 132 out.println(" /* @hide C function " + jfunc.getCFunc().getOriginal() + " */"); 133 out.println(); 135 out.println(" // C function " + jfunc.getCFunc().getOriginal()); 136 out.println(); 139 emitFunction(jfunc, out, true, false); 142 public void emitJavaInterfaceCode(JFunc jfunc, PrintStream out) { argument 143 emitFunction(jfunc, out, false, true); 146 public void emitJavaCode(JFunc jfunc, PrintStream out) { argument 147 emitFunction(jfunc, out, fals 156 emitFunctionCall(JFunc jfunc, PrintStream out, String iii, boolean grabArray) argument 198 printIfcheckPostamble(PrintStream out, boolean isBuffer, boolean emitExceptionCheck, String iii) argument 204 printIfcheckPostamble(PrintStream out, boolean isBuffer, boolean emitExceptionCheck, String offset, String remaining, String iii) argument 351 emitNativeBoundsChecks(CFunc cfunc, String cname, PrintStream out, boolean isBuffer, boolean emitExceptionCheck, String offset, String remaining, String iii) argument 429 emitSentinelCheck(CFunc cfunc, String cname, PrintStream out, boolean isBuffer, boolean emitExceptionCheck, String offset, String remaining, String iii) argument 472 emitLocalVariablesForSentinel(CFunc cfunc, PrintStream out) argument 521 emitFunction(JFunc jfunc, PrintStream out, boolean nativeDecl, boolean interfaceDecl) argument 731 emitJniCode(JFunc jfunc, PrintStream out) argument [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | Wap230WspContentTypeTest.java | 257 ByteArrayOutputStream out = new ByteArrayOutputStream(); 258 out.write(0x00); 259 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); 266 ByteArrayOutputStream out = new ByteArrayOutputStream(); 267 out.write(testType.getBytes("US-ASCII")); 268 out.write(WSP_STRING_TERMINATOR); 270 WspTypeDecoder unit = new WspTypeDecoder(out.toByteArray()); 281 ByteArrayOutputStream out = new ByteArrayOutputStream(); 282 out.write(testType.length() + 1); 283 out [all...] |
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/ |
H A D | exposure.rs | 25 void exposure(const uchar4 *in, uchar4 *out) 27 out->r = rsClamp((int)(bright * in->r), 0, 255); 28 out->g = rsClamp((int)(bright * in->g), 0, 255); 29 out->b = rsClamp((int)(bright * in->b), 0, 255);
|
H A D | contrast.rs | 27 void contrast(const uchar4 *in, uchar4 *out) 30 out->r = rsClamp((int)(brightM * in->r + brightC), 0, 255); 31 out->g = rsClamp((int)(brightM * in->g + brightC), 0, 255); 32 out->b = rsClamp((int)(brightM * in->b + brightC), 0, 255); 35 out->rgb = convert_uchar3(clamp(v, 0.f, 255.f));
|
/frameworks/base/telephony/java/com/android/ims/internal/ |
H A D | IImsRegistrationListener.aidl | 68 out int[] enabledFeatures, out int[] disabledFeatures);
|
/frameworks/av/services/audioflinger/ |
H A D | AudioResamplerFirOps.h | 51 int32_t out; local 53 asm( "smultb %[out], %[in], %[vRL] \n" 54 : [out]"=r"(out) 58 asm( "smultt %[out], %[in], %[vRL] \n" 59 : [out]"=r"(out) 63 return out; 74 int32_t out; local 75 asm( "smlabb %[out], 89 int32_t out; local 104 int32_t out; local 119 int32_t out; local 142 int32_t out; local [all...] |
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsicBlend.cpp | 94 extern "C" int rsdIntrinsicBlend_K(uchar4 *out, uchar4 const *in, int slot, 119 uchar4 *out = (uchar4 *)p->out; local 126 if (rsdIntrinsicBlend_K(out, in, p->slot, x1, x2) >= 0) 132 for (;x1 < x2; x1++, out++) { 133 *out = 0; 137 for (;x1 < x2; x1++, out++, in++) { 138 *out = *in; 149 rsdIntrinsicBlendSrcOver_K(out, in, len); 151 out [all...] |
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | DebugUtils.java | 27 public static void buildShortClassTag(Object cls, StringBuilder out) { argument 29 out.append("null"); 39 out.append(simpleName); 40 out.append('{'); 41 out.append(Integer.toHexString(System.identityHashCode(cls)));
|
/frameworks/base/core/java/com/android/internal/http/multipart/ |
H A D | Part.java | 200 * @param out The output stream 203 protected void sendStart(OutputStream out) throws IOException { argument 204 LOG.trace("enter sendStart(OutputStream out)"); 205 out.write(EXTRA_BYTES); 206 out.write(getPartBoundary()); 207 out.write(CRLF_BYTES); 213 * @param out The output stream 216 protected void sendDispositionHeader(OutputStream out) throws IOException { argument 217 LOG.trace("enter sendDispositionHeader(OutputStream out)"); 218 out 229 sendContentTypeHeader(OutputStream out) argument 251 sendTransferEncodingHeader(OutputStream out) argument 266 sendEndOfHeader(OutputStream out) argument 277 sendData(OutputStream out) argument 292 sendEnd(OutputStream out) argument 305 send(OutputStream out) argument 358 sendParts(OutputStream out, final Part[] parts) argument 374 sendParts(OutputStream out, Part[] parts, byte[] partBoundary) argument [all...] |
/frameworks/rs/cpu_ref/linkloader/utils/ |
H A D | helper.cpp | 36 out() << format("%08x", i) << ':'; 39 out().changeColor(raw_ostream::MAGENTA); 44 out().resetColor(); 48 out().changeColor(raw_ostream::MAGENTA); 52 out() << ' ' << format("%02x", (unsigned)data[j]); 56 out().resetColor(); 57 out() << " "; 61 out() << (char)data[j]; 63 out() << '.'; 67 out() << '\ [all...] |
/frameworks/native/opengl/tools/glgen/ |
H A 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/view 16 mkdir -p out/android/opengl 17 mkdir -p out/android/content 18 mkdir -p out/androi [all...] |
/frameworks/compile/slang/ |
H A D | slang_rs_reflect_utils.cpp | 119 int bitwidth, GeneratedFile &out) { 121 out.indent() << "// return byte array representation of the " << bitwidth 123 out.indent() << "public static byte[] getBitCode" << bitwidth << "()"; 124 out.startBlock(); 125 out.indent() << "return getBitCode" << bitwidth << "Internal();\n"; 126 out.endBlock(true); 133 int seg_num, GeneratedFile &out) { 134 out.indent() << "private static byte[] getSegment" << bitwidth << "_" 136 out.startBlock(); 137 out 117 GenerateAccessorMethod( const RSSlangReflectUtils::BitCodeAccessorContext &context, int bitwidth, GeneratedFile &out) argument 132 GenerateSegmentMethod(const char *buff, int blen, int bitwidth, int seg_num, GeneratedFile &out) argument 162 GenerateJavaCodeAccessorMethodForBitwidth( const RSSlangReflectUtils::BitCodeAccessorContext &context, int bitwidth, GeneratedFile &out) argument 216 GenerateJavaCodeAccessorMethod( const RSSlangReflectUtils::BitCodeAccessorContext &context, GeneratedFile &out) argument 231 GenerateAccessorClass( const RSSlangReflectUtils::BitCodeAccessorContext &context, const char *clazz_name, GeneratedFile &out) argument 274 GeneratedFile out; local [all...] |