Searched defs:streams (Results 1 - 7 of 7) sorted by relevance

/frameworks/base/media/java/android/media/
H A DAudioManagerInternal.java59 int getRingerModeAffectedStreams(int streams); argument
/frameworks/av/services/audiopolicy/enginedefault/src/
H A DEngine.cpp89 StreamDescriptorCollection &streams = mApmObserver->getStreamDescriptors(); local
93 streams.setVolumeCurvePoint(static_cast<audio_stream_type_t>(i),
101 streams.setVolumeCurvePoint(AUDIO_STREAM_SYSTEM, Volume::DEVICE_CATEGORY_SPEAKER,
103 streams.setVolumeCurvePoint(AUDIO_STREAM_RING, Volume::DEVICE_CATEGORY_SPEAKER,
105 streams.setVolumeCurvePoint(AUDIO_STREAM_ALARM, Volume::DEVICE_CATEGORY_SPEAKER,
107 streams.setVolumeCurvePoint(AUDIO_STREAM_NOTIFICATION, Volume::DEVICE_CATEGORY_SPEAKER,
109 streams.setVolumeCurvePoint(AUDIO_STREAM_MUSIC, Volume::DEVICE_CATEGORY_SPEAKER,
111 streams.setVolumeCurvePoint(AUDIO_STREAM_ACCESSIBILITY, Volume::DEVICE_CATEGORY_SPEAKER,
134 StreamDescriptorCollection &streams = mApmObserver->getStreamDescriptors(); local
139 streams
[all...]
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DStreamingProcessor.cpp950 bool StreamingProcessor::isStreamActive(const Vector<int32_t> &streams, argument
952 for (size_t i = 0; i < streams.size(); i++) {
953 if (streams[i] == recordingStreamId) {
/frameworks/base/services/core/java/com/android/server/notification/
H A DZenModeHelper.java675 public int getRingerModeAffectedStreams(int streams) { argument
676 // ringtone, notification and system streams are always affected by ringer mode
677 streams |= (1 << AudioSystem.STREAM_RING) |
681 // alarm and music streams are only affected by ringer mode when in total silence
683 streams |= (1 << AudioSystem.STREAM_ALARM) |
686 streams &= ~((1 << AudioSystem.STREAM_ALARM) |
689 return streams;
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Device.cpp669 CLOGE("No streams configured");
674 SET_ERR_L("Can't set up streams: %s (%d)", strerror(-res), res);
679 CLOGE("No streams configured");
744 ALOGV("%s: Stopping activity to reconfigure streams", __FUNCTION__);
747 SET_ERR_L("Can't pause captures to reconfigure streams!");
773 ALOGV("%s: Restarting activity to reconfigure streams", __FUNCTION__);
815 ALOGV("%s: Stopping activity to reconfigure streams", __FUNCTION__);
818 SET_ERR_L("Can't pause captures to reconfigure streams!");
853 ALOGV("%s: Restarting activity to reconfigure streams", __FUNCTION__);
891 ALOGV("%s: Stopping activity to reconfigure streams", __FUNCTION_
1576 camera_metadata_entry_t streams = local
1660 Vector<camera3_stream_t*> streams; local
[all...]
/frameworks/base/core/java/android/content/
H A DIntent.java1084 * handle generic data streams). If using {@link #EXTRA_TEXT}, you can
8080 final ArrayList<Uri> streams = getParcelableArrayListExtra(EXTRA_STREAM);
8081 if (streams != null) {
8083 for (int i = 0; i < streams.size(); i++) {
8084 newStreams.add(maybeAddUserId(streams.get(i), contentUserHint));
8160 final ArrayList<Uri> streams = getParcelableArrayListExtra(EXTRA_STREAM);
8164 if (streams != null) {
8165 num = streams.size();
8184 makeClipItem(streams, texts, htmlTexts, 0));
8187 clipData.addItem(makeClipItem(streams, text
8215 makeClipItem(ArrayList<Uri> streams, ArrayList<CharSequence> texts, ArrayList<String> htmlTexts, int which) argument
[all...]
/frameworks/base/services/core/java/com/android/server/audio/
H A DAudioService.java261 /** Maximum volume index values for audio streams */
275 /** Minimum volume index values for audio streams */
293 * Some streams alias to different streams according to device category (phone or tablet) or
374 private int mRingerMode; // internal ringer mode, affects muting of underlying streams
644 // state on streams affected by ringer mode.
894 VolumeStreamState[] streams = mStreamStates = new VolumeStreamState[numStreamTypes];
897 streams[i] = new VolumeStreamState(System.VOLUME_SETTINGS[mStreamVolumeAlias[i]], i);
913 pw.print("\n- mute affected streams = 0x");
1119 // use stream type alias here so that streams wit
5621 dumpRingerModeStreams(PrintWriter pw, String type, int streams) argument
[all...]

Completed in 205 milliseconds