Home
last modified time | relevance | path

Searched refs:EMERGENCY (Results 1 – 18 of 18) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioContext.java91 static final int EMERGENCY = 9; field in CarAudioContext
114 EMERGENCY,
131 CONTEXT_NAMES.append(EMERGENCY, "EMERGENCY"); in CONTEXT_NAMES.append() argument
188 CONTEXT_TO_USAGES.put(EMERGENCY, in CONTEXT_TO_USAGES.put() argument
264 return CarAudioContext.EMERGENCY == audioContext || CarAudioContext.SAFETY == audioContext; in isCriticalAudioContext()
286 EMERGENCY,
DCarDuckingUtils.java23 import static com.android.car.audio.CarAudioContext.EMERGENCY;
85 sContextsToDuck.append(EMERGENCY, new int[]{ in sContextsToDuck.append() argument
DCarVolume.java63 CarAudioContext.EMERGENCY,
DCarAudioZonesHelper.java85 CONTEXT_NAME_MAP.put("emergency", CarAudioContext.EMERGENCY);
/packages/apps/Car/Notification/src/com/android/car/notification/headsup/
DCarHeadsUpNotificationContainer.java75 if (mHunImportanceLinkedList.isEmpty() || hunImportance.equals(HunImportance.EMERGENCY)) { in displayNotificationInner()
156 if (notificationTypeItem == CarNotificationTypeItem.EMERGENCY) { in getImportanceForCarNotificationTypeItem()
157 return HunImportance.EMERGENCY; in getImportanceForCarNotificationTypeItem()
175 EMERGENCY(/* level= */ 4); enumConstant
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioContextTest.java26 import static com.android.car.audio.CarAudioContext.EMERGENCY;
128 assertThat(result).containsExactly(MUSIC, NAVIGATION, EMERGENCY); in getUniqueContextsForUsages_withMultipleUsages_returnsAllUniqueContexts()
160 .that(isCriticalAudioContext(CarAudioContext.EMERGENCY)).isTrue(); in isCriticalAudioContext_forCriticalContexts_returnsTrue()
DCarVolumeGroupMutingTest.java19 import static com.android.car.audio.CarAudioContext.EMERGENCY;
464 .addDeviceAddressAndContexts(EMERGENCY, EMERGENCY_ADDRESS) in generateMutingInfoFromZone_mutingRestricted_setsAllCriticalGroupsToTheirState()
DCarDuckingUtilsTest.java224 when(mockZone.getAddressForContext(CarAudioContext.EMERGENCY)).thenReturn( in generateAudioZoneMock()
DCarVolumeGroupUnitTest.java499 .setDeviceInfoForContext(CarAudioContext.EMERGENCY, mMediaDeviceInfo) in hasCriticalAudioContexts_withCriticalContexts_returnsTrue()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/headsup/
DCarHeadsUpNotificationContainerTest.java178 CarNotificationTypeItem.EMERGENCY); in displayNotification_allImportancePresent_newEmergencyImportance_newIndex5()
258 CarNotificationTypeItem.EMERGENCY); in displayOneNotificationOfEveryImportance()
/packages/modules/Permission/framework-s/api/
Dcurrent.txt13 field public static final String ROLE_EMERGENCY = "android.app.role.EMERGENCY";
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationTypeItem.java39 EMERGENCY(R.layout.car_emergency_headsup_notification_template, enumConstant
DNotificationUtils.java115 return CarNotificationTypeItem.EMERGENCY; in getNotificationViewType()
/packages/apps/Dialer/java/com/android/dialer/logging/
Dcontact_lookup_result.proto28 EMERGENCY = 5; enumerator
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DNotificationUtilsTest.java193 typeMap.put(Notification.CATEGORY_CAR_EMERGENCY, CarNotificationTypeItem.EMERGENCY); in onGetNotificationViewType_notificationIsARecognizedType_returnsCorrectType()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperLegacyTest.java157 CarAudioContext.EMERGENCY, CarAudioContext.VEHICLE_STATUS, in loadAudioZones_associatesNonLegacyContextsWithMediaBus()
DCarAudioZonesHelperTest.java277 assertThat(audioContexts).containsAtLeast(DEFAULT_AUDIO_CONTEXT, CarAudioContext.EMERGENCY, in loadAudioZones_forVersionOne_bindsNonLegacyContextsToDefault()
/packages/apps/Dialer/java/com/android/incallui/call/
DDialerCall.java1842 case EMERGENCY: in lookupToString()