Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/
DCarVolumeControllerFactory.java251 private int carContextToCarStream(int carContext) { in carContextToCarStream() argument
254 AudioHalService.carContextToCarUsage(carContext)); in carContextToCarStream()
257 return carContext; in carContextToCarStream()
261 private void writeVolumeToSettings(int carContext, int volume) { in writeVolumeToSettings() argument
262 String key = VolumeUtils.CAR_AUDIO_CONTEXT_SETTINGS.get(carContext); in writeVolumeToSettings()
448 int carContext; in setStreamVolume() local
455 carContext = mCurrentContext; in setStreamVolume()
457 carContext = VolumeUtils.androidStreamToCarContext(stream); in setStreamVolume()
461 + index + " flags: " + flags + " maps to car context: " + carContext); in setStreamVolume()
463 setStreamVolumeInternalLocked(carContext, index, flags); in setStreamVolume()
[all …]
DVolumeUtils.java123 public static int carContextToAndroidStream(int carContext) { in carContextToAndroidStream() argument
124 switch (carContext) { in carContextToAndroidStream()
/packages/services/Car/service/src/com/android/car/hal/
DAudioHalService.java312 public static int carContextToCarUsage(int carContext) { in carContextToCarUsage() argument
313 switch (carContext) { in carContextToCarUsage()
341 Log.w(CarLog.TAG_AUDIO, "Unknown car context:" + carContext); in carContextToCarUsage()