Home
last modified time | relevance | path

Searched refs:mCarAudioSettings (Results 1 – 9 of 9) sorted by relevance

/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperTest.java58 private CarAudioSettings mCarAudioSettings; field in CarAudioZonesHelperTest
82 mCarAudioSettings = mock(CarAudioSettings.class); in setUp()
141 CarAudioZonesHelper cazh = new CarAudioZonesHelper(mCarAudioSettings, mInputStream, in loadAudioZones_parsesAllZones()
153 CarAudioZonesHelper cazh = new CarAudioZonesHelper(mCarAudioSettings, versionOneStream, in loadAudioZones_versionOneParsesAllZones()
164 CarAudioZonesHelper cazh = new CarAudioZonesHelper(mCarAudioSettings, mInputStream, in loadAudioZones_parsesAudioZoneId()
178 CarAudioZonesHelper cazh = new CarAudioZonesHelper(mCarAudioSettings, mInputStream, in loadAudioZones_parsesOccupantZoneId()
195 CarAudioZonesHelper cazh = new CarAudioZonesHelper(mCarAudioSettings, mInputStream, in loadAudioZones_parsesZoneName()
206 CarAudioZonesHelper cazh = new CarAudioZonesHelper(mCarAudioSettings, mInputStream, in loadAudioZones_parsesIsPrimary()
220 CarAudioZonesHelper cazh = new CarAudioZonesHelper(mCarAudioSettings, mInputStream, in loadAudioZones_parsesVolumeGroups()
231 CarAudioZonesHelper cazh = new CarAudioZonesHelper(mCarAudioSettings, mInputStream, in loadAudioZones_parsesAddresses()
[all …]
DCarZonesAudioFocusTest.java82 private CarAudioSettings mCarAudioSettings; field in CarZonesAudioFocusTest
340 mCarAudioSettings, enableDelayedFocus, mMockCarFocusCallback); in getCarZonesAudioFocus()
348 when(mCarAudioSettings.getContentResolver()).thenReturn(mContentResolver); in setUpRejectNavigationOnCallValue()
349 when(mCarAudioSettings.isRejectNavigationOnCallEnabledInSettings(TEST_USER_ID)) in setUpRejectNavigationOnCallValue()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioSettingsUnitTest.java47 private CarAudioSettings mCarAudioSettings; field in CarAudioSettingsUnitTest
51 mCarAudioSettings = new CarAudioSettings(mMockContentResolver); in setUp()
59 TEST_USER_ID_1).that(mCarAudioSettings in isRejectNavigationOnCallEnabledInSettings_whenSetToNotToReject_returnsFalse()
68 TEST_USER_ID_1).that(mCarAudioSettings in isRejectNavigationOnCallEnabledInSettings_whenSetToToReject_returnsTrue()
77 TEST_USER_ID_1, TEST_ZONE_ID, TEST_USER_ID_1).that(mCarAudioSettings in getStoredVolumeGainIndexForUser_returnsSavedValue()
84 mCarAudioSettings.storeVolumeGainIndexForUser(TEST_USER_ID_1, TEST_ZONE_ID, in storedVolumeGainIndexForUser_savesValue()
94 mCarAudioSettings.storeVolumeGroupMuteForUser(TEST_USER_ID_1, TEST_ZONE_ID, in storeVolumeGroupMuteForUser_withUnMutedState_savesValue()
104 mCarAudioSettings.storeVolumeGroupMuteForUser(TEST_USER_ID_1, TEST_ZONE_ID, in storeVolumeGroupMuteForUser_withMutedState_savesValue()
116 boolean muteState = mCarAudioSettings in getVolumeGroupMuteForUser_withUnMutedState_returnsFalse()
128 boolean muteState = mCarAudioSettings in getVolumeGroupMuteForUser_withMutedState_returnsTrue()
[all …]
DCarZonesAudioFocusUnitTest.java70 private CarAudioSettings mCarAudioSettings; field in CarZonesAudioFocusUnitTest
87 mMockPackageManager, mMockZones, mCarAudioSettings, true, in newCarZonesAudioFocus_withNullAudioManager_throws()
96 null, mMockZones, mCarAudioSettings, true, mMockCarFocusCallback) in newCarZonesAudioFocus_withNullPackageManager_throws()
104 mMockPackageManager, null, mCarAudioSettings, true, mMockCarFocusCallback) in newCarZonesAudioFocus_withNullCarAudioZones_throws()
112 mMockPackageManager, new SparseArray<>(), mCarAudioSettings, true, in newCarZonesAudioFocus_withEmptyCarAudioZones_throws()
128 mMockZones, mCarAudioSettings, true, null); in newCarZonesAudioFocus_withNullCarFocusCallback_succeeds()
DCarAudioFocusUnitTest.java82 private CarAudioSettings mCarAudioSettings; field in CarAudioFocusUnitTest
89 mFocusInteraction = new FocusInteraction(mCarAudioSettings); in setUp()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZonesHelperLegacy.java64 private final CarAudioSettings mCarAudioSettings; field in CarAudioZonesHelperLegacy
73 mCarAudioSettings = Objects.requireNonNull(carAudioSettings); in CarAudioZonesHelperLegacy()
181 mCarAudioSettings, /* useCarVolumeGroupMute= */ false); in parseVolumeGroup()
DCarVolumeGroup.java337 private final CarAudioSettings mCarAudioSettings; field in CarVolumeGroup.Builder
355 mCarAudioSettings = carAudioSettings; in Builder()
394 CarVolumeGroup group = new CarVolumeGroup(mZoneId, mId, mCarAudioSettings, mStepSize, in build()
DCarAudioService.java143 private final CarAudioSettings mCarAudioSettings; field in CarAudioService
212 mCarAudioSettings = new CarAudioSettings(mContext.getContentResolver()); in CarAudioService()
267 boolean storedMasterMute = mCarAudioSettings.getMasterMute(); in restoreMasterMuteState()
465 mCarAudioSettings.storeMasterMute(mAudioManager.isMasterMute()); in callbackMasterMuteChange()
557 CarAudioZonesHelper zonesHelper = new CarAudioZonesHelper(mCarAudioSettings, in loadCarAudioConfigurationLocked()
577 (AudioControlWrapperV1) audioControlWrapper, mCarAudioSettings); in loadVolumeGroupConfigurationWithAudioControlLocked()
635 mCarAudioSettings, in setupDynamicRoutingLocked()
DCarAudioZonesHelper.java129 private final CarAudioSettings mCarAudioSettings; field in CarAudioZonesHelper
149 mCarAudioSettings = Objects.requireNonNull(carAudioSettings); in CarAudioZonesHelper()
406 new CarVolumeGroup.Builder(zoneId, groupId, mCarAudioSettings, in parseVolumeGroup()