Searched refs:memoryInfo (Results 1 – 6 of 6) sorted by relevance
62 Debug.MemoryInfo memoryInfo = new Debug.MemoryInfo(); in main() local63 Debug.getMemoryInfo(memoryInfo); in main()64 response.append(',').append(memoryInfo.nativeSharedDirty); in main()65 response.append(',').append(memoryInfo.dalvikSharedDirty); in main()66 response.append(',').append(memoryInfo.otherSharedDirty); in main()67 response.append(',').append(memoryInfo.nativePrivateDirty); in main()68 response.append(',').append(memoryInfo.dalvikPrivateDirty); in main()69 response.append(',').append(memoryInfo.otherPrivateDirty); in main()
154 Debug.MemoryInfo memoryInfo = new Debug.MemoryInfo(); in testMemoryAllocation() local155 Debug.getMemoryInfo(memoryInfo); in testMemoryAllocation()156 final long memoryBefore = memoryInfo.getTotalPss(); // Get memory usage in KB in testMemoryAllocation()162 Debug.getMemoryInfo(memoryInfo); in testMemoryAllocation()163 final long memoryAfter = memoryInfo.getTotalPss(); in testMemoryAllocation()
506 struct sysinfo memoryInfo; in com_android_server_am_CachedAppOptimizer_getFreeSwapPercent() local507 int error = sysinfo(&memoryInfo); in com_android_server_am_CachedAppOptimizer_getFreeSwapPercent()512 return (double)memoryInfo.freeswap / (double)memoryInfo.totalswap; in com_android_server_am_CachedAppOptimizer_getFreeSwapPercent()
379 ActivityManager.MemoryInfo memoryInfo = invocation.getArgument(0); in testKillProcessLowMemory()380 memoryInfo.lowMemory = true; in testKillProcessLowMemory()422 ActivityManager.MemoryInfo memoryInfo = invocation.getArgument(0); in testKillProcessLowMemory_unbound_doesntBindAgain()423 memoryInfo.lowMemory = true; in testKillProcessLowMemory_unbound_doesntBindAgain()
1945 public static native void getMemoryInfo(MemoryInfo memoryInfo); in getMemoryInfo() argument1956 public static native boolean getMemoryInfo(int pid, MemoryInfo memoryInfo); in getMemoryInfo() argument
1156 ActivityManager.MemoryInfo memoryInfo = new ActivityManager.MemoryInfo(); in isRunningOnLowMemory() local1157 mActivityManager.getMemoryInfo(memoryInfo); in isRunningOnLowMemory()1158 double availableMBsInPercentage = memoryInfo.availMem / (double)memoryInfo.totalMem * in isRunningOnLowMemory()