Lines Matching refs:OffloadScanManager
52 OffloadScanManager* offload_scan_manager) in OffloadCallbackHandlersImpl()
70 OffloadScanManager::OffloadScanManager( in OffloadScanManager() function in android::wificond::OffloadScanManager
76 offload_status_(OffloadScanManager::kError), in OffloadScanManager()
82 offload_status_ = OffloadScanManager::kNoError; in OffloadScanManager()
86 bool OffloadScanManager::InitService() { in InitService()
94 std::bind(&OffloadScanManager::OnObjectDeath, this, _1)); in InitService()
123 bool OffloadScanManager::InitServiceIfNeeded() { in InitServiceIfNeeded()
130 bool OffloadScanManager::stopScan(OffloadScanManager::ReasonCode* reason_code) { in stopScan()
132 (getOffloadStatus() != OffloadScanManager::kNoError)) { in stopScan()
133 *reason_code = OffloadScanManager::kNotAvailable; in stopScan()
138 *reason_code = OffloadScanManager::kTransactionFailed; in stopScan()
142 *reason_code = OffloadScanManager::kNone; in stopScan()
146 bool OffloadScanManager::GetScanStats(NativeScanStats* native_scan_stats) { in GetScanStats()
163 bool OffloadScanManager::VerifyAndConvertHIDLStatus( in VerifyAndConvertHIDLStatus()
165 OffloadScanManager::ReasonCode* reason_code) { in VerifyAndConvertHIDLStatus()
169 *reason_code = OffloadScanManager::kTransactionFailed; in VerifyAndConvertHIDLStatus()
174 *reason_code = OffloadScanManager::kOperationFailed; in VerifyAndConvertHIDLStatus()
180 bool OffloadScanManager::startScan( in startScan()
185 OffloadScanManager::ReasonCode* reason_code) { in startScan()
187 getOffloadStatus() != OffloadScanManager::kNoError) { in startScan()
188 *reason_code = OffloadScanManager::kNotAvailable; in startScan()
205 *reason_code = OffloadScanManager::kNone; in startScan()
209 bool OffloadScanManager::ConfigureScans( in ConfigureScans()
211 OffloadScanManager::ReasonCode* reason_code) { in ConfigureScans()
220 bool OffloadScanManager::SubscribeScanResults( in SubscribeScanResults()
221 OffloadScanManager::ReasonCode* reason_code) { in SubscribeScanResults()
230 OffloadScanManager::StatusCode OffloadScanManager::getOffloadStatus() const { in getOffloadStatus()
232 return OffloadScanManager::kNoService; in getOffloadStatus()
237 bool OffloadScanManager::getScanResults( in getScanResults()
245 bool OffloadScanManager::getScanStats(NativeScanStats* native_scan_stats) { in getScanStats()
250 if (getOffloadStatus() != OffloadScanManager::kNoError) { in getScanStats()
257 OffloadScanManager::~OffloadScanManager() { in ~OffloadScanManager()
263 void OffloadScanManager::ReportScanResults( in ReportScanResults()
279 void OffloadScanManager::ReportError(const OffloadStatus& status) { in ReportError()
281 OffloadScanManager::StatusCode status_result = OffloadScanManager::kNoError; in ReportError()
284 status_result = OffloadScanManager::kNoError; in ReportError()
287 status_result = OffloadScanManager::kTimeOut; in ReportError()
290 status_result = OffloadScanManager::kNotConnected; in ReportError()
293 status_result = OffloadScanManager::kError; in ReportError()
299 if (status_result != OffloadScanManager::kNoError) { in ReportError()
311 void OffloadScanManager::OnObjectDeath(uint64_t cookie) { in OnObjectDeath()