Home
last modified time | relevance | path

Searched refs:LocationInfoItem (Results 1 – 4 of 4) sorted by relevance

/tools/loganalysis/tests/src/com/android/loganalysis/item/
DLocationDumpsItemTest.java18 import com.android.loganalysis.item.LocationDumpsItem.LocationInfoItem;
48 assertTrue(locationClients.getJSONObject(0).has(LocationInfoItem.PACKAGE)); in testToJson()
49 assertTrue(locationClients.getJSONObject(0).has(LocationInfoItem.EFFECTIVE_INTERVAL)); in testToJson()
50 assertTrue(locationClients.getJSONObject(0).has(LocationInfoItem.MIN_INTERVAL)); in testToJson()
51 assertTrue(locationClients.getJSONObject(0).has(LocationInfoItem.MAX_INTERVAL)); in testToJson()
52 assertTrue(locationClients.getJSONObject(0).has(LocationInfoItem.REQUEST_PRIORITY)); in testToJson()
53 assertTrue(locationClients.getJSONObject(0).has(LocationInfoItem.LOCATION_DURATION)); in testToJson()
55 assertTrue(locationClients.getJSONObject(1).has(LocationInfoItem.PACKAGE)); in testToJson()
56 assertTrue(locationClients.getJSONObject(1).has(LocationInfoItem.EFFECTIVE_INTERVAL)); in testToJson()
57 assertTrue(locationClients.getJSONObject(1).has(LocationInfoItem.MIN_INTERVAL)); in testToJson()
[all …]
/tools/loganalysis/src/com/android/loganalysis/item/
DLocationDumpsItem.java37 private Collection<LocationInfoItem> mLocationClients =
38 new LinkedList<LocationInfoItem>();
40 public static class LocationInfoItem extends GenericItem { class in LocationDumpsItem
67 public LocationInfoItem(String packageName, int effective, int min, int max, in LocationInfoItem() method in LocationDumpsItem.LocationInfoItem
134 mLocationClients.add(new LocationInfoItem(packageName, effective, min, max, priority, in addLocationClient()
138 public Collection<LocationInfoItem> getLocationClients() { in getLocationClients()
167 for (LocationInfoItem locationClient : mLocationClients) { in toJson()
/tools/loganalysis/src/com/android/loganalysis/rule/
DLocationUsageRule.java21 import com.android.loganalysis.item.LocationDumpsItem.LocationInfoItem;
41 private List<LocationInfoItem> mOffendingLocationRequestList;
51 mOffendingLocationRequestList = new ArrayList<LocationInfoItem>(); in applyRule()
63 for (LocationInfoItem locationClient : locationDumpsItem.getLocationClients()) { in applyRule()
82 for (LocationInfoItem locationClient : mOffendingLocationRequestList) { in getAnalysis()
/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DLocationServiceParserTest.java19 import com.android.loganalysis.item.LocationDumpsItem.LocationInfoItem;
66 LocationInfoItem client = locationClients.getLocationClients().iterator().next(); in testLocationClientParser()