Searched refs:stream (Results 151 - 175 of 208) sorted by relevance

123456789

/frameworks/base/tools/orientationplot/
H A Dorientationplot.py38 # Non-blocking stream wrapper.
40 def __init__(self, stream):
41 fcntl.fcntl(stream, fcntl.F_SETFL, os.O_NONBLOCK)
42 self.stream = stream
57 chunk = os.read(self.stream.fileno(), 4096)
/frameworks/base/services/java/com/android/server/
H A DAppOpsService.java780 FileInputStream stream;
782 stream = mFile.openRead();
790 parser.setInput(stream, null);
835 stream.close();
918 FileOutputStream stream;
920 stream = mFile.startWrite();
928 out.setOutput(stream, "utf-8");
977 mFile.finishWrite(stream);
980 mFile.failWrite(stream);
H A DAppWidgetServiceImpl.java1618 FileInputStream stream = file.openRead();
1619 readStateFromFileLocked(stream);
1621 if (stream != null) {
1623 stream.close();
1638 FileOutputStream stream;
1640 stream = file.startWrite();
1641 if (writeStateToFileLocked(stream)) {
1642 file.finishWrite(stream);
1644 file.failWrite(stream);
1652 boolean writeStateToFileLocked(FileOutputStream stream) { argument
1727 readStateFromFileLocked(FileInputStream stream) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s25 ; * the bit stream buffer
39 ; * bit stream syntax
46 ; * stream buffer
254 M_BD_VREAD8 mvVerResidual,temp,T1,T2 ;// Get mvVerResidual from bit stream if fcodeForward>1 and mnVerData!=0
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s25 ; * the bit stream buffer
39 ; * bit stream syntax
46 ; * stream buffer
254 M_BD_VREAD8 mvVerResidual,temp,T1,T2 ;// Get mvVerResidual from bit stream if fcodeForward>1 and mnVerData!=0
/frameworks/base/keystore/java/android/security/
H A DAndroidKeyStore.java510 public void engineStore(OutputStream stream, char[] password) throws IOException, argument
516 public void engineLoad(InputStream stream, char[] password) throws IOException, argument
518 if (stream != null) {
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3IOStreamBase.cpp45 ALOGE("%s: Bad format for size-only stream: %d", __FUNCTION__,
141 buffer.stream = this;
H A DCamera3Device.cpp335 lines.appendFormat(" No input stream.\n");
535 ALOGV("Camera %d: Creating new input stream %d: %d x %d, format %d",
568 ALOGE("%s: Cannot create more than 1 input stream", __FUNCTION__);
585 ALOGE("%s: Can't reconfigure device for new stream %d: %s (%d)",
592 ALOGV("Camera %d: Created input stream", mId);
606 ALOGV("Camera %d: Creating ZSL stream %d: %d x %d, depth %d",
639 ALOGE("%s: Cannot create more than 1 input stream", __FUNCTION__);
649 ALOGE("%s: Can't add new stream to set: %s (%d)",
663 ALOGE("%s: Can't reconfigure device for new stream %d: %s (%d)",
670 ALOGV("Camera %d: Created ZSL stream", mI
1212 sp<Camera3OutputStreamInterface> stream = local
1742 Camera3Stream *stream = local
1780 Camera3Stream *stream = local
2197 Camera3Stream *stream = local
[all...]
/frameworks/base/core/java/android/widget/
H A DSuggestionsAdapter.java572 InputStream stream = mProviderContext.getContentResolver().openInputStream(uri);
573 if (stream == null) {
577 return Drawable.createFromStream(stream, null);
580 stream.close();
582 Log.e(LOG_TAG, "Error closing icon stream for " + uri, ex);
H A DImageView.java657 InputStream stream = null;
659 stream = mContext.getContentResolver().openInputStream(mUri);
660 d = Drawable.createFromStream(stream, null);
664 if (stream != null) {
666 stream.close();
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java982 * @param stream The outputstream to write the compressed data.
983 * @return true if successfully compressed to the specified stream.
985 public boolean compress(CompressFormat format, int quality, OutputStream stream) { argument
988 if (stream == null) {
995 stream, new byte[WORKING_COMPRESS_STORAGE]);
1592 int quality, OutputStream stream,
1591 nativeCompress(int nativeBitmap, int format, int quality, OutputStream stream, byte[] tempStorage) argument
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
H A DScoAudioTest.java116 name.setText("VOICE_CALL stream");
325 SimplePlayerController(Context context, int playPausebuttonId, int stopButtonId, String fileName, int stream) { argument
330 mStreamType = stream;
335 SimplePlayerController(Context context, int playPausebuttonId, int stopButtonId, int fileResId, int stream) { argument
340 mStreamType = stream;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSuggestionsAdapter.java530 InputStream stream = mProviderContext.getContentResolver().openInputStream(uri);
531 if (stream == null) {
535 return Drawable.createFromStream(stream, null);
538 stream.close();
540 Log.e(LOG_TAG, "Error closing icon stream for " + uri, ex);
/frameworks/av/camera/
H A DProCamera.cpp263 ALOGE("%s: Failure to create stream %dx%d (fmt=0x%x)", __FUNCTION__,
315 StreamInfo& stream = getStreamInfo(streamId); local
318 listener->onFrameAvailable(streamId, stream.cpuConsumer);
354 // else it was some other stream that got unblocked
412 // else it was some other stream or metadata
/frameworks/av/media/libstagefright/codecs/amrwbenc/
H A DAndroid.mk46 src/stream.c \
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.cpp24 bool YuvToJpegEncoder::encode(SkWStream* stream, void* inYuv, int width, argument
28 skjpeg_destination_mgr sk_wstream(stream);
/frameworks/rs/
H A DrsProgramVertex.cpp151 void ProgramVertex::serialize(Context *rsc, OStream *stream) const {
154 ProgramVertex *ProgramVertex::createFromStream(Context *rsc, IStream *stream) { argument
H A DrsScript.cpp114 void ScriptKernelID::serialize(Context *rsc, OStream *stream) const {
131 void ScriptFieldID::serialize(Context *rsc, OStream *stream) const {
H A DrsFont.h69 virtual void serialize(Context *rsc, OStream *stream) const {
/frameworks/av/services/audioflinger/
H A DThreads.h150 virtual audio_stream_t* stream() const = 0;
411 void setStreamVolume(audio_stream_type_t stream, float value);
412 void setStreamMute(audio_stream_type_t stream, bool muted);
414 float streamVolume(audio_stream_type_t stream) const;
432 virtual audio_stream_t* stream() const;
515 // No sleep when mixer state == MIXER_TRACKS_READY; relies on audio HAL stream->write()
548 // mStreamTypes[] uses 1 additional stream type internally for the OutputTrack used by
726 // volumes last sent to audio HAL with stream->set_volume()
898 virtual audio_stream_t* stream() const;
950 size_t mBufferSize; // stream buffe
[all...]
H A DEffects.cpp459 audio_stream_t *stream = thread->stream(); local
460 if (stream != NULL) {
461 stream->add_audio_effect(stream, mEffectInterface);
505 audio_stream_t *stream = thread->stream(); local
506 if (stream != NULL) {
507 stream->remove_audio_effect(stream, mEffectInterfac
[all...]
/frameworks/base/media/java/android/media/
H A DAudioManager.java105 * @hide Broadcast intent when the volume for a particular stream type changes.
106 * Includes the stream, the new volume and previous volumes.
164 * @hide The stream type for the volume changed intent.
169 * @hide The volume associated with the stream for the volume changed intent.
175 * @hide The previous volume associated with the stream for the volume changed intent.
201 /** The audio stream for phone calls */
203 /** The audio stream for system sounds */
205 /** The audio stream for the phone ring */
207 /** The audio stream for music playback */
209 /** The audio stream fo
482 preDispatchKeyEvent(KeyEvent event, int stream) argument
508 handleKeyDown(KeyEvent event, int stream) argument
549 handleKeyUp(KeyEvent event, int stream) argument
[all...]
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp160 SkMemoryStream stream(buffer, len);
161 SkImageDecoder* codec = SkImageDecoder::Factory(&stream);
164 codec->decode(&stream, &bitmap,
/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/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...]

Completed in 1295 milliseconds

123456789