/development/samples/browseable/NetworkConnect/src/com.example.android.networkconnect/ |
D | MainActivity.java | 119 InputStream stream = null; in loadFromNetwork() local 123 stream = downloadUrl(urlString); in loadFromNetwork() 124 str = readIt(stream, 500); in loadFromNetwork() 126 if (stream != null) { in loadFromNetwork() 127 stream.close(); in loadFromNetwork() 150 InputStream stream = conn.getInputStream(); in downloadUrl() local 151 return stream; in downloadUrl() 162 …private String readIt(InputStream stream, int len) throws IOException, UnsupportedEncodingExceptio… in readIt() argument 164 reader = new InputStreamReader(stream, "UTF-8"); in readIt()
|
/development/ndk/sources/android/libportable/arch-mips64/ |
D | va_funcs.c | 23 int WRAP(vfprintf)(FILE *stream, const char *format, va_list_portable *arg) { in WRAP() 24 return REAL(vfprintf)(stream, format, arg); in WRAP() 27 int WRAP(vfscanf)(FILE *stream, const char *format, va_list_portable *arg) { in WRAP() 28 return REAL(vfscanf)(stream, format, arg); in WRAP()
|
/development/ndk/sources/android/libportable/arch-x86_64/ |
D | va_funcs.c | 23 int WRAP(vfprintf)(FILE *stream, const char *format, va_list_portable *arg) { in WRAP() 24 return REAL(vfprintf)(stream, format, arg); in WRAP() 27 int WRAP(vfscanf)(FILE *stream, const char *format, va_list_portable *arg) { in WRAP() 28 return REAL(vfscanf)(stream, format, arg); in WRAP()
|
/development/samples/training/network-usage/src/com/example/android/networkusage/ |
D | NetworkActivity.java | 216 InputStream stream = null; in loadXmlFromNetwork() local 235 stream = downloadUrl(urlString); in loadXmlFromNetwork() 236 entries = stackOverflowXmlParser.parse(stream); in loadXmlFromNetwork() 240 if (stream != null) { in loadXmlFromNetwork() 241 stream.close(); in loadXmlFromNetwork() 274 InputStream stream = conn.getInputStream(); in downloadUrl() local 275 return stream; in downloadUrl()
|
/development/samples/XmlAdapters/src/com/example/android/xmladapters/ |
D | ContactPhotoBinder.java | 73 InputStream stream = ContactsContract.Contacts.openContactPhotoInputStream( in bind() local 77 if (stream != null) { in bind() 79 Bitmap bitmap = BitmapFactory.decodeStream(stream); in bind()
|
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.basicsyncadapter/ |
D | SyncAdapter.java | 140 InputStream stream = null; in onPerformSync() local 144 stream = downloadUrl(location); in onPerformSync() 145 updateLocalFeedData(stream, syncResult); in onPerformSync() 149 if (stream != null) { in onPerformSync() 150 stream.close(); in onPerformSync() 201 public void updateLocalFeedData(final InputStream stream, final SyncResult syncResult) in updateLocalFeedData() argument 208 final List<FeedParser.Entry> entries = feedParser.parse(stream); in updateLocalFeedData()
|
/development/scripts/ |
D | symbol.py | 38 stream = subprocess.Popen(cmd, stdout=subprocess.PIPE, shell=True).stdout 39 return os.path.join(ANDROID_BUILD_TOP, stream.read().strip()) 282 stream = subprocess.Popen(cmd, stdout=subprocess.PIPE).stdout 284 for line in stream: 314 stream.close()
|
/development/samples/WiFiDirectDemo/src/com/example/android/wifidirect/ |
D | FileTransferService.java | 59 OutputStream stream = socket.getOutputStream(); in onHandleIntent() local 67 DeviceDetailFragment.copyFile(is, stream); in onHandleIntent()
|
/development/ndk/platforms/android-L/include/ |
D | stdio.h | 419 char *fgets(char* dest, int size, FILE* stream) { in fgets() argument 430 return __fgets_real(dest, size, stream); in fgets() 436 return __fgets_real(dest, size, stream); in fgets() 445 return __fgets_chk(dest, size, stream, bos); in fgets()
|
/development/ndk/platforms/android-14/samples/native-media/ |
D | README.txt | 8 Any actual stream must be created according to the MPEG-2 specification.
|
/development/samples/Home/src/com/example/android/home/ |
D | Wallpaper.java | 98 InputStream stream = getResources().openRawResource(IMAGE_IDS[position]); in selectWallpaper() local 99 setWallpaper(stream); in selectWallpaper()
|
/development/samples/browseable/AgendaData/Application/src/com.example.android.wearable.agendadata/ |
D | CalendarQueryService.java | 224 ByteArrayOutputStream stream = new ByteArrayOutputStream(); in toByteArray() local 225 bitmap.compress(Bitmap.CompressFormat.PNG, 100, stream); in toByteArray() 226 byte[] byteArray = stream.toByteArray(); in toByteArray() 227 closeQuietly(stream); in toByteArray()
|
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/ |
D | BatchStepSensorFragment.java | 109 CardStreamFragment stream = getCardStream(); in onResume() local 110 if (stream.getVisibleCardCount() < 1) { in onResume()
|