/frameworks/av/services/camera/libcameraservice/device2/ |
H A D | Camera2Device.cpp | 250 sp<StreamAdapter> stream = new StreamAdapter(mHal2Device); local 255 res = stream->connectToDevice(consumer, width, height, format, size); 257 ALOGE("%s: Camera %d: Unable to create stream (%d x %d, format %x):" 263 *id = stream->getId(); 265 mStreams.push_back(stream); 295 ALOGE("%s: Camera %d: Output stream %d doesn't exist; can't create " 296 "reprocess stream from it!", __FUNCTION__, mId, outputId); 300 sp<ReprocessStreamAdapter> stream = new ReprocessStreamAdapter(mHal2Device); local 302 res = stream->connectToDevice((*streamI)); 304 ALOGE("%s: Camera %d: Unable to create reprocessing stream fro 1285 StreamAdapter* stream = local 1312 StreamAdapter *stream = local 1347 StreamAdapter *stream = local 1519 ReprocessStreamAdapter* stream = local 1550 ReprocessStreamAdapter *stream = local [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Device.cpp | 414 lines.appendFormat(" No input stream.\n"); 614 // Stream configuration successfully configure to empty stream configuration. 663 ALOGV("Camera %d: Creating new input stream %d: %d x %d, format %d", 696 ALOGE("%s: Cannot create more than 1 input stream", __FUNCTION__); 713 ALOGE("%s: Can't reconfigure device for new stream %d: %s (%d)", 720 ALOGV("Camera %d: Created input stream", mId); 734 ALOGV("Camera %d: Creating ZSL stream %d: %d x %d, depth %d", 767 ALOGE("%s: Cannot create more than 1 input stream", __FUNCTION__); 777 ALOGE("%s: Can't add new stream to set: %s (%d)", 793 ALOGE("%s: Can't reconfigure device for new stream 1405 sp<Camera3OutputStreamInterface> stream = local 1888 Camera3Stream *stream = Camera3Stream::cast(outputBuffers[i].stream); local 2182 Camera3Stream *stream = local 2255 Camera3Stream *stream = local [all...] |
/frameworks/base/core/jni/ |
H A D | android_media_AudioSystem.cpp | 265 android_media_AudioSystem_isStreamActive(JNIEnv *env, jobject thiz, jint stream, jint inPastMs) argument 268 AudioSystem::isStreamActive((audio_stream_type_t) stream, &state, inPastMs); 273 android_media_AudioSystem_isStreamActiveRemotely(JNIEnv *env, jobject thiz, jint stream, argument 277 AudioSystem::isStreamActiveRemotely((audio_stream_type_t) stream, &state, inPastMs); 378 android_media_AudioSystem_initStreamVolume(JNIEnv *env, jobject thiz, jint stream, jint indexMin, jint indexMax) argument 380 return (jint) check_AudioSystem_Command(AudioSystem::initStreamVolume(static_cast <audio_stream_type_t>(stream), 388 jint stream, 393 AudioSystem::setStreamVolumeIndex(static_cast <audio_stream_type_t>(stream), 401 jint stream, 405 if (AudioSystem::getStreamVolumeIndex(static_cast <audio_stream_type_t>(stream), 386 android_media_AudioSystem_setStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint index, jint device) argument 399 android_media_AudioSystem_getStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint device) argument 447 android_media_AudioSystem_getDevicesForStream(JNIEnv *env, jobject thiz, jint stream) argument 465 android_media_AudioSystem_getOutputLatency(JNIEnv *env, jobject clazz, jint stream) argument [all...] |
H A D | android_hardware_camera2_DngCreator.cpp | 408 virtual status_t writeToStream(Output& stream, uint32_t count); 433 status_t InputStripSource::writeToStream(Output& stream, uint32_t count) { argument 457 "Error encountered while skip bytes in input stream."); 501 ALOGV("%s: Using stream per-row write for strip.", __FUNCTION__); 503 if (stream.write(rowBytes, 0, mBytesPerSample * mSamplesPerPixel * mWidth) != OK || 511 ALOGV("%s: Using stream per-pixel write for strip.", __FUNCTION__); 543 virtual status_t writeToStream(Output& stream, uint32_t count); 568 status_t DirectStripSource::writeToStream(Output& stream, uint32_t count) { argument 582 if (stream.write(mPixelBytes, mOffset, fullSize) != OK || mEnv->ExceptionCheck()) { 592 if (stream [all...] |
/frameworks/base/graphics/java/android/graphics/ |
H A D | Bitmap.java | 995 * @param stream The outputstream to write the compressed data. 996 * @return true if successfully compressed to the specified stream. 998 public boolean compress(CompressFormat format, int quality, OutputStream stream) { argument 1001 if (stream == null) { 1009 stream, new byte[WORKING_COMPRESS_STORAGE]); 1619 int quality, OutputStream stream, 1618 nativeCompress(long nativeBitmap, int format, int quality, OutputStream stream, byte[] tempStorage) argument
|
/frameworks/base/media/java/android/media/ |
H A D | AudioSystem.java | 37 /* The default audio stream */ 39 /* The audio stream for phone calls */ 41 /* The audio stream for system sounds */ 43 /* The audio stream for the phone ring and message alerts */ 45 /* The audio stream for music playback */ 47 /* The audio stream for alarms */ 49 /* The audio stream for notifications */ 51 /* @hide The audio stream for phone calls when connected on bluetooth */ 53 /* @hide The audio stream for enforced system sounds in certain countries (e.g camera in Japan) */ 55 /* @hide The audio stream fo 118 isStreamActive(int stream, int inPastMs) argument 126 isStreamActiveRemotely(int stream, int inPastMs) argument 542 initStreamVolume(int stream, int indexMin, int indexMax) argument 543 setStreamVolumeIndex(int stream, int index, int device) argument 544 getStreamVolumeIndex(int stream, int device) argument 549 getDevicesForStream(int stream) argument 554 getOutputLatency(int stream) argument [all...] |
H A D | MediaRouter.java | 591 * <p>A device that supports live audio routing will allow the media audio stream 596 * played on the media stream will be routed to the selected destination.</p> 1728 * @return the stream over which the playback associated with this route is performed 1748 Log.e(TAG, "Error getting local stream volume", e); 1766 Log.e(TAG, "Error setting local stream volume", e); 1785 Log.e(TAG, "Error setting local stream volume", e); 1802 Log.e(TAG, "Error getting local stream volume", e); 2179 * Defines over what stream type the media is presented. 2180 * @param stream 2182 public void setPlaybackStream(int stream) { argument [all...] |
H A D | AudioManager.java | 127 * @hide Broadcast intent when the volume for a particular stream type changes. 128 * Includes the stream, the new volume and previous volumes. 141 * @hide Broadcast intent when a stream mute state changes. 142 * Includes the stream that changed and the new mute state 197 * @hide The stream type for the volume changed intent. 202 * @hide The volume associated with the stream for the volume changed intent. 208 * @hide The previous volume associated with the stream for the volume changed intent. 235 * @hide The new stream volume mute state for the stream mute changed intent. 360 /** The audio stream fo 695 preDispatchKeyEvent(KeyEvent event, int stream) argument 721 handleKeyDown(KeyEvent event, int stream) argument 758 handleKeyUp(KeyEvent event, int stream) argument [all...] |
H A D | AudioService.java | 279 /* mStreamVolumeAlias[] indicates for each stream if it uses the volume settings 280 * of another stream: This avoids multiplying the volume settings for hidden 281 * stream types that follow other stream behavior for volume settings 345 // stream names used by dumpStreamStates() 477 // mVolumeControlStream is set by VolumePanel to temporarily force the stream type which volume 518 // case, the new requested volume, stream type and device are stored in mPendingVolumeCommand 751 // apply stream volume 796 public static String streamToString(int stream) { argument 797 if (stream > 3404 getDeviceForStream(int stream) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | VolumePanel.java | 129 // Pseudo stream type for master volume 131 // Pseudo stream type for remote volume 158 // True if we want to play tones on the system stream when the master stream is specified. 173 /** The component currently suppressing notification stream effects */ 178 /** Currently active stream that shows up at the top of the list of sliders */ 180 /** All the slider controls mapped by stream type */ 245 // List of stream types and their order 503 pw.print(" stream "); pw.print(sc.streamType); pw.print(":"); 722 Log.e(TAG, "Missing stream typ 1014 streamToString(int stream) argument [all...] |
/frameworks/rs/api/ |
H A D | gen_runtime.cpp | 438 stringstream stream; local 439 stream << "0x" << std::hex << hash << "l"; 440 return stream.str(); 587 istringstream stream(s); 589 stream >> rsType; 590 stream >> specName; 591 stream >> option;
|
/frameworks/support/v4/java/android/support/v4/media/session/ |
H A D | MediaSessionCompat.java | 191 * Set the stream this session is playing on. This will affect the system's 194 * will begin sending volume changes to the appropriate stream. 198 * @param stream The {@link AudioManager} stream this session is playing on. 200 public void setPlaybackToLocal(int stream) { argument 201 mImpl.setPlaybackToLocal(stream); 207 * current stream volume for this session. If {@link #setPlaybackToLocal} 208 * was previously called that stream will stop receiving volume changes for 904 void setPlaybackToLocal(int stream); argument 1113 public void setPlaybackToLocal(int stream) { argument 1816 setPlaybackToLocal(int stream) argument [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | mp4lib_int.h | 86 BitstreamEncVideo *stream; /* library bitstream buffer (input buffer) */ member in struct:tagVol
|
/frameworks/av/services/audioflinger/ |
H A D | AudioFlinger.cpp | 556 ALOGE("createTrack() invalid stream type %d", streamType); 894 status_t AudioFlinger::checkStreamType(audio_stream_type_t stream) const 896 if (uint32_t(stream) >= AUDIO_STREAM_CNT) { 897 ALOGW("setStreamVolume() invalid stream %d", stream); 901 if (uint32_t(stream) >= AUDIO_STREAM_PUBLIC_CNT && caller != getpid_cached) { 902 ALOGW("setStreamVolume() pid %d cannot use internal stream type %d", caller, stream); 909 status_t AudioFlinger::setStreamVolume(audio_stream_type_t stream, float value, argument 917 status_t status = checkStreamType(stream); 945 setStreamMute(audio_stream_type_t stream, bool muted) argument 971 streamVolume(audio_stream_type_t stream, audio_io_handle_t output) const argument 2173 invalidateStream(audio_stream_type_t stream) argument [all...] |
H A D | Threads.cpp | 1229 for (audio_stream_type_t stream = AUDIO_STREAM_MIN; stream < AUDIO_STREAM_CNT; 1230 stream = (audio_stream_type_t) (stream + 1)) { 1231 mStreamTypes[stream].volume = mAudioFlinger->streamVolume_l(stream); 1232 mStreamTypes[stream].mute = mAudioFlinger->streamMute_l(stream); 1346 mOutput->stream->common.set_parameters(&mOutput->stream 1592 setStreamVolume(audio_stream_type_t stream, float value) argument 1599 setStreamMute(audio_stream_type_t stream, bool muted) argument 2031 audio_stream_t* AudioFlinger::PlaybackThread::stream() const function in class:android::AudioFlinger::PlaybackThread [all...] |
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
H A D | AppWidgetServiceImpl.java | 2266 FileInputStream stream = file.openRead(); 2267 version = readProfileStateFromFileLocked(stream, profileId, loadedWidgets); 2268 IoUtils.closeQuietly(stream); 2355 FileOutputStream stream; 2357 stream = file.startWrite(); 2358 if (writeProfileStateToFileLocked(stream, profileId)) { 2359 file.finishWrite(stream); 2361 file.failWrite(stream); 2398 private boolean writeProfileStateToFileLocked(FileOutputStream stream, int userId) { argument 2403 out.setOutput(stream, "ut 2461 readProfileStateFromFileLocked(FileInputStream stream, int userId, List<LoadedWidgetState> outLoadedWidgets) argument [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ProcessStats.java | 1681 static byte[] readFully(InputStream stream, int[] outLen) throws IOException { argument 1683 final int initialAvail = stream.available(); 1686 int amt = stream.read(data, pos, data.length-pos); 1706 public void read(InputStream stream) { argument 1709 byte[] raw = readFully(stream, len); 1713 stream.close();
|
/frameworks/av/services/audiopolicy/ |
H A D | AudioPolicyManager.cpp | 534 // request to reuse existing output stream if one is already opened to reach the RX device 581 // request to reuse existing output stream if one is already opened to reach the TX 621 for (int stream = 0; stream < AUDIO_STREAM_CNT; stream++) { 622 if (stream == AUDIO_STREAM_PATCH) { 625 handleIncallSonification((audio_stream_type_t)stream, false, true); 724 for (int stream = 0; stream < AUDIO_STREAM_CNT; stream 870 getOutput(audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument 887 getOutputForAttr(const audio_attributes_t *attr, audio_io_handle_t *output, audio_session_t session, audio_stream_type_t *stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument 981 getOutputForDevice( audio_devices_t device, audio_session_t session __unused, audio_stream_type_t stream, uint32_t samplingRate, audio_format_t format, audio_channel_mask_t channelMask, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument 1236 startOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument 1341 stopOutput(audio_io_handle_t output, audio_stream_type_t stream, audio_session_t session) argument 1791 initStreamVolume(audio_stream_type_t stream, int indexMin, int indexMax) argument 1809 setStreamVolumeIndex(audio_stream_type_t stream, int index, audio_devices_t device) argument 1867 getStreamVolumeIndex(audio_stream_type_t stream, int *index, audio_devices_t device) argument 2062 isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const argument 2074 isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const argument 4319 getStrategyForStream(audio_stream_type_t stream) argument 4323 getDevicesForStream(audio_stream_type_t stream) argument 4352 getStrategy( audio_stream_type_t stream) argument 4436 handleNotificationRoutingForStream(audio_stream_type_t stream) argument 5643 computeVolume(audio_stream_type_t stream, int index, audio_io_handle_t output, audio_devices_t device) argument 5697 checkAndSetVolume(audio_stream_type_t stream, int index, audio_io_handle_t output, audio_devices_t device, int delayMs, bool force) argument 5806 setStreamMute(audio_stream_type_t stream, bool on, audio_io_handle_t output, int delayMs, audio_devices_t device) argument 5846 handleIncallSonification(audio_stream_type_t stream, bool starting, bool stateChange) argument 5972 changeRefCount(audio_stream_type_t stream, int delta) argument 6024 isStreamActive(audio_stream_type_t stream, uint32_t inPastMs, nsecs_t sysTime) const argument [all...] |