/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/tests/BrowserPowerTest/src/com/android/browserpowertest/ |
D | PowerMeasurement.java | 68 Runtime fileRemoval = Runtime.getRuntime(); in testPageLoadStaticNYTimes()
|
/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/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
D | TimedStatement.java | 52 private final Runtime mRuntime = Runtime.getRuntime();
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | ThreadUtils.java | 90 Runtime.getRuntime().availableProcessors()); in getThreadExecutor()
|
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/ |
D | RSTest.java | 37 import java.lang.Runtime;
|
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/ |
D | RSTest_v11.java | 38 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/startop/view_compiler/dex_builder_test/src/android/startop/test/ |
D | ApkLayoutCompilerTest.java | 36 Process pm = Runtime.getRuntime().exec("pm compile --compile-layouts android.startop.test"); in setup()
|
/frameworks/rs/tests/java_api/RsTest_14/src/com/android/rs/test/ |
D | RSTest_v14.java | 37 import java.lang.Runtime;
|
/frameworks/base/startop/apps/test/src/ |
D | InitCheckOverheadBenchmarks.java | 99 Runtime.getRuntime().gc(); in doGC()
|
/frameworks/base/core/java/android/app/ |
D | Instrumentation.java | 1564 Runtime.getRuntime().gc(); in startAllocCounting() 1565 Runtime.getRuntime().runFinalization(); in startAllocCounting() 1566 Runtime.getRuntime().gc(); in startAllocCounting() 1581 Runtime.getRuntime().gc(); in stopAllocCounting() 1582 Runtime.getRuntime().runFinalization(); in stopAllocCounting() 1583 Runtime.getRuntime().gc(); in stopAllocCounting()
|
/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()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SystemServerInitThreadPool.java | 67 mSize = Runtime.getRuntime().availableProcessors(); in SystemServerInitThreadPool()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/ |
D | MediaPlayerPerformance.java | 306 Process p = Runtime.getRuntime().exec(cmd); in writeProcmemInfo() 326 Process p = Runtime.getRuntime().exec(cm); in captureMediaserverInfo()
|
/frameworks/base/tools/preload/ |
D | MemoryUsage.java | 232 final Process process = Runtime.getRuntime().exec(commands); in measure()
|
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/ |
D | ProtoLogTool.kt | 250 Runtime.getRuntime().availableProcessors())
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
D | BasicBitmapDrawable.java | 79 private static final int CPU_COUNT = Runtime.getRuntime().availableProcessors();
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/ |
D | ConnectivityManagerTestBase.java | 291 Process p = Runtime.getRuntime().exec("ping -c 10 -w 100 " + host); in pingTest()
|