Home
last modified time | relevance | path

Searched refs:memoryInfo (Results 1 – 5 of 5) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowActivityManager.java30 private ActivityManager.MemoryInfo memoryInfo; field in ShadowActivityManager
127 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() argument
193 this.memoryInfo = memoryInfo; in setMemoryInfo()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowActivityManagerTest.java32 ActivityManager.MemoryInfo memoryInfo = new ActivityManager.MemoryInfo(); in getMemoryInfo_canGetMemoryInfoForOurProcess() local
33 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()
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/decoder/
DSkiaPooledImageRegionDecoder.java456 ActivityManager.MemoryInfo memoryInfo = new ActivityManager.MemoryInfo(); in isLowMemory() local
457 activityManager.getMemoryInfo(memoryInfo); in isLowMemory()
458 return memoryInfo.lowMemory; in isLowMemory()
/external/v8/include/
Dv8-inspector.h199 virtual v8::MaybeLocal<v8::Value> memoryInfo(v8::Isolate*, in memoryInfo() function
/external/v8/src/inspector/
Dv8-console.cc432 ->memoryInfo(info.GetIsolate(), in memoryGetterCallback()