Home
last modified time | relevance | path

Searched refs:dataJson (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/rollback/
DRollbackStore.java256 JSONObject dataJson = new JSONObject(); in saveRollbackData() local
257 dataJson.put("info", rollbackInfoToJson(data.info)); in saveRollbackData()
258 dataJson.put("timestamp", data.timestamp.toString()); in saveRollbackData()
259 dataJson.put("stagedSessionId", data.stagedSessionId); in saveRollbackData()
260 dataJson.put("state", rollbackStateToString(data.state)); in saveRollbackData()
261 dataJson.put("apkSessionId", data.apkSessionId); in saveRollbackData()
262 dataJson.put("restoreUserDataInProgress", data.restoreUserDataInProgress); in saveRollbackData()
265 pw.println(dataJson.toString()); in saveRollbackData()
286 JSONObject dataJson = new JSONObject( in loadRollbackData() local
290 rollbackInfoFromJson(dataJson.getJSONObject("info")), in loadRollbackData()
[all …]
/frameworks/av/media/libnblog/
DReportPerformance.cpp88 std::unique_ptr<Json::Value> dataJson = ReportPerformance::dumpToJson(data); in dumpJson() local
89 if (dataJson == nullptr) { in dumpJson()
92 (*dataJson)["threadNum"] = item.first; in dumpJson()
93 root.append(*dataJson); in dumpJson()