Home
last modified time | relevance | path

Searched refs:wifi_offload (Results 1 – 25 of 47) sorted by relevance

12

/system/chre/apps/wifi_offload/
Dflatbuffers_serialization.cc20 namespace wifi_offload { namespace
23 size_t Serialize(const wifi_offload::ScanStats &stats, uint8_t *buffer, in Serialize()
29 wifi_offload::ScanStats *stats) { in Deserialize()
30 return Deserialize<wifi_offload::ScanStats>(buffer, buffer_len, stats, in Deserialize()
34 size_t Serialize(const wifi_offload::ScanConfig &config, uint8_t *buffer, in Serialize()
40 wifi_offload::ScanConfig *config) { in Deserialize()
41 return Deserialize<wifi_offload::ScanConfig>(buffer, buffer_len, config, in Deserialize()
45 size_t Serialize(const wifi_offload::Vector<wifi_offload::ScanResult> &results, in Serialize()
47 wifi_offload::ScanResultMessage msg; in Serialize()
53 wifi_offload::Vector<wifi_offload::ScanResult> *results) { in Deserialize()
[all …]
DREADME.md2 sending messages between wifi_offload nanoapp and offload HAL. This library is
3 being included by both offload HAL and wifi_offload nanoapp, and is NOT a
Dscan_record.cc19 namespace wifi_offload { namespace
/system/chre/apps/wifi_offload/test/include/
Dutility.h63 void init(wifi_offload::Ssid &ssid, RandomGenerator &rand_gen);
64 void init(wifi_offload::PreferredNetwork &net_info, RandomGenerator &rand_gen);
65 void init(wifi_offload::ScanRecord &record, RandomGenerator &rand_gen);
66 void init(wifi_offload::RpcLogRecord &record, RandomGenerator &rand_gen);
67 void init(wifi_offload::ChannelHistogram &histo, RandomGenerator &rand_gen);
68 void init(wifi_offload::ScanStats &stats, RandomGenerator &rand_gen);
69 void init(wifi_offload::ScanParams &params, RandomGenerator &rand_gen);
70 void init(wifi_offload::ScanFilter &filter, RandomGenerator &rand_gen);
71 void init(wifi_offload::ScanConfig &config, RandomGenerator &rand_gen);
72 void init(wifi_offload::ScanResult &result, RandomGenerator &rand_gen);
[all …]
/system/chre/apps/wifi_offload/test/
Dutility.cc19 using RpcLog = wifi_offload::RpcLogRecord::RpcLogRecordType;
70 void init(wifi_offload::Ssid &ssid, RandomGenerator &rand_gen) { in init()
71 uint8_t rand_ssid[wifi_offload::Ssid::kMaxSsidLen]; in init()
72 size_t len = (rand_gen.get<uint8_t>() % wifi_offload::Ssid::kMaxSsidLen) + 1; in init()
77 void init(wifi_offload::PreferredNetwork &net_info, RandomGenerator &rand_gen) { in init()
82 void init(wifi_offload::ScanRecord &record, RandomGenerator &rand_gen) { in init()
88 void init(wifi_offload::RpcLogRecord &record, RandomGenerator &rand_gen) { in init()
93 void init(wifi_offload::ChannelHistogram &histo, RandomGenerator &rand_gen) { in init()
100 void init(wifi_offload::ScanStats &stats, RandomGenerator &rand_gen) { in init()
108 init<wifi_offload::ScanRecord>(stats.scan_records_, rand_gen); in init()
[all …]
Doffloadtypes_test.cc71 typedef testing::Types<wifi_offload::PreferredNetwork, wifi_offload::ScanResult,
72 wifi_offload::ScanParams, wifi_offload::ScanFilter,
73 wifi_offload::ScanConfig, wifi_offload::ScanRecord,
74 wifi_offload::RpcLogRecord, wifi_offload::ScanStats>
Dflatbuffersserialization_test.cc24 using wifi_offload::fbs::Deserialize;
25 using wifi_offload::fbs::Serialize;
37 typedef testing::Types<wifi_offload::ScanStats, wifi_offload::ScanConfig,
38 wifi_offload::Vector<wifi_offload::ScanResult>>
Dchrescanparamssafe_test.cc25 wifi_offload::ScanParams nanoapp_scan_params_;
28 wifi_offload::ChreScanParamsSafe chre_scan_params_safe( in ConstructChreScanParamsSafeAndCompareWithOrigScanParams()
84 wifi_offload::ChreScanParamsSafe chre_scan_params_safe(nanoapp_scan_params_); in TEST_F()
Dscanresult_test.cc25 wifi_offload::ScanResult nanoapp_scan_result(chre_scan_result); in TEST()
27 wifi_offload::Ssid ssid; in TEST()
Dchannelhistogram_test.cc36 wifi_offload::ChannelHistogram channel_histo_;
57 wifi_offload::ChannelHistogram histo; in TEST_F()
Dwifioffloadutility_test.cc24 int channel = wifi_offload::utility::Ieee80211FrequencyToChannel( in TEST()
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/
Dflatbuffers_serialization.h35 namespace wifi_offload {
54 size_t Serialize(const wifi_offload::ScanStats &stats, uint8_t *buffer,
56 size_t Serialize(const wifi_offload::ScanConfig &config, uint8_t *buffer,
58 size_t Serialize(const wifi_offload::Vector<wifi_offload::ScanResult> &results,
72 wifi_offload::ScanStats *stats);
74 wifi_offload::ScanConfig *config);
76 wifi_offload::Vector<wifi_offload::ScanResult> *results);
Dwifi_offload.h36 namespace wifi_offload {
55 namespace wifi_offload {
Dvector_serialization.h24 namespace wifi_offload {
31 wifi_offload::Vector<flatbuffers::Offset<typename T::FbsType>> offset_vector; in SerializeVector()
Dhost_message_types.h20 namespace wifi_offload {
Dutility.h29 namespace wifi_offload {
Derror_codes.h22 namespace wifi_offload {
Dchre_scan_params_safe.h23 namespace wifi_offload {
Dscan_config.h26 namespace wifi_offload {
Dscan_filter.h25 namespace wifi_offload {
Dscan_record.h24 namespace wifi_offload {
Dscan_params.h25 namespace wifi_offload {
Dscan_result_message.h24 namespace wifi_offload {
Dpreferred_network.h25 namespace wifi_offload {
/system/chre/apps/wifi_offload/include/chre/apps/wifi_offload/generated/
Dflatbuffers_types_generated.h9 namespace wifi_offload {
89 return wifi_offload::fbs::CreateSsid(
100 const wifi_offload::fbs::Ssid *ssid() const { in ssid()
101 return GetPointer<const wifi_offload::fbs::Ssid *>(VT_SSID); in ssid()
119 void add_ssid(flatbuffers::Offset<wifi_offload::fbs::Ssid> ssid) { in add_ssid()
139 flatbuffers::Offset<wifi_offload::fbs::Ssid> ssid = 0,
158 const wifi_offload::fbs::Ssid *ssid() const { in ssid()
159 return GetPointer<const wifi_offload::fbs::Ssid *>(VT_SSID); in ssid()
198 void add_ssid(flatbuffers::Offset<wifi_offload::fbs::Ssid> ssid) { in add_ssid()
233 flatbuffers::Offset<wifi_offload::fbs::Ssid> ssid = 0,
[all …]

12