/external/smack/src/org/xbill/DNS/ |
EDNSOption.java | 98 DNSOutput out = new DNSOutput(); local 99 optionToWire(out); 100 return out.toByteArray(); 114 * @param out The input stream. 156 * @param out The output stream. 159 optionToWire(DNSOutput out); 163 * @param out The output stream. 166 toWire(DNSOutput out) { 167 out.writeU16(code); 168 int lengthPosition = out.current() 181 DNSOutput out = new DNSOutput(); local [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/ |
ClassDataItem.java | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 49 @Override public void annotateSection(@Nonnull AnnotatedBytes out) { 51 super.annotateSection(out); 60 protected void annotateItem(@Nonnull AnnotatedBytes out, int itemIndex, @Nullable String itemIdentity) { 61 DexReader reader = dexFile.readerAt(out.getCursor()); 64 out.annotateTo(reader.getOffset(), "static_fields_size = %d", staticFieldsSize); 67 out.annotateTo(reader.getOffset(), "instance_fields_size = %d", instanceFieldsSize); 70 out.annotateTo(reader.getOffset(), "direct_methods_size = %d", directMethodsSize); 73 out.annotateTo(reader.getOffset(), "virtual_methods_size = %d", virtualMethodsSize); 77 out.annotate(0, "static_fields:") [all...] |
DebugInfoItem.java | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 52 public void annotateItem(@Nonnull AnnotatedBytes out, int itemIndex, @Nullable String itemIdentity) { 53 DexReader reader = dexFile.readerAt(out.getCursor()); 56 out.annotateTo(reader.getOffset(), "line_start = %d", lineStart); 59 out.annotateTo(reader.getOffset(), "parameters_size = %d", parametersSize); 62 out.annotate(0, "parameters:"); 63 out.indent(); 66 out.annotateTo(reader.getOffset(), "%s", 69 out.deindent(); 72 out.annotate(0, "debug opcodes:") [all...] |
EncodedValue.java | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 41 public static void annotateEncodedValue(@Nonnull AnnotatedBytes out, @Nonnull DexReader reader) { 49 out.annotate(1, "valueArg = %d, valueType = 0x%x: byte", valueArg, valueType); 51 out.annotate(1, "value = 0x%x", intValue); 54 out.annotate(1, "valueArg = %d, valueType = 0x%x: short", valueArg, valueType); 56 out.annotate(valueArg + 1, "value = 0x%x", intValue); 59 out.annotate(1, "valueArg = %d, valueType = 0x%x: char", valueArg, valueType); 61 out.annotate(valueArg+1, "value = 0x%x", intValue); 64 out.annotate(1, "valueArg = %d, valueType = 0x%x: int", valueArg, valueType); 66 out.annotate(valueArg+1, "value = 0x%x", intValue) [all...] |
SectionAnnotator.java | 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 62 protected abstract void annotateItem(@Nonnull AnnotatedBytes out, int itemIndex, @Nullable String itemIdentity); 65 * Write out annotations for this section 67 * @param out The AnnotatedBytes object to annotate to 69 public void annotateSection(@Nonnull AnnotatedBytes out) { 70 out.moveTo(sectionOffset); 71 annotateSectionInner(out, itemCount); 74 protected void annotateSectionInner(@Nonnull AnnotatedBytes out, int itemCount) { 78 out.annotate(0, ""); 79 out.annotate(0, "-----------------------------") [all...] |
/frameworks/base/core/java/android/hardware/camera2/utils/ |
TypeReference.java | 369 private static void toString(Type type, StringBuilder out) { 374 out.append(((TypeVariable<?>)type).getName()); 378 out.append(klass.getName()); 379 toString(klass.getTypeParameters(), out); local 384 out.append(((Class<?>)p.getRawType()).getName()); 385 toString(p.getActualTypeArguments(), out); local 389 toString(gat.getGenericComponentType(), out); local 390 out.append("[]"); 393 out.append(type.toString()); 397 private static void toString(Type[] types, StringBuilder out) { [all...] |
/frameworks/base/core/java/android/print/ |
PrintFileDocumentAdapter.java | 118 OutputStream out = new FileOutputStream(mDestination.getFileDescriptor()); local 130 out.write(buffer, 0, readByteCount); 138 IoUtils.closeQuietly(out);
|
/frameworks/base/core/tests/coretests/src/android/content/ |
MemoryFileProvider.java | 103 OutputStream out = getContext().openFileOutput(DATA_FILE, Context.MODE_PRIVATE); local 104 out.write(TEST_BLOB); 105 out.close();
|
/frameworks/base/core/tests/coretests/src/android/os/ |
FileObserverTest.java | 80 FileOutputStream out = new FileOutputStream(mTestFile); local 82 out.write(0x20); 95 out.close();
|
/frameworks/base/sax/tests/saxtests/src/android/sax/ |
ExpatPerformanceTest.java | 46 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 50 out.write(buffer, 0, length); 52 mXmlBytes = out.toByteArray();
|
/frameworks/base/wifi/java/android/net/wifi/ |
WifiSsid.java | 174 CharBuffer out = CharBuffer.allocate(32); local 176 CoderResult result = decoder.decode(ByteBuffer.wrap(ssidBytes), out, true); 177 out.flip(); 181 return out.toString(); 203 String out = "0x"; local 206 out += String.format(Locale.US, "%02x", ssidbytes[i]); 208 return out;
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
AttributedCharacterIteratorAttributeTest.java | 72 ObjectOutputStream out = null; local 76 out = new ObjectOutputStream(bytes); 87 out.writeObject(dattribute); 89 out.writeObject(attribute); 109 if (out != null) 110 out.close();
|
DataFormatFieldTest.java | 175 ObjectOutputStream out = null; local 179 out = new ObjectOutputStream(bytes); 190 out.writeObject(dfield); 191 out.writeObject(field); 215 if (out != null) 216 out.close();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/zip/ |
GZIPOutputStreamTest.java | 32 TestGZIPOutputStream(OutputStream out) throws IOException { 33 super(out); 36 TestGZIPOutputStream(OutputStream out, int size) throws IOException { 37 super(out, size); 150 // System.out.print(outGZIP.getChecksum().getValue()); 161 assertEquals("out of bounds exception is not present", 1, r); 172 GZIPOutputStream out = new GZIPOutputStream(pout, true /* syncFlush */); local 175 out.write(1); 176 out.write(2); 177 out.write(3) [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
ProcessBuilderTest.java | 38 ProcessBuilder pb = new ProcessBuilder(shell(), "-c", "echo out; echo err 1>&2"); 44 assertRedirectErrorStream(true, "out\nerr\n", ""); 48 assertRedirectErrorStream(false, "out\n", "err\n"); 58 Process process = new ProcessBuilder(shell(), "-c", "echo out; echo err 1>&2").start(); 61 OutputStream out = process.getOutputStream(); local 79 out.write(1); 80 out.flush(); 87 Process process = new ProcessBuilder(shell(), "-c", "echo out; echo err 1>&2").start();
|
/libcore/luni/src/test/java/libcore/java/nio/charset/ |
OldCharsetEncoderDecoderBufferTest.java | 34 * is done first with an out-buffer with hasArray()==true, and next with an out-buffer with 35 * hasArray()==false. In that situation ICU may overwrite the first out-buffer. 41 CharBuffer out = CharBuffer.wrap(cBuf); local 42 assertTrue(out.hasArray()); 44 out, false); local 51 out = ByteBuffer.wrap(bBuf).asCharBuffer(); 52 assertFalse(out.hasArray()); 53 decoder.decode(ByteBuffer.wrap(new byte[]{(byte)'x'}), out, true); local 71 CharBuffer out = CharBuffer.wrap(new char[10]) local 99 ByteBuffer out = ByteBuffer.wrap(buffer); local 129 ByteBuffer out = ByteBuffer.wrap(new byte[10]); local [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
OldAttributedCharacterIteratorAttributeTest.java | 157 ObjectOutputStream out = null; local 161 out = new ObjectOutputStream(bytes); 167 out.writeObject(attr1); 185 if (out != null) 186 out.close();
|
/libcore/support/src/test/java/libcore/javax/net/ssl/ |
TestKeyManager.java | 39 private static final PrintStream out = LOG ? System.out : new NullPrintStream(); field in class:TestKeyManager 59 out.println("TestKeyManager.<init> keyManager=" + keyManager); 64 out.print("TestKeyManager.chooseClientAlias"); 65 out.print(" | keyTypes: "); 67 out.print(keyType); 68 out.print(' '); 89 out.print("TestKeyManager.chooseServerAlias"); 90 out.print(" | keyType: "); 91 out.print(keyType) [all...] |
/packages/apps/Camera/tests/src/com/android/camera/stress/ |
CameraLatency.java | 122 BufferedWriter out = new BufferedWriter(fstream); local 123 out.write("Camera Latency : \n"); 124 out.write("Number of loop: " + TOTAL_NUMBER_OF_IMAGECAPTURE + "\n"); 125 out.write("Avg AutoFocus = " + mAvgAutoFocusTime + "\n"); 126 out.write("Avg mShutterLag = " + mAvgShutterLag + "\n"); 127 out.write("Avg mShutterToPictureDisplayedTime = " 129 out.write("Avg mPictureDisplayedToJpegCallbackTime = " 131 out.write("Avg mJpegCallbackFinishTime = " + 133 out.close();
|
CameraStartUp.java | 98 BufferedWriter out = new BufferedWriter(fstream); local 100 out.write("First " + Type + " Startup: " + totalStartupTime + "\n"); 103 out.write(Type + "startup time: " + "\n"); 104 out.write("Number of loop: " + (TOTAL_NUMBER_OF_STARTUP -1) + "\n"); 105 out.write(individualStartupTime + "\n\n"); 106 out.write(Type + " average startup time: " + averageStartupTime + " ms\n\n"); 108 out.close();
|
/packages/apps/Camera2/tests/src/com/android/camera/stress/ |
CameraStartUp.java | 98 BufferedWriter out = new BufferedWriter(fstream); local 100 out.write("First " + Type + " Startup: " + totalStartupTime + "\n"); 103 out.write(Type + "startup time: " + "\n"); 104 out.write("Number of loop: " + (TOTAL_NUMBER_OF_STARTUP -1) + "\n"); 105 out.write(individualStartupTime + "\n\n"); 106 out.write(Type + " average startup time: " + averageStartupTime + " ms\n\n"); 108 out.close();
|
/packages/apps/Camera2/tests_camera/src/com/android/camera/stress/ |
CameraLatency.java | 122 BufferedWriter out = new BufferedWriter(fstream); local 123 out.write("Camera Latency : \n"); 124 out.write("Number of loop: " + TOTAL_NUMBER_OF_IMAGECAPTURE + "\n"); 125 out.write("Avg AutoFocus = " + mAvgAutoFocusTime + "\n"); 126 out.write("Avg mShutterLag = " + mAvgShutterLag + "\n"); 127 out.write("Avg mShutterToPictureDisplayedTime = " 129 out.write("Avg mPictureDisplayedToJpegCallbackTime = " 131 out.write("Avg mJpegCallbackFinishTime = " + 133 out.close();
|
CameraStartUp.java | 98 BufferedWriter out = new BufferedWriter(fstream); local 100 out.write("First " + Type + " Startup: " + totalStartupTime + "\n"); 103 out.write(Type + "startup time: " + "\n"); 104 out.write("Number of loop: " + (TOTAL_NUMBER_OF_STARTUP -1) + "\n"); 105 out.write(individualStartupTime + "\n\n"); 106 out.write(Type + " average startup time: " + averageStartupTime + " ms\n\n"); 108 out.close();
|
/packages/apps/Email/provider_src/com/android/email/mail/store/imap/ |
ImapTempFileLiteral.java | 53 OutputStream out = new FileOutputStream(mFile); local 54 IOUtils.copy(stream, out); 55 out.close();
|
/packages/apps/Email/provider_src/com/android/email/service/ |
ImapTempFileLiteral.java | 56 OutputStream out = new FileOutputStream(mFile); local 57 IOUtils.copy(stream, out); 58 out.close();
|