Home
last modified time | relevance | path

Searched refs:reader (Results 1 – 22 of 22) 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/tools/bugreport/src/com/android/bugreport/util/
DLines.java45 BufferedReader reader = null; in readLines() local
47 reader = new BufferedReader(new FileReader(file)); in readLines()
48 return Lines.readLines(reader); in readLines()
50 if (reader != null) { in readLines()
51 reader.close(); in readLines()
/development/vndk/tools/header-checker/header-abi-linker/src/
Dheader_abi_linker.cpp174 std::unique_ptr<abi_util::TextFormatToIRReader> reader = in DeDuplicateAbiElementsThread() local
177 assert(reader != nullptr); in DeDuplicateAbiElementsThread()
178 if (!reader->ReadDump(*it)) { in DeDuplicateAbiElementsThread()
183 local_reader->MergeGraphs(*reader); in DeDuplicateAbiElementsThread()
315 bool HeaderAbiLinker::LinkTypes(const abi_util::TextFormatToIRReader *reader, in LinkTypes() argument
317 assert(reader != nullptr); in LinkTypes()
322 nullptr, reader->GetRecordTypes(), false) && in LinkTypes()
324 nullptr, reader->GetEnumTypes(), false) && in LinkTypes()
326 reader->GetFunctionTypes(), false) && in LinkTypes()
328 nullptr, reader->GetBuiltinTypes(), false) && in LinkTypes()
[all …]
/development/samples/browseable/PermissionRequest/src/com.example.android.permissionrequest/
DSimpleWebServer.java120 BufferedReader reader = null; in handle() local
126 reader = new BufferedReader(new InputStreamReader(socket.getInputStream())); in handle()
128 while (!TextUtils.isEmpty(line = reader.readLine())) { in handle()
162 if (null != reader) { in handle()
163 reader.close(); in handle()
/development/samples/browseable/CardReader/
D_index.jd8 This sample demonstrates how to implement a low-level NFC card reader, for reading cards
13 reader is interested, and establish communication with the card
/development/samples/browseable/NfcProvisioning/src/com.example.android.nfcprovisioning/
DProvisioningValuesLoader.java114 BufferedReader reader = null; in loadFromFile() local
116 reader = new BufferedReader(new FileReader(file)); in loadFromFile()
118 while (null != (line = reader.readLine())) { in loadFromFile()
132 if (reader != null) { in loadFromFile()
133 reader.close(); in loadFromFile()
/development/vndk/tools/definition-tool/tools/
Dupdate_dataset.py79 reader = csv.reader(fp)
80 header = next(reader)
83 for path, tag, comments in reader:
/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/samples/browseable/CardEmulation/
D_index.jd11 NFC reader.
/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.java943 BufferedReader reader = null; in loadPackageListFromFile() local
945 reader = new BufferedReader(new FileReader(fileName)); in loadPackageListFromFile()
947 while ((s = reader.readLine()) != null) { in loadPackageListFromFile()
957 if (reader != null) { in loadPackageListFromFile()
959 reader.close(); in loadPackageListFromFile()
/development/samples/browseable/Camera2Raw/src/com.example.android.camera2raw/
DCamera2RawFragment.java408 public void onImageAvailable(ImageReader reader) {
422 public void onImageAvailable(ImageReader reader) {
1284 RefCountedAutoCloseable<ImageReader> reader) { in dequeueAndSaveImage() argument
1293 if (reader == null || reader.getAndRetain() == null) { in dequeueAndSaveImage()
1302 image = reader.get().acquireNextImage(); in dequeueAndSaveImage()
1310 builder.setRefCountedReader(reader).setImage(image); in dequeueAndSaveImage()
1356 RefCountedAutoCloseable<ImageReader> reader) { in ImageSaver() argument
1362 mReader = reader; in ImageSaver()
1453 RefCountedAutoCloseable<ImageReader> reader) { in setRefCountedReader() argument
1454 if (reader == null) throw new NullPointerException(); in setRefCountedReader()
[all …]
/development/apps/Development/src/com/android/development/
DConnectivity.java724 BufferedReader reader = new BufferedReader(new InputStreamReader(sock.getInputStream())); in doSocketRequest() local
725 String line = reader.readLine(); in doSocketRequest()
734 line = reader.readLine(); in doSocketRequest()
738 return reader.readLine(); in doSocketRequest()
763 BufferedReader reader; in onHttpRequest()
769 reader = new BufferedReader(in); in onHttpRequest()
770 onHttpRequestResults(reader.readLine()); in onHttpRequest()
780 reader = new BufferedReader(in); in onHttpRequest()
781 onHttpRequestResults(reader.readLine()); in onHttpRequest()
/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/
DNetworkFragment.java267 InputStreamReader reader = new InputStreamReader(stream, "UTF-8"); in readStream() local
277 readSize = reader.read(buffer, numChars, buffer.length - numChars); in readStream()
/development/tools/rmtypedefs/src/com/android/tools/rmtypedefs/
DRmTypeDefs.java220 ClassReader reader = new ClassReader(bytes); in rewriteOuterClasses() local
221 reader.accept(classVisitor, 0); in rewriteOuterClasses()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/model/
DMusicProvider.java304 BufferedReader reader = new BufferedReader(new InputStreamReader( in fetchJSONFromUrl() local
308 while ((line = reader.readLine()) != null) { in fetchJSONFromUrl()
/development/tools/logblame/
Dps.py129 return [(x[2], x[1]) for x in csv.reader(text.split("\n")) if len(x) and x[0] == "pkg"]
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/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()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DMmsMessagingDemo.java281 FileInputStream reader = new FileInputStream(mDownloadFile); in handleReceivedResult() local
283 final int read = reader.read(response, 0, nBytes); in handleReceivedResult()
/development/samples/browseable/Camera2Basic/src/com.example.android.camera2basic/
DCamera2BasicFragment.java245 public void onImageAvailable(ImageReader reader) {
246 mBackgroundHandler.post(new ImageSaver(reader.acquireNextImage(), mFile));
/development/vndk/tools/definition-tool/
Dvndk_definition_tool.py1139 reader = csv.reader(fp)
1143 row = next(reader)
1156 for row in reader:
1245 reader = csv.reader(csv_file)
1247 header = next(reader)
1251 for name, vndk, vndk_sp, vendor_available, rule in reader: