Home
last modified time | relevance | path

Searched refs:getAccuracy (Results 1 – 6 of 6) sorted by relevance

/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowCriteria.java18 accuracy = criteria.getAccuracy(); in __constructor__()
23 public int getAccuracy() { in getAccuracy() method in ShadowCriteria
49 … if (criteria.getAccuracy() == accuracy && criteria.getPowerRequirement() == powerRequirement) { in equals()
DShadowLocationManager.java157 int accuracy = criteria.getAccuracy(); in getBestProviderWithCriteria()
170 } else if (criteriaListItem.getAccuracy() == accuracy) { in getBestProviderWithCriteria()
DShadowLocation.java59 accuracy = l.getAccuracy(); in set()
91 public float getAccuracy() { in getAccuracy() method in ShadowLocation
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DLocationTest.java77 assertEquals(0.0f, defaultLocation.getAccuracy()); in defaultLocationShouldNotReportFieldsAsAvailable()
108 assertEquals(4f, l.getAccuracy()); in assertLocationFieldsFromTestSetup()
DCriteriaTest.java27 assertThat(Criteria.ACCURACY_COARSE, IsEqual.equalTo(criteria.getAccuracy())); in shouldReturnAccuracy()
/external/sl4a/Common/src/com/googlecode/android_scripting/jsonrpc/
DJsonBuilder.java564 result.put("accuracy", location.getAccuracy()); in buildJsonLocation()