Home
last modified time | relevance | path

Searched refs:rand_gen (Results 1 – 2 of 2) sorted by relevance

/system/chre/apps/wifi_offload/test/
Dutility.cc23 void init(uint8_t &val, RandomGenerator &rand_gen) { in init() argument
24 val = rand_gen.get<uint8_t>(); in init()
27 void init(uint16_t &val, RandomGenerator &rand_gen) { in init() argument
28 val = rand_gen.get<uint16_t>(); in init()
31 void init(uint32_t &val, RandomGenerator &rand_gen) { in init() argument
32 val = rand_gen.get<uint32_t>(); in init()
35 void init(uint64_t &val, RandomGenerator &rand_gen) { in init() argument
36 val = rand_gen.get<uint64_t>(); in init()
39 void init(uint8_t *arr, size_t len, RandomGenerator &rand_gen) { in init() argument
41 arr[i] = rand_gen.get<uint8_t>(); in init()
[all …]
/system/chre/apps/wifi_offload/test/include/
Dutility.h58 void init(uint8_t &val, RandomGenerator &rand_gen);
59 void init(uint16_t &val, RandomGenerator &rand_gen);
60 void init(uint32_t &val, RandomGenerator &rand_gen);
61 void init(uint64_t &val, RandomGenerator &rand_gen);
62 void init(uint8_t *arr, size_t len, RandomGenerator &rand_gen);
63 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);
[all …]