/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarVolumeTest.java | 45 import com.android.car.audio.CarAudioContext.AudioContext; 165 @AudioContext int suggestedContext = in getSuggestedAudioContext_withNoActivePlaybackAndIdleTelephony_returnsDefault() 178 @AudioContext int suggestedContext = mCarVolume in getSuggestedAudioContext_withOneConfiguration_returnsAssociatedContext() 188 @AudioContext int suggestedContext = in getSuggestedAudioContext_withCallStateOffHook_returnsCallContext() 201 @AudioContext int suggestedContext = in getSuggestedAudioContext_withV1AndCallStateRinging_returnsCallRingContext() 215 @AudioContext int suggestedContext = mCarVolume in getSuggestedAudioContext_withActivePlayback_returnsHighestPriorityContext() 229 @AudioContext int suggestedContext = mCarVolume in getSuggestedAudioContext_withLowerPriorityActivePlaybackAndCall_returnsCall() 243 @AudioContext int suggestedContext = carVolume in getSuggestedAudioContext_withV1AndNavigationConfigurationAndCall_returnsNav() 255 @AudioContext int suggestedContext = mCarVolume in getSuggestedAudioContext_withV2AndNavigationConfigurationAndCall_returnsCall() 268 @AudioContext int suggestedContext = mCarVolume in getSuggestedAudioContext_withUnprioritizedAttribute_returnsDefault() [all …]
|
D | CarAudioContextTest.java | 52 import com.android.car.audio.CarAudioContext.AudioContext; 113 public static final @CarAudioContext.AudioContext int TEST_MEDIA_CONTEXT = 115 public static final @CarAudioContext.AudioContext int TEST_ALARM_CONTEXT = 117 public static final @CarAudioContext.AudioContext int TEST_CALL_CONTEXT = 119 public static final @CarAudioContext.AudioContext int TEST_CALL_RING_CONTEXT = 121 public static final @CarAudioContext.AudioContext int TEST_EMERGENCY_CONTEXT = 123 public static final @CarAudioContext.AudioContext int TEST_NAVIGATION_CONTEXT = 125 public static final @CarAudioContext.AudioContext int TEST_NOTIFICATION_CONTEXT = 127 public static final @CarAudioContext.AudioContext int TEST_ANNOUNCEMENT_CONTEXT = 129 public static final @CarAudioContext.AudioContext int TEST_SAFETY_CONTEXT = [all …]
|
D | CarDuckingUtilsTest.java | 58 private static final @CarAudioContext.AudioContext int TEST_MEDIA_AUDIO_CONTEXT = 61 private static final @CarAudioContext.AudioContext int TEST_EMERGENCY_AUDIO_CONTEXT = 64 private static final @CarAudioContext.AudioContext int TEST_NAVIGATION_AUDIO_CONTEXT = 67 private static final @CarAudioContext.AudioContext int TEST_CALL_AUDIO_CONTEXT =
|
D | VolumeGroupBuilder.java | 75 public VolumeGroupBuilder addDeviceAddressAndContexts(@CarAudioContext.AudioContext int context, in addDeviceAddressAndContexts() 132 @CarAudioContext.AudioContext int[] contexts = new int[mDeviceAddresses.size()]; in build() 135 @CarAudioContext.AudioContext int context = mDeviceAddresses.keyAt(index); in build()
|
D | CarVolumeGroupMutingTest.java | 67 private static final @CarAudioContext.AudioContext int TEST_MEDIA_CONTEXT = 70 private static final @CarAudioContext.AudioContext int TEST_ASSISTANT_CONTEXT = 73 private static final @CarAudioContext.AudioContext int TEST_EMERGENCY_CONTEXT = 76 private static final @CarAudioContext.AudioContext int TEST_NAVIGATION_CONTEXT = 79 private static final @CarAudioContext.AudioContext int TEST_SAFETY_CONTEXT =
|
D | CarAudioVolumeGroupTest.java | 117 private static final @CarAudioContext.AudioContext int TEST_MEDIA_CONTEXT_ID = 120 private static final @CarAudioContext.AudioContext int TEST_ALARM_CONTEXT_ID = 123 private static final @CarAudioContext.AudioContext int TEST_CALL_CONTEXT_ID = 126 private static final @CarAudioContext.AudioContext int TEST_CALL_RING_CONTEXT_ID = 129 private static final @CarAudioContext.AudioContext int TEST_NAVIGATION_CONTEXT_ID = 132 private static final @CarAudioContext.AudioContext int TEST_NOTIFICATION_CONTEXT_ID =
|
D | ZoneAudioPlaybackCallbackTest.java | 82 @CarAudioContext.AudioContext 86 @CarAudioContext.AudioContext 90 @CarAudioContext.AudioContext
|
D | CarVolumeGroupFactoryTest.java | 58 private static final @CarAudioContext.AudioContext int TEST_MEDIA_CONTEXT_ID = 61 private static final @CarAudioContext.AudioContext int TEST_NAVIGATION_CONTEXT_ID =
|
D | CarAudioZoneUnitTest.java | 25 import static com.android.car.audio.CarAudioContext.AudioContext; 132 @AudioContext 135 @AudioContext 138 @AudioContext 141 @AudioContext
|
D | FocusEntryTest.java | 55 private static final @CarAudioContext.AudioContext int TEST_MEDIA_CONTEXT =
|
D | CarDuckingTest.java | 68 private static final @CarAudioContext.AudioContext int TEST_MEDIA_AUDIO_CONTEXT = 71 private static final @CarAudioContext.AudioContext int TEST_NAVIGATION_AUDIO_CONTEXT =
|
D | CarHalAudioUtilsTest.java | 84 private static final @CarAudioContext.AudioContext int TEST_MEDIA_AUDIO_CONTEXT = 87 private static final @CarAudioContext.AudioContext int TEST_NOTIFICATION_AUDIO_CONTEXT =
|
D | CarVolumeGroupUnitTest.java | 112 private static final @CarAudioContext.AudioContext int TEST_MEDIA_CONTEXT_ID = 115 private static final @CarAudioContext.AudioContext int TEST_ALARM_CONTEXT_ID = 118 private static final @CarAudioContext.AudioContext int TEST_CALL_CONTEXT_ID = 121 private static final @CarAudioContext.AudioContext int TEST_CALL_RING_CONTEXT_ID = 124 private static final @CarAudioContext.AudioContext int TEST_EMERGENCY_CONTEXT_ID = 127 private static final @CarAudioContext.AudioContext int TEST_NAVIGATION_CONTEXT_ID = 130 private static final @CarAudioContext.AudioContext int TEST_NOTIFICATION_CONTEXT_ID =
|
D | CarAudioZoneConfigUnitTest.java | 29 import static com.android.car.audio.CarAudioContext.AudioContext; 94 @AudioContext 97 @AudioContext 100 @AudioContext
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarVolume.java | 48 import com.android.car.audio.CarAudioContext.AudioContext; 106 @AudioContext private int mLastActiveContext; 129 @AudioContext int[] contextVolumePriority = in CarVolume() 195 @AudioContext int getSuggestedAudioContextAndSaveIfFound( in getSuggestedAudioContextAndSaveIfFound() 209 @AudioContext int context = findActiveContextWithHighestPriority(activeAttributes, in getSuggestedAudioContextAndSaveIfFound() 217 private @AudioContext int findActiveContextWithHighestPriority( in findActiveContextWithHighestPriority() 228 @AudioContext int context = mCarAudioContext.getContextForAudioAttribute( in findActiveContextWithHighestPriority() 265 private void setAudioContextStillActive(@AudioContext int context) { in setAudioContextStillActive() 272 boolean isAnyContextActive(@AudioContext int [] contexts, in isAnyContextActive() 323 private @AudioContext int getAudioContextStillActive() { in getAudioContextStillActive() [all …]
|
D | CarAudioContext.java | 135 public @interface AudioContext { annotation in CarAudioContext 482 boolean isOemExtensionAudioContext(@AudioContext int audioContext) { in isOemExtensionAudioContext() 541 void preconditionCheckAudioContext(@AudioContext int audioContext) { in preconditionCheckAudioContext() 548 AudioAttributes[] getAudioAttributesForContext(@AudioContext int carAudioContext) { in getAudioAttributesForContext() 553 @AudioContext int getContextForAttributes(AudioAttributes attributes) { in getContextForAttributes() 561 public @AudioContext int getContextForAudioAttribute(AudioAttributes attributes) { in getContextForAudioAttribute() 665 String toString(@AudioContext int audioContext) { in toString() 742 static @AudioContext int getInvalidContext() { in getInvalidContext() 746 static boolean isInvalidContextId(@AudioContext int id) { in isInvalidContextId()
|
D | CarAudioContextInfo.java | 42 private final @CarAudioContext.AudioContext int mId; 47 @CarAudioContext.AudioContext int id) { in CarAudioContextInfo() 65 @CarAudioContext.AudioContext int getId() { in getId()
|
D | FocusEntry.java | 29 import com.android.car.audio.CarAudioContext.AudioContext; 46 FocusEntry(@NonNull AudioFocusInfo audioFocusInfo, @AudioContext int context, in FocusEntry() 56 @AudioContext
|
D | CarVolumeGroupFactory.java | 20 import com.android.car.audio.CarAudioContext.AudioContext; 114 @AudioContext int audioContext = nonLegacyCarSystemContexts.get(index); in setNonLegacyContexts()
|
D | CarAudioZonesHelper.java | 54 import com.android.car.audio.CarAudioContext.AudioContext; 977 @AudioContext int carAudioContextId = parseCarAudioContextId( 1012 private @AudioContext int parseCarAudioContextId(String context) { 1017 private void validateCarAudioContextSupport(@AudioContext int audioContext) {
|
D | CarAudioDynamicRouting.java | 135 @CarAudioContext.AudioContext int contextId = in setupAudioDynamicRoutingForGroup()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | CarAudioZonesHelperLegacyTest.java | 75 private static final @CarAudioContext.AudioContext int TEST_MEDIA_CONTEXT = 78 private static final @CarAudioContext.AudioContext int TEST_ALARM_CONTEXT = 81 private static final @CarAudioContext.AudioContext int TEST_CALL_CONTEXT = 84 private static final @CarAudioContext.AudioContext int TEST_CALL_RING_CONTEXT = 87 private static final @CarAudioContext.AudioContext int TEST_EMERGENCY_CONTEXT = 90 private static final @CarAudioContext.AudioContext int TEST_NAVIGATION_CONTEXT = 93 private static final @CarAudioContext.AudioContext int TEST_NOTIFICATION_CONTEXT = 96 private static final @CarAudioContext.AudioContext int TEST_ANNOUNCEMENT_CONTEXT = 99 private static final @CarAudioContext.AudioContext int TEST_SYSTEM_SOUND_CONTEXT = 102 private static final @CarAudioContext.AudioContext int TEST_VEHICLE_STATUS_CONTEXT = [all …]
|
D | CarAudioDynamicRoutingTest.java | 21 import static com.android.car.audio.CarAudioContext.AudioContext; 71 private static final @AudioContext int TEST_MEDIA_CONTEXT = 73 private static final @AudioContext int TEST_NAVIGATION_CONTEXT = 343 VolumeGroupBuilder addDeviceAddressAndContexts(@AudioContext int context, String address) { in addDeviceAddressAndContexts() 356 @AudioContext int[] contexts = new int[mDeviceAddresses.size()]; in build() 359 @AudioContext int context = mDeviceAddresses.keyAt(index); in build()
|
/packages/services/Car/service/src/com/android/car/audio/hal/ |
D | AudioControlWrapperV1.java | 162 public int getBusForContext(@CarAudioContext.AudioContext int audioContext) { in getBusForContext()
|
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/ |
D | le_audio_utils_unittest.cc | 131 audio::AudioContext::GAME | in PrepareReferenceMetadata() 133 audio::AudioContext::CONVERSATIONAL}); in PrepareReferenceMetadata() 144 bluetooth::audio::AudioContext::GAME}); in PrepareReferenceMetadata() 1074 auto aidl_context = ::aidl::android::hardware::bluetooth::audio::AudioContext{ in TEST() 1075 .bitmask = ::aidl::android::hardware::bluetooth::audio::AudioContext:: in TEST()
|