Home
last modified time | relevance | path

Searched refs:reader (Results 1 – 25 of 49) sorted by relevance

12

/cts/libs/vogar-expect/src/vogar/
DExpectationStore.java123 JsonReader reader = null; in parse() local
125 reader = new JsonReader(new FileReader(expectationsFile)); in parse()
126 reader.setLenient(true); in parse()
127 reader.beginArray(); in parse()
128 while (reader.hasNext()) { in parse()
129 readExpectation(reader, mode); in parse()
132 reader.endArray(); in parse()
136 if (reader != null) { in parse()
137 reader.close(); in parse()
142 private void readExpectation(JsonReader reader, ModeId mode) throws IOException { in readExpectation() argument
[all …]
/cts/tests/tests/permission/src/android/permission/cts/
DNoCaptureVideoPermissionTest.java48 ImageReader reader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBX_8888, 1); in testCreatePublicVirtualDisplay() local
51 reader.getSurface(), DisplayManager.VIRTUAL_DISPLAY_FLAG_PUBLIC); in testCreatePublicVirtualDisplay()
57 reader.close(); in testCreatePublicVirtualDisplay()
71 ImageReader reader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBX_8888, 1); in testCreateSecureVirtualDisplay() local
74 reader.getSurface(), DisplayManager.VIRTUAL_DISPLAY_FLAG_SECURE); in testCreateSecureVirtualDisplay()
80 reader.close(); in testCreateSecureVirtualDisplay()
92 ImageReader reader = ImageReader.newInstance(WIDTH, HEIGHT, PixelFormat.RGBX_8888, 1); in testCreatePrivateVirtualDisplay() local
96 reader.getSurface(), 0); in testCreatePrivateVirtualDisplay()
102 reader.close(); in testCreatePrivateVirtualDisplay()
DNoReadLogsPermissionTest.java45 BufferedReader reader = null; in testLogcat() local
50 reader = new BufferedReader(new InputStreamReader(logcatProc.getInputStream())); in testLogcat()
54 while ((line = reader.readLine()) != null) { in testLogcat()
69 if (reader != null) { in testLogcat()
70 reader.close(); in testLogcat()
/cts/tools/cts-native-scanner/tests/src/com/android/cts/nativescanner/
DTestScannerTest.java35 BufferedReader reader = new BufferedReader(singleTestString); in testSingleTestNamesCase() local
37 TestScanner testScanner = new TestScanner(reader, "TestSuite"); in testSingleTestNamesCase()
50 BufferedReader reader = new BufferedReader(singleTestString); in testMultipleTestNamesCase() local
52 TestScanner testScanner = new TestScanner(reader, "TestSuite"); in testMultipleTestNamesCase()
68 BufferedReader reader = new BufferedReader(singleTestString); in testMissingTestCaseNameCase() local
70 TestScanner testScanner = new TestScanner(reader, "TestSuite"); in testMissingTestCaseNameCase()
/cts/tools/dex-tools/
DTODO.txt4 Check if fileformat version matches dex reader
6 dex.reader.DexEncodedValueImpl has some FIXMEs
7 dex.reader.DexBuffer needs to be polished regarding unsigned datatypes
/cts/tools/dex-tools/src/dex/reader/
DDexFileImpl.java17 package dex.reader;
19 import dex.reader.DexFileReader.ClassDefItem;
20 import dex.reader.DexFileReader.FieldIdItem;
21 import dex.reader.DexFileReader.MethodsIdItem;
22 import dex.reader.DexFileReader.ProtIdItem;
DDexMethodImpl.java17 package dex.reader;
27 import dex.reader.DexClassImpl.MethodAnnotation;
28 import dex.reader.DexClassImpl.ParameterAnnotation;
29 import dex.reader.DexFileReader.FieldIdItem;
30 import dex.reader.DexFileReader.MethodsIdItem;
31 import dex.reader.DexFileReader.ProtIdItem;
DDexFieldImpl.java17 package dex.reader;
19 import dex.reader.DexClassImpl.FieldAnnotation;
20 import dex.reader.DexFileReader.FieldIdItem;
DDexAnnotationAttributeImpl.java17 package dex.reader;
19 import dex.reader.DexFileReader.FieldIdItem;
DDexParameterImpl.java17 package dex.reader;
22 import dex.reader.DexFileReader.FieldIdItem;
DDexEncodedAnnotationImpl.java17 package dex.reader;
19 import dex.reader.DexFileReader.FieldIdItem;
DDexAnnotationImpl.java17 package dex.reader;
19 import dex.reader.DexFileReader.FieldIdItem;
DDexClassImpl.java17 package dex.reader;
28 import dex.reader.DexFileReader.ClassDefItem;
29 import dex.reader.DexFileReader.FieldIdItem;
30 import dex.reader.DexFileReader.MethodsIdItem;
31 import dex.reader.DexFileReader.ProtIdItem;
/cts/tools/dex-tools/test/dex/reader/util/
DJavaSourceToDexUtil.java17 package dex.reader.util;
38 import dex.reader.DexBuffer;
39 import dex.reader.DexFileReader;
68 DexFileReader reader = new DexFileReader(); in getFrom() local
69 return reader.read(dexBuffer); in getFrom()
/cts/tests/tests/util/src/android/util/cts/
DPrintStreamPrinterTest.java59 BufferedReader reader = new BufferedReader(new InputStreamReader(is)); in testPrintln() local
60 mLine = reader.readLine(); in testPrintln()
62 reader.close(); in testPrintln()
DPrintWriterPrinterTest.java70 BufferedReader reader = new BufferedReader( in testPrintln() local
72 mLine = reader.readLine(); in testPrintln()
/cts/tools/signature-tools/test/signature/converter/dex/
DGenericSignatureParserTest.java21 import dex.reader.DexTestsCommon;
22 import dex.reader.util.JavaSource;
23 import dex.reader.util.JavaSourceToDexUtil;
DDexUtilTest.java20 import dex.reader.DexTestsCommon;
21 import dex.reader.util.JavaSource;
22 import dex.reader.util.JavaSourceToDexUtil;
DDexTestConverter.java19 import dex.reader.util.JavaSource;
20 import dex.reader.util.JavaSourceToDexUtil;
/cts/tests/tests/security/src/android/security/cts/
DServicePermissionsTest.java114 final BufferedReader reader = new BufferedReader( in testDumpProtected() local
119 while ((line = reader.readLine()) != null) { in testDumpProtected()
124 reader.close(); in testDumpProtected()
/cts/tools/cts-native-scanner/src/com/android/cts/nativescanner/
DTestScanner.java45 TestScanner(BufferedReader reader, String testSuite) { in TestScanner() argument
47 mReader = reader; in TestScanner()
DCtsNativeScanner.java55 BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); in main() local
56 TestScanner scanner = new TestScanner(reader, testSuite); in main()
/cts/tools/signature-tools/src/signature/io/html/
DTemplateStore.java40 InputStreamReader reader = new InputStreamReader(stream); in initialize() local
41 StringTemplateGroup deltaGroup = new StringTemplateGroup(reader, in initialize()
/cts/tools/dex-tools/test/dex/reader/
DLargeDexTests.java17 package dex.reader;
20 import dex.reader.util.JavaSource;
/cts/tools/vm-tests-tf/src/util/build/
DBuildDalvikSuite.java548 FileReader reader = new FileReader(f);
549 reader.skip(result.end());
553 while ((currentChar = (char) reader.read()) != -1 && blocks > 0) {
571 if (reader != null) {
572 reader.close();
639 FileReader reader = new FileReader(file);
641 reader.read(charContents);
642 reader.close();

12