Searched refs:stream (Results 176 - 200 of 209) sorted by relevance

123456789

/frameworks/base/core/java/android/gesture/
H A DGestureUtils.java48 * Closes the specified stream.
50 * @param stream The stream to close.
52 static void closeStream(Closeable stream) { argument
53 if (stream != null) {
55 stream.close();
57 Log.e(LOG_TAG, "Could not close stream", e);
/frameworks/base/services/java/com/android/server/
H A DDevicePolicyManagerService.java739 FileOutputStream stream = null;
741 stream = new FileOutputStream(journal.chooseForWrite(), false);
743 out.setOutput(stream, "utf-8");
791 stream.close();
796 if (stream != null) {
797 stream.close();
819 FileInputStream stream = null;
822 stream = new FileInputStream(file);
824 parser.setInput(stream, null);
908 if (stream !
[all...]
/frameworks/base/core/java/android/database/
H A DDatabaseUtils.java457 * @param stream the stream to print to
459 public static void dumpCursor(Cursor cursor, PrintStream stream) { argument
460 stream.println(">>>>> Dumping cursor " + cursor);
466 dumpCurrentRow(cursor, stream);
470 stream.println("<<<<<");
520 * @param stream the stream to print to
522 public static void dumpCurrentRow(Cursor cursor, PrintStream stream) { argument
524 stream
[all...]
/frameworks/rs/
H A DrsFont.h70 virtual void serialize(Context *rsc, OStream *stream) const {
H A DrsScriptGroup.cpp316 void ScriptGroup::serialize(Context *rsc, OStream *stream) const {
/frameworks/av/media/libmedia/
H A DIMediaPlayer.cpp203 status_t setAudioStreamType(audio_stream_type_t stream) argument
207 data.writeInt32((int32_t) stream);
/frameworks/base/core/jni/
H A Dandroid_net_LocalSocketImpl.cpp49 * create_native(boolean stream)
53 socket_create (JNIEnv *env, jobject object, jboolean stream) argument
57 ret = socket(PF_LOCAL, stream ? SOCK_STREAM : SOCK_DGRAM, 0);
545 // Treat this as an end of stream
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmp4lib_int.h86 BitstreamEncVideo *stream; /* library bitstream buffer (input buffer) */ member in struct:tagVol
H A Drate_control.cpp309 pMP->actual_bits = currVol->stream->byteCount << 3;
334 rc->Rc = currVol->stream->byteCount << 3; /* Total Bits for current frame */
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_PredictReconCoefIntra_s.s45 ; * stream syntax of MPEG-4
/frameworks/base/media/java/android/media/
H A DMediaRouter.java237 * <p>A device that supports live audio routing will allow the media audio stream
242 * played on the media stream will be routed to the selected destination.</p>
1113 * @return the stream over which the playback associated with this route is performed
1133 Log.e(TAG, "Error getting local stream volume", e);
1150 Log.e(TAG, "Error setting local stream volume", e);
1170 Log.e(TAG, "Error setting local stream volume", e);
1189 Log.e(TAG, "Error getting local stream volume", e);
1467 * Defines over what stream type the media is presented.
1468 * @param stream
1470 public void setPlaybackStream(int stream) { argument
[all...]
/frameworks/base/services/java/com/android/server/usb/
H A DUsbSettingsManager.java472 FileInputStream stream = null;
474 stream = mSettingsFile.openRead();
476 parser.setInput(stream, null);
493 IoUtils.closeQuietly(stream);
/frameworks/base/core/java/android/provider/
H A DContacts.java640 InputStream stream = openContactPhotoInputStream(context.getContentResolver(), person);
641 Bitmap bm = stream != null ? BitmapFactory.decodeStream(stream, null, options) : null;
H A DMediaStore.java315 * The data stream for the file
582 * stream from database (MICRO_KIND) or file (MINI_KIND).
811 FileInputStream stream = new FileInputStream(imagePath);
819 stream.close();
871 * @param source The stream to use for the image
1078 * The data stream for the thumbnail
1502 * The data stream for the playlist file
2088 * The data stream for the thumbnail
/frameworks/base/core/java/com/android/internal/os/
H A DBatteryStatsImpl.java4906 FileOutputStream stream = new FileOutputStream(mFile.chooseForWrite());
4907 stream.write(next.marshall());
4908 stream.flush();
4909 FileUtils.sync(stream);
4910 stream.close();
4921 static byte[] readFully(FileInputStream stream) throws java.io.IOException { argument
4923 int avail = stream.available();
4926 int amt = stream.read(data, pos, data.length-pos);
4935 avail = stream.available();
4957 FileInputStream stream
[all...]
/frameworks/base/services/java/com/android/server/location/
H A DGpsLocationProvider.java441 FileInputStream stream = new FileInputStream(file);
442 mProperties.load(stream);
443 stream.close();
/frameworks/av/libvideoeditor/vss/src/
H A DM4PCMR_CoreReader.c172 * @brief This function get the (unique) stream of a PCM file
206 /* Only one stream is contained in PCM file */
231 pStreamDesc->maxBitrate = pStreamDesc->averageBitrate; /* PCM stream has constant bitrate */
279 * @brief This function starts reading the unique stream of a PCM file
281 * - Verifies that the current reader's state allows to start reading a stream
282 * - Check that provided StreamId is correct (always true, only one stream...)
313 /* First and unique stream contained in PCM file */
347 * @return M4WAR_END_OF_STREAM There is no more access unit in the stream,
398 pAU->stream = M4OSA_NULL;
470 * @param pStreamID: (IN) Stream selection (not used, only 1 stream)
[all...]
H A DM4AMRR_CoreReader.c86 M4SYS_StreamType m_streamType; /* Stores the stream type AMR NB or WB */
104 * @note This function takes the stream type and the frametype and returns the
107 * @param streamType(IN) : AMR stream type NB or WB
130 * @note This function takes the stream type and the frametype and returns the
133 * @param streamType(IN) : AMR stream type NB or WB
262 /* Stream is a Narrow band stream */
370 /* duration of the stream = 20 ms * number of access unit */
541 pAu->stream = pStreamContext->m_pStreamHandler;
692 /* Use the seek table to seek the required time in the stream */
785 /* Skip the Access unit in the stream t
[all...]
H A DM4PTO3GPP_API.c498 if (M4NO_ERROR == err) /**< One stream found */
500 /**< Found an audio stream */
505 /**< Keep pointer to the audio stream */
506 M4OSA_TRACE3_0("M4PTO3GPP_Open(): Found an audio stream in input");
549 * Init the audio stream */
912 * The transcoding is finished when no stream is being encoded anymore */
1480 * Allocate and fill the video stream structures for the writer */
1510 * Fill Video stream description structure for the AddStream method */
1575 * Update AU properties for video stream */
1580 pC->m_WriterVideoAU.stream
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DomxVCM4P2_PredictReconCoefIntra_s.s45 ; * stream syntax of MPEG-4
/frameworks/base/media/java/android/media/videoeditor/
H A DVideoEditorImpl.java1863 FileOutputStream stream = new FileOutputStream(mProjectPath + "/"
1865 projectBitmap.compress(Bitmap.CompressFormat.JPEG, 100, stream);
1866 stream.flush();
1867 stream.close();
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DBitmap_Delegate.java102 * Creates and returns a {@link Bitmap} initialized with the given stream content.
104 * @param input the stream from which to read the bitmap content
113 // create a delegate with the content of the stream.
211 // create a delegate with the content of the stream.
239 // create a delegate with the content of the stream.
257 OutputStream stream, byte[] tempStorage) {
256 nativeCompress(int nativeBitmap, int format, int quality, OutputStream stream, byte[] tempStorage) argument
/frameworks/support/renderscript/v8/rs_support/
H A DrsScriptGroup.cpp316 void ScriptGroup::serialize(Context *rsc, OStream *stream) const {
/frameworks/base/core/java/android/content/
H A DContentResolver.java249 * content URL can be returned when opened as as stream with
252 * many content providers can not return a raw stream for the structured
413 * Open a stream on to the content associated with a content URI. If there
439 InputStream stream = r.r.openRawResource(r.id);
440 return stream;
453 throw new FileNotFoundException("Unable to create stream");
469 * Open a stream on to the content associated with a content URI. If there
493 throw new FileNotFoundException("Unable to create stream");
683 * data stream for the data stored there.
687 * with an associated MIME type to ensure that the returned data stream
[all...]
/frameworks/base/core/java/android/view/
H A DVolumePanel.java98 // Pseudo stream type for master volume
100 // Pseudo stream type for remote volume is defined in AudioService.STREAM_REMOTE_MUSIC
109 // True if we want to play tones on the system stream when the master stream is specified.
126 /** Currently active stream that shows up at the top of the list of sliders */
128 /** All the slider controls mapped by stream type */
190 // List of stream types and their order
425 Log.e("VolumePanel", "Missing stream type! - " + activeStreamType);
716 int stream = (streamType == AudioService.STREAM_REMOTE_MUSIC) ? -1 : streamType;
717 // when the stream i
[all...]

Completed in 747 milliseconds

123456789