/packages/services/Car/service/src/com/android/car/audio/ |
D | CarVolumeInfoWrapper.java | 34 public int getSuggestedAudioContextForZone(int zoneId) { in getSuggestedAudioContextForZone() 38 public int getVolumeGroupIdForAudioZone(int zoneId) { in getVolumeGroupIdForAudioZone() 43 public int getGroupVolume(int zoneId, int groupId) { in getGroupVolume() 47 public int getGroupMinVolume(int zoneId, int groupId) { in getGroupMinVolume() 51 public int getGroupMaxVolume(int zoneId, int groupId) { in getGroupMaxVolume() 55 public boolean isVolumeGroupMuted(int zoneId, int groupId) { in isVolumeGroupMuted() 59 public List<CarVolumeGroupInfo> getMutedVolumeGroups(int zoneId) { in getMutedVolumeGroups() 63 public CarVolumeGroupInfo getVolumeGroupInfo(int zoneId, int groupId) { in getVolumeGroupInfo() 71 public List<CarVolumeGroupInfo> getVolumeGroupInfosForZone(int zoneId) { in getVolumeGroupInfosForZone() 75 public List<AudioAttributes> getActiveAudioAttributesForZone(int zoneId) { in getActiveAudioAttributesForZone() [all …]
|
D | CarZonesAudioFocus.java | 114 ArrayList<AudioFocusInfo> getAudioFocusLosersForUid(int uid, int zoneId) { in getAudioFocusLosersForUid() 125 ArrayList<AudioFocusInfo> getAudioFocusHoldersForUid(int uid, int zoneId) { in getAudioFocusHoldersForUid() 136 List<AudioFocusInfo> transientlyLoseAllFocusHoldersInZone(int zoneId) { in transientlyLoseAllFocusHoldersInZone() 150 void transientlyLoseInFocusInZone(List<AudioFocusInfo> afiList, int zoneId) { in transientlyLoseInFocusInZone() 184 int zoneId = getAudioZoneIdForAudioFocusInfo(afi, service); in reevaluateAndRegainAudioFocusList() local 205 int zoneId = getAudioZoneIdForAudioFocusInfo(afi, service); in reevaluateAndRegainAudioFocus() local 248 int zoneId = getAudioZoneIdForAudioFocusInfo(afi, service); in onAudioFocusRequest() local 268 int zoneId = getAudioZoneIdForAudioFocusInfo(afi, service); in onAudioFocusAbandon() local 273 private CarAudioFocus getCarAudioFocusForZoneId(int zoneId) { in getCarAudioFocusForZoneId() 278 int zoneId = service.getZoneIdForAudioFocusInfo(afi); in getAudioZoneIdForAudioFocusInfo() local [all …]
|
D | CarAudioPolicyVolumeCallback.java | 75 void onVolumeAdjustment(int adjustment, int zoneId) { in onVolumeAdjustment() 83 private void evaluateVolumeAdjustmentExternal(int adjustment, int zoneId) { in evaluateVolumeAdjustmentExternal() 134 private OemCarAudioVolumeRequest getCarAudioVolumeRequest(int zoneId) { in getCarAudioVolumeRequest() 146 private void evaluateVolumeAdjustmentInternal(int adjustment, int zoneId) { in evaluateVolumeAdjustmentInternal() 201 private boolean isMuted(int zoneId, int groupId) { in isMuted() 221 void onMuteChange(boolean mute, int zoneId, int groupId, int flags); in onMuteChange() 227 void onGroupVolumeChange(int zoneId, int groupId, int volumeValue, int flags); in onGroupVolumeChange()
|
D | CarAudioSettings.java | 51 int getStoredVolumeGainIndexForUser(@UserIdInt int userId, int zoneId, int configId, in getStoredVolumeGainIndexForUser() 57 void storeVolumeGainIndexForUser(@UserIdInt int userId, int zoneId, int configId, int groupId, in storeVolumeGainIndexForUser() 75 void storeVolumeGroupMuteForUser(@UserIdInt int userId, int zoneId, int configId, int groupId, in storeVolumeGroupMuteForUser() 81 boolean getVolumeGroupMuteForUser(@UserIdInt int userId, int zoneId, int configId, in getVolumeGroupMuteForUser() 113 private static String getVolumeSettingsKeyForGroup(int zoneId, int configId, int groupId) { in getVolumeSettingsKeyForGroup() 118 private static String getMuteSettingsKeyForGroup(int zoneId, int configId, int groupId) { in getMuteSettingsKeyForGroup() 123 private static String getFormattedZoneIdAndGroupIdKey(String prefix, int zoneId, int configId, in getFormattedZoneIdAndGroupIdKey()
|
D | CarAudioService.java | 947 public void setGroupVolume(int zoneId, int groupId, int index, int flags) { in setGroupVolume() 977 List<CarAudioPlaybackMonitor.ActivationInfo> activationInfoList, int zoneId, in handleActivationVolumeWithActivationInfos() 1002 private void handleActivationVolumeCallback(List<Integer> groupIdList, int zoneId) { in handleActivationVolumeCallback() 1018 private void resetActivationTypeLocked(int zoneId) { in resetActivationTypeLocked() 1025 private void handleMuteChanged(int zoneId, int groupId, int flags) { in handleMuteChanged() 1033 private void callbackGroupVolumeChange(int zoneId, int groupId, int flags) { in callbackGroupVolumeChange() 1041 private void callbackGroupMuteChanged(int zoneId, int groupId, int flags) { in callbackGroupMuteChanged() 1052 void callbackMasterMuteChange(int zoneId, int flags) { in callbackMasterMuteChange() 1073 public int getGroupMaxVolume(int zoneId, int groupId) { in getGroupMaxVolume() 1091 public int getGroupMinVolume(int zoneId, int groupId) { in getGroupMinVolume() [all …]
|
D | CarDucking.java | 57 int zoneId = carAudioZones.keyAt(i); in CarDucking() local 78 int zoneId = audioZoneIds[i]; in onFocusChange() local 88 private CarDuckingInfo updateDuckingForZoneIdLocked(int zoneId, in updateDuckingForZoneIdLocked() 123 int zoneId = oldDuckingInfo.mZoneId; in generateNewDuckingInfoLocked() local
|
D | CarAudioPlaybackMonitor.java | 84 void resetActivationTypesForZone(int zoneId) { in resetActivationTypesForZone() 100 List<Pair<AudioAttributes, Integer>> newActivePlaybackAttributesWithUid, int zoneId) { in onActiveAudioPlaybackAttributesAdded() 130 int zoneId = currentZoneConfig.getZoneId(); in getActivationInfo() local
|
D | CarAudioMirrorRequestHandler.java | 176 boolean isMirrorEnabledForZone(int zoneId) { in isMirrorEnabledForZone() 200 int zoneId = prevConfig[index]; in updateRemoveMirrorConfigurationForZones() local 214 int zoneId = newConfig[index]; in updateRemoveMirrorConfigurationForZones() local 249 int zoneId = oldConfig[index]; in calculateAudioConfigurationAfterRemovingZonesFromRequestId() local
|
D | CarVolumeCallbackHandler.java | 117 public void onVolumeGroupChange(int zoneId, int groupId, int flags) { in onVolumeGroupChange() 137 public void onGroupMuteChange(int zoneId, int groupId, int flags) { in onGroupMuteChange() 157 void onMasterMuteChanged(int zoneId, int flags) { in onMasterMuteChanged()
|
/packages/services/Car/service/src/com/android/car/audio/hal/ |
D | HalAudioFocus.java | 118 public void requestAudioFocus(PlaybackTrackMetadata metadata, int zoneId, int focusGain) { in requestAudioFocus() 121 "Invalid zoneId %d provided in requestAudioFocus", zoneId); in requestAudioFocus() local 147 public void abandonAudioFocus(PlaybackTrackMetadata metadata, int zoneId) { in abandonAudioFocus() 151 "Invalid zoneId %d provided in abandonAudioFocus", zoneId); in abandonAudioFocus() local 157 mCarAudioContext.getAudioAttributeWrapperFromAttributes(attributes), zoneId); in abandonAudioFocus() local 168 int zoneId = mHalFocusRequestsByZoneAndAttributes.keyAt(i); in reset() local 212 int zoneId = mHalFocusRequestsByZoneAndAttributes.keyAt(i); in dump() local 238 int zoneId = mHalFocusRequestsByZoneAndAttributes.keyAt(i); in dumpProto() local 254 int zoneId) { in abandonAudioFocusLocked() 286 AudioAttributesWrapper audioAttributesWrapper, int zoneId) { in generateAudioAttributes() [all …]
|
D | AudioControlWrapperAidl.java | 164 public void onAudioFocusChange(PlaybackTrackMetadata metaData, int zoneId, int focusChange) { in onAudioFocusChange() 177 private void onAudioFocusChange(@AttributeUsage int usage, int zoneId, int focusChange) { in onAudioFocusChange() 389 public void requestAudioFocus(String usage, int zoneId, int focusGain) { in requestAudioFocus() 395 public void abandonAudioFocus(String usage, int zoneId) { in abandonAudioFocus() 402 PlaybackTrackMetadata playbackMetaData, int zoneId, int focusGain) { in requestAudioFocusWithMetaData() 412 PlaybackTrackMetadata playbackMetaData, int zoneId) { in abandonAudioFocusWithMetaData() 420 private void abandonAudioFocus(int usage, int zoneId) { in abandonAudioFocus() 421 abandonAudioFocusWithMetaData(usageToMetadata(usage), zoneId); in abandonAudioFocus() local 424 private void requestAudioFocus(int usage, int zoneId, int focusGain) { in requestAudioFocus() 425 requestAudioFocusWithMetaData(usageToMetadata(usage), zoneId, focusGain); in requestAudioFocus() local
|
D | AudioControlWrapperV2.java | 112 public void onAudioFocusChange(PlaybackTrackMetadata metaData, int zoneId, int focusChange) { in onAudioFocusChange() 217 public void requestAudioFocus(int usage, int zoneId, int focusGain) throws RemoteException { in requestAudioFocus() 218 mListener.requestAudioFocus(usageToMetadata(usage), zoneId, focusGain); in requestAudioFocus() local 222 public void abandonAudioFocus(int usage, int zoneId) throws RemoteException { in abandonAudioFocus() 223 mListener.abandonAudioFocus(usageToMetadata(usage), zoneId); in abandonAudioFocus() local
|
D | HalFocusListener.java | 32 void requestAudioFocus(PlaybackTrackMetadata metadata, int zoneId, int focusGain); in requestAudioFocus() 40 void abandonAudioFocus(PlaybackTrackMetadata metadata, int zoneId); in abandonAudioFocus()
|
/packages/services/Car/car-lib/src/android/car/media/ |
D | ICarAudio.aidl | 41 void setGroupVolume(int zoneId, int groupId, int index, int flags); in setGroupVolume() 42 int getGroupMaxVolume(int zoneId, int groupId); in getGroupMaxVolume() 43 int getGroupMinVolume(int zoneId, int groupId); in getGroupMinVolume() 44 int getGroupVolume(int zoneId, int groupId); in getGroupVolume() 53 int getVolumeGroupCount(int zoneId); in getVolumeGroupCount() 54 int getVolumeGroupIdForUsage(int zoneId, int usage); in getVolumeGroupIdForUsage() 55 int[] getUsagesForVolumeGroupId(int zoneId, int groupId); in getUsagesForVolumeGroupId() 59 boolean setZoneIdForUid(int zoneId, int uid); in setZoneIdForUid() 62 boolean isVolumeGroupMuted(int zoneId, int groupId); in isVolumeGroupMuted() 63 void setVolumeGroupMute(int zoneId, int groupId, boolean mute, int flags); in setVolumeGroupMute() [all …]
|
D | CarAudioManager.java | 491 public void setGroupVolume(int zoneId, int groupId, int index, int flags) { in setGroupVolume() 521 public int getGroupMaxVolume(int zoneId, int groupId) { in getGroupMaxVolume() 551 public int getGroupMinVolume(int zoneId, int groupId) { in getGroupMinVolume() 584 public int getGroupVolume(int zoneId, int groupId) { in getGroupVolume() 741 public int getVolumeGroupCount(int zoneId) { in getVolumeGroupCount() 771 public int getVolumeGroupIdForUsage(int zoneId, @AttributeUsage int usage) { in getVolumeGroupIdForUsage() 808 public CarVolumeGroupInfo getVolumeGroupInfo(int zoneId, int groupId) { in getVolumeGroupInfo() 832 public List<CarVolumeGroupInfo> getVolumeGroupInfosForZone(int zoneId) { in getVolumeGroupInfosForZone() 872 public @NonNull int[] getUsagesForVolumeGroupId(int zoneId, int groupId) { in getUsagesForVolumeGroupId() 891 public boolean isPlaybackOnVolumeGroupActive(int zoneId, int groupId) { in isPlaybackOnVolumeGroupActive() [all …]
|
D | ICarVolumeCallback.aidl | 30 void onGroupVolumeChanged(int zoneId, int groupId, int flags); in onGroupVolumeChanged() 37 void onGroupMuteChanged(int zoneId, int groupId, int flags); in onGroupMuteChanged() 44 void onMasterMuteChanged(int zoneId, int flags); in onMasterMuteChanged()
|
/packages/services/Car/libs/car-test-lib/src/android/car/testapi/ |
D | FakeCarAudioService.java | 55 public void setGroupVolume(int zoneId, int groupId, int index, int flags) { in setGroupVolume() 59 public int getGroupMaxVolume(int zoneId, int groupId) { in getGroupMaxVolume() 64 public int getGroupMinVolume(int zoneId, int groupId) { in getGroupMinVolume() 69 public int getGroupVolume(int zoneId, int groupId) { in getGroupVolume() 97 public int getVolumeGroupCount(int zoneId) { in getVolumeGroupCount() 102 public int getVolumeGroupIdForUsage(int zoneId, int usage) { in getVolumeGroupIdForUsage() 107 public int[] getUsagesForVolumeGroupId(int zoneId, int groupId) { in getUsagesForVolumeGroupId() 112 public CarVolumeGroupInfo getVolumeGroupInfo(int zoneId, int groupId) { in getVolumeGroupInfo() 117 public List<CarVolumeGroupInfo> getVolumeGroupInfosForZone(int zoneId) { in getVolumeGroupInfosForZone() 137 public boolean setZoneIdForUid(int zoneId, int uid) { in setZoneIdForUid() [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioConfigurationTestFragment.java | 113 int zoneId = PRIMARY_AUDIO_ZONE; in handleSetUpConfigurationInfoTabs() local 127 int zoneId = PRIMARY_AUDIO_ZONE; in handleSetUpConfigurationAutoSelection() local 154 int zoneId = INVALID_AUDIO_ZONE; in setUpAutoConnectConfiguration() local 174 private void showConfigSelectionDialog(int zoneId) { in showConfigSelectionDialog() 188 int zoneId; in setAutoConnectConfiguration() local 220 int zoneId = INVALID_AUDIO_ZONE; in configsUpdatedListener() local 247 private String getConfigIdKeyForZone(int zoneId) { in getConfigIdKeyForZone() 252 int zoneId = PRIMARY_AUDIO_ZONE; in configurationSelected() local
|
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/statusicon/ui/ |
D | MediaVolumeStatusIconControllerTest.java | 127 int zoneId = 100; in onGroupVolumeChanged_whenZoneIdAndGroupIdAreSame_updateStatus() local 141 int zoneId = 99; in onGroupVolumeChanged_whenZoneIdIsNotSame_doNotUpdateStatus() local 156 int zoneId = 100; in onGroupVolumeChanged_whenGroupIdIsNotSame_doNotUpdateStatus() local 170 int zoneId = 100; in onGroupMuteChanged_whenZoneIdAndGroupIdAreSame_updateStatus() local 184 int zoneId = 99; in onGroupMuteChanged_whenZoneIdIsNotSame_doNotUpdateStatus() local 199 int zoneId = 100; in onGroupMuteChanged_whenGroupIdIsNotSame_doNotUpdateStatus() local
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/util/ |
D | CarAudioManagerTestUtils.java | 44 public int zoneId; field in CarAudioManagerTestUtils.SyncCarVolumeCallback 60 public void onGroupVolumeChanged(int zoneId, int groupId, int flags) { in onGroupVolumeChanged() 66 public void onMasterMuteChanged(int zoneId, int flags) { in onMasterMuteChanged() 72 public void onGroupMuteChanged(int zoneId, int groupId, int flags) { in onGroupMuteChanged()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/ |
D | VolumeTestFragment.java | 84 public void onGroupVolumeChanged(int zoneId, int groupId, int flags) { in onGroupVolumeChanged() 93 public void onGroupMuteChanged(int zoneId, int groupId, int flags) { in onGroupMuteChanged() 101 public void onMasterMuteChanged(int zoneId, int flags) { in onMasterMuteChanged() 108 private void sendFragmentChangedMessage(int zoneId, int groupId, int flags) { in sendFragmentChangedMessage() 205 int zoneId = audioZoneIds.get(index); in initVolumeInfo() local
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarRemoteDeviceManagerUnitTest.java | 91 int zoneId = 0; in testGetEndpointPackageInfo() local 190 int zoneId = 0; in testSetOccupantZonePowerOn() local 200 int zoneId = 0; in testSetOccupantZonePowerOff() local 210 int zoneId = 0; in testIsOccupantZonePowerOn() local
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/util/ |
D | DateTimeUtils.java | 65 final ZoneId zoneId = ZoneId.systemDefault(); in getDateHeaderString() local 88 final ZoneId zoneId = ZoneId.systemDefault(); in getDateHeaderString() local 129 final ZoneId zoneId = ZoneId.systemDefault(); in isSameDate() local
|
/packages/services/Car/service/src/com/android/car/user/ |
D | ExperimentalCarUserService.java | 114 void onPassengerStarted(@UserIdInt int passengerId, int zoneId); in onPassengerStarted() 124 boolean assignUserToOccupantZone(@UserIdInt int userId, int zoneId); in assignUserToOccupantZone() 338 public boolean startPassenger(@UserIdInt int passengerId, int zoneId) { in startPassenger() 486 int zoneId = getAvailablePassengerZone(); in startFirstPassenger() local 510 int zoneId = getZoneId(occupantType); in getAvailablePassengerZone() local 550 private boolean assignUserToOccupantZone(@UserIdInt int userId, int zoneId) { in assignUserToOccupantZone()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarVolumeCallbackHandlerTest.java | 217 public void onGroupVolumeChanged(int zoneId, int groupId, int flags) in onGroupVolumeChanged() 229 public void onGroupMuteChanged(int zoneId, int groupId, int flags) throws RemoteException { in onGroupMuteChanged() 240 public void onMasterMuteChanged(int zoneId, int flags) throws RemoteException { in onMasterMuteChanged()
|