/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | CarAudioZonesHelperTest.java | 201 private CarAudioSettings mCarAudioSettings; field in CarAudioZonesHelperTest 233 mCarAudioSettings = mock(CarAudioSettings.class); in setUp() 296 CarAudioZonesHelper cazh = new CarAudioZonesHelper(mAudioManagerWrapper, mCarAudioSettings, in loadAudioZones_parsesAllZones() 313 mCarAudioSettings, versionTwoStream, mCarAudioOutputDeviceInfos, in loadAudioZones_versionTwoParsesAllZones() 331 mCarAudioSettings, versionOneStream, mCarAudioOutputDeviceInfos, in loadAudioZones_versionOneParsesAllZones() 345 CarAudioZonesHelper cazh = new CarAudioZonesHelper(mAudioManagerWrapper, mCarAudioSettings, in loadAudioZones_parsesAudioZoneId() 365 mCarAudioSettings, versionTwoStream, mCarAudioOutputDeviceInfos, in loadAudioZones_versionTwoParsesAudioZoneId() 382 CarAudioZonesHelper cazh = new CarAudioZonesHelper(mAudioManagerWrapper, mCarAudioSettings, in loadAudioZones_parsesOccupantZoneId() 406 mCarAudioSettings, versionTwoStream, mCarAudioOutputDeviceInfos, in loadAudioZones_versionTwoParsesOccupantZoneId() 427 CarAudioZonesHelper cazh = new CarAudioZonesHelper(mAudioManagerWrapper, mCarAudioSettings, in loadAudioZones_parsesZoneName() [all …]
|
D | CarZonesAudioFocusTestBase.java | 190 private CarAudioSettings mCarAudioSettings; field in CarZonesAudioFocusTestBase 272 mMockPackageManager, mCarAudioZones, mCarAudioSettings, carFocusCallback, in getCarZonesAudioFocus() 285 when(mCarAudioSettings.getContentResolverForUser(TEST_USER_ID)) in setUpRejectNavigationOnCallValue() 287 when(mCarAudioSettings.isRejectNavigationOnCallEnabledInSettings(TEST_USER_ID)) in setUpRejectNavigationOnCallValue()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioSettingsUnitTest.java | 58 private CarAudioSettings mCarAudioSettings; field in CarAudioSettingsUnitTest 75 mCarAudioSettings = new CarAudioSettings(mMockContext); in setUp() 83 TEST_USER_ID_1).that(mCarAudioSettings in isRejectNavigationOnCallEnabledInSettings_whenSetToNotToReject_returnsFalse() 92 TEST_USER_ID_1).that(mCarAudioSettings in isRejectNavigationOnCallEnabledInSettings_whenSetToToReject_returnsTrue() 101 TEST_USER_ID_1, TEST_ZONE_ID, TEST_USER_ID_1).that(mCarAudioSettings in getStoredVolumeGainIndexForUser_returnsSavedValue() 108 mCarAudioSettings.storeVolumeGainIndexForUser(TEST_USER_ID_1, TEST_ZONE_ID, TEST_CONFIG_ID, in storedVolumeGainIndexForUser_savesValue() 118 mCarAudioSettings.storeVolumeGroupMuteForUser(TEST_USER_ID_1, TEST_ZONE_ID, TEST_CONFIG_ID, in storeVolumeGroupMuteForUser_withUnMutedState_savesValue() 128 mCarAudioSettings.storeVolumeGroupMuteForUser(TEST_USER_ID_1, TEST_ZONE_ID, TEST_CONFIG_ID, in storeVolumeGroupMuteForUser_withMutedState_savesValue() 140 boolean muteState = mCarAudioSettings.getVolumeGroupMuteForUser(TEST_USER_ID_1, in getVolumeGroupMuteForUser_withUnMutedState_returnsFalse() 152 boolean muteState = mCarAudioSettings.getVolumeGroupMuteForUser(TEST_USER_ID_1, in getVolumeGroupMuteForUser_withMutedState_returnsTrue() [all …]
|
D | CarZonesAudioFocusUnitTest.java | 83 private CarAudioSettings mCarAudioSettings; field in CarZonesAudioFocusUnitTest 111 mMockPackageManager, mMockZones, mCarAudioSettings, mMockCarFocusCallback, in newCarZonesAudioFocus_withNullAudioManager_throws() 123 null, mMockZones, mCarAudioSettings, mMockCarFocusCallback, in newCarZonesAudioFocus_withNullPackageManager_throws() 135 mMockPackageManager, null, mCarAudioSettings, mMockCarFocusCallback, in newCarZonesAudioFocus_withNullCarAudioZones_throws() 147 mMockPackageManager, new SparseArray<>(), mCarAudioSettings, in newCarZonesAudioFocus_withEmptyCarAudioZones_throws() 170 mMockZones, mCarAudioSettings, null, mMockCarVolumeInfoWrapper, in newCarZonesAudioFocus_withNullCarFocusCallback_succeeds() 178 mMockPackageManager, mMockZones, mCarAudioSettings, mMockCarFocusCallback, in newCarZonesAudioFocus_withNullCarVolumeInfo_fails()
|
D | CarAudioFocusUnitTest.java | 131 private CarAudioSettings mCarAudioSettings; field in CarAudioFocusUnitTest 150 mFocusInteraction = new FocusInteraction(mCarAudioSettings, mMockContentObserverFactory); in setUp()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarVolumeGroupFactory.java | 35 private final CarAudioSettings mCarAudioSettings; field in CarVolumeGroupFactory 51 mCarAudioSettings = Objects.requireNonNull(carAudioSettings, in CarVolumeGroupFactory() 69 group = new CoreAudioVolumeGroup(mAudioManager, mCarAudioContext, mCarAudioSettings, in getCarVolumeGroup() 73 group = new CarAudioVolumeGroup(mCarAudioContext, mCarAudioSettings, in getCarVolumeGroup()
|
D | CarAudioZonesHelperLegacy.java | 74 private final CarAudioSettings mCarAudioSettings; field in CarAudioZonesHelperLegacy 90 mCarAudioSettings = Objects.requireNonNull(carAudioSettings, in CarAudioZonesHelperLegacy() 213 new CarVolumeGroupFactory(/* audioManager= */ null, mCarAudioSettings, in parseVolumeGroup()
|
D | CarAudioZonesHelper.java | 148 private final CarAudioSettings mCarAudioSettings; field in CarAudioZonesHelper 184 mCarAudioSettings = Objects.requireNonNull(carAudioSettings); in CarAudioZonesHelper() 648 mCarAudioSettings, mCarAudioContext, zoneConfigBuilder.getZoneId(), in parseVolumeGroups()
|
D | CarAudioService.java | 232 private final CarAudioSettings mCarAudioSettings; field in CarAudioService 432 mCarAudioSettings = new CarAudioSettings(mContext); in CarAudioService() 538 boolean storedMasterMute = mCarAudioSettings.isMasterMute(); in restoreMasterMuteState() 1057 mCarAudioSettings.storeMasterMute(mAudioManagerWrapper.isMasterMuted()); in callbackMasterMuteChange() 1847 mCarAudioSettings, inputStream, carAudioDeviceInfos, inputDevices, 1894 mCarAudioSettings, inputDevices); 2048 mContext.getPackageManager(), mCarAudioZones, mCarAudioSettings, mCarDucking,
|