Lines Matching refs:pss
129 int pss;
159 // Container used to retrieve graphics memory pss
180 ssize_t pss = memtrack_proc_graphics_pss(p);
181 if (pss < 0) {
182 ALOGW("failed to get graphics pss: %zd", pss);
183 return pss;
185 graphics_mem->graphics = pss / 1024;
187 pss = memtrack_proc_gl_pss(p);
188 if (pss < 0) {
189 ALOGW("failed to get gl pss: %zd", pss);
190 return pss;
192 graphics_mem->gl = pss / 1024;
194 pss = memtrack_proc_other_pss(p);
195 if (pss < 0) {
196 ALOGW("failed to get other pss: %zd", pss);
197 return pss;
199 graphics_mem->other = pss / 1024;
226 unsigned pss = 0, swappable_pss = 0;
378 pss = temp;
402 if (is_swappable && (pss > 0)) {
405 sharing_proportion = (pss - private_clean
412 stats[whichHeap].pss += pss;
421 stats[subHeap].pss += pss;
456 stats[HEAP_GRAPHICS].pss = graphics_mem.graphics;
458 stats[HEAP_GL].pss = graphics_mem.gl;
460 stats[HEAP_OTHER_MEMTRACK].pss = graphics_mem.other;
465 stats[HEAP_UNKNOWN].pss += stats[i].pss;
476 env->SetIntField(object, stat_fields[i].pss_field, stats[i].pss);
497 otherArray[j++] = stats[i].pss;
519 jlong pss = 0;
526 pss = uss = memtrack = graphics_mem.graphics + graphics_mem.gl + graphics_mem.other;
545 pss += atoi(c);
562 pss += lSwapPss; // Also in swap, those pages would be accounted as Pss without SWAP
591 return pss;