/external/mockito/src/org/mockito/internal/invocation/ |
InvocationMatcher.java | 149 LinkedList<InvocationMatcher> out = new LinkedList<InvocationMatcher>(); local 152 out.add(new InvocationMatcher(i)); 155 return out;
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
Spdy3ConnectionTest.java | 81 BufferedSink out = Okio.buffer(stream.getSink()); local 82 out.writeUtf8("c3po"); 83 out.close(); 387 BufferedSink out = Okio.buffer(stream.getSink()); 388 out.writeUtf8("square"); 389 out.flush(); 391 out.close(); 393 out.writeUtf8("round"); 430 BufferedSink out = Okio.buffer(stream.getSink()); 433 out.writeUtf8("square") [all...] |
/external/okhttp/okio/okio/src/test/java/okio/ |
SocketTimeoutTest.java | 123 private static void writeFully(OutputStream out, int byteCount) throws IOException { 124 out.write(new byte[byteCount]); 125 out.flush();
|
/external/sl4a/Common/src/com/googlecode/android_scripting/event/ |
EventServer.java | 98 if (!listener.out.checkError()) { 99 listener.out.write(result + "\n"); 100 listener.out.flush(); 111 private PrintWriter out; field in class:EventServer.Listener 116 out = new PrintWriter(l.getOutputStream(), true);
|
/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...] |
/external/vogar/src/vogar/android/ |
AndroidProfiler.java | 100 FileOutputStream out = new FileOutputStream(file); local 101 write.invoke(null, getHprofData.invoke(profiler), out); 102 out.close();
|
/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/core/tests/utiltests/src/com/android/internal/util/ |
MessageUtilsTest.java | 57 SparseArray<String> out = new SparseArray<>(); local 59 out.put(keys[i], values[i]); 61 return out;
|
/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/services/devicepolicy/java/com/android/server/devicepolicy/ |
Owners.java | 504 final XmlSerializer out = new FastXmlSerializer(); local 505 out.setOutput(outputStream, StandardCharsets.UTF_8.name()); 508 out.startDocument(null, true); 509 out.startTag(null, TAG_ROOT); 512 writeInner(out); 515 out.endTag(null, TAG_ROOT); 516 out.endDocument(); 517 out.flush(); 582 abstract void writeInner(XmlSerializer out) throws IOException; 599 void writeInner(XmlSerializer out) throws IOException [all...] |
/frameworks/base/tools/preload2/src/com/android/preload/actions/ |
ComputeThresholdAction.java | 142 PrintWriter out = new PrintWriter(f); local 144 out.println(s); 146 out.close();
|
/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 (octets.size() > 0) ? out : null;
|
/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/luni/src/test/java/libcore/java/util/zip/ |
ZipInputStreamTest.java | 59 ByteArrayOutputStream out = new ByteArrayOutputStream(); local 67 out.write(buffer, 0, count); 73 return out.toByteArray();
|