Home
last modified time | relevance | path

Searched refs:trimMemory (Results 1 – 22 of 22) sorted by relevance

/aosp14/frameworks/base/libs/hwui/tests/unit/
H A DCacheManagerTests.cpp64 renderThread.cacheManager().trimMemory(TrimLevel::COMPLETE); in RENDERTHREAD_SKIA_PIPELINE_TEST()
81 renderThread.cacheManager().trimMemory(TrimLevel::UI_HIDDEN); in RENDERTHREAD_SKIA_PIPELINE_TEST()
86 renderThread.cacheManager().trimMemory(TrimLevel::COMPLETE); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/utils/
H A DGlobalWindowManager.kt14 fun trimMemory(level: Int) { regex
15 WindowManagerGlobal.getInstance().trimMemory(level)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
H A DResourceTrimmerTest.kt103 .trimMemory(ComponentCallbacks2.TRIM_MEMORY_UI_HIDDEN)
121 .trimMemory(ComponentCallbacks2.TRIM_MEMORY_UI_HIDDEN)
168 .trimMemory(ComponentCallbacks2.TRIM_MEMORY_UI_HIDDEN)
217 .trimMemory(ComponentCallbacks2.TRIM_MEMORY_UI_HIDDEN)
231 .trimMemory(ComponentCallbacks2.TRIM_MEMORY_UI_HIDDEN)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
H A DResourceTrimmer.kt98 globalWindowManager.trimMemory(ComponentCallbacks2.TRIM_MEMORY_UI_HIDDEN)
136 globalWindowManager.trimMemory(ComponentCallbacks2.TRIM_MEMORY_UI_HIDDEN)
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
H A DAppIconCacheManagerTest.java152 mAppIconCacheManager.trimMemory(level); in trimMemory_levelSatisfied_shouldNotCacheIcon()
172 mAppIconCacheManager.trimMemory(level); in trimMemory_levelSatisfied_shouldCacheAtLeastHalf()
/aosp14/frameworks/base/libs/hwui/renderthread/
H A DCacheManager.h50 void trimMemory(TrimLevel mode);
H A DCacheManager.cpp113 void CacheManager::trimMemory(TrimLevel mode) { in trimMemory() function in android::uirenderer::renderthread::CacheManager
322 trimMemory(TrimLevel::UI_HIDDEN); in checkUiHidden()
H A DRenderProxy.cpp225 void RenderProxy::trimMemory(int level) { in trimMemory() function in android::uirenderer::renderthread::RenderProxy
230 thread.queue().post([&thread, trimLevel]() { thread.trimMemory(trimLevel); }); in trimMemory()
248 thread.cacheManager().trimMemory(TrimLevel::COMPLETE); in purgeCaches()
H A DRenderProxy.h107 static void trimMemory(int level);
H A DRenderThread.cpp519 void RenderThread::trimMemory(TrimLevel level) { in trimMemory() function in android::uirenderer::renderthread::RenderThread
521 cacheManager().trimMemory(level); in trimMemory()
H A DRenderThread.h176 void trimMemory(TrimLevel level);
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
H A DAppIconCacheManager.java121 public void trimMemory(int level) { in trimMemory() method in AppIconCacheManager
/aosp14/frameworks/base/libs/hwui/tests/macrobench/
H A Dmain.cpp385 renderthread::RenderProxy::trimMemory(100); in main()
/aosp14/frameworks/base/core/java/android/view/
H A DWindowManagerGlobal.java550 public void trimMemory(int level) { in trimMemory() method in WindowManagerGlobal
551 ThreadedRenderer.trimMemory(level); in trimMemory()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
H A DShadeControllerImpl.java378 WindowManagerGlobal.getInstance().trimMemory(ComponentCallbacks2.TRIM_MEMORY_UI_HIDDEN); in makeExpandedInvisible()
/aosp14/frameworks/base/core/java/com/android/internal/view/
H A DScrollCaptureViewSupport.java407 public void trimMemory() { in trimMemory() method in ScrollCaptureViewSupport.ViewRenderer
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DHardwareRenderer.java1156 public static void trimMemory(int level) { in trimMemory() method in HardwareRenderer
/aosp14/frameworks/base/libs/hwui/jni/
H A Dandroid_graphics_HardwareRenderer.cpp362 RenderProxy::trimMemory(level); in android_view_ThreadedRenderer_trimMemory()
/aosp14/frameworks/base/core/java/android/app/
H A DActivityThread.java6663 WindowManagerGlobal.getInstance().trimMemory(level); in handleTrimMemory()
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt6357 HSPLandroid/graphics/HardwareRenderer;->trimMemory(I)V
18805 HSPLandroid/view/WindowManagerGlobal;->trimMemory(I)V
/aosp14/frameworks/base/config/
H A Dboot-image-profile.txt6360 HSPLandroid/graphics/HardwareRenderer;->trimMemory(I)V
18869 HSPLandroid/view/WindowManagerGlobal;->trimMemory(I)V
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt63164 Landroid/view/ThreadedRenderer;->trimMemory(I)V