/packages/services/Car/service/src/com/android/car/audio/ |
D | CarDuckingUtils.java | 19 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
|
D | CarAudioContext.java | 76 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,
|
D | CarAudioZonesHelper.java | 82 CONTEXT_NAME_MAP.put("alarm", CarAudioContext.ALARM); 102 CarAudioContext.ALARM,
|
D | CarVolume.java | 60 CarAudioContext.ALARM,
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarVolumeTest.java | 27 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()
|
D | CarAudioContextTest.java | 146 .that(isCriticalAudioContext(CarAudioContext.ALARM)).isFalse(); in isCriticalAudioContext_forNonCritialContexts_returnsFalse()
|
D | CarDuckingUtilsTest.java | 177 when(mockZone.getAddressForContext(CarAudioContext.ALARM)).thenReturn(MEDIA_ADDRESS); in getAddressesToDuck_withDuckedContextsSharingADevice_includesAddressOnce()
|
D | CarVolumeGroupUnitTest.java | 535 builder.setDeviceInfoForContext(CarAudioContext.ALARM, mNavigationDeviceInfo); in testVolumeGroupSetup()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | CarAudioZoneTest.java | 24 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()
|
D | CarAudioZonesHelperLegacyTest.java | 136 CarAudioContext.ALARM, CarAudioContext.NOTIFICATION, CarAudioContext.SYSTEM_SOUND); in loadAudioZones_associatesLegacyContextsWithCorrectBuses()
|
/packages/modules/StatsD/tests/src/android/cts/statsd/alarm/ |
D | AlarmTests.java | 72 .setRuleType(Subscription.RuleType.ALARM) in getBaseConfig()
|
/packages/modules/StatsD/statsd/src/ |
D | statsd_config.proto | 427 ALARM = 1; enumerator
|
/packages/modules/StatsD/statsd/tests/e2e/ |
D | ConfigUpdate_e2e_test.cpp | 2441 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/ |
D | config_update_utils_test.cpp | 3458 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/ |
D | metrics_manager_util.cpp | 1179 if (!initSubscribersForSubscriptionType(config, Subscription::ALARM, alarmTrackerMap, in initAlarms()
|