Searched refs:hal_fn (Results 1 – 6 of 6) sorted by relevance
/frameworks/opt/net/wifi/service/lib/ |
D | wifi_hal_stub.cpp | 389 int init_wifi_stub_hal_func_table(wifi_hal_fn *hal_fn) { in init_wifi_stub_hal_func_table() argument 390 if (hal_fn == NULL) { in init_wifi_stub_hal_func_table() 393 hal_fn->wifi_initialize = wifi_initialize_stub; in init_wifi_stub_hal_func_table() 394 hal_fn->wifi_cleanup = wifi_cleanup_stub; in init_wifi_stub_hal_func_table() 395 hal_fn->wifi_event_loop = wifi_event_loop_stub; in init_wifi_stub_hal_func_table() 396 hal_fn->wifi_get_error_info = wifi_get_error_info_stub; in init_wifi_stub_hal_func_table() 397 hal_fn->wifi_get_supported_feature_set = wifi_get_supported_feature_set_stub; in init_wifi_stub_hal_func_table() 398 hal_fn->wifi_get_concurrency_matrix = wifi_get_concurrency_matrix_stub; in init_wifi_stub_hal_func_table() 399 hal_fn->wifi_set_scanning_mac_oui = wifi_set_scanning_mac_oui_stub; in init_wifi_stub_hal_func_table() 400 hal_fn->wifi_get_supported_channels = wifi_get_supported_channels_stub; in init_wifi_stub_hal_func_table() [all …]
|
/frameworks/opt/net/wifi/service/jni/ |
D | com_android_server_wifi_WifiNative.cpp | 54 wifi_hal_fn hal_fn; variable 301 if(init_wifi_stub_hal_func_table(&hal_fn) != 0 ) { in android_net_wifi_startHal() 306 wifi_error res = init_wifi_vendor_hal_func_table(&hal_fn); in android_net_wifi_startHal() 317 res = hal_fn.wifi_initialize(&halHandle); in android_net_wifi_startHal() 351 hal_fn.wifi_cleanup(halHandle, android_net_wifi_hal_cleaned_up_handler); in android_net_wifi_stopHal() 360 hal_fn.wifi_event_loop(halHandle); in android_net_wifi_waitForHalEvents() 371 int result = hal_fn.wifi_get_ifaces(halHandle, &n, &ifaceHandles); in android_net_wifi_getInterfaces() 416 int result = hal_fn.wifi_get_iface_name(handle, buf, sizeof(buf)); in android_net_wifi_getInterfaceName() 526 return hal_fn.wifi_start_gscan(id, handle, params, handler) == WIFI_SUCCESS; in android_net_wifi_startScan() 535 return hal_fn.wifi_stop_gscan(id, handle) == WIFI_SUCCESS; in android_net_wifi_stopScan() [all …]
|
D | com_android_server_wifi_nan_WifiNanNative.cpp | 42 extern wifi_hal_fn hal_fn; 236 return hal_fn.wifi_nan_register_handler(handle, handlers); in android_net_wifi_nan_register_handler() 260 return hal_fn.wifi_nan_enable_request(transaction_id, handle, &msg); in android_net_wifi_nan_enable_request() 273 return hal_fn.wifi_nan_get_capabilities(transaction_id, handle); in android_net_wifi_nan_get_capabilities() 286 return hal_fn.wifi_nan_disable_request(transaction_id, handle); in android_net_wifi_nan_disable_request() 354 return hal_fn.wifi_nan_publish_request(transaction_id, handle, &msg); in android_net_wifi_nan_publish() 422 return hal_fn.wifi_nan_subscribe_request(transaction_id, handle, &msg); in android_net_wifi_nan_subscribe() 457 return hal_fn.wifi_nan_transmit_followup_request(transaction_id, handle, &msg); in android_net_wifi_nan_send_message() 475 return hal_fn.wifi_nan_publish_cancel_request(transaction_id, handle, &msg); in android_net_wifi_nan_stop_publish() 493 return hal_fn.wifi_nan_subscribe_cancel_request(transaction_id, handle, &msg); in android_net_wifi_nan_stop_subscribe()
|
D | wifi_hal_stub.h | 27 int init_wifi_stub_hal_func_table(wifi_hal_fn *hal_fn);
|
/frameworks/opt/net/wifi/tests/wifitests/jni/ |
D | wifi_hal_mock.cpp | 45 extern wifi_hal_fn hal_fn; 188 return init_wifi_hal_func_table_mock(&hal_fn); in Java_com_android_server_wifi_HalMockUtils_initHalMock()
|
D | wifi_nan_hal_mock.cpp | 45 extern wifi_hal_fn hal_fn; 579 return init_wifi_nan_hal_func_table_mock(&hal_fn); in Java_com_android_server_wifi_nan_WifiNanHalMock_initNanHalMock()
|