Home
last modified time | relevance | path

Searched refs:fn (Results 1 – 17 of 17) sorted by relevance

/hardware/google/av/codec2/include/
D_C2MacroUtils.h80 #define _C2_MAP_64(fn, arg, head, ...) fn(head, arg), _C2_MAP_63(fn, arg, ##__VA_ARGS__) argument
81 #define _C2_MAP_63(fn, arg, head, ...) fn(head, arg), _C2_MAP_62(fn, arg, ##__VA_ARGS__) argument
82 #define _C2_MAP_62(fn, arg, head, ...) fn(head, arg), _C2_MAP_61(fn, arg, ##__VA_ARGS__) argument
83 #define _C2_MAP_61(fn, arg, head, ...) fn(head, arg), _C2_MAP_60(fn, arg, ##__VA_ARGS__) argument
84 #define _C2_MAP_60(fn, arg, head, ...) fn(head, arg), _C2_MAP_59(fn, arg, ##__VA_ARGS__) argument
85 #define _C2_MAP_59(fn, arg, head, ...) fn(head, arg), _C2_MAP_58(fn, arg, ##__VA_ARGS__) argument
86 #define _C2_MAP_58(fn, arg, head, ...) fn(head, arg), _C2_MAP_57(fn, arg, ##__VA_ARGS__) argument
87 #define _C2_MAP_57(fn, arg, head, ...) fn(head, arg), _C2_MAP_56(fn, arg, ##__VA_ARGS__) argument
88 #define _C2_MAP_56(fn, arg, head, ...) fn(head, arg), _C2_MAP_55(fn, arg, ##__VA_ARGS__) argument
89 #define _C2_MAP_55(fn, arg, head, ...) fn(head, arg), _C2_MAP_54(fn, arg, ##__VA_ARGS__) argument
[all …]
/hardware/nxp/secure_element/ls_client/src/
DLsLib.cpp56 static const char fn[] = "Perform_LSC"; in Perform_LSC() local
57 ALOGD_IF(ese_debug_enabled, "%s: enter; sha-len=%d", fn, len); in Perform_LSC()
59 ALOGE("%s: Invalid SHA-data", fn); in Perform_LSC()
72 ALOGD_IF(ese_debug_enabled, "%s: lsExecuteScript Response SW=%2x%2x", fn, in Perform_LSC()
75 ALOGD_IF(ese_debug_enabled, "%s: exit; status=0x0%x", fn, status); in Perform_LSC()
92 static const char fn[] = "LSC_update_seq_handler"; in LSC_update_seq_handler() local
95 ALOGD_IF(ese_debug_enabled, "%s: enter", fn); in LSC_update_seq_handler()
100 "%s: Loader Service response data path/destination: %s", fn, dest); in LSC_update_seq_handler()
120 ALOGE("%s: exiting; status=0x0%X", fn, status); in LSC_update_seq_handler()
133 ALOGD_IF(ese_debug_enabled, "%s: exit; status=0x%x", fn, status); in LSC_update_seq_handler()
[all …]
DLsClient.cpp154 static const char fn[] = "LSC_Start"; in LSC_Start() local
159 ALOGE("%s: LS script file is missing", fn); in LSC_Start()
161 ALOGD_IF(ese_debug_enabled, "%s: Exit; status=0x0%X", fn, status); in LSC_Start()
175 static const char fn[] = "LSC_doDownload"; in LSC_doDownload() local
186 ALOGE("%s: Thread creation failed", fn); in LSC_doDownload()
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwifi_hal.cpp364 wifi_error init_wifi_vendor_hal_func_table(wifi_hal_fn *fn) { in init_wifi_vendor_hal_func_table() argument
365 if (fn == NULL) { in init_wifi_vendor_hal_func_table()
369 fn->wifi_initialize = wifi_initialize; in init_wifi_vendor_hal_func_table()
370 fn->wifi_wait_for_driver_ready = wifi_wait_for_driver_ready; in init_wifi_vendor_hal_func_table()
371 fn->wifi_cleanup = wifi_cleanup; in init_wifi_vendor_hal_func_table()
372 fn->wifi_event_loop = wifi_event_loop; in init_wifi_vendor_hal_func_table()
373 fn->wifi_get_supported_feature_set = wifi_get_supported_feature_set; in init_wifi_vendor_hal_func_table()
374 fn->wifi_get_concurrency_matrix = wifi_get_concurrency_matrix; in init_wifi_vendor_hal_func_table()
375 fn->wifi_set_scanning_mac_oui = wifi_set_scanning_mac_oui; in init_wifi_vendor_hal_func_table()
376 fn->wifi_get_ifaces = wifi_get_ifaces; in init_wifi_vendor_hal_func_table()
[all …]
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dwifi_hal.cpp158 wifi_error init_wifi_vendor_hal_func_table(wifi_hal_fn *fn) in init_wifi_vendor_hal_func_table() argument
160 if (fn == NULL) { in init_wifi_vendor_hal_func_table()
163 fn->wifi_initialize = wifi_initialize; in init_wifi_vendor_hal_func_table()
164 fn->wifi_wait_for_driver_ready = wifi_wait_for_driver_ready; in init_wifi_vendor_hal_func_table()
165 fn->wifi_cleanup = wifi_cleanup; in init_wifi_vendor_hal_func_table()
166 fn->wifi_event_loop = wifi_event_loop; in init_wifi_vendor_hal_func_table()
167 fn->wifi_get_supported_feature_set = wifi_get_supported_feature_set; in init_wifi_vendor_hal_func_table()
168 fn->wifi_get_concurrency_matrix = wifi_get_concurrency_matrix; in init_wifi_vendor_hal_func_table()
169 fn->wifi_set_scanning_mac_oui = wifi_set_scanning_mac_oui; in init_wifi_vendor_hal_func_table()
170 fn->wifi_get_ifaces = wifi_get_ifaces; in init_wifi_vendor_hal_func_table()
[all …]
/hardware/qcom/audio/hal/
Dplatform_info.c867 section_process_fn fn = section_table[section]; in start_tag() local
868 fn(attr); in start_tag()
875 section_process_fn fn = section_table[PCM_ID]; in start_tag() local
876 fn(attr); in start_tag()
883 section_process_fn fn = section_table[section]; in start_tag() local
884 fn(attr); in start_tag()
891 section_process_fn fn = section_table[GAIN_LEVEL_MAPPING]; in start_tag() local
892 fn(attr); in start_tag()
899 section_process_fn fn = section_table[APP_TYPE]; in start_tag() local
900 fn(attr); in start_tag()
[all …]
/hardware/qcom/audio/legacy/libalsa-intf/
Daplay.c472 int play_raw(const char *fg, int rate, int ch, const char *device, const char *fn) in play_raw() argument
477 if(!fn) { in play_raw()
481 fd = open(fn, O_RDONLY); in play_raw()
483 fprintf(stderr, "Aplay:aplay: cannot open '%s'\n", fn); in play_raw()
494 fn, get_format_desc(format), ch ); in play_raw()
498 int play_wav(const char *fg, int rate, int ch, const char *device, const char *fn) in play_wav() argument
505 if(!fn) { in play_wav()
509 fd = open(fn, O_RDONLY); in play_wav()
511 fprintf(stderr, "Aplay:aplay: cannot open '%s'\n", fn); in play_wav()
530 fprintf(stderr, "Aplay:aplay: '%s' is not a riff/wave file\n", fn); in play_wav()
[all …]
Darec.c388 const char *fn) in rec_raw() argument
395 if (!fn) { in rec_raw()
399 fd = open(fn, O_WRONLY | O_CREAT | O_TRUNC, 0664); in rec_raw()
401 fprintf(stderr, "Arec:arec: cannot open '%s'\n", fn); in rec_raw()
424 int rec_wav(const char *fg, const char *device, int rate, int ch, const char *fn) in rec_wav() argument
432 if (!fn) { in rec_wav()
436 fd = open(fn, O_WRONLY | O_CREAT | O_TRUNC, 0664); in rec_wav()
438 fprintf(stderr, "Arec:arec: cannot open '%s'\n", fn); in rec_wav()
/hardware/qcom/neuralnetworks/hvxservice/1.0/
DHexagonController.h45 void* fn = dlsym(mHandle, name); in loadFunction() local
46 if (fn == nullptr) { in loadFunction()
49 return reinterpret_cast<Function>(fn); in loadFunction()
/hardware/google/av/codec2/vndk/include/util/
DC2InterfaceHelper.h542 C2R (*fn)(bool, const C2P<T> &, C2P<T> &, const C2P<Deps> &...),
546 setSetter([typedParam, fn, &deps...](
563 C2R result = fn(mayBlock, oldValue, helper, factory.get(deps)...);
585 C2R (*fn)(bool, C2P<T> &, const C2P<Deps> &...), std::shared_ptr<Deps>& ... deps) {
587 setSetter([typedParam, fn, &deps...](
603 C2R result = fn(mayBlock, helper, factory.get(deps)...);
625 C2R (*fn)(bool, C2P<T> &, const C2P<Deps> &...), std::shared_ptr<Deps>& ... deps) {
627 return withSetter(fn, std::forward<decltype(deps)>(deps)...);
/hardware/google/av/codec2/hidl/1.0/mts/common/
Dmedia_c2_hidl_test_common.h53 const std::function<void(std::list<std::unique_ptr<C2Work>>& workItems)> fn =
55 : callBack(fn) {} in callBack()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c341 pktq_pdeq_with_fn(struct pktq *pq, int prec, ifpkt_cb_t fn, int arg) in pktq_pdeq_with_fn() argument
352 if (fn == NULL || (*fn)(p, arg)) { in pktq_pdeq_with_fn()
408 pktq_pflush(osl_t *osh, struct pktq *pq, int prec, bool dir, ifpkt_cb_t fn, int arg) in pktq_pflush() argument
416 if (fn == NULL || (*fn)(p, arg)) { in pktq_pflush()
608 pktq_flush(osl_t *osh, struct pktq *pq, bool dir, ifpkt_cb_t fn, int arg) in pktq_flush() argument
620 pktq_pflush(osh, pq, prec, dir, fn, arg); in pktq_flush()
621 if (fn == NULL) in pktq_flush()
/hardware/qcom/audio/legacy/alsa_sound/
DAudioUsbALSA.cpp394 const char *fn = "/data/RecordPcm.pcm"; in RecordingThreadEntry() local
395 filed = open(fn, O_WRONLY | O_CREAT | O_TRUNC | O_APPEND, 0664); in RecordingThreadEntry()
784 const char *fn = "/data/test.pcm"; in PlaybackThreadEntry() local
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/
Dbcmutils.h301 extern void *pktq_pdeq_with_fn(struct pktq *pq, int prec, ifpkt_cb_t fn, int arg);
305 ifpkt_cb_t fn, int arg);
338 extern void pktq_flush(osl_t *osh, struct pktq *pq, bool dir, ifpkt_cb_t fn, int arg);
/hardware/qcom/camera/msm8998/usbcamcore/src/
DQualcommUsbCamera.cpp2379 static int fileDump(const char* fn, char* data, int length, int* frm_cnt) in fileDump() argument
2384 fp = fopen(fn, "wb"); in fileDump()
2386 ALOGE("%s: Error in opening %s", __func__, fn); in fileDump()
2390 fp = fopen(fn, "ab"); in fileDump()
2392 ALOGE("%s: Error in opening %s", __func__, fn); in fileDump()
2398 __func__, length, *frm_cnt, fn); in fileDump()
/hardware/interfaces/media/omx/1.0/vts/functional/common/
Dmedia_hidl_test_common.h128 CodecObserver(std::function<void(Message, const BufferInfo*)> fn) in CodecObserver()
129 : callBack(fn) {} in CodecObserver()
/hardware/libhardware_legacy/include/hardware_legacy/
Dwifi_hal.h482 wifi_error init_wifi_vendor_hal_func_table(wifi_hal_fn *fn);