Home
last modified time | relevance | path

Searched refs:toJson (Results 1 – 25 of 47) sorted by relevance

12

/tools/loganalysis/src/com/android/loganalysis/item/
DBatteryStatsDetailedInfoItem.java150 public JSONObject toJson() { in toJson() method in BatteryStatsDetailedInfoItem
160 batteryStatsComponent.put(BATTERY_USAGE, mBatteryUsageItem.toJson()); in toJson()
163 batteryStatsComponent.put(WAKELOCKS, mWakelockItem.toJson()); in toJson()
166 batteryStatsComponent.put(INTERRUPTS, mInterruptItem.toJson()); in toJson()
169 batteryStatsComponent.put(PROCESS_USAGE, mprocessUsageItem.toJson()); in toJson()
DDumpsysBatteryStatsItem.java99 public JSONObject toJson() { in toJson() method in DumpsysBatteryStatsItem
103 batteryStatsComponent.put(SUMMARY, mBatteryStatsSummaryItem.toJson()); in toJson()
106 batteryStatsComponent.put(DETAILED_STATS, mDetailedBatteryStatsItem.toJson()); in toJson()
109 batteryStatsComponent.put(DISCHARGE_STATS, mDischargeStatsItem.toJson()); in toJson()
DProcessUsageItem.java130 public JSONObject toJson() { in toJson() method in ProcessUsageItem.ProcessUsageInfoItem
136 sensorUsage.put(usage.toJson()); in toJson()
184 public JSONObject toJson() { in toJson() method in ProcessUsageItem
190 processUsage.put(usage.toJson()); in toJson()
DKernelLogItem.java162 public JSONObject toJson() { in toJson() method in KernelLogItem
163 JSONObject output = super.toJson(); in toJson()
166 events.put(event.toJson()); in toJson()
DLogcatItem.java208 public JSONObject toJson() { in toJson() method in LogcatItem
209 JSONObject output = super.toJson(); in toJson()
212 events.put(event.toJson()); in toJson()
DMemInfoItem.java52 public JSONObject toJson() { in toJson() method in MemInfoItem
55 object.put(LINES, super.toJson()); in toJson()
DSystemPropsItem.java52 public JSONObject toJson() { in toJson() method in SystemPropsItem
55 object.put(LINES, super.toJson()); in toJson()
DDumpsysPackageStatsItem.java33 public JSONObject toJson() { in toJson() method in DumpsysPackageStatsItem
38 appVersions.put(entry.getKey(), entry.getValue().toJson()); in toJson()
DDumpsysProcessMeminfoItem.java109 public JSONObject toJson() { in toJson() method in DumpsysProcessMeminfoItem
110 JSONObject result = super.toJson(); in toJson()
DBatteryDischargeItem.java124 public JSONObject toJson() { in toJson() method in BatteryDischargeItem
129 batteryDischargeSteps.put(batteryDischargeStep.toJson()); in toJson()
DBatteryUsageItem.java121 public JSONObject toJson() { in toJson() method in BatteryUsageItem
128 usageInfo.put(usage.toJson()); in toJson()
DLocationDumpsItem.java162 public JSONObject toJson() { in toJson() method in LocationDumpsItem
168 locationClients.put(locationClient.toJson()); in toJson()
DInterruptItem.java154 public JSONObject toJson() { in toJson() method in InterruptItem
160 interrupts.put(interrupt.toJson()); in toJson()
DWakelockItem.java215 public JSONObject toJson() { in toJson() method in WakelockItem
221 wakeLocks.put(wakeLock.toJson()); in toJson()
DGenericItem.java150 public JSONObject toJson() { in toJson() method in GenericItem
157 object.put(key, ((IItem) attribute).toJson()); in toJson()
DMonkeyLogItem.java353 public JSONObject toJson() { in toJson() method in MonkeyLogItem
354 JSONObject object = super.toJson(); in toJson()
DSmartMonkeyLogItem.java344 public JSONObject toJson() { in toJson() method in SmartMonkeyLogItem
345 JSONObject object = super.toJson(); in toJson()
DIItem.java58 public JSONObject toJson(); in toJson() method
DGenericMapItem.java50 public JSONObject toJson() { in toJson() method in GenericMapItem
/tools/loganalysis/src/com/android/loganalysis/
DLogAnalyzer.java172 System.out.println(item.toJson().toString()); in printMemoryHealthLog()
200 result.put(RAW_DATA, bugreport.toJson()); in printBugreport()
281 if (item != null && item.toJson() != null) { in printJson()
282 printJson(item.toJson()); in printJson()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DTestContext.java81 public JSONObject toJson() throws JSONException { in toJson() method in TestContext
94 testResources.put(obj.toJson()); in toJson()
103 return toJson().toString(); in toString()
/tools/loganalysis/tests/src/com/android/loganalysis/item/
DTopItemTest.java36 JSONObject output = new JSONObject(item.toJson().toString()); in testToJson()
DSystemPropsItemTest.java38 JSONObject output = new JSONObject(item.toJson().toString()); in testToJson()
DMemInfoItemTest.java38 JSONObject output = new JSONObject(item.toJson().toString()); in testToJson()
/tools/tradefederation/core/global_configuration/com/android/tradefed/util/hostmetric/
DHostMetric.java52 public JSONObject toJson() throws JSONException { in toJson() method in HostMetric

12