/frameworks/base/media/libmedia/ |
H A D | IAudioFlinger.cpp | 252 virtual status_t setStreamVolume(int stream, float value, int output) argument 256 data.writeInt32(stream); 263 virtual status_t setStreamMute(int stream, bool muted) argument 267 data.writeInt32(stream); 273 virtual float streamVolume(int stream, int output) const argument 277 data.writeInt32(stream); 283 virtual bool streamMute(int stream) const 287 data.writeInt32(stream); 471 virtual status_t setStreamOutput(uint32_t stream, int output) argument 475 data.writeInt32(stream); 762 int stream = data.readInt32(); local 770 int stream = data.readInt32(); local 776 int stream = data.readInt32(); local 783 int stream = data.readInt32(); local 905 uint32_t stream = data.readInt32(); local [all...] |
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/ |
H A D | voAMRWBEnc.c | 1600 FrameStream *stream; local 1650 st->stream = (FrameStream *)mem_malloc(pMemOP, sizeof(FrameStream), 32, VO_INDEX_ENC_AMRWB); 1651 if(st->stream == NULL) 1654 st->stream->frame_ptr = (unsigned char *)mem_malloc(pMemOP, Frame_Maxsize, 32, VO_INDEX_ENC_AMRWB); 1655 if(st->stream->frame_ptr == NULL) 1658 stream = st->stream; 1659 voAWB_InitFrameBuffer(stream); 1695 FrameStream *stream; local 1703 stream 1732 FrameStream *stream = (FrameStream *)gData->stream; local 1787 FrameStream *stream = (FrameStream *)(gData->stream); local [all...] |
/frameworks/base/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | mp4enc_api.cpp | 702 video->bitstream1 = BitStreamCreateEnc(2 * 4096); /*allocate working stream 1*/ 704 video->bitstream2 = BitStreamCreateEnc(2 * 4096); /*allocate working stream 2*/ 706 video->bitstream3 = BitStreamCreateEnc(2 * 4096); /*allocate working stream 3*/ 876 pVol->stream = (BitstreamEncVideo *)M4VENC_MALLOC(sizeof(BitstreamEncVideo)); /* allocate BitstreamEncVideo Instance */ 877 if (pVol->stream == NULL) goto CLEAN_UP; 1230 if (video->vol[idx]->stream) 1231 M4VENC_FREE(video->vol[idx]->stream); 1331 if (currVol->stream->bitstreamBuffer != video->overrunBuffer) // not used 1416 *size = video->vol[0]->stream->byteCount; 1429 /* Initialize Vol stream structur 2409 BitstreamEncVideo *stream = video->bitstream1; local 2572 BitstreamEncVideo *stream = currVol->stream; local [all...] |
H A D | mp4lib_int.h | 86 BitstreamEncVideo *stream; /* library bitstream buffer (input buffer) */ member in struct:tagVol
|
/frameworks/base/media/libstagefright/mpeg2ts/ |
H A D | ATSParser.cpp | 285 LOGI("uh oh. stream PIDs have changed."); 295 sp<Stream> stream = mStreams.editValueAt(i); 297 LOGI("PID 0x%08x => type 0x%02x", stream->pid(), stream->type()); 354 sp<Stream> stream = new Stream(this, info.mPID, info.mType); local 355 mStreams.add(info.mPID, stream); 431 LOGV("new stream PID 0x%02x, type 0x%02x", elementaryPID, streamType); 739 LOGV("flushing stream 0x%04x size = %d", mElementaryPID, mBuffer->size());
|
/frameworks/base/services/java/com/android/server/ |
H A D | AppWidgetService.java | 1207 FileInputStream stream = file.openRead(); 1208 readStateFromFileLocked(stream); 1210 if (stream != null) { 1212 stream.close(); 1224 FileOutputStream stream; 1226 stream = file.startWrite(); 1227 if (writeStateToFileLocked(stream)) { 1228 file.finishWrite(stream); 1230 file.failWrite(stream); 1238 boolean writeStateToFileLocked(FileOutputStream stream) { argument 1293 readStateFromFileLocked(FileInputStream stream) argument [all...] |
/frameworks/base/voip/jni/rtp/ |
H A D | AudioGroup.cpp | 68 // jitter buffer. For a stream at 8000Hz it takes 32 kilobytes. These numbers 71 // Originally a stream does not send packets when it is receive-only or there is 76 // silence packet on the stream for every second. It should be good enough to 77 // keep the stream alive with relatively low resources. 162 LOGD("stream[%d] is dead", mSocket); 221 LOGD("stream[%d] is configured as %s %dkHz %dms mode %d", mSocket, 272 LOGV("stream[%d] skips %d packets", mSocket, skipped); 337 LOGV("stream[%d] no data", mSocket); 342 // Special case for device stream. 353 LOGV("stream[ 670 add(AudioStream *stream) argument 939 AudioStream *stream = NULL; local [all...] |
/frameworks/base/media/java/android/media/ |
H A D | AudioManager.java | 101 * @hide Broadcast intent when the volume for a particular stream type changes. 102 * Includes the stream, the new volume and previous volumes 132 * @hide The stream type for the volume changed intent. 137 * @hide The volume associated with the stream for the volume changed intent. 143 * @hide The previous volume associated with the stream for the volume changed intent. 148 /** The audio stream for phone calls */ 150 /** The audio stream for system sounds */ 152 /** The audio stream for the phone ring */ 154 /** The audio stream for music playback */ 156 /** The audio stream fo 378 preDispatchKeyEvent(int keyCode, int stream) argument 399 handleKeyDown(int keyCode, int stream) argument 428 handleKeyUp(int keyCode, int stream) argument [all...] |
H A D | AudioService.java | 105 /** Used when a message should be shared across all stream types. */ 190 /* STREAM_VOLUME_ALIAS[] indicates for each stream if it uses the volume settings 191 * of another stream: This avoids multiplying the volume settings for hidden 192 * stream types that follow other stream behavior for volume settings 426 // Correct stream index values for streams with aliases 452 // devices (tablets) include media stream in silent mode whereas phones don't. 469 // Each stream will read its own persisted settings 482 private void setStreamVolumeIndex(int stream, int index) { argument 483 AudioSystem.setStreamVolumeIndex(stream, (inde [all...] |
/frameworks/base/services/audioflinger/ |
H A D | AudioPolicyService.cpp | 256 audio_io_handle_t AudioPolicyService::getOutput(audio_stream_type_t stream, argument 267 return mpAudioPolicy->get_output(mpAudioPolicy, stream, samplingRate, format, channels, flags); 271 audio_stream_type_t stream, 279 return mpAudioPolicy->start_output(mpAudioPolicy, output, stream, session); 283 audio_stream_type_t stream, 291 return mpAudioPolicy->stop_output(mpAudioPolicy, output, stream, session); 394 status_t AudioPolicyService::initStreamVolume(audio_stream_type_t stream, argument 404 if (stream < 0 || stream >= AUDIO_STREAM_CNT) { 407 mpAudioPolicy->init_stream_volume(mpAudioPolicy, stream, indexMi 270 startOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument 282 stopOutput(audio_io_handle_t output, audio_stream_type_t stream, int session) argument 411 setStreamVolumeIndex(audio_stream_type_t stream, int index) argument 426 getStreamVolumeIndex(audio_stream_type_t stream, int *index) argument 437 getStrategyForStream(audio_stream_type_t stream) argument 445 getDevicesForStream(audio_stream_type_t stream) argument 490 isStreamActive(int stream, uint32_t inPastMs) const argument 785 startToneCommand(int type, int stream) argument 812 volumeCommand(int stream, float volume, int output, int delayMs) argument 1018 setStreamVolume(audio_stream_type_t stream, float volume, audio_io_handle_t output, int delayMs) argument 1027 startTone(audio_policy_tone_t tone, audio_stream_type_t stream) argument 1435 aps_set_stream_output(void *service, audio_stream_type_t stream, audio_io_handle_t output) argument 1471 aps_set_stream_volume(void *service, audio_stream_type_t stream, float volume, audio_io_handle_t output, int delay_ms) argument 1481 aps_start_tone(void *service, audio_policy_tone_t tone, audio_stream_type_t stream) argument [all...] |
H A D | AudioFlinger.h | 102 virtual status_t setStreamVolume(int stream, float value, int output); 103 virtual status_t setStreamMute(int stream, bool muted); 105 virtual float streamVolume(int stream, int output) const; 106 virtual bool streamMute(int stream) const; 144 virtual status_t setStreamOutput(uint32_t stream, int output); 433 virtual audio_stream_t* stream() = 0; 716 virtual status_t setStreamVolume(int stream, float value); 717 virtual status_t setStreamMute(int stream, bool muted); 719 virtual float streamVolume(int stream) const; 720 virtual bool streamMute(int stream) cons 1364 audio_stream_out_t *stream; member in struct:android::AudioFlinger::AudioStreamOut 1372 audio_stream_in_t *stream; member in struct:android::AudioFlinger::AudioStreamIn [all...] |
H A D | AudioFlinger.cpp | 398 LOGE("invalid stream type"); 652 status_t AudioFlinger::setStreamVolume(int stream, float value, int output) argument 659 if (stream < 0 || uint32_t(stream) >= AUDIO_STREAM_CNT) { 672 mStreamTypes[stream].volume = value; 676 mPlaybackThreads.valueAt(i)->setStreamVolume(stream, value); 679 thread->setStreamVolume(stream, value); 685 status_t AudioFlinger::setStreamMute(int stream, bool muted) argument 692 if (stream < 0 || uint32_t(stream) > 705 streamVolume(int stream, int output) const argument 1602 setStreamVolume(int stream, float value) argument 1608 setStreamMute(int stream, bool muted) argument 1811 audio_stream_t* AudioFlinger::PlaybackThread::stream() function in class:android::AudioFlinger::PlaybackThread 4890 audio_stream_t* AudioFlinger::RecordThread::stream() function in class:android::AudioFlinger::RecordThread 5171 setStreamOutput(uint32_t stream, int output) argument 6143 audio_stream_t *stream = thread->stream(); local 6465 audio_stream_t *stream = thread->stream(); local 6501 audio_stream_t *stream = thread->stream(); local [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
H A D | PhoneWindowManager.java | 2615 void handleVolumeKey(int stream, int keycode) { argument 2626 audioService.adjustStreamVolume(stream,
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | BatteryStatsImpl.java | 4871 FileOutputStream stream = new FileOutputStream(mFile.chooseForWrite()); 4872 stream.write(next.marshall()); 4873 stream.flush(); 4874 FileUtils.sync(stream); 4875 stream.close(); 4886 static byte[] readFully(FileInputStream stream) throws java.io.IOException { argument 4888 int avail = stream.available(); 4891 int amt = stream.read(data, pos, data.length-pos); 4900 avail = stream.available(); 4922 FileInputStream stream [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | WebView.java | 1944 * Saves the view data to the output stream. The output is highly 1947 * @param stream The {@link OutputStream} to save to 1951 public boolean saveViewState(OutputStream stream) { argument 1953 return ViewStateSerializer.serializeViewState(stream, this); 1961 * Loads the view data from the input stream. See 1963 * @param stream The {@link InputStream} to load from 1967 public boolean loadViewState(InputStream stream) { argument 1969 mLoadedPicture = ViewStateSerializer.deserializeViewState(stream, this); 6064 // Since all events are handled asynchronously, we always want the gesture stream. 8201 // ScaleGestureDetector needs a consistent event stream t [all...] |