Home
last modified time | relevance | path

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

12

/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/IntentPlayground/src/com/example/android/intentplayground/
DAMControl.java60 BufferedReader reader = new BufferedReader(new InputStreamReader( in execCmd() local
62 while ((line = reader.readLine()) != null) { in execCmd()
66 reader.close(); in execCmd()
68 reader = new BufferedReader(new InputStreamReader(proc.getErrorStream())); in execCmd()
69 while ((line = reader.readLine()) != null) { in execCmd()
73 reader.close(); in execCmd()
/development/tools/repo_diff/service/repodiff/tools/
Dtech_area_csv_to_hashes.py31 reader = csv.reader(csv_file, skipinitialspace=True, delimiter=",", quoting=csv.QUOTE_NONE)
32 for row in list(reader)[1:]:
/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/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/tools/repo_diff/service/repodiff/persistence/filesystem/
Dcsv.go23 reader := csv.NewReader(
29 line, err := reader.Read()
/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.py97 reader = csv.reader(fp)
98 header = next(reader)
101 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.java747 BufferedReader reader = new BufferedReader(new InputStreamReader(sock.getInputStream())); in doSocketRequest() local
748 String line = reader.readLine(); in doSocketRequest()
757 line = reader.readLine(); in doSocketRequest()
761 return reader.readLine(); in doSocketRequest()
786 BufferedReader reader; in onHttpRequest()
792 reader = new BufferedReader(in); in onHttpRequest()
793 onHttpRequestResults(reader.readLine()); in onHttpRequest()
803 reader = new BufferedReader(in); in onHttpRequest()
804 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/vndk/tools/header-checker/src/linker/
Dheader_abi_linker.cpp194 std::unique_ptr<repr::IRReader> reader = in DeDuplicateAbiElementsThread() local
196 assert(reader != nullptr); in DeDuplicateAbiElementsThread()
197 if (!reader->ReadDump(*it)) { in DeDuplicateAbiElementsThread()
202 local_reader->MergeGraphs(*reader); in DeDuplicateAbiElementsThread()
/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/vndk/tools/header-checker/src/repr/json/
Dir_reader.cpp157 Json::Reader reader; in ReadDump() local
160 if (!reader.parse(input, tu_json, /* collectComments */ false)) { in ReadDump()
162 << reader.getFormattedErrorMessages() << "\n"; in ReadDump()
/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/tools/repo_diff/service/repodiff/
DMakefile31 SERVICE_ACCOUNT_ID=repo-reader

12