Home
last modified time | relevance | path

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

/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/
DSignatureSourcerTest.java46 SignatureReader reader = new SignatureReader( in testReturnMapNoArgs() local
48 reader.accept(mSourcer); in testReturnMapNoArgs()
58 SignatureReader reader = new SignatureReader( in testReturnVoid() local
60 reader.accept(mSourcer); in testReturnVoid()
70 SignatureReader reader = new SignatureReader( in testSimpleArg() local
72 reader.accept(mSourcer); in testSimpleArg()
86 SignatureReader reader = new SignatureReader("<X:TT;Y:Ljava/lang/Object;>()V"); in testFormalParameters1() local
87 reader.accept(mSourcer); in testFormalParameters1()
99 …SignatureReader reader = new SignatureReader("<T::Ljava/lang/Comparable<-TT;>;>(Ljava/util/List<TT… in testFormalParameters2() local
100 reader.accept(mSourcer); in testFormalParameters2()
[all …]
/development/samples/Support4Demos/src/com/example/android/supportv4/app/
DSharingReceiverSupport.java72 BufferedReader reader = new BufferedReader(new InputStreamReader( in onCreate() local
75 txt.append(reader.readLine() + "\n"); in onCreate()
79 reader.close(); in onCreate()
/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/
DMainActivity.java163 Reader reader = null; in readIt() local
164 reader = new InputStreamReader(stream, "UTF-8"); in readIt()
166 reader.read(buffer); in readIt()
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DDictionaryDatabase.java206 BufferedReader reader = new BufferedReader(new InputStreamReader(inputStream)); in loadWords() local
210 while ((line = reader.readLine()) != null) { in loadWords()
219 reader.close(); in loadWords()
/development/tools/apkcheck/src/com/android/apkcheck/
DApkCheck.java75 Reader reader = Builtin.getReader(); in main() local
76 if (!parseXml(apiDescr, reader, "BUILTIN")) in main()
180 static boolean parseXml(ApiList apiList, Reader reader, in parseXml() argument
188 xmlReader.parse(new InputSource(reader)); in parseXml()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeyGetAppFrameRateEvent.java109 private String getNumberOfFrames(BufferedReader reader) throws IOException { in getNumberOfFrames() argument
112 while((line = reader.readLine()) != null) { in getNumberOfFrames()
DMonkey.java893 BufferedReader reader = null; in loadPackageListFromFile() local
895 reader = new BufferedReader(new FileReader(fileName)); in loadPackageListFromFile()
897 while ((s = reader.readLine()) != null) { in loadPackageListFromFile()
907 if (reader != null) { in loadPackageListFromFile()
909 reader.close(); in loadPackageListFromFile()
/development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/util/
DDiskLruCache.java194 public static String readFully(Reader reader) throws IOException { in readFully() argument
199 while ((count = reader.read(buffer)) != -1) { in readFully()
204 reader.close(); in readFully()