/frameworks/base/core/java/com/android/internal/util/ |
D | GcUtils.java | 36 Runtime.getRuntime().gc(); in runGcAndFinalizersSync() 37 Runtime.getRuntime().runFinalization(); in runGcAndFinalizersSync() 43 Runtime.getRuntime().gc(); in runGcAndFinalizersSync() 44 Runtime.getRuntime().runFinalization(); in runGcAndFinalizersSync()
|
/frameworks/base/core/java/android/os/ |
D | PerformanceCollector.java | 502 Runtime runtime = Runtime.getRuntime(); in endPerformanceSnapshot() 550 Runtime.getRuntime().gc(); in startAllocCounting() 551 Runtime.getRuntime().runFinalization(); in startAllocCounting() 552 Runtime.getRuntime().gc(); in startAllocCounting() 564 Runtime.getRuntime().gc(); in stopAllocCounting() 565 Runtime.getRuntime().runFinalization(); in stopAllocCounting() 566 Runtime.getRuntime().gc(); in stopAllocCounting()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | PaintNativeInstanceTest.kt | 39 Runtime.getRuntime().gc() in <lambda>() 40 Runtime.getRuntime().runFinalization() in <lambda>() 48 Runtime.getRuntime().gc() in <lambda>() 49 Runtime.getRuntime().runFinalization() in <lambda>()
|
/frameworks/base/api/coverage/tools/ |
D | ExtractFlaggedApisTest.kt | 66 val process = Runtime.getRuntime().exec(createCommand()) in extractFlaggedApis_onlyMethodFlag_useMethodFlag() 97 val process = Runtime.getRuntime().exec(createCommand()) in extractFlaggedApis_onlyClassFlag_useClassFlag() 128 val process = Runtime.getRuntime().exec(createCommand()) in extractFlaggedApis_flaggedConstructorsAreFlaggedApis() 161 val process = Runtime.getRuntime().exec(createCommand()) in extractFlaggedApis_unflaggedNestedClassShouldUseOuterClassFlag() 200 val process = Runtime.getRuntime().exec(createCommand()) in extractFlaggedApis_unflaggedNestedClassShouldUseOuterClassFlag_deeplyNested()
|
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/ |
D | PowerMeasurement.java | 68 Runtime fileRemoval = Runtime.getRuntime(); in testPageLoadStaticNYTimes()
|
/frameworks/base/apct-tests/perftests/core/src/android/libcore/ |
D | ReferencePerfTest.java | 112 Runtime.getRuntime().gc(); in timeFinalization() 115 Runtime.getRuntime().runFinalization(); in timeFinalization()
|
D | ReferenceGetPerfTest.java | 73 Runtime.getRuntime().gc(); in timeNonPreservedWeakReferenceGet()
|
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
D | CanvasPerfTest.java | 126 Runtime.getRuntime().gc(); in testCreateScaledSrgbBitmap() 147 Runtime.getRuntime().gc(); in testCreateScaledP3Bitmap() 166 Runtime.getRuntime().gc(); in testCreateScaledBitmapWithGainmap()
|
/frameworks/base/test-base/src/android/test/ |
D | InstrumentationTestCase.java | 364 Runtime.getRuntime().gc(); in tearDown() 365 Runtime.getRuntime().runFinalization(); in tearDown() 366 Runtime.getRuntime().gc(); in tearDown()
|
/frameworks/base/core/java/android/ddm/ |
D | DdmHandleExit.java | 73 Runtime.getRuntime().halt(statusCode); in handleChunk()
|
D | DdmHandleHeap.java | 80 Runtime.getRuntime().gc(); in handleHPGC()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/ |
D | ReferenceTestUtils.java | 37 Runtime.getRuntime().gc(); in createCollectionWaiter()
|
/frameworks/native/libs/binder/rust/binder_tokio/ |
D | lib.rs | 159 impl BinderAsyncRuntime for TokioRuntime<tokio::runtime::Runtime> { 165 impl BinderAsyncRuntime for TokioRuntime<std::sync::Arc<tokio::runtime::Runtime>> {
|
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/util/perf/ |
D | TimedStatement.java | 52 private final Runtime mRuntime = Runtime.getRuntime();
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | RSTest_v14.java | 37 import java.lang.Runtime;
|
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/ |
D | RSTest_v16.java | 37 import java.lang.Runtime;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/ |
D | SysUICoroutinesModule.kt | 69 nThreads = Runtime.getRuntime().availableProcessors(), in bgApplicationScope()
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | RSTest_v11.java | 38 import java.lang.Runtime;
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | ThreadUtils.java | 109 Runtime.getRuntime().availableProcessors())); in getBackgroundExecutor()
|
/frameworks/base/packages/SettingsLib/AvatarPicker/src/ |
D | ThreadUtils.java | 111 Runtime.getRuntime().availableProcessors())); in getBackgroundExecutor()
|
/frameworks/base/tools/preload/loadclass/ |
D | LoadClass.java | 49 Runtime.getRuntime().gc(); in main()
|
/frameworks/base/startop/apps/test/src/ |
D | InitCheckOverheadBenchmarks.java | 99 Runtime.getRuntime().gc(); in doGC()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | AppIconCacheManager.java | 113 return Math.round(CACHE_RATIO * Runtime.getRuntime().maxMemory() / 1024); in getMaxCacheInKb()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaTestUtil.java | 93 Process p = Runtime.getRuntime().exec(cm); in captureMemInfo()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PreRebootLogger.java | 136 Runtime.getRuntime().exec(cmdline).waitFor(); in dumpLogsLocked()
|