Home
last modified time | relevance | path

Searched refs:use_case (Results 1 – 25 of 31) sorted by relevance

12

/hardware/knowles/athletico/sound_trigger_hal/tests/
Dcrash_trigger_test.c79 char use_case; in main() local
91 use_case = 'c'; in main()
94 use_case = 'h'; in main()
97 use_case = 'd'; in main()
120 if ('c' == use_case) { in main()
123 } else if ('h' == use_case) { in main()
126 } else if ('d' == use_case) { in main()
Doslo_config_test.c560 char use_case; in main() local
592 use_case = 's'; in main()
601 if ('s' == use_case) { in main()
603 use_case = 'v'; in main()
604 } else if ('w' == use_case) { in main()
607 } else if ('t' == use_case) { in main()
609 use_case = 'v'; in main()
627 use_case = 'g'; in main()
637 use_case = 'p'; in main()
646 use_case = 'r'; in main()
[all …]
Dsensor_param_test.c128 char use_case; in main() local
145 use_case = 's'; in main()
153 if ('s' == use_case) { in main()
167 use_case = 'g'; in main()
190 if ('s' == use_case) { in main()
192 } else if ('g' == use_case) { in main()
Dodsp_api_test.c122 char use_case; in main() local
142 use_case = 's'; in main()
162 use_case = 'g'; in main()
181 use_case = 'e'; in main()
197 use_case = 'd'; in main()
213 use_case = 't'; in main()
244 switch(use_case) { in main()
Dget_pwr_stats.c53 char use_case; in main() local
65 use_case = 'c'; in main()
89 if ('c' == use_case) { in main()
/hardware/qcom/audio/legacy/alsa_sound/
DAudioHardwareALSA.cpp788 char *use_case; in openOutputStream()
789 snd_use_case_get(mUcMgr, "_verb", (const char **)&use_case); in openOutputStream()
790 if ((use_case == NULL) || (!strcmp(use_case, SND_USE_CASE_VERB_INACTIVE))) { in openOutputStream()
795 free(use_case); in openOutputStream()
879 char *use_case; in openOutputStream() local
880 snd_use_case_get(mUcMgr, "_verb", (const char **)&use_case); in openOutputStream()
881 if ((use_case == NULL) || (!strcmp(use_case, SND_USE_CASE_VERB_INACTIVE))) { in openOutputStream()
886 free(use_case); in openOutputStream()
929 char *use_case; in openOutputStream() local
930 snd_use_case_get(mUcMgr, "_verb", (const char **)&use_case); in openOutputStream()
[all …]
DAudioStreamOutALSA.cpp113 char *use_case; in write() local
129 snd_use_case_get(mHandle->ucMgr, "_verb", (const char **)&use_case); in write()
130 if ((use_case == NULL) || (!strcmp(use_case, SND_USE_CASE_VERB_INACTIVE))) { in write()
159 free(use_case); in write()
Dalsa_default.cpp398 char *rxDevice, *txDevice, ident[70], *use_case = NULL; in switchDevice() local
489 snd_use_case_get(handle->ucMgr, "_verb", (const char **)&use_case); in switchDevice()
494 if ((use_case != NULL) && (strncmp(use_case, SND_USE_CASE_VERB_INACTIVE, in switchDevice()
496 usecase_type = getUseCaseType(use_case); in switchDevice()
498 ALOGD("Deroute use case %s type is %d\n", use_case, usecase_type); in switchDevice()
499 strlcpy(useCaseNode.useCase, use_case, MAX_STR_LEN); in switchDevice()
521 if ((use_case != NULL) && (strncmp(use_case, SND_USE_CASE_VERB_INACTIVE, in switchDevice()
523 usecase_type = getUseCaseType(use_case); in switchDevice()
525 ALOGD("Deroute use case %s type is %d\n", use_case, usecase_type); in switchDevice()
526 strlcpy(useCaseNode.useCase, use_case, MAX_STR_LEN); in switchDevice()
[all …]
DAudioStreamInALSA.cpp135 char *use_case; in read() local
142 snd_use_case_get(mHandle->ucMgr, "_verb", (const char **)&use_case); in read()
143 if ((use_case != NULL) && (strcmp(use_case, SND_USE_CASE_VERB_INACTIVE))) { in read()
245 free(use_case); in read()
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_ucm.c539 const char *use_case) in check_devices_for_voice_call() argument
544 if ((!strncmp(use_case, SND_USE_CASE_VERB_VOICECALL, in check_devices_for_voice_call()
546 (!strncmp(use_case, SND_USE_CASE_VERB_IP_VOICECALL, in check_devices_for_voice_call()
548 (!strncmp(use_case, SND_USE_CASE_MOD_PLAY_VOICE, in check_devices_for_voice_call()
550 (!strncmp(use_case, SND_USE_CASE_MOD_PLAY_VOIP, in check_devices_for_voice_call()
702 int get_use_case_index(snd_use_case_mgr_t *uc_mgr, const char *use_case, in get_use_case_index() argument
730 while(strncmp(ctrl_list[index].case_name, use_case, (strlen(use_case)+1))) { in get_use_case_index()
756 const char *use_case, int enable, int ctrl_list_type, int uc_index) in snd_use_case_apply_mixer_controls() argument
784 ALOGE("No valid use case found with the use case: %s", use_case); in snd_use_case_apply_mixer_controls()
792 (check_devices_for_voice_call(uc_mgr, use_case) != NULL)) in snd_use_case_apply_mixer_controls()
[all …]
/hardware/google/camera/devices/EmulatedCamera/hwl/
DBase.h57 int32_t use_case; member
79 use_case(ANDROID_SCALER_AVAILABLE_STREAM_USE_CASES_DEFAULT), in SensorBuffer()
DEmulatedLogicalRequestState.h35 int64_t use_case; member
DEmulatedSensor.cpp545 if (stream.use_case != ANDROID_SCALER_AVAILABLE_STREAM_USE_CASES_DEFAULT) { in IsStreamCombinationSupported()
550 } else if (stream.use_case > in IsStreamCombinationSupported()
553 stream.use_case); in IsStreamCombinationSupported()
555 } else if (stream.use_case != in IsStreamCombinationSupported()
557 if (stream.use_case == in IsStreamCombinationSupported()
562 __FUNCTION__, stream.use_case, stream.format); in IsStreamCombinationSupported()
566 (stream.use_case == in IsStreamCombinationSupported()
581 __FUNCTION__, stream.use_case, stream.format); in IsStreamCombinationSupported()
926 (*b)->use_case == in threadLoop()
988 ((*b)->use_case == in threadLoop()
DEmulatedCameraDeviceSessionHWLImpl.cpp316 .use_case = stream.use_case, in ConfigurePipeline()
DEmulatedRequestProcessor.cpp382 buffer->use_case = stream.use_case; in CreateSensorBuffer()
/hardware/qcom/audio/hal/audio_extn/
Dhwdep_cal.c50 int use_case; member
/hardware/google/camera/common/hal/utils/
Dutils.cc593 if (stream_use_cases.find(stream.use_case) == stream_use_cases.end()) { in IsStreamUseCaseSupported()
596 stream.use_case); in IsStreamUseCaseSupported()
628 return (stream.use_case == in IsStreamUseCasesVideoCall()
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
Dwificonfig.cpp1374 u8 use_case; in wifi_multi_sta_set_use_case() local
1391 use_case = QCA_WLAN_CONCURRENT_STA_POLICY_PREFER_PRIMARY; in wifi_multi_sta_set_use_case()
1394 use_case = QCA_WLAN_CONCURRENT_STA_POLICY_UNBIASED; in wifi_multi_sta_set_use_case()
1441 QCA_WLAN_VENDOR_ATTR_CONCURRENT_STA_POLICY_CONFIG, use_case)) { in wifi_multi_sta_set_use_case()
/hardware/synaptics/wlan/synadhd/wifi_hal/
Dwifi_hal.cpp2720 MultiStaConfig(wifi_interface_handle handle, wifi_multi_sta_use_case use_case) in MultiStaConfig() argument
2721 : WifiCommand("MultiStaConfig", handle, 0), mUseCase(use_case), mReqType(SET_USE_CASE) in MultiStaConfig()
2723 mUseCase = use_case; in MultiStaConfig()
2815 wifi_error wifi_multi_sta_set_use_case(wifi_handle handle, wifi_multi_sta_use_case use_case) in wifi_multi_sta_set_use_case() argument
2827 if (!(use_case >= WIFI_DUAL_STA_TRANSIENT_PREFER_PRIMARY && in wifi_multi_sta_set_use_case()
2828 use_case <= WIFI_DUAL_STA_NON_TRANSIENT_UNBIASED)) { in wifi_multi_sta_set_use_case()
2829 ALOGE("%s: Invalid multi_sta usecase %d\n", __FUNCTION__, use_case); in wifi_multi_sta_set_use_case()
2834 ALOGD("Setting Multista usecase = %d\n", use_case); in wifi_multi_sta_set_use_case()
2835 MultiStaConfig *cmd = new MultiStaConfig(wlan0Handle, use_case); in wifi_multi_sta_set_use_case()
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dwifi_hal.cpp2757 MultiStaConfig(wifi_interface_handle handle, wifi_multi_sta_use_case use_case) in MultiStaConfig() argument
2758 : WifiCommand("MultiStaConfig", handle, 0), mUseCase(use_case), mReqType(SET_USE_CASE) in MultiStaConfig()
2760 mUseCase = use_case; in MultiStaConfig()
2852 wifi_error wifi_multi_sta_set_use_case(wifi_handle handle, wifi_multi_sta_use_case use_case) in wifi_multi_sta_set_use_case() argument
2864 if (!(use_case >= WIFI_DUAL_STA_TRANSIENT_PREFER_PRIMARY && in wifi_multi_sta_set_use_case()
2865 use_case <= WIFI_DUAL_STA_NON_TRANSIENT_UNBIASED)) { in wifi_multi_sta_set_use_case()
2866 ALOGE("%s: Invalid multi_sta usecase %d\n", __FUNCTION__, use_case); in wifi_multi_sta_set_use_case()
2871 ALOGD("Setting Multista usecase = %d\n", use_case); in wifi_multi_sta_set_use_case()
2872 MultiStaConfig *cmd = new MultiStaConfig(wlan0Handle, use_case); in wifi_multi_sta_set_use_case()
/hardware/google/camera/common/hal/common/
Dhal_types.h135 StreamUseCase use_case = ANDROID_SCALER_AVAILABLE_STREAM_USE_CASES_DEFAULT; member
/hardware/interfaces/wifi/aidl/default/
Daidl_struct_util.h61 IWifiChip::MultiStaUseCase use_case);
Dwifi_chip.h225 ndk::ScopedAStatus setMultiStaUseCaseInternal(IWifiChip::MultiStaUseCase use_case);
/hardware/interfaces/wifi/legacy_headers/include/hardware_legacy/
Dwifi_hal.h581 wifi_error wifi_multi_sta_set_use_case(wifi_handle handle, wifi_multi_sta_use_case use_case);
1001 wifi_multi_sta_use_case use_case);
/hardware/google/camera/common/hal/aidl_service/
Daidl_utils.cc1096 hal_stream->use_case = in ConvertToHalStream()

12