Home
last modified time | relevance | path

Searched refs:reader (Results 1 – 23 of 23) 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/browseable/PermissionRequest/src/com.example.android.permissionrequest/
DSimpleWebServer.java116 BufferedReader reader = null; in handle() local
122 reader = new BufferedReader(new InputStreamReader(socket.getInputStream())); in handle()
124 while (!TextUtils.isEmpty(line = reader.readLine())) { in handle()
158 if (null != reader) { in handle()
159 reader.close(); in handle()
/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/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/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/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/samples/browseable/CardEmulation/
D_index.jd11 NFC reader.
/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.java866 BufferedReader reader = null; in loadPackageListFromFile() local
868 reader = new BufferedReader(new FileReader(fileName)); in loadPackageListFromFile()
870 while ((s = reader.readLine()) != null) { in loadPackageListFromFile()
880 if (reader != null) { in loadPackageListFromFile()
882 reader.close(); in loadPackageListFromFile()
/development/apps/Development/src/com/android/development/
DConnectivity.java726 BufferedReader reader = new BufferedReader(new InputStreamReader(sock.getInputStream())); in doSocketRequest() local
727 String line = reader.readLine(); in doSocketRequest()
736 line = reader.readLine(); in doSocketRequest()
740 return reader.readLine(); in doSocketRequest()
765 BufferedReader reader; in onHttpRequest()
771 reader = new BufferedReader(in); in onHttpRequest()
772 onHttpRequestResults(reader.readLine()); in onHttpRequest()
782 reader = new BufferedReader(in); in onHttpRequest()
783 onHttpRequestResults(reader.readLine()); in onHttpRequest()
/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/Support4Demos/src/com/example/android/supportv4/media/model/
DMusicProvider.java303 BufferedReader reader = new BufferedReader(new InputStreamReader( in fetchJSONFromUrl() local
307 while ((line = reader.readLine()) != null) { in fetchJSONFromUrl()
/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/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/samples/SupportLeanbackShowcase/libs/
Dgson-1.7.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/development/perftests/panorama/feature_mos/doc/
Dfeature_mos_API_doxyfile131 # the reader which header file to include in order to use a class.
1242 # nicely formatted so it can be parsed by a human reader. This is useful
/development/perftests/panorama/feature_stab/doc/
Ddbreg_API_doxyfile131 # the reader which header file to include in order to use a class.
1242 # nicely formatted so it can be parsed by a human reader. This is useful
/development/tools/checkstyle/
Dcheckstyle.jarMETA-INF/MANIFEST.MF META-INF/ checkstyle_packages.xml sun_checks.xml com/ ...