Home
last modified time | relevance | path

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

/aosp12/frameworks/base/libs/hwui/tests/unit/
H A DCacheManagerTests.cpp35 RENDERTHREAD_SKIA_PIPELINE_TEST(CacheManager, trimMemory) { in RENDERTHREAD_SKIA_PIPELINE_TEST() argument
61 renderThread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::Complete); in RENDERTHREAD_SKIA_PIPELINE_TEST()
78 renderThread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::UiHidden); in RENDERTHREAD_SKIA_PIPELINE_TEST()
83 renderThread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::Complete); in RENDERTHREAD_SKIA_PIPELINE_TEST()
/aosp12/frameworks/base/libs/hwui/renderthread/
H A DCacheManager.h48 void trimMemory(TrimMemoryMode mode);
H A DRenderProxy.cpp187 void RenderProxy::trimMemory(int level) { in trimMemory() function in android::uirenderer::renderthread::RenderProxy
191 thread.queue().post([&thread, level]() { CanvasContext::trimMemory(thread, level); }); in trimMemory()
200 thread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::Complete); in purgeCaches()
H A DRenderProxy.h98 static void trimMemory(int level);
H A DCacheManager.cpp99 void CacheManager::trimMemory(TrimMemoryMode mode) { in trimMemory() function in android::uirenderer::renderthread::CacheManager
H A DCanvasContext.cpp813 void CanvasContext::trimMemory(RenderThread& thread, int level) { in trimMemory() function in android::uirenderer::renderthread::CanvasContext
818 thread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::Complete); in trimMemory()
821 thread.cacheManager().trimMemory(CacheManager::TrimMemoryMode::UiHidden); in trimMemory()
H A DCanvasContext.h143 static void trimMemory(RenderThread& thread, int level);
/aosp12/frameworks/base/core/java/android/view/
H A DWindowManagerGlobal.java554 public void trimMemory(int level) { in trimMemory() method in WindowManagerGlobal
568 ThreadedRenderer.trimMemory(level); in trimMemory()
596 ThreadedRenderer.trimMemory( in doTrimForeground()
/aosp12/frameworks/base/libs/hwui/tests/macrobench/
H A Dmain.cpp385 renderthread::RenderProxy::trimMemory(100); in main()
/aosp12/frameworks/base/core/java/com/android/internal/view/
H A DScrollCaptureViewSupport.java409 public void trimMemory() { in trimMemory() method in ScrollCaptureViewSupport.ViewRenderer
/aosp12/frameworks/base/graphics/java/android/graphics/
H A DHardwareRenderer.java1058 public static void trimMemory(int level) { in trimMemory() method in HardwareRenderer
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarKeyguardViewManager.java858 WindowManagerGlobal.getInstance().trimMemory( in onKeyguardFadedAway()
H A DStatusBar.java2100 WindowManagerGlobal.getInstance().trimMemory(ComponentCallbacks2.TRIM_MEMORY_UI_HIDDEN); in makeExpandedInvisible()
/aosp12/frameworks/base/libs/hwui/jni/
H A Dandroid_graphics_HardwareRenderer.cpp345 RenderProxy::trimMemory(level); in android_view_ThreadedRenderer_trimMemory()
/aosp12/frameworks/base/core/java/android/app/
H A DActivityThread.java6382 WindowManagerGlobal.getInstance().trimMemory(level); in handleTrimMemory()
/aosp12/frameworks/base/boot/
H A Dboot-image-profile.txt6647 HSPLandroid/graphics/HardwareRenderer;->trimMemory(I)V
18949 HSPLandroid/view/WindowManagerGlobal;->trimMemory(I)V
/aosp12/frameworks/base/config/
H A Dboot-image-profile.txt6645 HSPLandroid/graphics/HardwareRenderer;->trimMemory(I)V
18997 HSPLandroid/view/WindowManagerGlobal;->trimMemory(I)V
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt66487 Landroid/view/ThreadedRenderer;->trimMemory(I)V