/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarVolumeGroupFactoryTest.java | 39 private static final int CONFIG_ID = 1; field in CarVolumeGroupFactoryTest 249 CONFIG_ID, GROUP_ID)).thenReturn(-1); in factoryBuild_withNoStoredGain_usesDefaultGain() 262 CONFIG_ID, GROUP_ID)).thenReturn(MAX_GAIN_INDEX + 1); in factoryBuild_withTooLargeStoredGain_usesDefaultGain() 274 CONFIG_ID, GROUP_ID)).thenReturn(MIN_GAIN_INDEX - 1); in factoryBuild_withTooSmallStoredGain_usesDefaultGain() 286 CONFIG_ID, GROUP_ID)).thenReturn(MAX_GAIN_INDEX - 1); in factoryBuild_withValidStoredGain_usesStoredGain() 299 CONFIG_ID, GROUP_ID, GROUP_NAME, /* useCarVolumeGroupMute= */ true, in factoryConstructor_withNullCarAudioSettings_fails() 311 /* carAudioContext= */ null, ZONE_ID, CONFIG_ID, GROUP_ID, in factoryConstructor_withNullCarAudioContext_fails() 324 TEST_CAR_AUDIO_CONTEXT, ZONE_ID, CONFIG_ID, GROUP_ID, GROUP_NAME, in factoryConstructor_withNullCarActivationVolumeConfig_fails() 333 ZONE_ID, CONFIG_ID, GROUP_ID, GROUP_NAME, /* useCarVolumeGroupMute= */ true, in getFactory()
|
D | CarVolumeGroupUnitTest.java | 75 private static final int CONFIG_ID = 1; field in CarVolumeGroupUnitTest 269 CarAudioSettings settings = new SettingsBuilder(ZONE_ID, CONFIG_ID, GROUP_ID) in setMute_withMutedState_storesValueToSetting() 276 verify(settings).storeVolumeGroupMuteForUser(TEST_USER_10, ZONE_ID, CONFIG_ID, GROUP_ID, in setMute_withMutedState_storesValueToSetting() 282 CarAudioSettings settings = new SettingsBuilder(ZONE_ID, CONFIG_ID, GROUP_ID) in setMute_withUnMutedState_storesValueToSetting() 289 verify(settings).storeVolumeGroupMuteForUser(TEST_USER_10, ZONE_ID, CONFIG_ID, GROUP_ID, in setMute_withUnMutedState_storesValueToSetting() 477 CarAudioSettings settings = new SettingsBuilder(ZONE_ID, CONFIG_ID, GROUP_ID) in setCurrentGainIndex_setsCurrentGainIndexForUser() 484 verify(settings).storeVolumeGainIndexForUser(TEST_USER_11, ZONE_ID, CONFIG_ID, GROUP_ID, in setCurrentGainIndex_setsCurrentGainIndexForUser() 490 CarAudioSettings settings = new SettingsBuilder(ZONE_ID, CONFIG_ID, GROUP_ID) in setCurrentGainIndex_setsCurrentGainIndexForDefaultUser() 496 verify(settings).storeVolumeGainIndexForUser(UserHandle.USER_CURRENT, ZONE_ID, CONFIG_ID, in setCurrentGainIndex_setsCurrentGainIndexForDefaultUser() 2188 TEST_CAR_AUDIO_CONTEXT, ZONE_ID, CONFIG_ID, GROUP_ID, /* name= */ "0", in getCarVolumeGroupWithNavigationBound() [all …]
|
/packages/modules/StatsD/tests/src/android/cts/statsd/metadata/ |
D | MetadataTests.java | 68 if (stats.getId() == ConfigUtils.CONFIG_ID && stats.getUid() == SHELL_UID) { in testConfigTtl() 91 if (stats.getId() == ConfigUtils.CONFIG_ID && stats.getUid() == SHELL_UID) { in testConfigTtl()
|
/packages/modules/StatsD/statsd/tools/localtools/src/com/android/statsd/shelltools/testdrive/ |
D | TestDrive.java | 72 private static final long CONFIG_ID = 54321; field in TestDrive 265 return Utils.getReportList(CONFIG_ID, true, false, LOGGER, mDeviceSerial); in testDriveAndGetReports() 723 String.valueOf(CONFIG_ID)); in pushConfig() 737 String.valueOf(CONFIG_ID)); in removeConfig()
|
/packages/modules/StatsD/tests/src/android/cts/statsd/alert/ |
D | AnomalyDetectionTests.java | 563 .setEqInt(ConfigUtils.CONFIG_ID)))) in getBaseConfig()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarVolumeGroup.java | 665 proto.write(CarVolumeGroupProto.CONFIG_ID, mConfigId); in dumpProto()
|