Home
last modified time | relevance | path

Searched refs:useCase (Results 1 – 25 of 29) sorted by relevance

12

/hardware/qcom/audio/legacy/alsa_sound/
DAudioStreamOutALSA.cpp87 if(!strcmp(mHandle->useCase, SND_USE_CASE_VERB_HIFI_LOW_POWER) || in setVolume()
88 !strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_LPA)) { in setVolume()
94 else if(!strcmp(mHandle->useCase, SND_USE_CASE_VERB_HIFI_TUNNEL) || in setVolume()
95 !strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_TUNNEL)) { in setVolume()
101 else if(!strncmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL, in setVolume()
102 sizeof(mHandle->useCase)) || !strncmp(mHandle->useCase, in setVolume()
103 SND_USE_CASE_MOD_PLAY_VOIP, sizeof(mHandle->useCase))) { in setVolume()
124 (strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) && in write()
125 (strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) { in write()
128 ALOGD("mHandle->useCase: %s", mHandle->useCase); in write()
[all …]
DAudioStreamInALSA.cpp92 … if (!strncmp(handle->useCase, SND_USE_CASE_VERB_HIFI_REC, strlen(SND_USE_CASE_VERB_HIFI_REC)) in AudioStreamInALSA()
93 …|| !strncmp(handle->useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC, strlen(SND_USE_CASE_MOD_CAPTURE_MUSIC… in AudioStreamInALSA()
139 (strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) && in read()
140 (strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) { in read()
152 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE, in read()
153 sizeof(mHandle->useCase)); in read()
158 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE_UL_DL, in read()
159 sizeof(mHandle->useCase)); in read()
165 strlcpy(mHandle->useCase, SND_USE_CASE_MOD_CAPTURE_VOICE, in read()
166 sizeof(mHandle->useCase)); in read()
[all …]
Dalsa_default.cpp200 int getUseCaseType(const char *useCase);
226 strlcat(ident, handle->useCase, sizeof(ident)); in deviceName()
284 … if (!strncmp(handle->useCase, SND_USE_CASE_VERB_HIFI_REC, strlen(SND_USE_CASE_VERB_HIFI_REC)) in setHardwareParams()
285 …|| !strncmp(handle->useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC, strlen(SND_USE_CASE_MOD_CAPTURE_MUSIC… in setHardwareParams()
286 ALOGV("HWParams: Use 4 channels in kernel for 5.1(%s) recording ", handle->useCase); in setHardwareParams()
334 if (strcmp(handle->useCase, SND_USE_CASE_VERB_HIFI_REC) && in setHardwareParams()
335 strcmp(handle->useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC) && in setHardwareParams()
360 … if (!strncmp(handle->useCase, SND_USE_CASE_VERB_HIFI_REC, strlen(SND_USE_CASE_VERB_HIFI_REC)) in setSoftwareParams()
361 …|| !strncmp(handle->useCase, SND_USE_CASE_MOD_CAPTURE_MUSIC, strlen(SND_USE_CASE_MOD_CAPTURE_MUSIC… in setSoftwareParams()
362 ALOGV("SWParams: Use 4 channels in kernel for 5.1(%s) recording ", handle->useCase); in setSoftwareParams()
[all …]
DAudioHardwareALSA.cpp218 it->useCase[0] = 0; in ~AudioHardwareALSA()
656 if((!strcmp(it->useCase, SND_USE_CASE_VERB_HIFI_LOW_POWER)) || in doRouting()
657 (!strcmp(it->useCase, SND_USE_CASE_MOD_PLAY_LPA))) { in doRouting()
662 } else if((!strcmp(it->useCase, SND_USE_CASE_VERB_VOICECALL)) || in doRouting()
663 (!strcmp(it->useCase, SND_USE_CASE_MOD_PLAY_VOICE))) { in doRouting()
670 }else if((!strcmp(it->useCase, SND_USE_CASE_VERB_DIGITAL_RADIO)) || in doRouting()
671 (!strcmp(it->useCase, SND_USE_CASE_MOD_PLAY_FM))) { in doRouting()
751 if((!strcmp(it->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) || in openOutputStream()
752 (!strcmp(it->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) { in openOutputStream()
791 … strlcpy(alsa_handle.useCase, SND_USE_CASE_VERB_IP_VOICECALL, sizeof(alsa_handle.useCase)); in openOutputStream()
[all …]
DALSAStreamOps.cpp58 if((!strcmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL)) || in ~ALSAStreamOps()
59 (!strcmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP))) { in ~ALSAStreamOps()
75 it->useCase[0] = 0; in ~ALSAStreamOps()
252 …if((!strncmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL, strlen(SND_USE_CASE_VERB_IP_VOICECA… in getParameters()
253 … (!strncmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP, strlen(SND_USE_CASE_MOD_PLAY_VOIP)))) in getParameters()
351 …if((!strncmp(mHandle->useCase, SND_USE_CASE_VERB_IP_VOICECALL, strlen(SND_USE_CASE_VERB_IP_VOICECA… in close()
352 … (!strncmp(mHandle->useCase, SND_USE_CASE_MOD_PLAY_VOIP, strlen(SND_USE_CASE_MOD_PLAY_VOIP)))) { in close()
DAudioHardwareALSA.h169 char useCase[MAX_STR_LEN]; member
186 char useCase[MAX_STR_LEN]; member
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_ucm.c877 int getUseCaseType(const char *useCase) in getUseCaseType() argument
879 ALOGV("getUseCaseType: use case is %s\n", useCase); in getUseCaseType()
880 if (!strncmp(useCase, SND_USE_CASE_VERB_HIFI, in getUseCaseType()
881 MAX_LEN(useCase,SND_USE_CASE_VERB_HIFI)) || in getUseCaseType()
882 !strncmp(useCase, SND_USE_CASE_VERB_HIFI_LOWLATENCY_MUSIC, in getUseCaseType()
883 MAX_LEN(useCase,SND_USE_CASE_VERB_HIFI_LOWLATENCY_MUSIC)) || in getUseCaseType()
884 !strncmp(useCase, SND_USE_CASE_VERB_HIFI_LOW_POWER, in getUseCaseType()
885 MAX_LEN(useCase,SND_USE_CASE_VERB_HIFI_LOW_POWER)) || in getUseCaseType()
886 !strncmp(useCase, SND_USE_CASE_VERB_HIFI_TUNNEL, in getUseCaseType()
887 MAX_LEN(useCase,SND_USE_CASE_VERB_HIFI_TUNNEL)) || in getUseCaseType()
[all …]
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/2/android/hardware/camera/device/
DStream.aidl50 android.hardware.camera.metadata.ScalerAvailableStreamUseCases useCase;
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/3/android/hardware/camera/device/
DStream.aidl50 android.hardware.camera.metadata.ScalerAvailableStreamUseCases useCase;
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/1/android/hardware/camera/device/
DStream.aidl50 android.hardware.camera.metadata.ScalerAvailableStreamUseCases useCase;
/hardware/interfaces/camera/device/aidl/aidl_api/android.hardware.camera.device/current/android/hardware/camera/device/
DStream.aidl50 android.hardware.camera.metadata.ScalerAvailableStreamUseCases useCase;
/hardware/interfaces/camera/device/aidl/android/hardware/camera/device/
DStream.aidl229 android.hardware.camera.metadata.ScalerAvailableStreamUseCases useCase;
/hardware/interfaces/audio/common/all-versions/default/
DHidlUtils.cpp202 config->ext.mix.useCase.stream = AudioStreamType(halConfig.ext.mix.usecase.stream); in audioPortConfigFromHal()
204 config->ext.mix.useCase.source = AudioSource(halConfig.ext.mix.usecase.source); in audioPortConfigFromHal()
242 static_cast<audio_stream_type_t>(config.ext.mix.useCase.stream); in audioPortConfigToHal()
245 static_cast<audio_source_t>(config.ext.mix.useCase.source); in audioPortConfigToHal()
/hardware/interfaces/audio/core/all-versions/vts/functional/7.0/
DAudioPrimaryHidlHalTest.cpp93 configWithPortExtMixSource.ext.mix().useCase.stream( in generatePortConfigs()
98 configWithPortExtMixSink.ext.mix().useCase.source( in generatePortConfigs()
125 invalidStreamType.ext.mix().useCase.stream() = "random_string"; in generatePortConfigs()
128 invalidSource.ext.mix().useCase.source() = "random_string"; in generatePortConfigs()
535 source.ext.mix().useCase.stream({}); in createPatchIfNeeded()
707 sink.ext.mix().useCase.source(initMetadata.tracks[0].source); in createPatchIfNeeded()
/hardware/interfaces/audio/common/all-versions/default/7.0/
DHidlUtils.cpp657 ext->mix().useCase.stream({}); in audioUsageFromHal()
659 audioStreamTypeFromHal(mix.usecase.stream, &ext->mix().useCase.stream()), in audioUsageFromHal()
662 ext->mix().useCase.source({}); in audioUsageFromHal()
664 audioSourceFromHal(mix.usecase.source, &ext->mix().useCase.source()), in audioUsageFromHal()
697 switch (ext.mix().useCase.getDiscriminator()) { in audioUsageFromHal()
701 audioStreamTypeToHal(ext.mix().useCase.stream(), &mix->usecase.stream), in audioUsageFromHal()
707 audioSourceToHal(ext.mix().useCase.source(), &mix->usecase.source), in audioUsageFromHal()
/hardware/interfaces/wifi/aidl/android/hardware/wifi/
DIWifiChip.aidl1054 void setMultiStaUseCase(in MultiStaUseCase useCase); in setMultiStaUseCase() argument
/hardware/interfaces/wifi/aidl/aidl_api/android.hardware.wifi/1/android/hardware/wifi/
DIWifiChip.aidl80 void setMultiStaUseCase(in android.hardware.wifi.IWifiChip.MultiStaUseCase useCase); in setMultiStaUseCase() argument
/hardware/interfaces/wifi/aidl/aidl_api/android.hardware.wifi/2/android/hardware/wifi/
DIWifiChip.aidl80 void setMultiStaUseCase(in android.hardware.wifi.IWifiChip.MultiStaUseCase useCase); in setMultiStaUseCase() argument
/hardware/interfaces/wifi/aidl/aidl_api/android.hardware.wifi/current/android/hardware/wifi/
DIWifiChip.aidl80 void setMultiStaUseCase(in android.hardware.wifi.IWifiChip.MultiStaUseCase useCase); in setMultiStaUseCase() argument
/hardware/interfaces/wifi/1.5/
DIWifiChip.hal135 * @param useCase Use case that is active.
142 setMultiStaUseCase(MultiStaUseCase useCase) generates (WifiStatus status);
/hardware/google/camera/devices/EmulatedCamera/hwl/
DEmulatedCameraDeviceInfo.cpp1968 for (int64_t useCase : kSupportedUseCases) { in InitializeRequestDefaults() local
1969 if (std::find(entry.data.i64, entry.data.i64 + entry.count, useCase) == in InitializeRequestDefaults()
1972 __FUNCTION__, useCase); in InitializeRequestDefaults()
/hardware/interfaces/audio/common/7.0/
Dtypes.hal483 } useCase;
/hardware/google/camera/common/hal/aidl_service/
Daidl_utils.cc1098 aidl_stream.useCase); in ConvertToHalStream()
/hardware/interfaces/camera/provider/aidl/vts/
Dcamera_aidl_test.cpp2530 for (int64_t useCase : testedUseCases) { in configureStreamUseCaseInternal() local
2532 useCase) != supportedUseCases.end(); in configureStreamUseCaseInternal()
2534 streams[0].useCase = static_cast< in configureStreamUseCaseInternal()
2536 useCase); in configureStreamUseCaseInternal()
/hardware/interfaces/audio/common/4.0/
Dtypes.hal845 } useCase;

12