Searched refs:stream (Results 26 - 33 of 33) sorted by relevance

12

/packages/apps/Browser/src/com/android/browser/
H A DSnapshotTab.java217 GZIPInputStream stream = new GZIPInputStream(ins);
218 web.loadViewState(stream);
H A DTab.java1848 GZIPOutputStream stream = new GZIPOutputStream(outs);
1850 web.saveViewState(stream, callback);
1853 stream.flush();
1854 stream.close();
1885 ByteArrayOutputStream stream = new ByteArrayOutputStream();
1886 bitmap.compress(CompressFormat.PNG, 100, stream);
1887 return stream.toByteArray();
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
H A DImageLoader.java222 private void closeStream(Closeable stream) { argument
223 if (stream != null) {
225 stream.close();
253 Log.v(LOGTAG, "loading uri " + uri.getPath() + " input stream: "
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DTestActivity.java110 Uri stream = (Uri)intent.getParcelableExtra(Intent.EXTRA_STREAM);
112 if (stream != null && type != null) {
116 * addAttachment(stream);
118 Log.v(Constants.TAG, " Get share intent with Uri " + stream + " mimetype is "
121 // stream.getAuthority() + " " + Uri.parse(stream));
122 Cursor cursor = c.getContentResolver().query(stream, null, null, null, null);
129 * values.put(BluetoothShare.URI, stream.toString());
/packages/apps/Phone/src/com/android/phone/
H A DCallNotifier.java164 // The tone volume relative to other sounds in the stream SignalInfo
1382 // The tone volume relative to other sounds in the stream
1501 int stream;
1503 stream = mBluetoothHeadset.isAudioOn() ? AudioManager.STREAM_BLUETOOTH_SCO:
1506 stream = AudioManager.STREAM_VOICE_CALL;
1508 toneGenerator = new ToneGenerator(stream, toneVolume);
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DPublicApiFunctionalTest.java326 InputStream stream = new FileInputStream(destination.getPath());
328 assertEquals(FILE_CONTENT, readStream(stream));
330 stream.close();
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaProvider.java4538 FileInputStream stream = null;
4540 stream = new FileInputStream(file);
4541 stream.read(compressed);
4545 if (stream != null) {
4546 stream.close();
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsProvider2.java199 /** Limit for the maximum number of social stream items to store under a raw contact. */
1728 // Also query for all social stream item photos.
1771 // For missing photos that were in stream item photos, just delete the
1772 // stream item photo.
1954 // Enforce stream items access check if applicable.
1978 // Enforce stream items access check if applicable.
1994 // Enforce stream items access check if applicable.
2651 * account in the raw contact for which the stream item is being inserted. If the
2652 * new stream item results in more stream item
7522 buildAssetFileDescriptor(ByteArrayOutputStream stream) argument
7550 outputRawContactsAsVCard(Uri uri, OutputStream stream, String selection, String[] selectionArgs) argument
[all...]

Completed in 2093 milliseconds

12