/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
D | AudioVolumesTestBase.java | 54 if (avg.getAudioAttributes().isEmpty()) { in storeAllVolumes() 60 for (final AudioAttributes aa : avg.getAudioAttributes()) { in storeAllVolumes() 84 assertTrue(!avg.getAudioAttributes().isEmpty()); in restoreAllVolumes() 86 for (final AudioAttributes aa : avg.getAudioAttributes()) { in restoreAllVolumes()
|
D | AudioManagerTest.java | 50 AudioAttributes attributes = audioProductStrategy.getAudioAttributes(); in testGetAndValidateProductStrategies() 77 for (final AudioAttributes aa : audioVolumeGroup.getAudioAttributes()) { in testGetAndValidateProductStrategies() 115 List<AudioAttributes> avgAttributes = audioVolumeGroup.getAudioAttributes(); in testGetAndValidateVolumeGroups() 267 List<AudioAttributes> avgAttributes = audioVolumeGroup.getAudioAttributes(); in testVolumeGroupCallback()
|
D | AudioVolumeGroupChangeHandlerTest.java | 91 List<AudioAttributes> avgAttributes = audioVolumeGroup.getAudioAttributes(); in testCallbackReceived() 145 List<AudioAttributes> avgAttributes = audioVolumeGroup.getAudioAttributes(); in testMultipleCallbackReceived()
|
D | AudioVolumeGroupTest.java | 61 List<AudioAttributes> avgAttributes = avg.getAudioAttributes(); in testGetVolumeGroups()
|
D | AudioProductStrategyTest.java | 47 AudioAttributes aa = aps.getAudioAttributes(); in testGetProductStrategies()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | FadeOutManager.java | 94 if (requester.getAudioAttributes().getContentType() == AudioAttributes.CONTENT_TYPE_SPEECH) in canCauseFadeOut() 118 apc.getAudioAttributes().getContentType())) { in canBeFadedOut() 121 + apc.getAudioAttributes().getContentType()); in canBeFadedOut() 125 if (!ArrayUtils.contains(FADEABLE_USAGES, apc.getAudioAttributes().getUsage())) { in canBeFadedOut() 127 Log.i(TAG, "not fading: usage:" + apc.getAudioAttributes().getUsage()); in canBeFadedOut()
|
D | PlaybackActivityMonitor.java | 287 if ((apc.getAudioAttributes().getAllFlags() & FLAGS_FOR_SILENCE_OVERRIDE) in checkVolumeForPrivilegedAlarm() 289 apc.getAudioAttributes().getUsage() == AudioAttributes.USAGE_ALARM && in checkVolumeForPrivilegedAlarm() 469 AudioAttributes attr = apc.getAudioAttributes(); in updateAllowedCapturePolicy() 474 new AudioAttributes.Builder(apc.getAudioAttributes()) in updateAllowedCapturePolicy() 658 if (!forceDuck && (apc.getAudioAttributes().getContentType() == in duckPlayers() 689 final int reqUsage = requester.getAudioAttributes().getUsage(); in reqCausesStrongDuck() 723 final int playerUsage = apc.getAudioAttributes().getUsage(); in mutePlayersForCall() 814 + " attr:" + apc.getAudioAttributes()); in fadeOutPlayers() 1145 mPlayerAttr = apc.getAudioAttributes(); in NewPlayerEvent() 1301 if (usage == apc.getAudioAttributes().getUsage()) { in maybeMutePlayerAwaitingConnection()
|
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 726 public AudioAttributes getAudioAttributes() { in getAudioAttributes() method in NotificationChannel 1053 if (getAudioAttributes() != null) { in writeXml() 1054 out.attributeInt(null, ATT_USAGE, getAudioAttributes().getUsage()); in writeXml() 1055 out.attributeInt(null, ATT_CONTENT_TYPE, getAudioAttributes().getContentType()); in writeXml() 1056 out.attributeInt(null, ATT_FLAGS, getAudioAttributes().getFlags()); in writeXml() 1138 if (getAudioAttributes() != null) { in toJson() 1139 record.put(ATT_USAGE, Integer.toString(getAudioAttributes().getUsage())); in toJson() 1141 Integer.toString(getAudioAttributes().getContentType())); in toJson() 1142 record.put(ATT_FLAGS, Integer.toString(getAudioAttributes().getFlags())); in toJson() 1253 && Objects.equals(getAudioAttributes(), that.getAudioAttributes()) in equals() [all …]
|
/frameworks/base/media/java/android/media/ |
D | AudioPlaybackCaptureConfiguration.java | 96 criterion -> criterion.getAudioAttributes().getUsage()); in getMatchingUsages() 109 criterion -> criterion.getAudioAttributes().getUsage()); in getExcludeUsages()
|
D | AudioFocusRequest.java | 287 public @NonNull AudioAttributes getAudioAttributes() { in getAudioAttributes() method in AudioFocusRequest
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioProductStrategy.java | 250 public @NonNull AudioAttributes getAudioAttributes() { in getAudioAttributes() method in AudioProductStrategy 253 : mAudioAttributesGroups[0].getAudioAttributes(); in getAudioAttributes() 265 return aag.getAudioAttributes(); in getAudioAttributesForLegacyStreamType() 473 public @NonNull AudioAttributes getAudioAttributes() { in getAudioAttributes() method in AudioProductStrategy.AudioAttributesGroup
|
D | AudioVolumeGroup.java | 123 public @NonNull List<AudioAttributes> getAudioAttributes() { in getAudioAttributes() method in AudioVolumeGroup
|
/frameworks/base/core/jni/ |
D | android_media_AudioVolumeGroups.cpp | 88 numAttributes = group.getAudioAttributes().size(); in convertAudioVolumeGroupsFromNative() 95 auto attributes = group.getAudioAttributes()[j]; in convertAudioVolumeGroupsFromNative()
|
/frameworks/native/libs/vibrator/include/vibrator/ |
D | ExternalVibration.h | 45 audio_attributes_t getAudioAttributes() const { return mAttrs; } in getAudioAttributes() function
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioVolumeGroup.h | 41 AttributesVector getAudioAttributes() const { return mAudioAttributes; } in getAudioAttributes() function
|
D | AudioProductStrategy.h | 39 std::vector<AudioAttributes> getAudioAttributes() const { return mAudioAttributes; } in getAudioAttributes() function
|
/frameworks/av/media/libaudioclient/ |
D | AudioVolumeGroup.cpp | 54 legacy.getAudioAttributes(), in legacy2aidl_AudioVolumeGroup()
|
D | AudioProductStrategy.cpp | 45 legacy.getAudioAttributes(), in legacy2aidl_AudioProductStrategy()
|
/frameworks/av/services/audiopolicy/engine/common/src/ |
D | ProductStrategy.cpp | 53 AttributesVector ProductStrategy::getAudioAttributes() const in getAudioAttributes() function in android::ProductStrategy 229 return at(strategy)->getAudioAttributes()[0]; in getAttributesForProductStrategy()
|
/frameworks/native/libs/vibrator/fuzzer/ |
D | vibrator_fuzzer.cpp | 114 extVibration->getAudioAttributes(); in LLVMFuzzerTestOneInput()
|
/frameworks/av/services/audiopolicy/engine/common/include/ |
D | ProductStrategy.h | 62 AttributesVector getAudioAttributes() const;
|
/frameworks/base/media/java/android/media/musicrecognition/ |
D | RecognitionRequest.java | 55 public AudioAttributes getAudioAttributes() { in getAudioAttributes() method in RecognitionRequest
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/volume/ |
D | Util.java | 83 info.getCurrentVolume(), info.getMaxVolume(), type, vc, info.getAudioAttributes()); in playbackInfoToString()
|
/frameworks/base/core/java/android/os/ |
D | ExternalVibration.java | 103 public AudioAttributes getAudioAttributes() { in getAudioAttributes() method in ExternalVibration
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | NotificationChannelController.java | 172 deprecatedChannel.getAudioAttributes()); in migrateCallFowardNotificationChannel()
|