Home
last modified time | relevance | path

Searched refs:ALARM (Results 1 – 15 of 15) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/
DCarDuckingUtils.java19 import static com.android.car.audio.CarAudioContext.ALARM;
56 ALARM, in sContextsToDuck.append() argument
68 ALARM, in sContextsToDuck.append() argument
72 sContextsToDuck.append(ALARM, new int[]{ in sContextsToDuck.append() argument
77 ALARM, in sContextsToDuck.append() argument
82 ALARM, in sContextsToDuck.append() argument
94 ALARM, in sContextsToDuck.append() argument
DCarAudioContext.java76 static final int ALARM = 6; field in CarAudioContext
111 ALARM,
128 CONTEXT_NAMES.append(ALARM, "ALARM"); in CONTEXT_NAMES.append() argument
169 CONTEXT_TO_USAGES.put(ALARM, in CONTEXT_TO_USAGES.put() argument
283 ALARM,
DCarAudioZonesHelper.java82 CONTEXT_NAME_MAP.put("alarm", CarAudioContext.ALARM);
102 CarAudioContext.ALARM,
DCarVolume.java60 CarAudioContext.ALARM,
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeTest.java27 import static com.android.car.audio.CarAudioContext.ALARM;
172 List<Integer> activePlaybackContexts = ImmutableList.of(ALARM, CALL, NOTIFICATION); in getSuggestedAudioContext_withActivePlayback_returnsHighestPriorityContext()
183 List<Integer> activePlaybackContexts = ImmutableList.of(ALARM, NOTIFICATION); in getSuggestedAudioContext_withLowerPriorityActivePlaybackAndCall_returnsCall()
440 @AudioContext int[] activeContexts = {ALARM}; in isAnyContextActive_withOneConfigurationAndMismatchedContext_returnsFalse()
450 @AudioContext int[] activeContexts = {ALARM, MUSIC, VOICE_COMMAND}; in isAnyContextActive_withOneConfigurationAndMultipleContexts_returnsTrue()
460 @AudioContext int[] activeContexts = {ALARM, MUSIC, VOICE_COMMAND}; in isAnyContextActive_withOneConfigurationAndMultipleContexts_returnsFalse()
481 @AudioContext int[] activeContexts = {ALARM}; in isAnyContextActive_withActiveHalUsagesAndMismatchedContext_returnsFalse()
536 @AudioContext int[] activeContexts = {ALARM}; in isAnyContextActive_withNullActivePlayback_fails()
547 @AudioContext int[] activeContexts = {ALARM}; in isAnyContextActive_withNullHalUsages_fails()
DCarAudioContextTest.java146 .that(isCriticalAudioContext(CarAudioContext.ALARM)).isFalse(); in isCriticalAudioContext_forNonCritialContexts_returnsFalse()
DCarDuckingUtilsTest.java177 when(mockZone.getAddressForContext(CarAudioContext.ALARM)).thenReturn(MEDIA_ADDRESS); in getAddressesToDuck_withDuckedContextsSharingADevice_includesAddressOnce()
DCarVolumeGroupUnitTest.java535 builder.setDeviceInfoForContext(CarAudioContext.ALARM, mNavigationDeviceInfo); in testVolumeGroupSetup()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZoneTest.java24 import static com.android.car.audio.CarAudioContext.ALARM;
160 .addDeviceAddressAndContexts(ALARM, ALARM_ADDRESS) in findActiveContextsFromPlaybackConfigurations_withMultiDevices_returnsContexts()
172 assertThat(activeContexts).containsExactly(VOICE_COMMAND, ALARM); in findActiveContextsFromPlaybackConfigurations_withMultiDevices_returnsContexts()
180 .addDeviceAddressAndContexts(ALARM, ASSISTANT_ADDRESS) in findActiveContextsFromPlaybackConfigurations_deviceWithMultiContext_returnsContext()
193 assertThat(activeContexts).containsExactly(ALARM); in findActiveContextsFromPlaybackConfigurations_deviceWithMultiContext_returnsContext()
221 .addDeviceAddressAndContexts(ALARM, ALARM_ADDRESS) in findActiveContextsFromPlaybackConfigurations_withMultiGroupMatch_returnsContexts()
233 assertThat(activeContexts).containsExactly(ALARM, USAGE_MEDIA); in findActiveContextsFromPlaybackConfigurations_withMultiGroupMatch_returnsContexts()
DCarAudioZonesHelperLegacyTest.java136 CarAudioContext.ALARM, CarAudioContext.NOTIFICATION, CarAudioContext.SYSTEM_SOUND); in loadAudioZones_associatesLegacyContextsWithCorrectBuses()
/packages/modules/StatsD/tests/src/android/cts/statsd/alarm/
DAlarmTests.java72 .setRuleType(Subscription.RuleType.ALARM) in getBaseConfig()
/packages/modules/StatsD/statsd/src/
Dstatsd_config.proto427 ALARM = 1; enumerator
/packages/modules/StatsD/statsd/tests/e2e/
DConfigUpdate_e2e_test.cpp2441 Subscription preserveSub = createSubscription("S1", Subscription::ALARM, alarmPreserve.id()); in TEST_F()
2443 Subscription replaceSub = createSubscription("S2", Subscription::ALARM, alarmReplace.id()); in TEST_F()
2445 Subscription removeSub = createSubscription("S3", Subscription::ALARM, alarmRemove.id()); in TEST_F()
2536 Subscription newSub = createSubscription("S4", Subscription::ALARM, alarmNew.id()); in TEST_F()
/packages/modules/StatsD/statsd/tests/metrics/parsing_utils/
Dconfig_update_utils_test.cpp3458 Subscription subscription1 = createSubscription("S1", Subscription::ALARM, alarm1Id); in TEST_F()
3460 Subscription subscription2 = createSubscription("S2", Subscription::ALARM, alarm1Id); in TEST_F()
3462 Subscription subscription3 = createSubscription("S3", Subscription::ALARM, alarm2Id); in TEST_F()
3479 Subscription subscription4 = createSubscription("S4", Subscription::ALARM, alarm1Id); in TEST_F()
/packages/modules/StatsD/statsd/src/metrics/parsing_utils/
Dmetrics_manager_util.cpp1179 if (!initSubscribersForSubscriptionType(config, Subscription::ALARM, alarmTrackerMap, in initAlarms()