Searched refs:memoryInfo (Results 1 – 3 of 3) sorted by relevance
30 private ActivityManager.MemoryInfo memoryInfo; field in ShadowActivityManager127 if (memoryInfo != null) { in getMemoryInfo()128 outInfo.availMem = memoryInfo.availMem; in getMemoryInfo()129 outInfo.lowMemory = memoryInfo.lowMemory; in getMemoryInfo()130 outInfo.threshold = memoryInfo.threshold; in getMemoryInfo()131 outInfo.totalMem = memoryInfo.totalMem; in getMemoryInfo()192 public void setMemoryInfo(ActivityManager.MemoryInfo memoryInfo) { in setMemoryInfo() argument193 this.memoryInfo = memoryInfo; in setMemoryInfo()
32 ActivityManager.MemoryInfo memoryInfo = new ActivityManager.MemoryInfo(); in getMemoryInfo_canGetMemoryInfoForOurProcess() local33 memoryInfo.availMem = 12345; in getMemoryInfo_canGetMemoryInfoForOurProcess()34 memoryInfo.lowMemory = true; in getMemoryInfo_canGetMemoryInfoForOurProcess()35 memoryInfo.threshold = 10000; in getMemoryInfo_canGetMemoryInfoForOurProcess()36 memoryInfo.totalMem = 55555; in getMemoryInfo_canGetMemoryInfoForOurProcess()37 shadowOf(activityManager).setMemoryInfo(memoryInfo); in getMemoryInfo_canGetMemoryInfoForOurProcess()
456 ActivityManager.MemoryInfo memoryInfo = new ActivityManager.MemoryInfo(); in isLowMemory() local457 activityManager.getMemoryInfo(memoryInfo); in isLowMemory()458 return memoryInfo.lowMemory; in isLowMemory()