Home
last modified time | relevance | path

Searched refs:NAVIGATION (Results 1 – 23 of 23) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeGroupUnitTest.java74 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 …]
DFocusInteractionTest.java119 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()
DCarVolumeGroupMutingTest.java21 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()
DCarAudioPlaybackCallbackTest.java24 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()
DCarAudioContextTest.java29 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()
DCarVolumeTest.java32 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()
DCarDuckingTest.java24 import static com.android.car.audio.CarAudioContext.NAVIGATION;
189 when(primaryZone.getAddressForContext(NAVIGATION)).thenReturn(PRIMARY_NAVIGATION_ADDRESS); in generateZoneMocks()
DCarDuckingUtilsTest.java227 when(mockZone.getAddressForContext(CarAudioContext.NAVIGATION)).thenReturn( in generateAudioZoneMock()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioContext.java55 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,
DCarDuckingUtils.java26 import static com.android.car.audio.CarAudioContext.NAVIGATION;
52 sContextsToDuck.append(NAVIGATION, new int[]{ in sContextsToDuck.append() argument
90 NAVIGATION, in sContextsToDuck.append() argument
DFocusInteraction.java308 mInteractionMatrix[CarAudioContext.CALL][CarAudioContext.NAVIGATION] = in setRejectNavigationOnCallLocked()
310 sInteractionMatrix[CarAudioContext.CALL][CarAudioContext.NAVIGATION]; in setRejectNavigationOnCallLocked()
419 mInteractionMatrix[CarAudioContext.CALL][CarAudioContext.NAVIGATION] in dump()
DCarAudioZonesHelper.java78 CONTEXT_NAME_MAP.put("navigation", CarAudioContext.NAVIGATION);
98 CarAudioContext.NAVIGATION,
DCarVolume.java52 CarAudioContext.NAVIGATION,
/packages/apps/Car/Notification/src/com/android/car/notification/headsup/
DCarHeadsUpNotificationContainer.java160 } 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/
DCarNotificationTypeItem.java42 NAVIGATION(R.layout.navigation_headsup_notification_template, enumConstant
43 -1, NotificationViewType.NAVIGATION, false),
130 case NotificationViewType.NAVIGATION: in getViewHolder()
DNotificationViewType.java39 NotificationViewType.NAVIGATION,
70 int NAVIGATION = 16; field
DNotificationUtils.java117 return CarNotificationTypeItem.NAVIGATION; in getNotificationViewType()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZoneTest.java28 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()
DCarAudioZonesHelperLegacyTest.java134 assertThat(secondContexts).containsAtLeast(CarAudioContext.NAVIGATION, in loadAudioZones_associatesLegacyContextsWithCorrectBuses()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/headsup/
DCarHeadsUpNotificationContainerTest.java154 CarNotificationTypeItem.NAVIGATION); in displayNotification_allImportancePresent_newNavigationImportance_newIndex3()
254 CarNotificationTypeItem.NAVIGATION); in displayOneNotificationOfEveryImportance()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarNotificationTypeItemTest.java58 NotificationViewType.NAVIGATION); in navigationNotificationType_shouldHaveCorrectValues()
59 assertThat(navigation.getNotificationType()).isEqualTo(NotificationViewType.NAVIGATION); in navigationNotificationType_shouldHaveCorrectValues()
DNotificationUtilsTest.java194 typeMap.put(Notification.CATEGORY_NAVIGATION, CarNotificationTypeItem.NAVIGATION); in onGetNotificationViewType_notificationIsARecognizedType_returnsCorrectType()
/packages/services/Car/car-lib/api/
Dsystem-current.txt257 …ield @Deprecated public static final String CATEGORY_NAVIGATION = "android.car.cluster.NAVIGATION";