Home
last modified time | relevance | path

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

12

/aosp12/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
H A DCarVolumeGroupUnitTest.java24 import static com.android.car.audio.CarAudioContext.NAVIGATION;
82 builder.setDeviceInfoForContext(NAVIGATION, mNavigationDeviceInfo); in setDeviceInfoForContext_associatesDeviceAddresses()
95 builder.setDeviceInfoForContext(NAVIGATION, mNavigationDeviceInfo); in setDeviceInfoForContext_associatesContexts()
110 () -> builder.setDeviceInfoForContext(NAVIGATION, in setDeviceInfoForContext_withDifferentStepSize_throws()
168 builder.setDeviceInfoForContext(NAVIGATION, secondInfo); in setDeviceInfoForContext_SecondCallWithSmallerMinGain_updatesMinGain()
181 builder.setDeviceInfoForContext(NAVIGATION, secondInfo); in setDeviceInfoForContext_SecondCallWithLargerMinGain_keepsFirstMinGain()
194 builder.setDeviceInfoForContext(NAVIGATION, secondInfo); in setDeviceInfoForContext_SecondCallWithLargerMaxGain_updatesMaxGain()
207 builder.setDeviceInfoForContext(NAVIGATION, secondInfo); in setDeviceInfoForContext_SecondCallWithSmallerMaxGain_keepsFirstMaxGain()
220 builder.setDeviceInfoForContext(NAVIGATION, secondInfo); in setDeviceInfoForContext_SecondCallWithLargerDefaultGain_updatesDefaultGain()
233 builder.setDeviceInfoForContext(NAVIGATION, secondInfo); in setDeviceInfoForContext_SecondCallWithSmallerDefaultGain_keepsFirstDefaultGain()
[all …]
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A DCarDuckingTest.java24 import static com.android.car.audio.CarAudioContext.NAVIGATION;
189 when(primaryZone.getAddressForContext(NAVIGATION)).thenReturn(PRIMARY_NAVIGATION_ADDRESS); in generateZoneMocks()
H A DCarDuckingUtilsTest.java33 import static com.android.car.audio.CarAudioContext.NAVIGATION;
243 when(mockZone.getAddressForContext(NAVIGATION)).thenReturn(NAVIGATION_ADDRESS); in generateAudioZoneMock()
/aosp12/packages/services/Car/service/src/com/android/car/audio/
H A 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,
H A 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
H A 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()
H A DCarAudioZonesHelper.java80 CONTEXT_NAME_MAP.put("navigation", CarAudioContext.NAVIGATION);
100 CarAudioContext.NAVIGATION,
H A DCarVolume.java52 CarAudioContext.NAVIGATION,
/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/headsup/
H A DCarHeadsUpNotificationContainer.java160 } else if (notificationTypeItem == CarNotificationTypeItem.NAVIGATION) { in getImportanceForCarNotificationTypeItem()
161 return HunImportance.NAVIGATION; in getImportanceForCarNotificationTypeItem()
173 NAVIGATION(/* level= */ 2), enumConstant
/aosp12/packages/apps/Car/Notification/src/com/android/car/notification/
H A DNotificationViewType.java39 NotificationViewType.NAVIGATION,
72 int NAVIGATION = 16; field
H A DCarNotificationTypeItem.java42 NAVIGATION(R.layout.navigation_headsup_notification_template, enumConstant
43 -1, NotificationViewType.NAVIGATION, false),
130 case NotificationViewType.NAVIGATION: in getViewHolder()
H A DNotificationUtils.java117 return CarNotificationTypeItem.NAVIGATION; in getNotificationViewType()
/aosp12/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
H A 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()
H A DCarAudioZonesHelperLegacyTest.java246 assertThat(secondContexts).containsAtLeast(CarAudioContext.NAVIGATION, in loadAudioZones_associatesLegacyContextsWithCorrectBuses()
/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/headsup/
H A DCarHeadsUpNotificationContainerTest.java154 CarNotificationTypeItem.NAVIGATION); in displayNotification_allImportancePresent_newNavigationImportance_newIndex3()
254 CarNotificationTypeItem.NAVIGATION); in displayOneNotificationOfEveryImportance()
/aosp12/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
H A DCarNotificationTypeItemTest.java58 NotificationViewType.NAVIGATION); in navigationNotificationType_shouldHaveCorrectValues()
59 assertThat(navigation.getNotificationType()).isEqualTo(NotificationViewType.NAVIGATION); in navigationNotificationType_shouldHaveCorrectValues()
H A DNotificationUtilsTest.java194 typeMap.put(Notification.CATEGORY_NAVIGATION, CarNotificationTypeItem.NAVIGATION); in onGetNotificationViewType_notificationIsARecognizedType_returnsCorrectType()
/aosp12/hardware/interfaces/automotive/audiocontrol/1.0/
H A Dtypes.hal28 NAVIGATION, /* Navigation directions */
/aosp12/frameworks/base/core/java/android/content/res/
H A DConfiguration.java30 import static android.content.ConfigurationProto.NAVIGATION;
1176 protoOutputStream.write(NAVIGATION, navigation); in dumpDebug()
1314 case (int) NAVIGATION: in readFromProto()
1315 navigation = protoInputStream.readInt(NAVIGATION); in readFromProto()
/aosp12/hardware/interfaces/input/common/1.0/
H A Dtypes.hal441 NAVIGATION = 1 << 2,
458 TRACKBALL = (1 << 16) | SourceClass:NAVIGATION,
459 MOUSE_RELATIVE = (1 << 17) | SourceClass:NAVIGATION,

12