Home
last modified time | relevance | path

Searched refs:TRIM_MEMORY_BACKGROUND (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/
DComponentCallbacksControllerTest.java19 import static android.content.ComponentCallbacks2.TRIM_MEMORY_BACKGROUND;
58 mController.dispatchTrimMemory(TRIM_MEMORY_BACKGROUND); in testDispatchWithEmptyCallbacksNoCrash()
71 mController.dispatchTrimMemory(TRIM_MEMORY_BACKGROUND); in testDispatchTrimMemoryWithoutComponentCallbacks2NoCrash()
107 mController.dispatchTrimMemory(TRIM_MEMORY_BACKGROUND); in testDispatchTrimMemory()
109 assertThat(callback.mLevel).isEqualTo(TRIM_MEMORY_BACKGROUND); in testDispatchTrimMemory()
/frameworks/base/core/java/android/content/
DComponentCallbacks2.java95 TRIM_MEMORY_BACKGROUND,
129 static final int TRIM_MEMORY_BACKGROUND = 40; field
/frameworks/base/core/tests/coretests/src/android/app/activity/
DRegisterComponentCallbacksTest.java19 import static android.content.ComponentCallbacks2.TRIM_MEMORY_BACKGROUND;
70 final int trimMemoryLevel = TRIM_MEMORY_BACKGROUND; in testRegisterComponentCallbacks()
101 final int trimMemoryLevel = TRIM_MEMORY_BACKGROUND; in testRegisterComponentCallbacksBeforeT()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DAppIconCacheManager.java122 if (level >= android.content.ComponentCallbacks2.TRIM_MEMORY_BACKGROUND) { in trimMemory()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DAppIconCacheManagerTest.java151 final int level = android.content.ComponentCallbacks2.TRIM_MEMORY_BACKGROUND; in trimMemory_levelSatisfied_shouldNotCacheIcon()
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/
DViewCapture.java499 if (level >= ComponentCallbacks2.TRIM_MEMORY_BACKGROUND) {
517 onTrimMemory(ComponentCallbacks2.TRIM_MEMORY_BACKGROUND);
/frameworks/base/services/core/java/com/android/server/am/
DCachedAppOptimizer.java43 import static android.content.ComponentCallbacks2.TRIM_MEMORY_BACKGROUND;
1472 thread.scheduleTrimMemory(TRIM_MEMORY_BACKGROUND); in freezeAppAsyncInternalLSP()
DActivityManagerShellCommand.java3251 level = ComponentCallbacks2.TRIM_MEMORY_BACKGROUND;
/frameworks/base/core/java/android/app/
DActivityThread.java7084 && level >= ComponentCallbacks2.TRIM_MEMORY_BACKGROUND) { in handleTrimMemory()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt6846 field public static final int TRIM_MEMORY_BACKGROUND = 40; // 0x28
/frameworks/base/core/api/
Dcurrent.txt10155 field public static final int TRIM_MEMORY_BACKGROUND = 40; // 0x28