Home
last modified time | relevance | path

Searched refs:mAudioPolicy (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java193 private AudioPolicy mAudioPolicy; field in CarAudioService
260 if (mAudioPolicy != null) { in release()
261 mAudioManager.unregisterAudioPolicyAsync(mAudioPolicy); in release()
262 mAudioPolicy = null; in release()
490 mAudioPolicy = builder.build(); in setupDynamicRouting()
493 mFocusHandler.setOwningPolicy(this, mAudioPolicy); in setupDynamicRouting()
496 int r = mAudioManager.registerAudioPolicy(mAudioPolicy); in setupDynamicRouting()
902 if (mAudioPolicy.setUidDeviceAffinity(uid, mCarAudioZones[zoneId].getAudioDeviceInfos())) { in setZoneIdForUidNoCheckLocked()
923 if (mAudioPolicy.removeUidDeviceAffinity(uid)) { in checkAndRemoveUidLocked()
DCarAudioFocus.java42 private AudioPolicy mAudioPolicy; // Dynamically assigned just after construction field in CarAudioFocus
148 mAudioPolicy = parentPolicy; in setOwningPolicy()
156 int result = mAudioManager.dispatchAudioFocusChange(loser.mAfi, lossType, mAudioPolicy); in sendFocusLoss()
430 mAudioManager.setFocusRequestResult(afi, response, mAudioPolicy); in onAudioFocusRequest()
513 mAudioPolicy); in dispatchFocusGained()
DCarZonesAudioFocus.java45 private AudioPolicy mAudioPolicy; // Dynamically assigned just after construction field in CarZonesAudioFocus
121 mAudioPolicy = parentPolicy; in setOwningPolicy()
124 mFocusZones.get(zoneId).setOwningPolicy(mCarAudioService, mAudioPolicy); in setOwningPolicy()