/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioService.java | 344 int audioZoneId = mAudioZoneIdToUserIdMapping.keyAt(index); in dump() local 346 mAudioZoneIdToUserIdMapping.get(audioZoneId), in dump() 347 audioZoneId); in dump() 354 int audioZoneId = mAudioZoneIdToOccupantZoneIdMapping.keyAt(index); in dump() local 355 writer.printf("AudioZoneId %d mapped to OccupantZoneId %d\n", audioZoneId, in dump() 356 mAudioZoneIdToOccupantZoneIdMapping.get(audioZoneId)); in dump() 1013 int audioZoneId = mOccupantZoneService.getAudioZoneIdForOccupant( in getZoneIdForUserIdLocked() local 1015 if (audioZoneId != CarAudioManager.INVALID_AUDIO_ZONE) { in getZoneIdForUserIdLocked() 1016 return audioZoneId; in getZoneIdForUserIdLocked() 1338 int audioZoneId = mAudioZoneIdToOccupantZoneIdMapping.keyAt(index); in handleOccupantZoneUserChanged() local [all …]
|
D | CarZonesAudioFocus.java | 76 int audioZoneId = audioZone.getId(); in createCarZonesAudioFocus() local 77 Slogf.d(TAG, "Adding new zone %d", audioZoneId); in createCarZonesAudioFocus() 81 audioFocusPerZone.put(audioZoneId, zoneFocusListener); in createCarZonesAudioFocus() 244 public void updateUserForZoneId(int audioZoneId, @UserIdInt int userId) { in updateUserForZoneId() argument 245 Preconditions.checkArgument(mCarAudioService.isAudioZoneIdValid(audioZoneId), in updateUserForZoneId() 246 "Invalid zoneId %d", audioZoneId); in updateUserForZoneId() local 247 mFocusZones.get(audioZoneId).getFocusInteraction().setUserIdForSettings(userId); in updateUserForZoneId()
|
D | CarAudioZonesHelper.java | 262 final int audioZoneId = getZoneId(isPrimary, parser); in parseAudioZone() local 263 parseOccupantZoneId(audioZoneId, parser); in parseAudioZone() 264 final CarAudioZone zone = new CarAudioZone(audioZoneId, zoneName); in parseAudioZone() 310 private void parseOccupantZoneId(int audioZoneId, XmlPullParser parser) { in parseOccupantZoneId() argument 325 mZoneIdToOccupantZoneIdMapping.put(audioZoneId, occupantZoneId); in parseOccupantZoneId() 381 private void validateAudioZoneIdIsUnique(int audioZoneId) { in validateAudioZoneIdIsUnique() argument 382 if (mAudioZoneIds.contains(audioZoneId)) { in validateAudioZoneIdIsUnique() 383 throw new IllegalArgumentException(ATTR_ZONE_ID + " " + audioZoneId in validateAudioZoneIdIsUnique() 386 mAudioZoneIds.add(audioZoneId); in validateAudioZoneIdIsUnique()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | CarAudioInputTestFragment.java | 117 for (int audioZoneId : audioZoneList) { in initInputInfo() 118 if (mCarAudioManager.getInputDevicesForZoneId(audioZoneId).isEmpty()) { in initInputInfo() 120 Log.d(TAG, "Audio Zone " + audioZoneId + " has no input devices"); in initInputInfo() 124 addAudioZoneInputDevices(audioZoneId); in initInputInfo() 129 private void addAudioZoneInputDevices(int audioZoneId) { in addAudioZoneInputDevices() argument 130 String title = "Audio Zone " + audioZoneId; in addAudioZoneInputDevices() 134 CarAudioZoneInputFragment fragment = new CarAudioZoneInputFragment(audioZoneId, in addAudioZoneInputDevices()
|
D | CarAudioZoneInputFragment.java | 75 public CarAudioZoneInputFragment(int audioZoneId, CarAudioManager carAudioManager, in CarAudioZoneInputFragment() argument 77 mAudioZoneId = audioZoneId; in CarAudioZoneInputFragment() 111 void initAudioInputInfo(int audioZoneId) { in initAudioInputInfo() argument 113 mCarAudioManager.getInputDevicesForZoneId(audioZoneId); in initAudioInputInfo()
|
D | AudioTestFragment.java | 448 int audioZoneId = mCarAudioManager.getZoneIdForUid(info.uid); in setActivityCurrentZoneId() local 449 currentZoneIdTextView.setText(Integer.toString(audioZoneId)); in setActivityCurrentZoneId() 747 for (int audioZoneId: mCarAudioManager.getAudioZoneIds()) { in setUpDeviceAddressPlayer() 749 .getOutputDeviceForUsage(audioZoneId, USAGE_MEDIA); in setUpDeviceAddressPlayer() 752 carAudioZoneDeviceInfo.mAudioZoneId = audioZoneId; in setUpDeviceAddressPlayer() 757 + " for audio zone id " + audioZoneId); in setUpDeviceAddressPlayer()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarOccupantZoneService.java | 158 public int audioZoneId = CarAudioManager.INVALID_AUDIO_ZONE; field in CarOccupantZoneService.OccupantConfig 171 if (audioZoneId != CarAudioManager.INVALID_AUDIO_ZONE) { in toString() 172 b.append(audioZoneId); in toString() 422 int audioZoneId = mAudioZoneIdToOccupantZoneIdMapping.keyAt(index); in dump() local 423 writer.println(" audioZoneId=" + Integer.toHexString(audioZoneId) in dump() 532 return config.audioZoneId; in getAudioZoneIdForOccupant() 545 int audioZoneId = mAudioZoneIdToOccupantZoneIdMapping.keyAt(index); in getAudioZoneIdForOccupantLocked() local 546 if (occupantZoneId == mAudioZoneIdToOccupantZoneIdMapping.get(audioZoneId)) { in getAudioZoneIdForOccupantLocked() 547 return audioZoneId; in getAudioZoneIdForOccupantLocked() 554 public CarOccupantZoneManager.OccupantZoneInfo getOccupantForAudioZoneId(int audioZoneId) { in getOccupantForAudioZoneId() argument [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | TestCarAudioZoneBuilder.java | 28 public TestCarAudioZoneBuilder(String audioZoneName, int audioZoneId) { in TestCarAudioZoneBuilder() argument 29 mAudioZoneId = audioZoneId; in TestCarAudioZoneBuilder()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | AudioAutoStartActivity.java | 121 int audioZoneId = mCarAudioManager.getZoneIdForUid(info.uid); in setActivityCurrentZoneId() local 122 currentZoneIdTextView.setText(Integer.toString(audioZoneId)); in setActivityCurrentZoneId()
|
/packages/services/Car/service/src/com/android/car/audio/hal/ |
D | HalAudioFocus.java | 151 public @AttributeUsage int[] getActiveUsagesForZone(int audioZoneId) { in getActiveUsagesForZone() argument 154 mHalFocusRequestsByZoneAndUsage.get(audioZoneId); in getActiveUsagesForZone()
|
/packages/services/Car/car-lib/src/android/car/ |
D | CarOccupantZoneManager.java | 392 public OccupantZoneInfo getOccupantForAudioZoneId(int audioZoneId) { in getOccupantForAudioZoneId() argument 394 return mService.getOccupantForAudioZoneId(audioZoneId); in getOccupantForAudioZoneId()
|
D | ICarOccupantZone.aidl | 29 CarOccupantZoneManager.OccupantZoneInfo getOccupantForAudioZoneId(in int audioZoneId); in getOccupantForAudioZoneId() argument
|
/packages/services/Car/car-lib/src/android/car/media/ |
D | ICarAudio.aidl | 58 boolean isPlaybackOnVolumeGroupActive(int volumeGroupId, int audioZoneId); in isPlaybackOnVolumeGroupActive() argument
|
/packages/services/Car/car-test-lib/src/android/car/testapi/ |
D | FakeCarAudioService.java | 135 public boolean isPlaybackOnVolumeGroupActive(int volumeGroupId, int audioZoneId) { in isPlaybackOnVolumeGroupActive() argument
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/ |
D | AudioControlWrapperAidlTest.java | 448 private MutingInfo verifyOnDevicesToMuteChangeCalled(int audioZoneId) throws Exception { in verifyOnDevicesToMuteChangeCalled() argument 452 if (info.zoneId != audioZoneId) { in verifyOnDevicesToMuteChangeCalled()
|