Searched refs:activityManager (Results 1 – 4 of 4) sorted by relevance
36 MemorySizeCalculator(ActivityManager activityManager, ScreenDimensions screenDimensions) { in MemorySizeCalculator() argument37 final int maxSize = getMaxSize(activityManager); in MemorySizeCalculator()57 … + toMb(maxSize) + " memoryClass: " + activityManager.getMemoryClass() + " isLowMemoryDevice: " in MemorySizeCalculator()58 + isLowMemoryDevice(activityManager)); in MemorySizeCalculator()76 private static int getMaxSize(ActivityManager activityManager) { in getMaxSize() argument77 final int memoryClassBytes = activityManager.getMemoryClass() * 1024 * 1024; in getMaxSize()78 final boolean isLowMemoryDevice = isLowMemoryDevice(activityManager); in getMaxSize()88 private static boolean isLowMemoryDevice(ActivityManager activityManager) { in isLowMemoryDevice() argument91 || (sdkInt >= Build.VERSION_CODES.KITKAT && activityManager.isLowRamDevice()); in isLowMemoryDevice()
18 …ActivityManager activityManager = (ActivityManager) Robolectric.application.getSystemService(Conte… in canGetMemoryInfoForOurProcess() local19 ShadowActivityManager shadowActivityManager = shadowOf(activityManager); in canGetMemoryInfoForOurProcess()24 activityManager.getMemoryInfo(fetchedMemoryInfo); in canGetMemoryInfoForOurProcess()30 …ActivityManager activityManager = (ActivityManager) Robolectric.application.getSystemService(Conte… in canGetMemoryInfoEvenWhenWeDidNotSetIt() local32 activityManager.getMemoryInfo(fetchedMemoryInfo); in canGetMemoryInfoEvenWhenWeDidNotSetIt()
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...