Home
last modified time | relevance | path

Searched refs:WifiScanType (Results 1 – 7 of 7) sorted by relevance

/system/chre/core/
Dwifi_scan_request.cc21 WifiScanType getWifiScanTypeForEnum(enum chreWifiScanType enumWifiScanType) { in getWifiScanTypeForEnum()
24 return WifiScanType::Active; in getWifiScanTypeForEnum()
26 return WifiScanType::ActivePlusPassiveDfs; in getWifiScanTypeForEnum()
28 return WifiScanType::Passive; in getWifiScanTypeForEnum()
30 return WifiScanType::Invalid; in getWifiScanTypeForEnum()
35 : WifiScanRequest(WifiScanType::Invalid, in WifiScanRequest()
40 WifiScanRequest::WifiScanRequest(WifiScanType scanType, in WifiScanRequest()
49 WifiScanType WifiScanRequest::getScanType() const { in getScanType()
/system/chre/core/include/chre/core/
Dwifi_scan_request.h40 enum class WifiScanType { Invalid, Active, ActivePlusPassiveDfs, Passive }; enum
50 WifiScanType getWifiScanTypeForEnum(enum chreWifiScanType enumWifiScanType);
82 WifiScanRequest(WifiScanType wifiScanType, const Nanoseconds &maxScanAge,
89 WifiScanType getScanType() const;
108 WifiScanType mScanType;
/system/chre/core/tests/
Dwifi_scan_request_test.cc22 using chre::WifiScanType;
26 EXPECT_EQ(request.getScanType(), WifiScanType::Invalid); in TEST()
/system/chre/apps/power_test/common/include/generated/
Dchre_power_test_generated.h128 enum class WifiScanType : uint8_t { enum
137 inline const WifiScanType (&EnumValuesWifiScanType())[4] { in EnumValuesWifiScanType()
138 static const WifiScanType values[] = { in EnumValuesWifiScanType()
139 WifiScanType::ACTIVE, in EnumValuesWifiScanType()
140 WifiScanType::ACTIVE_PLUS_PASSIVE_DFS, in EnumValuesWifiScanType()
141 WifiScanType::PASSIVE, in EnumValuesWifiScanType()
142 WifiScanType::NO_PREFERENCE in EnumValuesWifiScanType()
158 inline const char *EnumNameWifiScanType(WifiScanType e) { in EnumNameWifiScanType()
159 if (flatbuffers::IsOutRange(e, WifiScanType::ACTIVE, WifiScanType::NO_PREFERENCE)) return ""; in EnumNameWifiScanType()
425 chre::power_test::WifiScanType scan_type() const { in scan_type()
[all …]
/system/chre/host/common/test/power_test/
Dchre_power_test_client.cc137 using chre::power_test::WifiScanType;
223 std::unordered_map<string, WifiScanType> wifiScanTypeMap{
224 {"active", WifiScanType::ACTIVE},
225 {"active_passive_dfs", WifiScanType::ACTIVE_PLUS_PASSIVE_DFS},
226 {"passive", WifiScanType::PASSIVE},
227 {"no_preference", WifiScanType::NO_PREFERENCE}};
238 bool wifiScanTypeMatch(const string &name, WifiScanType *scanType) { in wifiScanTypeMatch()
572 WifiScanType scanType; in validateWifiArguments()
675 WifiScanType scanType = WifiScanType::NO_PREFERENCE; in createWifiMessage()
/system/chre/apps/power_test/common/idl/
Dchre_power_test_generated.h140 enum class WifiScanType : uint8_t { enum
149 inline const WifiScanType (&EnumValuesWifiScanType())[4] { in EnumValuesWifiScanType()
150 static const WifiScanType values[] = { in EnumValuesWifiScanType()
151 WifiScanType::ACTIVE, in EnumValuesWifiScanType()
152 WifiScanType::ACTIVE_PLUS_PASSIVE_DFS, in EnumValuesWifiScanType()
153 WifiScanType::PASSIVE, in EnumValuesWifiScanType()
154 WifiScanType::NO_PREFERENCE in EnumValuesWifiScanType()
170 inline const char *EnumNameWifiScanType(WifiScanType e) { in EnumNameWifiScanType()
171 if (flatbuffers::IsOutRange(e, WifiScanType::ACTIVE, WifiScanType::NO_PREFERENCE)) return ""; in EnumNameWifiScanType()
446 chre::power_test::WifiScanType scan_type;
[all …]
Dchre_power_test.fbs57 enum WifiScanType : ubyte {
86 scan_type:WifiScanType;