/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
D | AudioVolumesTestBase.java | 59 if (avg.getAudioAttributes().isEmpty()) { in storeAllVolumes() 65 for (final AudioAttributes aa : avg.getAudioAttributes()) { in storeAllVolumes() 89 assertTrue(!avg.getAudioAttributes().isEmpty()); in restoreAllVolumes() 91 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() 266 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 | 46 AudioAttributes aa = aps.getAudioAttributes(); in testGetProductStrategies()
|
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 552 public AudioAttributes getAudioAttributes() { in getAudioAttributes() method in NotificationChannel 818 if (getAudioAttributes() != null) { in writeXml() 819 out.attribute(null, ATT_USAGE, Integer.toString(getAudioAttributes().getUsage())); in writeXml() 821 Integer.toString(getAudioAttributes().getContentType())); in writeXml() 822 out.attribute(null, ATT_FLAGS, Integer.toString(getAudioAttributes().getFlags())); in writeXml() 886 if (getAudioAttributes() != null) { in toJson() 887 record.put(ATT_USAGE, Integer.toString(getAudioAttributes().getUsage())); in toJson() 889 Integer.toString(getAudioAttributes().getContentType())); in toJson() 890 record.put(ATT_FLAGS, Integer.toString(getAudioAttributes().getFlags())); in toJson() 1010 && Objects.equals(getAudioAttributes(), that.getAudioAttributes()) in equals() [all …]
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioProductStrategy.java | 182 public @NonNull AudioAttributes getAudioAttributes() { in getAudioAttributes() method in AudioProductStrategy 185 : mAudioAttributesGroups[0].getAudioAttributes(); in getAudioAttributes() 197 return aag.getAudioAttributes(); in getAudioAttributesForLegacyStreamType() 381 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/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/core/jni/ |
D | android_media_AudioVolumeGroups.cpp | 88 numAttributes = group.getAudioAttributes().size(); in convertAudioVolumeGroupsFromNative() 95 auto attributes = group.getAudioAttributes()[j]; in convertAudioVolumeGroupsFromNative()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | PlaybackActivityMonitor.java | 207 if ((apc.getAudioAttributes().getAllFlags() & FLAGS_FOR_SILENCE_OVERRIDE) in checkVolumeForPrivilegedAlarm() 209 apc.getAudioAttributes().getUsage() == AudioAttributes.USAGE_ALARM && in checkVolumeForPrivilegedAlarm() 354 AudioAttributes attr = apc.getAudioAttributes(); in updateAllowedCapturePolicy() 359 new AudioAttributes.Builder(apc.getAudioAttributes()) in updateAllowedCapturePolicy() 531 if (!forceDuck && (apc.getAudioAttributes().getContentType() == in duckPlayers() 583 final int playerUsage = apc.getAudioAttributes().getUsage(); in mutePlayersForCall() 899 mPlayerAttr = apc.getAudioAttributes(); in NewPlayerEvent()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioVolumeGroup.h | 39 AttributesVector getAudioAttributes() const { return mAudioAttributes; } in getAudioAttributes() function
|
D | AudioProductStrategy.h | 37 std::vector<AudioAttributes> getAudioAttributes() const { return mAudioAttributes; } in getAudioAttributes() function
|
/frameworks/native/libs/vibrator/include/vibrator/ |
D | ExternalVibration.h | 45 audio_attributes_t getAudioAttributes() const { return mAttrs; } in getAudioAttributes() function
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ZenModeFilteringTest.java | 93 when(c.getAudioAttributes()).thenReturn(new AudioAttributes.Builder() in testIsAlarm() 114 when(c.getAudioAttributes()).thenReturn(new AudioAttributes.Builder() in testIsAlarm_wrongUsage()
|
D | NotificationRecordTest.java | 211 assertEquals(Notification.AUDIO_ATTRIBUTES_DEFAULT, record.getAudioAttributes()); in testSound_default_preUpgradeUsesNotification() 224 assertEquals(CUSTOM_ATTRIBUTES, record.getAudioAttributes()); in testSound_custom_preUpgradeUsesNotification() 238 assertEquals(CUSTOM_ATTRIBUTES, record.getAudioAttributes()); in testSound_default_userLocked_preUpgrade() 250 assertEquals(Notification.AUDIO_ATTRIBUTES_DEFAULT, record.getAudioAttributes()); in testSound_noSound_preUpgrade() 263 assertEquals(CUSTOM_ATTRIBUTES, record.getAudioAttributes()); in testSound_default_upgradeUsesChannel()
|
/frameworks/av/services/audiopolicy/engine/common/src/ |
D | ProductStrategy.cpp | 53 AttributesVector ProductStrategy::getAudioAttributes() const in getAudioAttributes() function in android::ProductStrategy 233 return at(strategy)->getAudioAttributes()[0]; in getAttributesForProductStrategy()
|
D | EngineBase.cpp | 229 for (const auto &attributes : strategy.second->getAudioAttributes()) { in getOrderedProductStrategies() 264 mProductStrategies.at(ps)->getAudioAttributes() : AttributesVector(); in getAllAttributesForProductStrategy()
|
/frameworks/av/services/audiopolicy/engine/common/include/ |
D | ProductStrategy.h | 59 AttributesVector getAudioAttributes() const;
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ZenModeFiltering.java | 253 AudioAttributes aa = record.getAudioAttributes(); in isMedia() 259 AudioAttributes aa = record.getAudioAttributes(); in isSystem()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | ChannelsTest.java | 87 legacyChannel.getAudioAttributes()); in testInheritFromLegacy_keepsUserLockedLegacySettings()
|
/frameworks/base/core/java/android/os/ |
D | ExternalVibration.java | 83 public AudioAttributes getAudioAttributes() { in getAudioAttributes() method in ExternalVibration
|
/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/packages/SystemUI/src/com/android/systemui/util/ |
D | NotificationChannels.java | 126 screenshotChannel.setSound(legacySS.getSound(), legacySS.getAudioAttributes()); in createScreenshotChannel()
|