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.java499 SparseIntArray audioZoneIdToOccupantZoneMapping = in testSetAudioConfigMapping() local
502 mService.setAudioZoneIdsForOccupantZoneIds(audioZoneIdToOccupantZoneMapping); in testSetAudioConfigMapping()
512 SparseIntArray audioZoneIdToOccupantZoneMapping = new SparseIntArray(2); in getDefaultAudioZoneToOccupantZoneMapping() local
513 audioZoneIdToOccupantZoneMapping.put(PRIMARY_AUDIO_ZONE_ID, in getDefaultAudioZoneToOccupantZoneMapping()
515 audioZoneIdToOccupantZoneMapping.put(SECONDARY_AUDIO_ZONE_ID, in getDefaultAudioZoneToOccupantZoneMapping()
517 return audioZoneIdToOccupantZoneMapping; in getDefaultAudioZoneToOccupantZoneMapping()
523 SparseIntArray audioZoneIdToOccupantZoneMapping = in testOccupantZoneConfigInfoForAudio() local
529 mService.setAudioZoneIdsForOccupantZoneIds(audioZoneIdToOccupantZoneMapping); in testOccupantZoneConfigInfoForAudio()
549 SparseIntArray audioZoneIdToOccupantZoneMapping = in testMissingAudioConfigMapping() local
552 mService.setAudioZoneIdsForOccupantZoneIds(audioZoneIdToOccupantZoneMapping); in testMissingAudioConfigMapping()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarOccupantZoneService.java639 @NonNull SparseIntArray audioZoneIdToOccupantZoneMapping) { in setAudioZoneIdsForOccupantZoneIds()
640 Objects.requireNonNull(audioZoneIdToOccupantZoneMapping, in setAudioZoneIdsForOccupantZoneIds()
643 validateOccupantZoneIdsLocked(audioZoneIdToOccupantZoneMapping); in setAudioZoneIdsForOccupantZoneIds()
645 for (int index = 0; index < audioZoneIdToOccupantZoneMapping.size(); index++) { in setAudioZoneIdsForOccupantZoneIds()
646 int audioZoneId = audioZoneIdToOccupantZoneMapping.keyAt(index); in setAudioZoneIdsForOccupantZoneIds()
648 audioZoneIdToOccupantZoneMapping.get(audioZoneId)); in setAudioZoneIdsForOccupantZoneIds()
656 private void validateOccupantZoneIdsLocked(SparseIntArray audioZoneIdToOccupantZoneMapping) { in validateOccupantZoneIdsLocked() argument
657 for (int i = 0; i < audioZoneIdToOccupantZoneMapping.size(); i++) { in validateOccupantZoneIdsLocked()
659 audioZoneIdToOccupantZoneMapping.get(audioZoneIdToOccupantZoneMapping.keyAt(i)); in validateOccupantZoneIdsLocked()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java664 SparseIntArray audioZoneIdToOccupantZoneMapping; in setupOccupantZoneInfo() local
667 audioZoneIdToOccupantZoneMapping = mAudioZoneIdToOccupantZoneIdMapping; in setupOccupantZoneInfo()
672 occupantZoneService.setAudioZoneIdsForOccupantZoneIds(audioZoneIdToOccupantZoneMapping); in setupOccupantZoneInfo()