Home
last modified time | relevance | path

Searched refs:zoneId (Results 1 – 18 of 18) sorted by relevance

/hardware/interfaces/automotive/audiocontrol/2.0/default/
DAudioControl.cpp85 Return<void> AudioControl::onAudioFocusChange(hidl_bitfield<AudioUsage> usage, int zoneId, in onAudioFocusChange() argument
88 << static_cast<int>(usage) << " in zone " << zoneId; in onAudioFocusChange()
148 int zoneId; in cmdRequestFocus() local
149 if (!safelyParseInt(options[2], &zoneId)) { in cmdRequestFocus()
164 mFocusListener->requestAudioFocus(usage, zoneId, focusGain); in cmdRequestFocus()
165 dprintf(fd, "Requested focus for usage %d, zoneId %d, and focusGain %d\n", usage, zoneId, in cmdRequestFocus()
177 int zoneId; in cmdAbandonFocus() local
178 if (!safelyParseInt(options[2], &zoneId)) { in cmdAbandonFocus()
188 mFocusListener->abandonAudioFocus(usage, zoneId); in cmdAbandonFocus()
189 dprintf(fd, "Abandoned focus for usage %d and zoneId %d\n", usage, zoneId); in cmdAbandonFocus()
DAudioControl.h34 Return<void> onAudioFocusChange(hidl_bitfield<AudioUsage> usage, int zoneId,
/hardware/interfaces/automotive/audiocontrol/aidl/default/
DAudioControl.cpp116 LOG(INFO) << "zone: " << duckingInfo.zoneId; in onDevicesToDuckChange()
137 LOG(INFO) << "zone: " << mutingInfo.zoneId; in onDevicesToMuteChange()
211 int zoneId; in cmdRequestFocus() local
212 if (!safelyParseInt(string(args[2]), &zoneId)) { in cmdRequestFocus()
229 mFocusListener->requestAudioFocus(usage, zoneId, focusGain); in cmdRequestFocus()
231 zoneId, focusGain); in cmdRequestFocus()
253 int zoneId; in cmdAbandonFocus() local
254 if (!safelyParseInt(string(args[2]), &zoneId)) { in cmdAbandonFocus()
264 mFocusListener->abandonAudioFocus(usage, zoneId); in cmdAbandonFocus()
265 dprintf(fd, "Abandoned focus for usage %s and zoneId %d\n", usage.c_str(), zoneId); in cmdAbandonFocus()
/hardware/interfaces/automotive/audiocontrol/aidl/aidl_api/android.hardware.automotive.audiocontrol/current/android/hardware/automotive/audiocontrol/
DIFocusListener.aidl21 oneway void abandonAudioFocus(in String usage, in int zoneId); in abandonAudioFocus() argument
22 …oneway void requestAudioFocus(in String usage, in int zoneId, in android.hardware.automotive.audio… in requestAudioFocus() argument
DMutingInfo.aidl21 int zoneId;
DDuckingInfo.aidl21 int zoneId;
DIAudioControl.aidl21 …oneway void onAudioFocusChange(in String usage, in int zoneId, in android.hardware.automotive.audi… in onAudioFocusChange() argument
/hardware/interfaces/automotive/audiocontrol/aidl/aidl_api/android.hardware.automotive.audiocontrol/1/android/hardware/automotive/audiocontrol/
DIFocusListener.aidl37 oneway void abandonAudioFocus(in String usage, in int zoneId); in abandonAudioFocus() argument
38 …oneway void requestAudioFocus(in String usage, in int zoneId, in android.hardware.automotive.audio… in requestAudioFocus() argument
DMutingInfo.aidl37 int zoneId;
DDuckingInfo.aidl37 int zoneId;
DIAudioControl.aidl37 …oneway void onAudioFocusChange(in String usage, in int zoneId, in android.hardware.automotive.audi… in onAudioFocusChange() argument
/hardware/interfaces/automotive/audiocontrol/aidl/android/hardware/automotive/audiocontrol/
DIFocusListener.aidl40 oneway void abandonAudioFocus(in String usage, in int zoneId); in abandonAudioFocus() argument
56 oneway void requestAudioFocus(in String usage, in int zoneId, in AudioFocusChange focusGain); in requestAudioFocus() argument
DMutingInfo.aidl30 int zoneId;
DDuckingInfo.aidl31 int zoneId;
/hardware/interfaces/automotive/audiocontrol/aidl/vts/
DVtsHalAudioControlTargetTest.cpp104 (const String16& usage, int32_t zoneId, AudioFocusChange focusGain));
105 MOCK_METHOD(Status, abandonAudioFocus, (const String16& usage, int32_t zoneId));
138 mutingInfo.zoneId = 0; in TEST_P()
150 duckingInfo.zoneId = 0; in TEST_P()
/hardware/interfaces/automotive/audiocontrol/2.0/
DIFocusListener.hal36 * @param zoneId The identifier for the audio zone where the HAL is requesting focus
40 oneway requestAudioFocus(bitfield<AudioUsage> usage, int32_t zoneId,
52 * @param zoneId The identifier for the audio zone that the HAL abandoning focus
54 oneway abandonAudioFocus(bitfield<AudioUsage> usage, int32_t zoneId);
DIAudioControl.hal51 * @param zoneId The identifier for the audio zone that the HAL is playing the stream in
54 oneway onAudioFocusChange(bitfield<AudioUsage> usage, int32_t zoneId,
/hardware/interfaces/automotive/audiocontrol/2.0/vts/functional/
DVtsHalAudioControlV2_0TargetTest.cpp115 (hidl_bitfield<AudioUsage> usage, int zoneId,
117 MOCK_METHOD(Return<void>, abandonAudioFocus, (hidl_bitfield<AudioUsage> usage, int zoneId));