Home
last modified time | relevance | path

Searched refs:audioZoneIdToOccupantZoneMapping (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarOccupantZoneServiceTest.java731 SparseIntArray audioZoneIdToOccupantZoneMapping = in testSetAudioConfigMapping() local
734 mService.setAudioZoneIdsForOccupantZoneIds(audioZoneIdToOccupantZoneMapping); in testSetAudioConfigMapping()
744 SparseIntArray audioZoneIdToOccupantZoneMapping = new SparseIntArray(2); in getDefaultAudioZoneToOccupantZoneMapping() local
745 audioZoneIdToOccupantZoneMapping.put(PRIMARY_AUDIO_ZONE_ID, in getDefaultAudioZoneToOccupantZoneMapping()
747 audioZoneIdToOccupantZoneMapping.put(SECONDARY_AUDIO_ZONE_ID, in getDefaultAudioZoneToOccupantZoneMapping()
749 return audioZoneIdToOccupantZoneMapping; in getDefaultAudioZoneToOccupantZoneMapping()
755 SparseIntArray audioZoneIdToOccupantZoneMapping = in testOccupantZoneConfigInfoForAudio() local
761 mService.setAudioZoneIdsForOccupantZoneIds(audioZoneIdToOccupantZoneMapping); in testOccupantZoneConfigInfoForAudio()
781 SparseIntArray audioZoneIdToOccupantZoneMapping = in testMissingAudioConfigMapping() local
784 mService.setAudioZoneIdsForOccupantZoneIds(audioZoneIdToOccupantZoneMapping); in testMissingAudioConfigMapping()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarOccupantZoneService.java814 @NonNull SparseIntArray audioZoneIdToOccupantZoneMapping) { in setAudioZoneIdsForOccupantZoneIds()
815 Objects.requireNonNull(audioZoneIdToOccupantZoneMapping, in setAudioZoneIdsForOccupantZoneIds()
818 validateOccupantZoneIdsLocked(audioZoneIdToOccupantZoneMapping); in setAudioZoneIdsForOccupantZoneIds()
820 for (int index = 0; index < audioZoneIdToOccupantZoneMapping.size(); index++) { in setAudioZoneIdsForOccupantZoneIds()
821 int audioZoneId = audioZoneIdToOccupantZoneMapping.keyAt(index); in setAudioZoneIdsForOccupantZoneIds()
823 audioZoneIdToOccupantZoneMapping.get(audioZoneId)); in setAudioZoneIdsForOccupantZoneIds()
832 private void validateOccupantZoneIdsLocked(SparseIntArray audioZoneIdToOccupantZoneMapping) { in validateOccupantZoneIdsLocked() argument
833 for (int i = 0; i < audioZoneIdToOccupantZoneMapping.size(); i++) { in validateOccupantZoneIdsLocked()
835 audioZoneIdToOccupantZoneMapping.get(audioZoneIdToOccupantZoneMapping.keyAt(i)); in validateOccupantZoneIdsLocked()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java2167 SparseIntArray audioZoneIdToOccupantZoneMapping;
2168 audioZoneIdToOccupantZoneMapping = mAudioZoneIdToOccupantZoneIdMapping;
2170 occupantZoneService.setAudioZoneIdsForOccupantZoneIds(audioZoneIdToOccupantZoneMapping);