Lines Matching refs:success

52   bool success = false;
56 success = addScanMonitorRequestToQueue(nanoapp, enable, cookie);
58 // The scan monitor is already in the requested state. A success event can
60 success = postScanMonitorAsyncResultEvent(instanceId, true /* success */,
64 success = addScanMonitorRequestToQueue(nanoapp, enable, cookie);
65 if (success) {
66 success = mPlatformWifi.configureScanMonitor(enable);
67 if (!success) {
77 return success;
85 bool success = false;
95 success = mPlatformWifi.requestRanging(params);
96 if (!success) {
109 success = req.targetList.copy_array(params->targetList,
111 if (!success) {
118 return success;
145 bool success = false;
149 success = mPlatformWifi.requestScan(params);
150 if (!success) {
159 return success;
262 bool success = debugDumpPrint(buffer, bufferPos, bufferSize, "\nWifi: "
266 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
269 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
274 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
279 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
282 success &= debugDumpPrint(buffer, bufferPos, bufferSize,
288 return success;
327 bool success = mPendingScanMonitorRequests.push(scanMonitorStateTransition);
328 if (!success) {
332 return success;
337 bool success = true;
351 success = mScanMonitorNanoapps.push_back(instanceId);
352 if (!success) {
361 success = false;
372 return success;
376 uint32_t nanoappInstanceId, bool success, bool enable, uint8_t errorCode,
380 if (!success || updateNanoappScanMonitoringList(enable, nanoappInstanceId)) {
386 event->success = success;
405 uint32_t nanoappInstanceId, bool success, bool enable, uint8_t errorCode,
407 if (!postScanMonitorAsyncResultEvent(nanoappInstanceId, success, enable,
414 uint32_t nanoappInstanceId, bool success, uint8_t errorCode,
422 event->success = success;
437 uint32_t nanoappInstanceId, bool success, uint8_t errorCode,
439 if (!postScanRequestAsyncResultEvent(nanoappInstanceId, success, errorCode,
453 bool success = (errorCode == CHRE_ERROR_NONE);
466 success &= (stateTransition.enable == enabled);
468 success, stateTransition.enable,
480 // success
482 success, stateTransition.enable,
490 false /* success */,
519 bool success = (pending && errorCode == CHRE_ERROR_NONE);
520 if (!success) {
525 success, errorCode,
561 event->success = (errorCode == CHRE_ERROR_NONE);
584 bool success = mPlatformWifi.requestRanging(&params);
585 if (!success) {
594 return success;