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.java481 SparseIntArray audioZoneIdToOccupantZoneMapping = in testSetAudioConfigMapping() local
484 mService.setAudioZoneIdsForOccupantZoneIds(audioZoneIdToOccupantZoneMapping); in testSetAudioConfigMapping()
494 SparseIntArray audioZoneIdToOccupantZoneMapping = new SparseIntArray(2); in getDefaultAudioZoneToOccupantZoneMapping() local
495 audioZoneIdToOccupantZoneMapping.put(PRIMARY_AUDIO_ZONE_ID, in getDefaultAudioZoneToOccupantZoneMapping()
497 audioZoneIdToOccupantZoneMapping.put(SECONDARY_AUDIO_ZONE_ID, in getDefaultAudioZoneToOccupantZoneMapping()
499 return audioZoneIdToOccupantZoneMapping; in getDefaultAudioZoneToOccupantZoneMapping()
505 SparseIntArray audioZoneIdToOccupantZoneMapping = in testOccupantZoneConfigInfoForAudio() local
511 mService.setAudioZoneIdsForOccupantZoneIds(audioZoneIdToOccupantZoneMapping); in testOccupantZoneConfigInfoForAudio()
531 SparseIntArray audioZoneIdToOccupantZoneMapping = in testMissingAudioConfigMapping() local
534 mService.setAudioZoneIdsForOccupantZoneIds(audioZoneIdToOccupantZoneMapping); in testMissingAudioConfigMapping()
[all …]
/packages/services/Car/service/src/com/android/car/
DCarOccupantZoneService.java582 @NonNull SparseIntArray audioZoneIdToOccupantZoneMapping) { in setAudioZoneIdsForOccupantZoneIds()
583 Objects.requireNonNull(audioZoneIdToOccupantZoneMapping, in setAudioZoneIdsForOccupantZoneIds()
586 validateOccupantZoneIdsLocked(audioZoneIdToOccupantZoneMapping); in setAudioZoneIdsForOccupantZoneIds()
588 for (int index = 0; index < audioZoneIdToOccupantZoneMapping.size(); index++) { in setAudioZoneIdsForOccupantZoneIds()
589 int audioZoneId = audioZoneIdToOccupantZoneMapping.keyAt(index); in setAudioZoneIdsForOccupantZoneIds()
591 audioZoneIdToOccupantZoneMapping.get(audioZoneId)); in setAudioZoneIdsForOccupantZoneIds()
599 private void validateOccupantZoneIdsLocked(SparseIntArray audioZoneIdToOccupantZoneMapping) { in validateOccupantZoneIdsLocked() argument
600 for (int i = 0; i < audioZoneIdToOccupantZoneMapping.size(); i++) { in validateOccupantZoneIdsLocked()
602 audioZoneIdToOccupantZoneMapping.get(audioZoneIdToOccupantZoneMapping.keyAt(i)); in validateOccupantZoneIdsLocked()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java565 SparseIntArray audioZoneIdToOccupantZoneMapping; in setupOccupantZoneInfo() local
568 audioZoneIdToOccupantZoneMapping = mAudioZoneIdToOccupantZoneIdMapping; in setupOccupantZoneInfo()
573 occupantZoneService.setAudioZoneIdsForOccupantZoneIds(audioZoneIdToOccupantZoneMapping); in setupOccupantZoneInfo()