Searched refs:activityManager (Results 1 – 4 of 4) sorted by relevance
72 ActivityManager activityManager = AndroidServices.instance().provideActivityManager(); in create() local74 MemoryQuery mMemoryQuery = new MemoryQuery(activityManager); in create()159 ActivityManager activityManager = AndroidServices.instance().provideActivityManager(); in getMaxAllowedNativeMemory() local165 return (int) (Math.max(activityManager.getMemoryClass(), in getMaxAllowedNativeMemory()166 activityManager.getLargeMemoryClass()) * MAX_MEM_ALLOWED); in getMaxAllowedNativeMemory()
55 public MemoryQuery(ActivityManager activityManager) { in MemoryQuery() argument56 mActivityManager = activityManager; in MemoryQuery()
80 ActivityManager activityManager = in IconCache() local85 mIconDpi = activityManager.getLauncherLargeIconDensity(); in IconCache()
142 ActivityManager activityManager = (ActivityManager) in updateRunningServices() local145 activityManager.getRunningServices(Integer.MAX_VALUE); in updateRunningServices()