Searched refs:WearEstimateRecord (Results 1 – 5 of 5) sorted by relevance
44 private final List<WearEstimateRecord> mWearHistory = new ArrayList<>();52 WearEstimateRecord wearRecord = new WearEstimateRecord(wearRecordJson); in WearHistory()57 public static WearHistory fromRecords(@NonNull WearEstimateRecord... records) { in fromRecords()73 for (WearEstimateRecord wearRecord : mWearHistory) { in writeToJson()80 public boolean add(@NonNull WearEstimateRecord record) { in add()82 mWearHistory.sort((WearEstimateRecord o1, WearEstimateRecord o2) -> in add()94 public WearEstimateRecord get(int i) { in get()98 public WearEstimateRecord getLast() { in getLast()116 WearEstimateRecord previousRecord = get(i - 1); in toWearEstimateChanges()117 WearEstimateRecord currentRecord = get(i); in toWearEstimateChanges()
37 public class WearEstimateRecord { class44 public WearEstimateRecord(@NonNull WearEstimate oldWearEstimate, in WearEstimateRecord() method in WearEstimateRecord55 WearEstimateRecord(@NonNull JSONObject json) throws JSONException { in WearEstimateRecord() method in WearEstimateRecord96 if (other instanceof WearEstimateRecord) { in equals()97 WearEstimateRecord wer = (WearEstimateRecord)other; in equals()172 public WearEstimateRecord build() { in build()177 return new WearEstimateRecord( in build()
229 … WearEstimateRecord originalWearEstimateRecord = new WearEstimateRecord(new WearEstimate(10, 20), in testWearEstimateRecordJson()236 WearEstimateRecord newWearEstimateRecord = new WearEstimateRecord(jsonObject); in testWearEstimateRecordJson()244 … WearEstimateRecord wearEstimateRecord1 = new WearEstimateRecord(WearEstimate.UNKNOWN_ESTIMATE, in testWearEstimateRecordEquality()246 … WearEstimateRecord wearEstimateRecord2 = new WearEstimateRecord(WearEstimate.UNKNOWN_ESTIMATE, in testWearEstimateRecordEquality()248 … WearEstimateRecord wearEstimateRecord3 = new WearEstimateRecord(WearEstimate.UNKNOWN_ESTIMATE, in testWearEstimateRecordEquality()259 WearEstimateRecord wearEstimateRecord1 = new WearEstimateRecord( in testWearHistoryJson()262 WearEstimateRecord wearEstimateRecord2 = new WearEstimateRecord( in testWearHistoryJson()265 WearEstimateRecord wearEstimateRecord3 = new WearEstimateRecord( in testWearHistoryJson()283 WearEstimateRecord wearEstimateRecord1 = new WearEstimateRecord( in testWearHistoryEquality()286 WearEstimateRecord wearEstimateRecord2 = new WearEstimateRecord( in testWearHistoryEquality()[all …]
50 import com.android.car.storagemonitoring.WearEstimateRecord;194 WearEstimateRecord.Builder.newBuilder()199 WearEstimateRecord.Builder.newBuilder()204 WearEstimateRecord.Builder.newBuilder()214 WearEstimateRecord.Builder.newBuilder()219 WearEstimateRecord.Builder.newBuilder()224 WearEstimateRecord.Builder.newBuilder()234 WearEstimateRecord.Builder.newBuilder()239 WearEstimateRecord.Builder.newBuilder()244 WearEstimateRecord.Builder.newBuilder()[all …]
50 import com.android.car.storagemonitoring.WearEstimateRecord;219 WearEstimateRecord newRecord = new WearEstimateRecord(lastWearEstimate, in addEventIfNeededLocked()