Searched refs:mLocations (Results 1 – 4 of 4) sorted by relevance
111 private final ArrayList<Location> mLocations; field in LocationResult115 mLocations = locations; in LocationResult()126 final int size = mLocations.size(); in validate()128 Location location = mLocations.get(i); in validate()172 "incomplete location at index " + i + ": " + mLocations); in validate()176 "incorrectly ordered location at index " + i + ": " + mLocations); in validate()189 return mLocations.get(mLocations.size() - 1); in getLastLocation()196 return mLocations.size(); in size()204 return mLocations.get(i); in get()211 return Collections.unmodifiableList(mLocations); in asList()[all …]
31 private final LinkedList<LocationResult> mLocations = new LinkedList<>(); field in ProviderListenerCapture51 mLocations.add(locationResult); in onReportLocation()55 return mLocations.poll(); in getNextLocationResult()
122 private final LinkedBlockingQueue<Location> mLocations; field in GnssOverlayLocationServiceTest.LocationProviderManagerCapture125 mLocations = new LinkedBlockingQueue<>(); in LocationProviderManagerCapture()140 mLocations.add(location); in onReportLocation()145 mLocations.addAll(locations); in onReportLocations()152 return mLocations.poll(timeoutMs, TimeUnit.MILLISECONDS); in getNextLocation()
147 private final LinkedBlockingQueue<Location> mLocations; field in FusedLocationServiceTest.LocationProviderManagerCapture150 mLocations = new LinkedBlockingQueue<>(); in LocationProviderManagerCapture()165 mLocations.add(location); in onReportLocation()170 mLocations.addAll(locations); in onReportLocations()177 return mLocations.poll(timeoutMs, TimeUnit.MILLISECONDS); in getNextLocation()