Home
last modified time | relevance | path

Searched refs:streams (Results 1 – 25 of 36) sorted by relevance

12

/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/
Dvolumes.pfw4 /Policy/policy/streams/voice_call/applicable_volume_profile/volume_profile = voice_call
5 /Policy/policy/streams/system/applicable_volume_profile/volume_profile = system
6 /Policy/policy/streams/ring/applicable_volume_profile/volume_profile = ring
7 /Policy/policy/streams/music/applicable_volume_profile/volume_profile = music
8 /Policy/policy/streams/alarm/applicable_volume_profile/volume_profile = alarm
9 /Policy/policy/streams/notification/applicable_volume_profile/volume_profile = notification
10 /Policy/policy/streams/bluetooth_sco/applicable_volume_profile/volume_profile = bluetooth_sco
11 …/Policy/policy/streams/enforced_audible/applicable_volume_profile/volume_profile = enforced_audible
12 /Policy/policy/streams/tts/applicable_volume_profile/volume_profile = tts
13 /Policy/policy/streams/accessibility/applicable_volume_profile/volume_profile = accessibility
[all …]
/frameworks/av/services/audiopolicy/common/include/
Dpolicy.h189 static inline bool hasStream(const android::StreamTypeVector &streams, in hasStream() argument
192 return std::find(begin(streams), end(streams), streamType) != end(streams); in hasStream()
200 static inline bool hasVoiceStream(const android::StreamTypeVector &streams) in hasVoiceStream() argument
202 return hasStream(streams, AUDIO_STREAM_VOICE_CALL); in hasVoiceStream()
/frameworks/base/media/jni/soundpool/
DStreamManager.cpp48 StreamMap::StreamMap(int32_t streams) { in StreamMap() argument
49 ALOGV("%s(%d)", __func__, streams); in StreamMap()
50 if (streams > kMaxStreams) { in StreamMap()
51 ALOGW("%s: requested %d streams, clamping to %d", __func__, streams, kMaxStreams); in StreamMap()
52 streams = kMaxStreams; in StreamMap()
53 } else if (streams < 1) { in StreamMap()
54 ALOGW("%s: requested %d streams, clamping to 1", __func__, streams); in StreamMap()
55 streams = 1; in StreamMap()
57 mStreamPoolSize = streams * 2; in StreamMap()
101 int32_t streams, size_t threads, const audio_attributes_t* attributes) in StreamManager() argument
[all …]
DStreamManager.h290 explicit StreamMap(int32_t streams);
389 StreamManager(int32_t streams, size_t threads, const audio_attributes_t* attributes);
/frameworks/base/wifi/java/android/net/wifi/nl80211/
DDeviceWiphyCapabilities.java172 public void setMaxNumberTxSpatialStreams(int streams) { in setMaxNumberTxSpatialStreams() argument
173 mMaxNumberTxSpatialStreams = streams; in setMaxNumberTxSpatialStreams()
192 public void setMaxNumberRxSpatialStreams(int streams) { in setMaxNumberRxSpatialStreams() argument
193 mMaxNumberRxSpatialStreams = streams; in setMaxNumberRxSpatialStreams()
/frameworks/av/services/audiopolicy/engine/common/src/
DProductStrategy.cpp106 StreamTypeVector streams; in getSupportedStreams() local
108 if (std::find(begin(streams), end(streams), supportedAttr.mStream) == end(streams) && in getSupportedStreams()
110 streams.push_back(supportedAttr.mStream); in getSupportedStreams()
113 return streams; in getSupportedStreams()
DEngineBase.cpp144 const auto& streams = volumeGroup.second->getStreamTypes(); in loadAudioPolicyEngineConfig() local
145 return std::find(std::begin(streams), std::end(streams), streamType) != in loadAudioPolicyEngineConfig()
146 std::end(streams); in loadAudioPolicyEngineConfig()
/frameworks/av/media/libaudioclient/include/media/
DAudioVolumeGroup.h34 const StreamTypeVector &streams) : in AudioVolumeGroup() argument
35 mName(name), mGroupId(group), mAudioAttributes(attributes), mStreams(streams) {} in AudioVolumeGroup()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Device.cpp371 std::vector<wp<Camera3StreamInterface>> streams; in disconnectImpl() local
407 streams.reserve(mOutputStreams.size() + (mInputStream != nullptr ? 1 : 0)); in disconnectImpl()
409 streams.push_back(mOutputStreams[i]); in disconnectImpl()
412 streams.push_back(mInputStream); in disconnectImpl()
457 for (auto& weakStream : streams) { in disconnectImpl()
940 camera_metadata_ro_entry streams = request.find(ANDROID_REQUEST_OUTPUT_STREAMS); in convertToRequestList() local
943 for (size_t i = 0; i < streams.count; i++) { in convertToRequestList()
944 surfaceMap[streams.data.i32[i]].push_back(0); in convertToRequestList()
2257 camera_metadata_entry_t streams = in createCaptureRequest() local
2259 if (streams.count == 0) { in createCaptureRequest()
[all …]
DCamera3OfflineSession.cpp164 std::vector<wp<Camera3StreamInterface>> streams; in disconnectImpl() local
165 streams.reserve(mOutputStreams.size() + (mInputStream != nullptr ? 1 : 0)); in disconnectImpl()
167 streams.push_back(mOutputStreams[i]); in disconnectImpl()
170 streams.push_back(mInputStream); in disconnectImpl()
191 for (auto& weakStream : streams) { in disconnectImpl()
DBufferUtils.cpp61 void BufferRecords::takeBufferCaches(BufferRecords& other, const std::vector<int32_t>& streams) { in takeBufferCaches() argument
67 for (auto streamId : streams) { in takeBufferCaches()
DBufferUtils.h97 void takeBufferCaches(BufferRecords& other, const std::vector<int32_t>& streams);
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp422 StreamTypeVector streams = streamTypes; in setVolume() local
426 if (streams.empty()) { in setVolume()
427 streams.push_back(AUDIO_STREAM_MUSIC); in setVolume()
441 for (const auto &stream : streams) { in setVolume()
461 if (hasStream(streams, AUDIO_STREAM_BLUETOOTH_SCO)) { in setVolume()
464 for (const auto &stream : streams) { in setVolume()
659 VolumeSource volumeSource, const StreamTypeVector &streams, in setVolume() argument
665 volumeDb, volumeSource, streams, deviceTypes, delayMs, force); in setVolume()
/frameworks/base/media/java/android/media/
DAudioManagerInternal.java75 int getRingerModeAffectedStreams(int streams); in getRingerModeAffectedStreams() argument
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioOutputDescriptor.h162 VolumeSource volumeSource, const StreamTypeVector &streams,
353 VolumeSource volumeSource, const StreamTypeVector &streams,
427 VolumeSource volumeSource, const StreamTypeVector &streams,
/frameworks/hardware/interfaces/cameraservice/device/2.0/
Dtypes.hal320 * cases when they would require create more streams than the limits the
340 * buffer streams simultaneously. The ICameraDevice may be able to share the buffers used
342 * footprint. The client must only set the same set id for the streams that are not
358 * Note: this must only be used when using deferred streams. Otherwise, it
366 * Note: this must only be used when using deferred streams. Otherwise, it
/frameworks/av/media/libeffects/config/src/
DEffectsConfig.cpp235 bool parseStream(const XMLElement& xmlStream, Effects& effects, std::vector<Stream>* streams) { in parseStream() argument
260 streams->push_back(std::move(stream)); in parseStream()
/frameworks/av/services/audioflinger/
DPatchPanel.cpp764 if (module.second.streams.count(stream)) { in getDownstreamSoftwarePatches()
787 mInsertedModules[audioHwDevice->handle()].streams.insert(stream); in notifyStreamOpened()
794 module.second.streams.erase(stream); in notifyStreamClosed()
845 if (!module.second.streams.empty() || !module.second.sw_patches.empty()) { in dump()
851 for (const auto& stream : module.second.streams) { in dump()
DPatchPanel.h257 std::set<audio_io_handle_t> streams; member
/frameworks/hardware/interfaces/cameraservice/service/2.1/
Dtypes.hal38 * The physical cameras that are unavailable to use (via physical streams)
/frameworks/base/tests/AccessoryDisplay/
DREADME36 an encoder and streams the output to the sink over USB. Then
/frameworks/base/core/java/android/content/
DIntent.java11253 final ArrayList<Uri> streams = getParcelableArrayListExtra(EXTRA_STREAM); in fixUris() local
11254 if (streams != null) { in fixUris()
11256 for (int i = 0; i < streams.size(); i++) { in fixUris()
11257 newStreams.add(maybeAddUserId(streams.get(i), contentUserHint)); in fixUris()
11344 final ArrayList<Uri> streams = getParcelableArrayListExtra(EXTRA_STREAM); in migrateExtraStreamToClipData() local
11348 if (streams != null) { in migrateExtraStreamToClipData()
11349 num = streams.size(); in migrateExtraStreamToClipData()
11368 makeClipItem(streams, texts, htmlTexts, 0)); in migrateExtraStreamToClipData()
11371 clipData.addItem(makeClipItem(streams, texts, htmlTexts, i)); in migrateExtraStreamToClipData()
11439 private static ClipData.Item makeClipItem(ArrayList<Uri> streams, ArrayList<CharSequence> texts, in makeClipItem() argument
[all …]
/frameworks/base/core/proto/android/providers/settings/
Dsystem.proto230 // Determines which streams are affected by ringer mode changes. The stream
234 // Which streams are affected by mute. The stream type's bit should be set
/frameworks/base/services/core/java/com/android/server/notification/
DZenModeHelper.java1347 public int getRingerModeAffectedStreams(int streams) { in getRingerModeAffectedStreams() argument
1350 streams |= (1 << AudioSystem.STREAM_RING) | in getRingerModeAffectedStreams()
1357 streams |= (1 << AudioSystem.STREAM_ALARM) | in getRingerModeAffectedStreams()
1361 streams &= ~((1 << AudioSystem.STREAM_ALARM) | in getRingerModeAffectedStreams()
1366 return streams; in getRingerModeAffectedStreams()
/frameworks/av/services/camera/libcameraservice/api2/
DCameraDeviceClient.cpp682 streamConfiguration.streams.resize(streamCount); in convertToHALStreamCombination()
685 streamConfiguration.streams[streamIdx++] = {{/*streamId*/0, in convertToHALStreamCombination()
725 &streamConfiguration.streams[streamIdx++]); in convertToHALStreamCombination()
774 streamConfiguration.streams.resize(streamCount); in convertToHALStreamCombination()
780 physicalCameraId, &streamConfiguration.streams[streamIdx++]); in convertToHALStreamCombination()
785 physicalCameraId, &streamConfiguration.streams[streamIdx++]); in convertToHALStreamCombination()

12