Searched refs:carContext (Results 1 – 3 of 3) sorted by relevance
251 private int carContextToCarStream(int carContext) { in carContextToCarStream() argument254 AudioHalService.carContextToCarUsage(carContext)); in carContextToCarStream()257 return carContext; in carContextToCarStream()261 private void writeVolumeToSettings(int carContext, int volume) { in writeVolumeToSettings() argument262 String key = VolumeUtils.CAR_AUDIO_CONTEXT_SETTINGS.get(carContext); in writeVolumeToSettings()448 int carContext; in setStreamVolume() local455 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 …]
123 public static int carContextToAndroidStream(int carContext) { in carContextToAndroidStream() argument124 switch (carContext) { in carContextToAndroidStream()
312 public static int carContextToCarUsage(int carContext) { in carContextToCarUsage() argument313 switch (carContext) { in carContextToCarUsage()341 Log.w(CarLog.TAG_AUDIO, "Unknown car context:" + carContext); in carContextToCarUsage()