Searched refs:memoryInfo (Results 1 – 2 of 2) sorted by relevance
69 ActivityManager.MemoryInfo memoryInfo = new ActivityManager.MemoryInfo(); in queryMemory() local70 mActivityManager.getMemoryInfo(memoryInfo); in queryMemory()71 long availMem = memoryInfo.availMem / BYTES_IN_MEGABYTE; in queryMemory()72 long totalMem = memoryInfo.totalMem / BYTES_IN_MEGABYTE; in queryMemory()73 long threshold = memoryInfo.threshold / BYTES_IN_MEGABYTE; in queryMemory()74 boolean lowMemory = memoryInfo.lowMemory; in queryMemory()
1095 ActivityManager.MemoryInfo memoryInfo = new ActivityManager.MemoryInfo(); in getAvailableMemory() local1096 activityManager.getMemoryInfo(memoryInfo); in getAvailableMemory()1097 return memoryInfo; in getAvailableMemory()