Home
last modified time | relevance | path

Searched refs:contentType (Results 1 – 25 of 41) sorted by relevance

12

/hardware/interfaces/audio/common/all-versions/default/
DHidlUtils.h46 AudioContentType* contentType);
47 static status_t audioContentTypeToHal(const AudioContentType& contentType,
179 AudioContentType* contentType) { in audioContentTypeFromHal() argument
180 *contentType = AudioContentType(halContentType); in audioContentTypeFromHal()
184 inline status_t HidlUtils::audioContentTypeToHal(const AudioContentType& contentType, in audioContentTypeToHal() argument
186 *halContentType = static_cast<audio_content_type_t>(contentType); in audioContentTypeToHal()
/hardware/interfaces/audio/aidl/android/hardware/audio/common/
DPlaybackTrackMetadata.aidl31 AudioContentType contentType = AudioContentType.UNKNOWN;
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.common/1/android/hardware/audio/common/
DPlaybackTrackMetadata.aidl38 …android.media.audio.common.AudioContentType contentType = android.media.audio.common.AudioContentT…
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.common/current/android/hardware/audio/common/
DPlaybackTrackMetadata.aidl38 …android.media.audio.common.AudioContentType contentType = android.media.audio.common.AudioContentT…
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.common/3/android/hardware/audio/common/
DPlaybackTrackMetadata.aidl38 …android.media.audio.common.AudioContentType contentType = android.media.audio.common.AudioContentT…
/hardware/interfaces/audio/aidl/aidl_api/android.hardware.audio.common/2/android/hardware/audio/common/
DPlaybackTrackMetadata.aidl38 …android.media.audio.common.AudioContentType contentType = android.media.audio.common.AudioContentT…
/hardware/interfaces/graphics/composer/2.4/utils/vts/
DComposerVts.cpp121 Error ComposerClient::setContentType(Display display, IComposerClient::ContentType contentType) { in setContentType() argument
122 return mClient->setContentType(display, contentType); in setContentType()
/hardware/interfaces/graphics/composer/2.4/vts/functional/
DVtsHalGraphicsComposerV2_4TargetTest.cpp192 void Test_setContentType(const ContentType& contentType, const char* contentTypeStr);
195 const ContentType& contentType, const char* contentTypeStr);
665 const ContentType& contentType, const char* contentTypeStr) { in Test_setContentTypeForDisplay() argument
667 std::find(capabilities.begin(), capabilities.end(), contentType) != capabilities.end(); in Test_setContentTypeForDisplay()
670 EXPECT_EQ(Error::UNSUPPORTED, mComposerClient->setContentType(display, contentType)); in Test_setContentTypeForDisplay()
676 EXPECT_EQ(Error::NONE, mComposerClient->setContentType(display, contentType)); in Test_setContentTypeForDisplay()
680 void GraphicsComposerHidlTest::Test_setContentType(const ContentType& contentType, in Test_setContentType() argument
688 Test_setContentTypeForDisplay(display.get(), supportedContentTypes, contentType, in Test_setContentType()
/hardware/interfaces/audio/common/7.1/enums/include/
Dandroid_audio_policy_configuration_V7_1-enums.h247 static inline bool isUnknownAudioContentType(const std::string& contentType) { in isUnknownAudioContentType() argument
248 return stringToAudioContentType(contentType) == AudioContentType::UNKNOWN; in isUnknownAudioContentType()
/hardware/interfaces/audio/common/7.0/enums/include/
Dandroid_audio_policy_configuration_V7_0-enums.h244 static inline bool isUnknownAudioContentType(const std::string& contentType) { in isUnknownAudioContentType() argument
245 return stringToAudioContentType(contentType) == AudioContentType::UNKNOWN; in isUnknownAudioContentType()
/hardware/interfaces/audio/common/all-versions/default/7.0/
DHidlUtils.cpp205 AudioContentType* contentType) { in audioContentTypeFromHal() argument
206 *contentType = audio_content_type_to_string(halContentType); in audioContentTypeFromHal()
207 if (!contentType->empty() && !xsd::isUnknownAudioContentType(*contentType)) { in audioContentTypeFromHal()
211 *contentType = toString(xsd::AudioContentType::AUDIO_CONTENT_TYPE_UNKNOWN); in audioContentTypeFromHal()
215 status_t HidlUtils::audioContentTypeToHal(const AudioContentType& contentType, in audioContentTypeToHal() argument
217 if (!xsd::isUnknownAudioContentType(contentType) && in audioContentTypeToHal()
218 audio_content_type_from_string(contentType.c_str(), halContentType)) { in audioContentTypeToHal()
221 ALOGE("Unknown audio content type \"%s\"", contentType.c_str()); in audioContentTypeToHal()
/hardware/interfaces/graphics/composer/2.4/utils/hal/include/composer-hal/2.4/
DComposerClient.h174 IComposerClient::ContentType contentType) override { in setContentType() argument
175 return mHal->setContentType(display, contentType); in setContentType()
DComposerHal.h75 virtual Error setContentType(Display display, IComposerClient::ContentType contentType) = 0;
/hardware/interfaces/graphics/composer/2.4/utils/vts/include/composer-vts/2.4/
DComposerVts.h94 Error setContentType(Display display, IComposerClient::ContentType contentType);
/hardware/interfaces/audio/aidl/default/
DEngineConfigXmlConverter.cpp78 return ((attributes.contentType == AudioContentType::UNKNOWN) && in isDefaultAudioAttributes()
98 aidlAudioAttributes.contentType = static_cast<AudioContentType>( in convertAudioAttributesToAidl()
/hardware/interfaces/automotive/audiocontrol/aidl/default/
DAudioControl.cpp502 int contentType; in parseMetaData() local
503 if (!safelyParseInt(splitMetaData[1], &contentType)) { in parseMetaData()
511 .contentType = static_cast<audiomediacommon::AudioContentType>(contentType), in parseMetaData()
/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/
DAudioPrimaryHidlHalTest.cpp306 .contentType = toString(xsd::AudioContentType::AUDIO_CONTENT_TYPE_MUSIC), in getValidPlaybackTrackMetadata()
314 .contentType = toString(xsd::AudioContentType::AUDIO_CONTENT_TYPE_MUSIC), in getInvalidUsagePlaybackTrackMetadata()
322 .contentType = "random_string", in getInvalidContentTypePlaybackTrackMetadata()
330 .contentType = toString(xsd::AudioContentType::AUDIO_CONTENT_TYPE_MUSIC), in getInvalidChannelMaskPlaybackTrackMetadata()
339 .contentType = toString(xsd::AudioContentType::AUDIO_CONTENT_TYPE_MUSIC), in getInvalidTagsPlaybackTrackMetadata()
/hardware/interfaces/graphics/composer/2.4/utils/passthrough/include/composer-passthrough/2.4/
DHwcHal.h209 Error setContentType(Display display, IComposerClient::ContentType contentType) override { in setContentType() argument
215 mDispatch.setContentType(mDevice, display, static_cast<int32_t>(contentType)); in setContentType()
/hardware/interfaces/bluetooth/audio/utils/session/
DBluetoothAudioSession.cpp383 halMetadata->contentType = in UpdateTracksMetadata()
388 << ", content=" << toString(halMetadata->contentType) in UpdateTracksMetadata()
/hardware/libhardware/include_all/hardware/
Dhwcomposer2.h697 static inline const char* getContentTypeName(hwc2_content_type_t contentType) { in getContentTypeName() argument
698 switch(contentType) { in getContentTypeName()
3048 hwc2_display_t display, int32_t /* hwc2_content_type_t */ contentType);
/hardware/libhardware/include/hardware/
Dhwcomposer2.h697 static inline const char* getContentTypeName(hwc2_content_type_t contentType) { in getContentTypeName() argument
698 switch(contentType) { in getContentTypeName()
3048 hwc2_display_t display, int32_t /* hwc2_content_type_t */ contentType);
/hardware/interfaces/audio/core/all-versions/default/util/
DCoreUtils.cpp289 &trackMetadata.contentType), in sourceMetadataFromHal()
342 CONVERT_CHECKED(HidlUtils::audioContentTypeToHal(trackMetadata.contentType, in sourceMetadataToHal()
/hardware/interfaces/bluetooth/audio/utils/aidl_session/
DBluetoothAudioSession.cpp545 hal_source_metadata.tracks[i].contentType = in UpdateSourceMetadata()
552 << toString(hal_source_metadata.tracks[i].contentType) in UpdateSourceMetadata()
/hardware/interfaces/automotive/audiocontrol/aidl/vts/
DVtsHalAudioControlTargetTest.cpp194 metadata.contentType = audiomediacommon::AudioContentType::MUSIC; in TEST_P()
/hardware/interfaces/audio/core/all-versions/default/util/tests/
Dcoreutils_tests.cpp368 metadata.contentType = toString(xsd::AudioContentType::AUDIO_CONTENT_TYPE_UNKNOWN); in generateMinimalPlaybackTrackMetadata()
393 invalidContentType.tracks[0].contentType = "random string"; in TEST()

12