/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/data/ |
CompactDataInputOutputTest.java | 31 private CompactDataInput in; field in class:CompactDataInputOutputTest 37 in = new CompactDataInput(new PipedInputStream(pipe)); 83 assertEquals(Long.valueOf(value), Long.valueOf(in.readVarInt())); 84 assertEquals(Integer.valueOf(-1), Integer.valueOf(in.read())); 111 final boolean[] actual = in.readBooleanArray();
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
DataFormatFieldTest.java | 6 * (the "License"); you may not use this file except in compliance with 11 * Unless required by applicable law or agreed to in writing, software 172 // implemented in 176 ObjectInputStream in = null; local 193 in = new ObjectInputStream(new ByteArrayInputStream(bytes 197 dfield2 = (Field) in.readObject(); 204 in.readObject(); 217 if (in != null) 218 in.close();
|
/libcore/luni/src/test/java/libcore/java/util/zip/ |
GZIPOutputStreamTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 50 InputStream in = DeflaterOutputStreamTest.createInflaterStream(GZIPOutputStream.class, true); local 51 assertEquals(1, in.read()); 52 assertEquals(2, in.read()); 53 assertEquals(3, in.read()); 54 in.close(); 58 InputStream in = DeflaterOutputStreamTest.createInflaterStream(GZIPOutputStream.class, false); local 60 in.read(); 64 in.close() [all...] |
ZipInputStreamTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 58 ZipInputStream in = new ZipInputStream(new ByteArrayInputStream(bytes)); local 61 ZipEntry entry = in.getNextEntry(); 66 while ((count = in.read(buffer)) != -1) { 70 assertNull(in.getNextEntry()); // There's only one entry in the Zip files we create. 72 in.close(); 81 ZipInputStream in = new ZipInputStream(emptyZipIn); local 83 ZipEntry entry = in.getNextEntry() [all...] |
/device/google/marlin/common/ |
utils.mk | 22 # $(call find-word-in-list,w,wlist) 23 # finds an exact match of word w in word list wlist 28 # search word w in list wl, if found match m, return stripped word w 31 define find-word-in-list 40 # $(call match-word-in-list,w,wlist) 41 # does an exact match of word w in word list wlist 44 # return output of an exact match of word w in wordlist wlist 48 define match-word-in-list 51 $(call match-word,$(call find-word-in-list,$(1),$(2)),$(strip $(1))), \ 57 # matches prefix p in wlist using delimiter deli [all...] |
/cts/hostsidetests/abioverride/src/android/abioverride/cts/ |
AbiOverrideTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 29 * Test to check the APK runs in 32bit ABI. 44 * The class name of the main activity in the APK. 49 * The class name of the main activity in the APK. 95 Scanner in = new Scanner(logs); local 96 while (in.hasNextLine()) { 97 String line = in.nextLine(); 102 in.close(); 103 // Verify that TEST_STRING is actually found in logs [all...] |
/cts/hostsidetests/trustedvoice/src/android/trustedvoice/cts/ |
TrustedVoiceHostTest.java | 5 * you may not use this file except in compliance with the License. 10 * Unless required by applicable law or agreed to in writing, software 56 * The class name of the main activity in the APK. 94 Scanner in = null; local 106 in = new Scanner(logs); 109 while (in.hasNextLine()) { 110 String line = in.nextLine(); 121 if (in != null) { 122 in.close();
|