HomeSort by relevance Sort by last modified time
    Searched refs:WearHistory (Results 1 - 4 of 4) sorted by null

  /packages/services/Car/service/src/com/android/car/storagemonitoring/
WearHistory.java 44 public class WearHistory {
47 public WearHistory() {}
49 WearHistory(@NonNull JSONObject jsonObject) throws JSONException {
50 final JSONArray wearHistory = jsonObject.getJSONArray("wearHistory");
51 for (int i = 0; i < wearHistory.length(); ++i) {
52 JSONObject wearRecordJson = wearHistory.getJSONObject(i);
58 public static WearHistory fromRecords(@NonNull WearEstimateRecord... records) {
59 WearHistory wearHistory = new WearHistory()
    [all...]
  /packages/services/Car/service/src/com/android/car/
CarStorageMonitoringService.java 45 import com.android.car.storagemonitoring.WearHistory;
151 private WearHistory loadWearHistory() {
154 WearHistory wearHistory = WearHistory.fromJson(mWearInfoFile);
155 Log.d(TAG, "retrieved wear history " + wearHistory);
156 return wearHistory;
163 return new WearHistory();
167 private boolean addEventIfNeeded(WearHistory wearHistory) {
    [all...]
  /packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/
CarStorageMonitoringTest.java 203 WearHistory originalWearHistory = WearHistory.fromRecords(wearEstimateRecord1,
210 WearHistory newWearHistory = new WearHistory(jsonObject);
232 WearHistory wearHistory1 = WearHistory.fromRecords(wearEstimateRecord1,
234 WearHistory wearHistory2 = WearHistory.fromRecords(wearEstimateRecord4,
236 WearHistory wearHistory3 = WearHistory.fromRecords(wearEstimateRecord1
    [all...]
  /packages/services/Car/tests/carservice_test/src/com/android/car/
CarStorageMonitoringTest.java 50 import com.android.car.storagemonitoring.WearHistory;
191 final WearHistory wearHistory;
201 @Nullable WearHistory wearHistory,
203 this(uptime, wearInformation, wearHistory, ioStats, null, null);
208 @Nullable WearHistory wearHistory,
222 this.wearHistory = wearHistory;
    [all...]

Completed in 433 milliseconds