/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarVolumeGroupUnitTest.java | 74 builder.setDeviceInfoForContext(CarAudioContext.NAVIGATION, mNavigationDeviceInfo); in setDeviceInfoForContext_associatesDeviceAddresses() 86 builder.setDeviceInfoForContext(CarAudioContext.NAVIGATION, mNavigationDeviceInfo); in setDeviceInfoForContext_associatesContexts() 90 CarAudioContext.NAVIGATION); in setDeviceInfoForContext_associatesContexts() 101 () -> builder.setDeviceInfoForContext(CarAudioContext.NAVIGATION, in setDeviceInfoForContext_withDifferentStepSize_throws() 155 builder.setDeviceInfoForContext(CarAudioContext.NAVIGATION, secondInfo); in setDeviceInfoForContext_SecondCallWithSmallerMinGain_updatesMinGain() 167 builder.setDeviceInfoForContext(CarAudioContext.NAVIGATION, secondInfo); in setDeviceInfoForContext_SecondCallWithLargerMinGain_keepsFirstMinGain() 179 builder.setDeviceInfoForContext(CarAudioContext.NAVIGATION, secondInfo); in setDeviceInfoForContext_SecondCallWithLargerMaxGain_updatesMaxGain() 191 builder.setDeviceInfoForContext(CarAudioContext.NAVIGATION, secondInfo); in setDeviceInfoForContext_SecondCallWithSmallerMaxGain_keepsFirstMaxGain() 203 builder.setDeviceInfoForContext(CarAudioContext.NAVIGATION, secondInfo); in setDeviceInfoForContext_SecondCallWithLargerDefaultGain_updatesDefaultGain() 215 builder.setDeviceInfoForContext(CarAudioContext.NAVIGATION, secondInfo); in setDeviceInfoForContext_SecondCallWithSmallerDefaultGain_keepsFirstDefaultGain() [all …]
|
D | FocusInteractionTest.java | 119 int result = mFocusInteraction.evaluateRequest(CarAudioContext.NAVIGATION, focusEntry, in evaluateResult_forCallAndNavigation_withNavigationNotRejected_returnsConcurrent() 133 int result = mFocusInteraction.evaluateRequest(CarAudioContext.NAVIGATION, focusEntry, in evaluateResult_forCallAndNavigation_withNavigationRejected_returnsConcurrent() 173 FocusEntry focusEntry = newMockFocusEntryWithContext(CarAudioContext.NAVIGATION); in evaluateResult_forConcurrentPair_returnsGranted() 228 FocusEntry focusEntry = newMockFocusEntryWithContext(CarAudioContext.NAVIGATION); in evaluateResult_forUndefinedContext_throws() 282 FocusEntry focusEntry = newMockFocusEntryWithContext(CarAudioContext.NAVIGATION); in newMockFocusEntryWithDuckingBehavior()
|
D | CarVolumeGroupMutingTest.java | 21 import static com.android.car.audio.CarAudioContext.NAVIGATION; 78 mNavigationCarVolumeGroup = groupWithContextAndAddress(NAVIGATION, in setUp() 413 .addDeviceAddressAndContexts(NAVIGATION, PRIMARY_NAVIGATION_ADDRESS) in generateMutingInfoFromZone_withMutedMultiDeviceGroup_returnsAllDevicesMuted() 431 .addDeviceAddressAndContexts(NAVIGATION, PRIMARY_NAVIGATION_ADDRESS) in generateMutingInfoFromZone_withUnMutedMultiDeviceGroup_returnsAllDevicesUnMuted() 448 .addDeviceAddressAndContexts(NAVIGATION, PRIMARY_NAVIGATION_ADDRESS) in generateMutingInfoFromZone_mutingRestricted_mutesAllNonCriticalDevices() 469 .addDeviceAddressAndContexts(NAVIGATION, PRIMARY_NAVIGATION_ADDRESS) in generateMutingInfoFromZone_mutingRestricted_setsAllCriticalGroupsToTheirState()
|
D | CarAudioPlaybackCallbackTest.java | 24 import static com.android.car.audio.CarAudioContext.NAVIGATION; 154 assertThat(activeContexts).containsExactly(MUSIC, NAVIGATION); in getAllActiveContextsForPrimaryZone_withMultipleConfiguration_returnsActiveContexts() 248 assertThat(activeContexts).containsExactly(MUSIC, NAVIGATION); in getAllActiveContextsForPrimaryZone_withInactiveConfig_beforeTimeout_returnsContexts() 290 assertThat(activeContexts).containsExactly(NAVIGATION, MUSIC); in getAllActiveContextsForPrimaryZone_withInactiveConfigs_beforeTimeout_returnsContexts() 491 .addDeviceAddressAndContexts(NAVIGATION, PRIMARY_NAVIGATION_ADDRESS) in generatePrimaryZone()
|
D | CarAudioContextTest.java | 29 import static com.android.car.audio.CarAudioContext.NAVIGATION; 128 assertThat(result).containsExactly(MUSIC, NAVIGATION, EMERGENCY); in getUniqueContextsForUsages_withMultipleUsages_returnsAllUniqueContexts() 138 .that(isCriticalAudioContext(CarAudioContext.NAVIGATION)).isFalse(); in isCriticalAudioContext_forNonCritialContexts_returnsFalse()
|
D | CarVolumeTest.java | 32 import static com.android.car.audio.CarAudioContext.NAVIGATION; 195 List<Integer> activePlaybackContexts = ImmutableList.of(NAVIGATION); in getSuggestedAudioContext_withV1AndNavigationConfigurationAndCall_returnsNav() 201 assertThat(suggestedContext).isEqualTo(NAVIGATION); in getSuggestedAudioContext_withV1AndNavigationConfigurationAndCall_returnsNav() 206 List<Integer> activePlaybackContexts = ImmutableList.of(NAVIGATION); in getSuggestedAudioContext_withV2AndNavigationConfigurationAndCall_returnsCall()
|
D | CarDuckingTest.java | 24 import static com.android.car.audio.CarAudioContext.NAVIGATION; 189 when(primaryZone.getAddressForContext(NAVIGATION)).thenReturn(PRIMARY_NAVIGATION_ADDRESS); in generateZoneMocks()
|
D | CarDuckingUtilsTest.java | 227 when(mockZone.getAddressForContext(CarAudioContext.NAVIGATION)).thenReturn( in generateAudioZoneMock()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioContext.java | 55 static final int NAVIGATION = 2; field in CarAudioContext 107 NAVIGATION, 124 CONTEXT_NAMES.append(NAVIGATION, "NAVIGATION"); in CONTEXT_NAMES.append() argument 147 CONTEXT_TO_USAGES.put(NAVIGATION, in CONTEXT_TO_USAGES.put() argument 279 NAVIGATION,
|
D | CarDuckingUtils.java | 26 import static com.android.car.audio.CarAudioContext.NAVIGATION; 52 sContextsToDuck.append(NAVIGATION, new int[]{ in sContextsToDuck.append() argument 90 NAVIGATION, in sContextsToDuck.append() argument
|
D | FocusInteraction.java | 308 mInteractionMatrix[CarAudioContext.CALL][CarAudioContext.NAVIGATION] = in setRejectNavigationOnCallLocked() 310 sInteractionMatrix[CarAudioContext.CALL][CarAudioContext.NAVIGATION]; in setRejectNavigationOnCallLocked() 419 mInteractionMatrix[CarAudioContext.CALL][CarAudioContext.NAVIGATION] in dump()
|
D | CarAudioZonesHelper.java | 78 CONTEXT_NAME_MAP.put("navigation", CarAudioContext.NAVIGATION); 98 CarAudioContext.NAVIGATION,
|
D | CarVolume.java | 52 CarAudioContext.NAVIGATION,
|
/packages/apps/Car/Notification/src/com/android/car/notification/headsup/ |
D | CarHeadsUpNotificationContainer.java | 160 } else if (notificationTypeItem == CarNotificationTypeItem.NAVIGATION) { in getImportanceForCarNotificationTypeItem() 161 return HunImportance.NAVIGATION; in getImportanceForCarNotificationTypeItem() 173 NAVIGATION(/* level= */ 2), enumConstant
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | CarNotificationTypeItem.java | 42 NAVIGATION(R.layout.navigation_headsup_notification_template, enumConstant 43 -1, NotificationViewType.NAVIGATION, false), 130 case NotificationViewType.NAVIGATION: in getViewHolder()
|
D | NotificationViewType.java | 39 NotificationViewType.NAVIGATION, 70 int NAVIGATION = 16; field
|
D | NotificationUtils.java | 117 return CarNotificationTypeItem.NAVIGATION; in getNotificationViewType()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | CarAudioZoneTest.java | 28 import static com.android.car.audio.CarAudioContext.NAVIGATION; 83 .addDeviceAddressAndContexts(NAVIGATION, NAV_ADDRESS).build(); in setUp() 97 String navAddress = mTestAudioZone.getAddressForContext(NAVIGATION); in getAddressForContext_returnsExpectedDeviceAddress() 133 assertThat(activeContexts).containsExactly(MUSIC, NAVIGATION); in findActiveContextsFromPlaybackConfigurations_returnsAllActiveContext()
|
D | CarAudioZonesHelperLegacyTest.java | 134 assertThat(secondContexts).containsAtLeast(CarAudioContext.NAVIGATION, in loadAudioZones_associatesLegacyContextsWithCorrectBuses()
|
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/headsup/ |
D | CarHeadsUpNotificationContainerTest.java | 154 CarNotificationTypeItem.NAVIGATION); in displayNotification_allImportancePresent_newNavigationImportance_newIndex3() 254 CarNotificationTypeItem.NAVIGATION); in displayOneNotificationOfEveryImportance()
|
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
D | CarNotificationTypeItemTest.java | 58 NotificationViewType.NAVIGATION); in navigationNotificationType_shouldHaveCorrectValues() 59 assertThat(navigation.getNotificationType()).isEqualTo(NotificationViewType.NAVIGATION); in navigationNotificationType_shouldHaveCorrectValues()
|
D | NotificationUtilsTest.java | 194 typeMap.put(Notification.CATEGORY_NAVIGATION, CarNotificationTypeItem.NAVIGATION); in onGetNotificationViewType_notificationIsARecognizedType_returnsCorrectType()
|
/packages/services/Car/car-lib/api/ |
D | system-current.txt | 257 …ield @Deprecated public static final String CATEGORY_NAVIGATION = "android.car.cluster.NAVIGATION";
|