Lines Matching refs:memoryInfo
61 * the ActivityManager and Debug.MemoryInfo,
66 // Get ActivityManager.MemoryInfo.
69 ActivityManager.MemoryInfo memoryInfo = new ActivityManager.MemoryInfo();
70 mActivityManager.getMemoryInfo(memoryInfo);
71 long availMem = memoryInfo.availMem / BYTES_IN_MEGABYTE;
72 long totalMem = memoryInfo.totalMem / BYTES_IN_MEGABYTE;
73 long threshold = memoryInfo.threshold / BYTES_IN_MEGABYTE;
74 boolean lowMemory = memoryInfo.lowMemory;
95 Debug.MemoryInfo[] memoryInfoArray = mActivityManager.getProcessMemoryInfo(pids);