Home
last modified time | relevance | path

Searched refs:hal_fn (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/net/wifi/libwifi_hal/
Dhal_tool.cpp467 bool init_wifi_stub_hal_func_table(wifi_hal_fn* hal_fn) { in init_wifi_stub_hal_func_table() argument
468 if (hal_fn == NULL) { in init_wifi_stub_hal_func_table()
471 hal_fn->wifi_initialize = wifi_initialize_stub; in init_wifi_stub_hal_func_table()
472 hal_fn->wifi_wait_for_driver_ready = wifi_wait_for_driver_ready_stub; in init_wifi_stub_hal_func_table()
473 hal_fn->wifi_cleanup = wifi_cleanup_stub; in init_wifi_stub_hal_func_table()
474 hal_fn->wifi_event_loop = wifi_event_loop_stub; in init_wifi_stub_hal_func_table()
475 hal_fn->wifi_get_error_info = wifi_get_error_info_stub; in init_wifi_stub_hal_func_table()
476 hal_fn->wifi_get_supported_feature_set = wifi_get_supported_feature_set_stub; in init_wifi_stub_hal_func_table()
477 hal_fn->wifi_get_concurrency_matrix = wifi_get_concurrency_matrix_stub; in init_wifi_stub_hal_func_table()
478 hal_fn->wifi_set_scanning_mac_oui = wifi_set_scanning_mac_oui_stub; in init_wifi_stub_hal_func_table()
[all …]
/frameworks/native/services/vibratorservice/
DVibratorManagerHalController.cpp54 HalResult<T> ManagerHalController::apply(ManagerHalController::hal_fn<T>& halFn, in apply()
93 hal_fn<void> pingFn = [](std::shared_ptr<ManagerHalWrapper> hal) { return hal->ping(); }; in ping()
107 hal_fn<ManagerCapabilities> getCapabilitiesFn = [](std::shared_ptr<ManagerHalWrapper> hal) { in getCapabilities()
114 hal_fn<std::vector<int32_t>> getVibratorIdsFn = [](std::shared_ptr<ManagerHalWrapper> hal) { in getVibratorIds()
121 hal_fn<std::shared_ptr<HalController>> getVibratorFn = in getVibrator()
127 hal_fn<void> prepareSyncedFn = [&](std::shared_ptr<ManagerHalWrapper> hal) { in prepareSynced()
135 hal_fn<void> triggerSyncedFn = [&](std::shared_ptr<ManagerHalWrapper> hal) { in triggerSynced()
142 hal_fn<void> cancelSyncedFn = [](std::shared_ptr<ManagerHalWrapper> hal) { in cancelSynced()
/frameworks/opt/net/wifi/libwifi_hal/include/wifi_hal/
Dhal_tool.h31 virtual bool InitFunctionTable(wifi_hal_fn* hal_fn);
33 virtual bool CanGetValidChannels(wifi_hal_fn* hal_fn);
/frameworks/native/services/vibratorservice/include/vibratorservice/
DVibratorManagerHalController.h77 using hal_fn = std::function<HalResult<T>(std::shared_ptr<ManagerHalWrapper>)>; variable
80 HalResult<T> apply(hal_fn<T>& halFn, const char* functionName);