/frameworks/av/services/audiopolicy/engineconfigurable/parameter-framework/examples/Settings/ |
D | volumes.pfw | 4 /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/camera/libcameraservice/utils/ |
D | SessionConfigurationUtilsHidl.cpp | 48 hidl.streams.resize(aidl.streams.size()); in convertAidlToHidl37StreamCombination() 50 for (const auto &stream : aidl.streams) { in convertAidlToHidl37StreamCombination() 65 hidl.streams[i].groupId = stream.groupId; in convertAidlToHidl37StreamCombination() 66 hidl.streams[i].sensorPixelModesUsed.resize(stream.sensorPixelModesUsed.size()); in convertAidlToHidl37StreamCombination() 69 hidl.streams[i].sensorPixelModesUsed[j] = in convertAidlToHidl37StreamCombination() 75 hidl.streams[i].v3_4.physicalCameraId = stream.physicalCameraId; in convertAidlToHidl37StreamCombination() 80 hidl.streams[i].v3_4.bufferSize = static_cast<uint32_t>(stream.bufferSize); in convertAidlToHidl37StreamCombination() 83 hidl.streams[i].v3_4.v3_2.id = stream.id; in convertAidlToHidl37StreamCombination() 84 hidl.streams[i].v3_4.v3_2.format = in convertAidlToHidl37StreamCombination() 90 hidl.streams[i].v3_4.v3_2.width = static_cast<uint32_t>(stream.width); in convertAidlToHidl37StreamCombination() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/ |
D | MultiResolutionImageReader.java | 134 @NonNull Collection<MultiResolutionStreamInfo> streams, in MultiResolutionImageReader() 140 if (streams == null || streams.size() <= 1) { in MultiResolutionImageReader() 154 int numImageReaders = streams.size(); in MultiResolutionImageReader() 158 for (MultiResolutionStreamInfo streamInfo : streams) { in MultiResolutionImageReader() 231 @NonNull Collection<MultiResolutionStreamInfo> streams, in MultiResolutionImageReader() 238 if (streams == null || streams.size() <= 1) { in MultiResolutionImageReader() 252 int numImageReaders = streams.size(); in MultiResolutionImageReader() 256 for (MultiResolutionStreamInfo streamInfo : streams) { in MultiResolutionImageReader()
|
/frameworks/av/services/audiopolicy/common/include/ |
D | policy.h | 197 static inline bool hasStream(const android::StreamTypeVector &streams, in hasStream() argument 200 return std::find(begin(streams), end(streams), streamType) != end(streams); in hasStream() 208 static inline bool hasVoiceStream(const android::StreamTypeVector &streams) in hasVoiceStream() argument 210 return hasStream(streams, AUDIO_STREAM_VOICE_CALL); in hasVoiceStream()
|
/frameworks/base/media/jni/soundpool/ |
D | StreamManager.cpp | 55 StreamMap::StreamMap(int32_t streams) { in StreamMap() argument 56 ALOGV("%s(%d)", __func__, streams); in StreamMap() 57 if (streams > kMaxStreams) { in StreamMap() 58 ALOGW("%s: requested %d streams, clamping to %d", __func__, streams, kMaxStreams); in StreamMap() 59 streams = kMaxStreams; in StreamMap() 60 } else if (streams < 1) { in StreamMap() 61 ALOGW("%s: requested %d streams, clamping to 1", __func__, streams); in StreamMap() 62 streams = 1; in StreamMap() 64 mStreamPoolSize = streams * 2; in StreamMap() 108 int32_t streams, size_t threads, const audio_attributes_t& attributes, in StreamManager() argument [all …]
|
/frameworks/av/services/camera/virtualcamera/tests/ |
D | VirtualCameraSessionTest.cc | 179 streamConfiguration.streams = { in TEST_F() 193 EXPECT_THAT(halStreams, SizeIs(streamConfiguration.streams.size())); in TEST_F() 203 streamConfiguration.streams = {createStream(0, kVgaWidth, kVgaHeight, format), in TEST_F() 212 streamConfiguration.streams = {createStream(0, kVgaWidth, kVgaHeight, format), in TEST_F() 239 streamConfiguration.streams = {createStream(kStreamId, kVgaWidth, kVgaHeight, in TEST_F() 264 streamConfiguration.streams = {createStream(kStreamId, kVgaWidth, kVgaHeight, in TEST_F() 291 streamConfiguration.streams = { in TEST_F() 341 streamConfiguration.streams = {createStream( in TEST_F() 369 streamConfiguration.streams = {createStream( in TEST_F() 396 streamConfiguration.streams = {createStream( in TEST_F() [all …]
|
D | VirtualCameraDeviceTest.cc | 151 .streams = std::vector<Stream>{Stream{ in TEST_P() 314 std::fill_n(std::back_insert_iterator(config.streams), in TEST_F() 325 std::fill_n(std::back_insert_iterator(config.streams), in TEST_F() 336 std::fill_n(std::back_insert_iterator(config.streams), in TEST_F() 346 std::fill_n(std::back_insert_iterator(config.streams), in TEST_F()
|
/frameworks/av/services/camera/libcameraservice/device3/hidl/ |
D | HidlCamera3Device.cpp | 914 requestedConfiguration3_2.streams.resize(config->num_streams); in configureStreams() 915 requestedConfiguration3_4.streams.resize(config->num_streams); in configureStreams() 916 requestedConfiguration3_7.streams.resize(config->num_streams); in configureStreams() 919 device::V3_2::Stream &dst3_2 = requestedConfiguration3_2.streams[i]; in configureStreams() 920 device::V3_4::Stream &dst3_4 = requestedConfiguration3_4.streams[i]; in configureStreams() 921 device::V3_7::Stream &dst3_7 = requestedConfiguration3_7.streams[i]; in configureStreams() 922 camera3::camera_stream_t *src = config->streams[i]; in configureStreams() 940 __FUNCTION__, streamId, config->streams[i]->stream_type); in configureStreams() 1034 finalConfiguration.streams.resize(finalConfiguration3_4.streams.size()); in configureStreams() 1035 for (size_t i = 0; i < finalConfiguration3_4.streams.size(); i++) { in configureStreams() [all …]
|
/frameworks/av/services/camera/virtualcamera/ |
D | VirtualCameraSession.cc | 199 Stream getHighestResolutionStream(const std::vector<Stream>& streams) { in getHighestResolutionStream() argument 200 return *(std::max_element(streams.begin(), streams.end(), in getHighestResolutionStream() 352 auto& streams = in_requestedConfiguration.streams; in configureStreams() local 355 halStreams.resize(in_requestedConfiguration.streams.size()); in configureStreams() 367 for (int i = 0; i < in_requestedConfiguration.streams.size(); ++i) { in configureStreams() 368 halStreams[i] = getHalStream(streams[i]); in configureStreams() 369 if (mSessionContext.initializeStream(streams[i])) { in configureStreams() 370 ALOGV("Configured new stream: %s", streams[i].toString().c_str()); in configureStreams() 375 streams, virtualCamera->getInputConfigs()); in configureStreams()
|
D | VirtualCameraDevice.cc | 472 if (streamConfiguration.streams.empty()) { in isStreamCombinationSupported() 477 const std::vector<Stream>& streams = streamConfiguration.streams; in isStreamCombinationSupported() local 479 Resolution firstStreamResolution(streams[0].width, streams[0].height); in isStreamCombinationSupported() 484 if (!std::all_of(streams.begin(), streams.end(), isSameAspectRatioAsFirst)) { in isStreamCombinationSupported() 495 for (const Stream& stream : streamConfiguration.streams) { in isStreamCombinationSupported()
|
/frameworks/av/services/audiopolicy/engine/common/src/ |
D | ProductStrategy.cpp | 94 StreamTypeVector streams; in getSupportedStreams() local 96 if (std::find(begin(streams), end(streams), supportedAttr.getStreamType()) in getSupportedStreams() 97 == end(streams) && supportedAttr.getStreamType() != AUDIO_STREAM_DEFAULT) { in getSupportedStreams() 98 streams.push_back(supportedAttr.getStreamType()); in getSupportedStreams() 101 return streams; in getSupportedStreams()
|
/frameworks/native/libs/bufferstreams/ |
D | README.md | 6 For more information on reactive streams, please see <https://www.reactive-streams.org/>
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioVolumeGroup.h | 36 const StreamTypeVector &streams) : in AudioVolumeGroup() argument 37 mName(name), mGroupId(group), mAudioAttributes(attributes), mStreams(streams) {} in AudioVolumeGroup()
|
/frameworks/av/services/camera/libcameraservice/device3/ |
D | Camera3OfflineSession.cpp | 127 std::vector<wp<Camera3StreamInterface>> streams; in disconnectImpl() local 128 streams.reserve(mOutputStreams.size() + (mInputStream != nullptr ? 1 : 0)); in disconnectImpl() 130 streams.push_back(mOutputStreams[i]); in disconnectImpl() 133 streams.push_back(mInputStream); in disconnectImpl() 152 for (auto& weakStream : streams) { in disconnectImpl()
|
D | Camera3DeviceInjectionMethods.cpp | 184 mInjectionStreams.push_back(injectionConfig.streams[i]); in storeInjectionConfig() 186 mInjectionConfig.streams = mInjectionStreams.editArray(); in storeInjectionConfig() 269 mInjectionConfig.streams = nullptr; in injectionDisconnectImpl()
|
/frameworks/av/media/libaudioclient/ |
D | AudioVolumeGroup.cpp | 55 aidl.streams = VALUE_OR_RETURN( in legacy2aidl_AudioVolumeGroup() 70 aidl.streams, in aidl2legacy_AudioVolumeGroup()
|
/frameworks/base/wifi/java/src/android/net/wifi/nl80211/ |
D | DeviceWiphyCapabilities.java | 192 public void setMaxNumberTxSpatialStreams(int streams) { in setMaxNumberTxSpatialStreams() argument 193 mMaxNumberTxSpatialStreams = streams; in setMaxNumberTxSpatialStreams() 231 public void setMaxNumberRxSpatialStreams(int streams) { in setMaxNumberRxSpatialStreams() argument 232 mMaxNumberRxSpatialStreams = streams; in setMaxNumberRxSpatialStreams()
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | AudioVolumeGroup.aidl | 30 AudioStreamType[] streams;
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityCallerState.java | 191 final ArrayList<Uri> streams = tryToUnparcelArrayListExtraStreamsUri(intent); in getContentUrisFromIntent() local 192 if (streams == null) { in getContentUrisFromIntent() 195 for (int i = streams.size() - 1; i >= 0; i--) { in getContentUrisFromIntent() 196 addUriIfContentUri(streams.get(i), uris); in getContentUrisFromIntent()
|
/frameworks/base/media/java/android/media/ |
D | AudioManagerInternal.java | 86 int getRingerModeAffectedStreams(int streams); in getRingerModeAffectedStreams() argument
|
/frameworks/av/media/tests/SampleVideoEncoder/ |
D | README.md | 3 This is a sample android application for encoding AVC/HEVC streams with B-Frames enabled. It uses M… 38 The app also contains a test, which will test the MediaCodec APIs for encoding avc/hevc streams wit…
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioOutputDescriptor.cpp | 524 StreamTypeVector streams = streamTypes; in setVolume() local 529 if (streams.empty()) { in setVolume() 530 streams.push_back(AUDIO_STREAM_MUSIC); in setVolume() 550 for (const auto &stream : streams) { in setVolume() 571 if (hasStream(streams, AUDIO_STREAM_BLUETOOTH_SCO)) { in setVolume() 578 for (const auto &stream : streams) { in setVolume() 834 VolumeSource volumeSource, const StreamTypeVector &streams, in setVolume() argument 841 volumeDb, muted, volumeSource, streams, deviceTypes, delayMs, force, isVoiceVolSrc); in setVolume()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioOutputDescriptor.h | 166 VolumeSource volumeSource, const StreamTypeVector &streams, 397 void setSwMute(bool muted, VolumeSource vs, const StreamTypeVector &streams, 401 VolumeSource volumeSource, const StreamTypeVector &streams, 517 VolumeSource volumeSource, const StreamTypeVector &streams,
|
/frameworks/av/services/audioflinger/ |
D | PatchPanel.cpp | 887 if (module.second.streams.count(stream)) { in getDownstreamSoftwarePatches() 911 mInsertedModules[audioHwDevice->handle()].streams.insert(stream); in notifyStreamOpened() 928 module.second.streams.erase(stream); in notifyStreamClosed() 954 if (!mInsertedModules[module].streams.empty()) { in addSoftwarePatchToInsertedModules_l() 955 mAfPatchPanelCallback->updateDownStreamPatches_l(patch, mInsertedModules[module].streams); in addSoftwarePatchToInsertedModules_l() 983 if (!module.second.streams.empty() || !module.second.sw_patches.empty()) { in dump() 989 for (const auto& stream : module.second.streams) { in dump()
|
/frameworks/hardware/interfaces/cameraservice/device/2.0/ |
D | types.hal | 320 * 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
|