Home
last modified time | relevance | path

Searched refs:zone_id (Results 1 – 6 of 6) sorted by relevance

/device/google/trout/hal/audiocontrol/aidl/1.0/
DAudioControlServer.cpp256 const auto& [audio_usage, zone_id] = request_key; in HandleAcquiring()
258 << " " << zone_id << " " << toString(focus_change); in HandleAcquiring()
269 RequestAudioFocus(audio_usage, zone_id, focus_change); in HandleAcquiring()
283 const auto& [audio_usage, zone_id] = request_key; in HandleReleasing()
286 << " " << zone_id; in HandleReleasing()
291 << toString(static_cast<AudioUsage>(audio_usage)) << ", zone: " << zone_id; in HandleReleasing()
296 AbandonAudioFocus(audio_usage, zone_id); in HandleReleasing()
369 return {mRequest.audio_usage(), mRequest.zone_id()}; in GetRequestKey()
/device/generic/car/emulator/audio/driver/
Daudio_hw.c243 static bool is_zone_selected_to_play(struct audio_hw_device *dev, int zone_id) { in is_zone_selected_to_play() argument
246 if (zone_id != PRIMARY_ZONE_ID) { in is_zone_selected_to_play()
249 is_selected_zone = adev->last_zone_selected_to_play == zone_id; in is_zone_selected_to_play()
374 int zone_id = INVALID_ZONE_ID; in get_zone_id_from_address() local
378 zone_id = strtol(zone_start + strlen(AUDIO_ZONE_KEYWORD), &end, 10); in get_zone_id_from_address()
379 if (end == NULL || zone_id < 0) { in get_zone_id_from_address()
383 return zone_id; in get_zone_id_from_address()
394 int zone_id = PRIMARY_ZONE_ID; in out_write_worker() local
397 zone_id = get_zone_id_from_address(out->bus_address); in out_write_worker()
398 if (zone_id == INVALID_ZONE_ID) { in out_write_worker()
[all …]
/device/google/trout/hal/audiocontrol/aidl/1.0/libandroid_audio_controller/
Dandroid_audio_controller.h29 aafc_zone_id_t zone_id; member
Dandroid_audio_controller.cpp257 acquire_request.set_zone_id(request.request.zone_id); in RequestWorker()
/device/google/trout/hal/audiocontrol/aidl/1.0/libandroid_audio_controller_test/
Dmain.cpp72 .zone_id = 0, in main()
/device/google/trout/hal/audiocontrol/aidl/1.0/proto/
DAudioFocusControl.proto26 int32 zone_id = 3; field