/packages/services/Car/service/src/com/android/car/audio/ |
D | CarVolumeInfoWrapper.java | 39 public int getVolumeGroupIdForAudioZone(int zoneId) { in getVolumeGroupIdForAudioZone() argument 40 return mCarAudioService.getVolumeGroupIdForAudioContext(zoneId, in getVolumeGroupIdForAudioZone() 44 public int getGroupVolume(int zoneId, int groupId) { in getGroupVolume() argument 45 return mCarAudioService.getGroupVolume(zoneId, groupId); in getGroupVolume() 48 public int getGroupMinVolume(int zoneId, int groupId) { in getGroupMinVolume() argument 49 return mCarAudioService.getGroupMinVolume(zoneId, groupId); in getGroupMinVolume() 52 public int getGroupMaxVolume(int zoneId, int groupId) { in getGroupMaxVolume() argument 53 return mCarAudioService.getGroupMaxVolume(zoneId, groupId); in getGroupMaxVolume() 56 public boolean isVolumeGroupMuted(int zoneId, int groupId) { in isVolumeGroupMuted() argument 57 return mCarAudioService.isVolumeGroupMuted(zoneId, groupId); in isVolumeGroupMuted() [all …]
|
D | CarAudioService.java | 429 public void setGroupVolume(int zoneId, int groupId, int index, int flags) { in setGroupVolume() argument 431 callbackGroupVolumeChange(zoneId, groupId, flags); in setGroupVolume() 440 CarVolumeGroup group = getCarVolumeGroupLocked(zoneId, groupId); in setGroupVolume() 445 handleMuteChanged(zoneId, groupId, flags); in setGroupVolume() 449 private void handleMuteChanged(int zoneId, int groupId, int flags) { in handleMuteChanged() argument 450 callbackGroupMuteChanged(zoneId, groupId, flags); in handleMuteChanged() 454 private void callbackGroupVolumeChange(int zoneId, int groupId, int flags) { in callbackGroupVolumeChange() argument 455 if (mUseDynamicRouting && !isPlaybackOnVolumeGroupActive(zoneId, groupId)) { in callbackGroupVolumeChange() 458 mCarVolumeCallbackHandler.onVolumeGroupChange(zoneId, groupId, flags); in callbackGroupVolumeChange() 461 private void callbackGroupMuteChanged(int zoneId, int groupId, int flags) { in callbackGroupMuteChanged() argument [all …]
|
D | CarZonesAudioFocus.java | 101 ArrayList<AudioFocusInfo> getAudioFocusLosersForUid(int uid, int zoneId) { in getAudioFocusLosersForUid() argument 102 CarAudioFocus focus = mFocusZones.get(zoneId); in getAudioFocusLosersForUid() 112 ArrayList<AudioFocusInfo> getAudioFocusHoldersForUid(int uid, int zoneId) { in getAudioFocusHoldersForUid() argument 113 CarAudioFocus focus = mFocusZones.get(zoneId); in getAudioFocusHoldersForUid() 122 void transientlyLoseInFocusInZone(@NonNull ArrayList<AudioFocusInfo> afiList, int zoneId) { in transientlyLoseInFocusInZone() argument 123 CarAudioFocus focus = mFocusZones.get(zoneId); in transientlyLoseInFocusInZone() 131 int zoneId = getAudioZoneIdForAudioFocusInfo(afi); in reevaluateAndRegainAudioFocus() local 132 return getCarAudioFocusForZoneId(zoneId).reevaluateAndRegainAudioFocus(afi); in reevaluateAndRegainAudioFocus() 164 int zoneId = getAudioZoneIdForAudioFocusInfo(afi); in onAudioFocusRequest() local 165 getCarAudioFocusForZoneId(zoneId).onAudioFocusRequest(afi, requestResult); in onAudioFocusRequest() [all …]
|
D | CarAudioSettings.java | 51 int getStoredVolumeGainIndexForUser(@UserIdInt int userId, int zoneId, int groupId) { in getStoredVolumeGainIndexForUser() argument 52 return getIntForUser(getVolumeSettingsKeyForGroup(zoneId, groupId), -1, userId); in getStoredVolumeGainIndexForUser() 55 void storeVolumeGainIndexForUser(@UserIdInt int userId, int zoneId, int groupId, in storeVolumeGainIndexForUser() argument 57 putIntForUser(getVolumeSettingsKeyForGroup(zoneId, groupId), in storeVolumeGainIndexForUser() 73 void storeVolumeGroupMuteForUser(@UserIdInt int userId, int zoneId, int groupId, in storeVolumeGroupMuteForUser() argument 75 putIntForUser(getMuteSettingsKeyForGroup(zoneId, groupId), in storeVolumeGroupMuteForUser() 79 boolean getVolumeGroupMuteForUser(@UserIdInt int userId, int zoneId, int groupId) { in getVolumeGroupMuteForUser() argument 80 return getIntForUser(getMuteSettingsKeyForGroup(zoneId, groupId), in getVolumeGroupMuteForUser() 110 private static String getVolumeSettingsKeyForGroup(int zoneId, int groupId) { in getVolumeSettingsKeyForGroup() argument 112 + getFormattedZoneIdAndGroupIdKey(zoneId, groupId); in getVolumeSettingsKeyForGroup() [all …]
|
D | CarAudioPolicyVolumeCallback.java | 90 private void evaluateVolumeAdjustmentExternal(int adjustment, int zoneId) { in evaluateVolumeAdjustmentExternal() argument 91 OemCarAudioVolumeRequest request = getCarAudioVolumeRequest(zoneId); in evaluateVolumeAdjustmentExternal() 105 adjustToString(adjustment), zoneId); in evaluateVolumeAdjustmentExternal() 140 private OemCarAudioVolumeRequest getCarAudioVolumeRequest(int zoneId) { in getCarAudioVolumeRequest() argument 141 List<CarVolumeGroupInfo> infos = mCarVolumeInfo.getVolumeGroupInfosForZone(zoneId); in getCarAudioVolumeRequest() 143 mCarVolumeInfo.getActiveAudioAttributesForAudioZone(zoneId); in getCarAudioVolumeRequest() 145 return new OemCarAudioVolumeRequest.Builder(zoneId) in getCarAudioVolumeRequest() 148 .setCallState(mCarVolumeInfo.getCallStateForZone(zoneId)) in getCarAudioVolumeRequest() 154 int zoneId = PRIMARY_AUDIO_ZONE; in evaluateVolumeAdjustmentForPrimaryZoneInternal() local 156 boolean isMuted = isMuted(zoneId, groupId); in evaluateVolumeAdjustmentForPrimaryZoneInternal() [all …]
|
D | CarDucking.java | 56 int zoneId = carAudioZones.keyAt(i); in CarDucking() local 58 zoneId, in CarDucking() 60 zoneId, new ArrayList<>(), new ArrayList<>(), new ArrayList<>())); in CarDucking() 77 int zoneId = audioZoneIds[i]; in onFocusChange() local 78 List<AudioFocusInfo> focusHolders = focusHoldersByZoneId.get(zoneId); in onFocusChange() 79 CarDuckingInfo newDuckingInfo = updateDuckingForZoneIdLocked(zoneId, focusHolders); in onFocusChange() 87 private CarDuckingInfo updateDuckingForZoneIdLocked(int zoneId, in updateDuckingForZoneIdLocked() argument 89 CarDuckingInfo oldDuckingInfo = mCurrentDuckingInfo.get(zoneId); in updateDuckingForZoneIdLocked() 92 mCurrentDuckingInfo.put(zoneId, newDuckingInfo); in updateDuckingForZoneIdLocked() 111 int zoneId = oldDuckingInfo.mZoneId; in generateNewDuckingInfoLocked() local [all …]
|
D | CarVolumeCallbackHandler.java | 38 void onVolumeGroupChange(int zoneId, int groupId, int flags) { in onVolumeGroupChange() argument 42 callback.binderInterface.onGroupVolumeChanged(zoneId, groupId, flags); in onVolumeGroupChange() 49 void onMasterMuteChanged(int zoneId, int flags) { in onMasterMuteChanged() argument 53 callback.binderInterface.onMasterMuteChanged(zoneId, flags); in onMasterMuteChanged() 68 public void onGroupMuteChange(int zoneId, int groupId, int flags) { in onGroupMuteChange() argument 72 callback.binderInterface.onGroupMuteChanged(zoneId, groupId, flags); in onGroupMuteChange()
|
/packages/services/Car/car-lib/src/android/car/media/ |
D | CarAudioManager.java | 158 public void onGroupVolumeChanged(int zoneId, int groupId, int flags) { 159 mEventHandler.dispatchOnGroupVolumeChanged(zoneId, groupId, flags); 163 public void onGroupMuteChanged(int zoneId, int groupId, int flags) { 164 mEventHandler.dispatchOnGroupMuteChanged(zoneId, groupId, flags); 168 public void onMasterMuteChanged(int zoneId, int flags) { 169 mEventHandler.dispatchOnMasterMuteChanged(zoneId, flags); 230 public void setGroupVolume(int zoneId, int groupId, int index, int flags) { in setGroupVolume() argument 232 mService.setGroupVolume(zoneId, groupId, index, flags); in setGroupVolume() 262 public int getGroupMaxVolume(int zoneId, int groupId) { in getGroupMaxVolume() argument 264 return mService.getGroupMaxVolume(zoneId, groupId); in getGroupMaxVolume() [all …]
|
D | ICarAudio.aidl | 32 void setGroupVolume(int zoneId, int groupId, int index, int flags); in setGroupVolume() argument 33 int getGroupMaxVolume(int zoneId, int groupId); in getGroupMaxVolume() argument 34 int getGroupMinVolume(int zoneId, int groupId); in getGroupMinVolume() argument 35 int getGroupVolume(int zoneId, int groupId); in getGroupVolume() argument 44 int getVolumeGroupCount(int zoneId); in getVolumeGroupCount() argument 45 int getVolumeGroupIdForUsage(int zoneId, int usage); in getVolumeGroupIdForUsage() argument 46 int[] getUsagesForVolumeGroupId(int zoneId, int groupId); in getUsagesForVolumeGroupId() argument 50 boolean setZoneIdForUid(int zoneId, int uid); in setZoneIdForUid() argument 53 boolean isVolumeGroupMuted(int zoneId, int groupId); in isVolumeGroupMuted() argument 54 void setVolumeGroupMute(int zoneId, int groupId, boolean mute, int flags); in setVolumeGroupMute() argument [all …]
|
/packages/services/Car/service/src/com/android/car/audio/hal/ |
D | HalAudioFocus.java | 102 public void requestAudioFocus(@AttributeUsage int usage, int zoneId, int focusGain) { in requestAudioFocus() argument 104 Preconditions.checkArgument(mHalFocusRequestsByZoneAndUsage.contains(zoneId), in requestAudioFocus() 105 "Invalid zoneId %d provided in requestAudioFocus", zoneId); in requestAudioFocus() local 108 + usageToString(usage) + " and zoneId " + zoneId); in requestAudioFocus() 113 mHalFocusRequestsByZoneAndUsage.get(zoneId).get(audioAttributesWrapper); in requestAudioFocus() 116 Slogf.d(TAG, "A request already exists for zoneId " + zoneId + " and usage " in requestAudioFocus() 119 mAudioControlWrapper.onAudioFocusChange(usage, zoneId, currentRequest.mFocusStatus); in requestAudioFocus() 121 makeAudioFocusRequestLocked(audioAttributesWrapper, zoneId, focusGain); in requestAudioFocus() 129 public void abandonAudioFocus(@AttributeUsage int usage, int zoneId) { in abandonAudioFocus() argument 131 Preconditions.checkArgument(mHalFocusRequestsByZoneAndUsage.contains(zoneId), in abandonAudioFocus() [all …]
|
D | AudioControlWrapperAidl.java | 141 public void onAudioFocusChange(@AttributeUsage int usage, int zoneId, int focusChange) { in onAudioFocusChange() argument 144 + ", zoneId " + zoneId + ", focusChange " + focusChange); in onAudioFocusChange() 148 mAudioControl.onAudioFocusChange(usageName, zoneId, focusChange); in onAudioFocusChange() 275 public void requestAudioFocus(String usage, int zoneId, int focusGain) { in requestAudioFocus() argument 277 mListener.requestAudioFocus(usageValue, zoneId, focusGain); in requestAudioFocus() 281 public void abandonAudioFocus(String usage, int zoneId) { in abandonAudioFocus() argument 283 mListener.abandonAudioFocus(usageValue, zoneId); in abandonAudioFocus() 288 PlaybackTrackMetadata playbackMetaData, int zoneId, int focusGain) { in requestAudioFocusWithMetaData() argument 291 + ", zoneId=" + zoneId + ", focusGain=" + focusGain); in requestAudioFocusWithMetaData() 298 PlaybackTrackMetadata playbackMetaData, int zoneId) { in abandonAudioFocusWithMetaData() argument [all …]
|
D | AudioControlWrapperV2.java | 114 public void onAudioFocusChange(@AttributeUsage int usage, int zoneId, int focusChange) { in onAudioFocusChange() argument 117 + ", zoneId " + zoneId + ", focusChange " + focusChange); in onAudioFocusChange() 120 mAudioControlV2.onAudioFocusChange(usage, zoneId, focusChange); in onAudioFocusChange() 206 public void requestAudioFocus(int usage, int zoneId, int focusGain) throws RemoteException { in requestAudioFocus() argument 207 mListener.requestAudioFocus(usage, zoneId, focusGain); in requestAudioFocus() 211 public void abandonAudioFocus(int usage, int zoneId) throws RemoteException { in abandonAudioFocus() argument 212 mListener.abandonAudioFocus(usage, zoneId); in abandonAudioFocus()
|
/packages/services/Car/car-test-lib/src/android/car/testapi/ |
D | FakeCarAudioService.java | 41 public void setGroupVolume(int zoneId, int groupId, int index, int flags) { in setGroupVolume() argument 45 public int getGroupMaxVolume(int zoneId, int groupId) { in getGroupMaxVolume() argument 50 public int getGroupMinVolume(int zoneId, int groupId) { in getGroupMinVolume() argument 55 public int getGroupVolume(int zoneId, int groupId) { in getGroupVolume() argument 83 public int getVolumeGroupCount(int zoneId) { in getVolumeGroupCount() argument 88 public int getVolumeGroupIdForUsage(int zoneId, int usage) { in getVolumeGroupIdForUsage() argument 93 public int[] getUsagesForVolumeGroupId(int zoneId, int groupId) { in getUsagesForVolumeGroupId() argument 98 public CarVolumeGroupInfo getVolumeGroupInfo(int zoneId, int groupId) { in getVolumeGroupInfo() argument 103 public List<CarVolumeGroupInfo> getVolumeGroupInfosForZone(int zoneId) { in getVolumeGroupInfosForZone() argument 123 public boolean setZoneIdForUid(int zoneId, int uid) { in setZoneIdForUid() argument [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/ |
D | VolumeTestFragment.java | 74 public void onGroupVolumeChanged(int zoneId, int groupId, int flags) { in onGroupVolumeChanged() argument 77 + zoneId); in onGroupVolumeChanged() 79 sendFragmentChangedMessage(zoneId, groupId, flags); in onGroupVolumeChanged() 83 public void onGroupMuteChanged(int zoneId, int groupId, int flags) { in onGroupMuteChanged() argument 85 Log.d(TAG, "onGroupMuteChanged mute changed for zone " + zoneId); in onGroupMuteChanged() 87 sendFragmentChangedMessage(zoneId, groupId, flags); in onGroupMuteChanged() 91 public void onMasterMuteChanged(int zoneId, int flags) { in onMasterMuteChanged() argument 98 private void sendFragmentChangedMessage(int zoneId, int groupId, int flags) { in sendFragmentChangedMessage() argument 102 fragment = mZoneVolumeFragments.get(zoneId); in sendFragmentChangedMessage() 182 int zoneId = audioZoneIds.get(index); in initVolumeInfo() local [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | CarOccupantZoneService.java | 213 public void onPassengerStarted(@UserIdInt int passengerId, int zoneId) { 214 handlePassengerStarted(passengerId, zoneId); 310 public boolean assignUserToOccupantZone(@UserIdInt int userId, int zoneId) { in init() 315 if (config.userId == userId && zoneId != mActiveOccupantConfigs.keyAt(i)) { in init() 320 OccupantConfig zoneConfig = mActiveOccupantConfigs.get(zoneId); in init() 322 Slogf.w(TAG, "cannot find the zone(%d)", zoneId); in init() 327 Slogf.w(TAG, "other user already occupies the zone(%d)", zoneId); in init() 352 if (getDisplayForOccupant(ozi.zoneId, in init() 480 int zoneId = mActiveOccupantConfigs.keyAt(i); in getAllOccupantZones() local 482 infos.add(mOccupantsConfig.get(zoneId)); in getAllOccupantZones() [all …]
|
/packages/services/Car/car-lib/src/android/car/ |
D | CarOccupantZoneManager.java | 154 public int zoneId; field in CarOccupantZoneManager.OccupantZoneInfo 168 public OccupantZoneInfo(int zoneId, @OccupantTypeEnum int occupantType, in OccupantZoneInfo() argument 170 this.zoneId = zoneId; in OccupantZoneInfo() 177 zoneId = in.readInt(); in OccupantZoneInfo() 192 dest.writeInt(zoneId); in writeToParcel() 207 return zoneId == that.zoneId && occupantType == that.occupantType in equals() 215 hash = hash * 17 + zoneId; in hashCode() 238 b.append(zoneId); in toString() 334 int[] displayIds = mService.getAllDisplaysForOccupantZone(occupantZone.zoneId); in getAllDisplaysForOccupant() 365 int displayId = mService.getDisplayForOccupant(occupantZone.zoneId, displayType); in getDisplayForOccupant() [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | BaseVolumeSliderWorker.java | 42 public void onGroupVolumeChanged(int zoneId, int groupId, int flags) { 44 updateVolumeAndMute(zoneId, groupId); 49 public void onMasterMuteChanged(int zoneId, int flags) { 54 public void onGroupMuteChanged(int zoneId, int groupId, int flags) { 56 updateVolumeAndMute(zoneId, groupId); 90 private void updateVolumeAndMute(int zoneId, int groupId) { in updateVolumeAndMute() argument 92 if (zoneId != PRIMARY_AUDIO_ZONE) { in updateVolumeAndMute()
|
/packages/services/Car/tests/SampleCustomInputService/src/com/android/car/custominput/sample/ |
D | CustomInputEventListener.java | 197 int zoneId = getOccupantZoneIdForDisplayId(targetDisplayId); in increaseVolume() local 198 int volumeGroupId = mCarAudioManager.getVolumeGroupIdForUsage(zoneId, usage); in increaseVolume() 199 int maxVolume = mCarAudioManager.getGroupMaxVolume(zoneId, volumeGroupId); in increaseVolume() 200 int volume = mCarAudioManager.getGroupVolume(zoneId, volumeGroupId); in increaseVolume() 203 + maxVolume + ") for zoneId (" + zoneId + ") and volumeGroupId (" in increaseVolume() 223 int zoneId = getOccupantZoneIdForDisplayId(targetDisplayId); in decreaseVolume() local 224 int volumeGroupId = mCarAudioManager.getVolumeGroupIdForUsage(zoneId, usage); in decreaseVolume() 225 int minVolume = mCarAudioManager.getGroupMinVolume(zoneId, volumeGroupId); in decreaseVolume() 226 int volume = mCarAudioManager.getGroupVolume(zoneId, volumeGroupId); in decreaseVolume() 229 + minVolume + ") for zoneId (" + zoneId + ") and volumeGroupId (" in decreaseVolume()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/users/ |
D | ProfileUserFragment.java | 158 zoneStatebuilder.append(zone.zoneId); in updateTextInfo() 286 Integer zoneId = getSelectedZone(); in assignUserToZone() local 287 if (zoneId == null) { in assignUserToZone() 290 Log.i(TAG, "assigning user:" + userId + " to zone:" + zoneId); in assignUserToZone() 294 mZoneManager.assignProfileUserToOccupantZone(getZoneInfoForId(zoneId), userId); in assignUserToZone() 302 + zoneId); in assignUserToZone() 305 setMessage(INFO_MESSAGE, "Assigned user " + userId + " to zone " + zoneId); in assignUserToZone() 346 Integer zoneId = getSelectedZone(); in launchAppForZone() local 347 if (zoneId == null) { in launchAppForZone() 350 CarOccupantZoneManager.OccupantZoneInfo zoneInfo = getZoneInfoForId(zoneId); in launchAppForZone() [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/util/ |
D | DateTimeUtils.java | 66 final ZoneId zoneId = ZoneId.systemDefault(); in getDateHeaderString() local 67 final LocalDate nowDate = LocalDate.now(zoneId); in getDateHeaderString() 89 final ZoneId zoneId = ZoneId.systemDefault(); in getDateHeaderString() local 91 zoneId).toLocalDate(); in getDateHeaderString() 130 final ZoneId zoneId = ZoneId.systemDefault(); in isSameDate() local 133 final LocalDateTime oneLocalDateTime = LocalDateTime.ofInstant(oneInstant, zoneId); in isSameDate() 136 final LocalDateTime twoLocalDateTime = LocalDateTime.ofInstant(twoInstant, zoneId); in isSameDate()
|
/packages/services/Car/service/src/com/android/car/user/ |
D | ExperimentalCarUserService.java | 112 void onPassengerStarted(@UserIdInt int passengerId, int zoneId); in onPassengerStarted() argument 122 boolean assignUserToOccupantZone(@UserIdInt int userId, int zoneId); in assignUserToOccupantZone() argument 316 public boolean startPassenger(@UserIdInt int passengerId, int zoneId) { in startPassenger() argument 324 if (!assignUserToOccupantZone(passengerId, zoneId)) { in startPassenger() 331 callback.onPassengerStarted(passengerId, zoneId); in startPassenger() 466 int zoneId = getAvailablePassengerZone(); in startFirstPassenger() local 467 if (zoneId == CarOccupantZoneManager.OccupantZoneInfo.INVALID_ZONE_ID) { in startFirstPassenger() 479 if (!startPassenger(passengerId, zoneId)) { in startFirstPassenger() 490 int zoneId = getZoneId(occupantType); in getAvailablePassengerZone() local 491 if (zoneId != CarOccupantZoneManager.OccupantZoneInfo.INVALID_ZONE_ID) { in getAvailablePassengerZone() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioGainMonitorTest.java | 163 primaryZoneGain.zoneId = PRIMARY_ZONE_ID; in handleAudioDeviceGainsChanged_validZones() 167 primaryZoneGain2.zoneId = PRIMARY_ZONE_ID; in handleAudioDeviceGainsChanged_validZones() 171 primaryZoneGain3.zoneId = PRIMARY_ZONE_ID; in handleAudioDeviceGainsChanged_validZones() 175 passengerZoneGain.zoneId = PASSENGER_ZONE_ID; in handleAudioDeviceGainsChanged_validZones() 178 rearZoneGain.zoneId = REAR_ZONE_ID; in handleAudioDeviceGainsChanged_validZones() 210 primaryZoneGain.zoneId = PRIMARY_ZONE_ID; in handleAudioDeviceGainsChanged_validAndUnknownZones() 213 rearZoneGain.zoneId = REAR_ZONE_ID; in handleAudioDeviceGainsChanged_validAndUnknownZones() 216 unknownGain.zoneId = UNKNOWN_ZONE_ID; in handleAudioDeviceGainsChanged_validAndUnknownZones() 230 Integer zoneId = carAudioZone.getId(); in handleAudioDeviceGainsChanged_validAndUnknownZones() local 231 if (gainsForZones.contains(zoneId)) { in handleAudioDeviceGainsChanged_validAndUnknownZones() [all …]
|
D | CarAudioGainConfigInfoTest.java | 38 gainInfo.zoneId = PRIMARY_ZONE_ID; in constructor_succeeds() 61 gainInfo.zoneId = PRIMARY_ZONE_ID; in equals_succeeds() 75 gainInfo1.zoneId = PRIMARY_ZONE_ID; in equals_fails() 81 gainInfo2.zoneId = PRIMARY_ZONE_ID; in equals_fails() 90 gainInfo3.zoneId = PRIMARY_ZONE_ID; in equals_fails() 99 gainInfo4.zoneId = SECONDARY_ZONE_ID; in equals_fails()
|
D | CarVolumeCallbackHandlerTest.java | 112 public void onGroupVolumeChanged(int zoneId, int groupId, int flags) in onGroupVolumeChanged() argument 114 mSpy.onGroupVolumeChanged(zoneId, groupId, flags); in onGroupVolumeChanged() 118 public void onGroupMuteChanged(int zoneId, int groupId, int flags) throws RemoteException { in onGroupMuteChanged() argument 119 mSpy.onGroupMuteChanged(zoneId, groupId, flags); in onGroupMuteChanged() 123 public void onMasterMuteChanged(int zoneId, int flags) throws RemoteException { in onMasterMuteChanged() argument 124 mSpy.onMasterMuteChanged(zoneId, flags); in onMasterMuteChanged()
|
/packages/services/Car/tests/OemCarServiceTestApp/src/com/android/car/oem/volume/ |
D | VolumeInteractions.java | 174 int zoneId) { in getSelectedVolumeGroupId() argument 176 int defaultVolumeGroup = mZoneToDefaultVolumeGroup.get(zoneId); in getSelectedVolumeGroupId() 190 return mAudioZoneToVolumeGroupAttributes.get(zoneId) in getSelectedVolumeGroupId() 221 return mAudioZoneToVolumeGroupAttributes.get(zoneId) in getSelectedVolumeGroupId() 254 int zoneId = zones.get(zone); in init() local 256 getAudioAttributeToGroupIdMapping(carAudioManager, zoneId); in init() 257 mAudioZoneToVolumeGroupAttributes.put(zoneId, mapping); in init() 258 mZoneToDefaultVolumeGroup.put(zoneId, mapping.get(DEFAULT_AUDIO_ATTRIBUTE)); in init()
|