public List<ScanResult> syncGetScanResultsList() {
        synchronized (mScanResultsLock) {
            List<ScanResult> scanList = new ArrayList<ScanResult>();
            for (ScanDetail result : mScanResults) {
                scanList.add(new ScanResult(result.getScanResult()));
            }
            return scanList;
        }
    }
public List<ScanResult> syncGetScanResultsList() {
        synchronized (mScanResultsLock) {
            List<ScanResult> scanList = new ArrayList<ScanResult>();
            for (ScanDetail result : mScanResults) {
                scanList.add(new ScanResult(result.getScanResult()));
            }
            return scanList;
        }
    }
public list<scanresult> syncgetscanresultslist() { synchronized (mscanresultslock) { list<scanresult> scanlist = new arraylist<scanresult>(); for (scandetail result : mscanresults) { scanlist.add(new scanresult(result.getscanresult())); } return scanlist; } }