Searched refs:CarZonesAudioFocus (Results 1 – 5 of 5) sorted by relevance
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | CarZonesAudioFocusTest.java | 47 import com.android.car.audio.CarZonesAudioFocus.CarFocusCallback; 98 CarZonesAudioFocus carZonesAudioFocus = getCarZonesAudioFocus(false); in onAudioFocusRequest_withNoCurrentFocusHolder_requestGranted() 109 CarZonesAudioFocus carZonesAudioFocus = getCarZonesAudioFocus(false); in onAudioFocusRequest_forTwoDifferentZones_requestGranted() 131 CarZonesAudioFocus carZonesAudioFocus = getCarZonesAudioFocus(false); in onAudioFocusRequest_forTwoDifferentZones_abandonInOne_requestGranted() 154 CarZonesAudioFocus carZonesAudioFocus = getCarZonesAudioFocus(false); in onAudioFocusRequest_withBundleFocusRequest_requestGranted() 172 CarZonesAudioFocus carZonesAudioFocus = getCarZonesAudioFocus(false); in onAudioFocusRequest_repeatForSameZone_requestGranted() 196 CarZonesAudioFocus carZonesAudioFocus = getCarZonesAudioFocus(false); in onAudioFocusRequest_forNavigationWhileOnCall_rejectNavOnCall_requestFailed() 225 CarZonesAudioFocus carZonesAudioFocus = getCarZonesAudioFocus(false); in onAudioFocusRequest_forNavigationWhileOnCall_noRejectNavOnCall_requestSucceeds() 255 CarZonesAudioFocus carZonesAudioFocus = getCarZonesAudioFocus(true); in onAudioFocusRequest_forMediaWhileOnCall_withDelayedEnable_delayedSucceeds() 283 CarZonesAudioFocus carZonesAudioFocus = getCarZonesAudioFocus(true); in onAudioFocusRequest_notifiesFocusCallback() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarZonesAudioFocusUnitTest.java | 72 private CarZonesAudioFocus.CarFocusCallback mMockCarFocusCallback; 76 private CarZonesAudioFocus mCarZonesAudioFocus; 86 () -> CarZonesAudioFocus.createCarZonesAudioFocus(null, in newCarZonesAudioFocus_withNullAudioManager_throws() 95 () -> CarZonesAudioFocus.createCarZonesAudioFocus(mMockAudioManager, in newCarZonesAudioFocus_withNullPackageManager_throws() 103 () -> CarZonesAudioFocus.createCarZonesAudioFocus(mMockAudioManager, in newCarZonesAudioFocus_withNullCarAudioZones_throws() 111 () -> CarZonesAudioFocus.createCarZonesAudioFocus(mMockAudioManager, in newCarZonesAudioFocus_withEmptyCarAudioZones_throws() 120 () -> CarZonesAudioFocus.createCarZonesAudioFocus(mMockAudioManager, in newCarZonesAudioFocus_withNullCarAudioSettings_throws() 127 CarZonesAudioFocus.createCarZonesAudioFocus(mMockAudioManager, mMockPackageManager, in newCarZonesAudioFocus_withNullCarFocusCallback_succeeds() 269 private CarZonesAudioFocus getCarZonesAudioFocus() { in getCarZonesAudioFocus() 270 CarZonesAudioFocus carZonesAudioFocus = new CarZonesAudioFocus(mFocusMocks, true, in getCarZonesAudioFocus()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarZonesAudioFocus.java | 48 final class CarZonesAudioFocus extends AudioPolicy.AudioPolicyFocusListener { class 49 private static final String TAG = CarLog.tagFor(CarZonesAudioFocus.class); 58 public static CarZonesAudioFocus createCarZonesAudioFocus(@NonNull AudioManager audioManager, in createCarZonesAudioFocus() 83 return new CarZonesAudioFocus(audioFocusPerZone, enableDelayedAudioFocus, carFocusCallback); in createCarZonesAudioFocus() 87 CarZonesAudioFocus(SparseArray<CarAudioFocus> focusZones, in CarZonesAudioFocus() method in CarZonesAudioFocus
|
D | CarDucking.java | 26 import com.android.car.audio.CarZonesAudioFocus.CarFocusCallback;
|
D | CarAudioService.java | 181 private CarZonesAudioFocus mFocusHandler; 632 mFocusHandler = CarZonesAudioFocus.createCarZonesAudioFocus(mAudioManager, in setupDynamicRoutingLocked()
|