Lines Matching refs:put
76 proc.put(PID_JSON_KEY, pid); in toJson()
77 proc.put(NAME_JSON_KEY, getName(pid)); in toJson()
78 proc.put(PSS_JSON_KEY, getPss(pid)); in toJson()
79 proc.put(SWAP_JSON_KEY, getSwap(pid)); in toJson()
80 proc.put(TYPE_JSON_KEY, getType(pid)); in toJson()
81 proc.put(ACTIVITIES_JSON_KEY, hasActivities(pid)); in toJson()
82 processes.put(proc); in toJson()
88 object.put(PROCESSES_JSON_KEY, processes); in toJson()
90 object.put(LOST_RAM_JSON_KEY, getLostRam()); in toJson()
91 object.put(TOTAL_ZRAM_JSON_KEY, getTotalZram()); in toJson()
92 object.put(FREE_SWAP_ZRAM_JSON_KEY, getFreeSwapZram()); in toJson()
93 object.put(FREE_RAM_JSON_KEY, getFreeRam()); in toJson()
94 object.put(TUNING_LEVEL_JSON_KEY, getTuningLevel()); in toJson()
119 attributes.put(NAME_ATTR_KEY, name); in addPid()
120 attributes.put(TYPE_ATTR_KEY, type); in addPid()
121 attributes.put(PSS_ATTR_KEY, pss); in addPid()
122 attributes.put(SWAP_ATTR_KEY, swap); in addPid()
123 attributes.put(ACTIVITIES_ATTR_KEY, activities); in addPid()
124 mPids.put(pid, attributes); in addPid()