Searched refs:audioZones (Results 1 – 7 of 7) sorted by relevance
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioMirrorRequestHandler.java | 137 void enableMirrorForZones(long requestId, int[] audioZones) { in enableMirrorForZones() argument 138 Objects.requireNonNull(audioZones, "Mirror audio zones can not be null"); in enableMirrorForZones() 142 mRequestIdToZones.put(requestId, audioZones); in enableMirrorForZones() 143 for (int index = 0; index < audioZones.length; index++) { in enableMirrorForZones() 144 mZonesToMirrorRequestId.put(audioZones[index], requestId); in enableMirrorForZones() 148 handleInformCallbacks(audioZones, CarAudioManager.AUDIO_REQUEST_STATUS_APPROVED)); in enableMirrorForZones() 151 private void handleInformCallbacks(int[] audioZones, int status) { in handleInformCallbacks() argument 159 callback.onAudioZonesMirrorStatusChanged(audioZones, status); in handleInformCallbacks() 182 void rejectMirrorForZones(long requestId, int[] audioZones) { in rejectMirrorForZones() argument 183 Objects.requireNonNull(audioZones, "Rejected audio zones can not be null"); in rejectMirrorForZones() [all …]
|
D | CarAudioService.java | 1339 public long enableMirrorForAudioZones(int[] audioZones) { in enableMirrorForAudioZones() argument 1343 verifyCanMirrorToAudioZones(audioZones, /* forExtension= */ false); in enableMirrorForAudioZones() 1353 mHandler.post(() -> handleEnableAudioMirrorForZones(audioZones, requestId)); in enableMirrorForAudioZones() 1362 public void extendAudioMirrorRequest(long mirrorId, int[] audioZones) { in extendAudioMirrorRequest() argument 1366 verifyCanMirrorToAudioZones(audioZones, /* forExtension= */ true); in extendAudioMirrorRequest() 1369 mHandler.post(() -> handleEnableAudioMirrorForZones(audioZones, mirrorId)); in extendAudioMirrorRequest() 1455 private void verifyCanMirrorToAudioZones(int[] audioZones, boolean forExtension) { in verifyCanMirrorToAudioZones() argument 1456 Objects.requireNonNull(audioZones, "Mirror audio zones can not be null"); in verifyCanMirrorToAudioZones() 1461 Preconditions.checkArgument(audioZones.length >= minSize, in verifyCanMirrorToAudioZones() 1463 ArraySet<Integer> zones = CarServiceUtils.toIntArraySet(audioZones); in verifyCanMirrorToAudioZones() [all …]
|
/packages/services/Car/car-lib/src/android/car/media/ |
D | ICarAudio.aidl | 100 long enableMirrorForAudioZones(in int[] audioZones); in enableMirrorForAudioZones() argument 101 void extendAudioMirrorRequest(long mirrorId, in int[] audioZones); in extendAudioMirrorRequest() argument
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioMirrorTestFragment.java | 235 ArraySet<Integer> audioZones = new ArraySet<>(); in setupAudioZones() local 248 audioZones.add(audioZoneId); in setupAudioZones() 251 Integer[] zones = audioZones.toArray(Integer[]::new); in setupAudioZones()
|
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/ |
D | FakeCarAudioService.java | 213 public long enableMirrorForAudioZones(int[] audioZones) { in enableMirrorForAudioZones() argument 221 public void extendAudioMirrorRequest(long mirrorId, int[] audioZones) { in extendAudioMirrorRequest() argument
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarVolumeGroupMutingTest.java | 566 SparseArray<CarAudioZone> audioZones = new SparseArray<>(); in getAudioZones() local 568 audioZones.put(zone.getId(), zone); in getAudioZones() 570 return audioZones; in getAudioZones()
|
D | CarAudioServiceUnitTest.java | 4252 int[] audioZones = new int[]{TEST_REAR_LEFT_ZONE_ID, PRIMARY_AUDIO_ZONE}; in enableMirrorForAudioZones_forPrimaryZone_fails() local 4256 service.enableMirrorForAudioZones(audioZones)); in enableMirrorForAudioZones_forPrimaryZone_fails() 4282 int[] audioZones = new int[]{TEST_REAR_LEFT_ZONE_ID, in enableMirrorForAudioZones_forRepeatingZones_fails() local 4287 service.enableMirrorForAudioZones(audioZones)); in enableMirrorForAudioZones_forRepeatingZones_fails()
|