Home
last modified time | relevance | path

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

/developers/samples/android/content/webview/PermissionRequest/Application/src/main/java/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()
/developers/build/prebuilts/gradle/PermissionRequest/Application/src/main/java/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()
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/
DDefaultFieldTypesLocalJsonSource.java61 try(Reader reader = new BufferedReader(new InputStreamReader(is, "UTF-8"))) { in getDefaultFieldTypes() argument
62 fieldTypes = mGson.fromJson(reader, fieldTypeListType); in getDefaultFieldTypes()
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/
DDefaultFieldTypesLocalJsonSource.java61 try(Reader reader = new BufferedReader(new InputStreamReader(is, "UTF-8"))) { in getDefaultFieldTypes() argument
62 fieldTypes = mGson.fromJson(reader, fieldTypeListType); in getDefaultFieldTypes()
/developers/build/prebuilts/gradle/Camera2Raw/Application/src/main/java/com/example/android/camera2raw/
DCamera2RawFragment.java408 public void onImageAvailable(ImageReader reader) {
422 public void onImageAvailable(ImageReader reader) {
1286 RefCountedAutoCloseable<ImageReader> reader) { in dequeueAndSaveImage() argument
1295 if (reader == null || reader.getAndRetain() == null) { in dequeueAndSaveImage()
1304 image = reader.get().acquireNextImage(); in dequeueAndSaveImage()
1312 builder.setRefCountedReader(reader).setImage(image); in dequeueAndSaveImage()
1358 RefCountedAutoCloseable<ImageReader> reader) { in ImageSaver() argument
1364 mReader = reader; in ImageSaver()
1455 RefCountedAutoCloseable<ImageReader> reader) { in setRefCountedReader() argument
1456 if (reader == null) throw new NullPointerException(); in setRefCountedReader()
[all …]
/developers/samples/android/media/Camera2Raw/Application/src/main/java/com/example/android/camera2raw/
DCamera2RawFragment.java408 public void onImageAvailable(ImageReader reader) {
422 public void onImageAvailable(ImageReader reader) {
1286 RefCountedAutoCloseable<ImageReader> reader) { in dequeueAndSaveImage() argument
1295 if (reader == null || reader.getAndRetain() == null) { in dequeueAndSaveImage()
1304 image = reader.get().acquireNextImage(); in dequeueAndSaveImage()
1312 builder.setRefCountedReader(reader).setImage(image); in dequeueAndSaveImage()
1358 RefCountedAutoCloseable<ImageReader> reader) { in ImageSaver() argument
1364 mReader = reader; in ImageSaver()
1455 RefCountedAutoCloseable<ImageReader> reader) { in setRefCountedReader() argument
1456 if (reader == null) throw new NullPointerException(); in setRefCountedReader()
[all …]
/developers/samples/android/connectivity/nfc/CardReader/
DREADME.md5 This sample demonstrates how to implement a low-level NFC card reader, for reading cards
11 reader is interested, and establish communication with the card
/developers/build/prebuilts/gradle/CardReader/
DREADME.md5 This sample demonstrates how to implement a low-level NFC card reader, for reading cards
11 reader is interested, and establish communication with the card
/developers/samples/android/admin/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/
DProvisioningValuesLoader.java115 try (BufferedReader reader = new BufferedReader(new FileReader(file))) { in loadFromFile() argument
117 while (null != (line = reader.readLine())) { in loadFromFile()
/developers/build/prebuilts/gradle/NfcProvisioning/Application/src/main/java/com/example/android/nfcprovisioning/
DProvisioningValuesLoader.java115 try (BufferedReader reader = new BufferedReader(new FileReader(file))) { in loadFromFile() argument
117 while (null != (line = reader.readLine())) { in loadFromFile()
/developers/samples/android/connectivity/network/NetworkConnect/Application/src/main/java/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()
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
DVideoProvider.java71 BufferedReader reader = new BufferedReader(new InputStreamReader( in parseUrl() local
75 while ((line = reader.readLine()) != null) { in parseUrl()
/developers/build/prebuilts/gradle/NetworkConnect/Application/src/main/java/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()
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/data/
DVideoProvider.java165 BufferedReader reader = new BufferedReader(new InputStreamReader( in parseUrl() local
169 while ((line = reader.readLine()) != null) { in parseUrl()
/developers/samples/android/connectivity/nfc/CardEmulation/
DREADME.md8 NFC reader.
/developers/build/prebuilts/gradle/CardEmulation/
DREADME.md8 NFC reader.
/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/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()
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/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()
/developers/build/prebuilts/gradle/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/
DCamera2BasicFragment.java245 public void onImageAvailable(ImageReader reader) {
246 mBackgroundHandler.post(new ImageSaver(reader.acquireNextImage(), mFile));
/developers/samples/android/media/Camera2Basic/Application/src/main/java/com/example/android/camera2basic/
DCamera2BasicFragment.java245 public void onImageAvailable(ImageReader reader) {
246 mBackgroundHandler.post(new ImageSaver(reader.acquireNextImage(), mFile));
/developers/build/prebuilts/androidtv/sample-inputs/app/libs/
Dexoplayer_dev-hls_20150123.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...