Home
last modified time | relevance | path

Searched refs:Runtime (Results 1 – 25 of 51) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/util/
DGcUtils.java36 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/
DPerformanceCollector.java502 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/
DPaintNativeInstanceTest.kt39 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/
DPowerMeasurement.java68 Runtime fileRemoval = Runtime.getRuntime(); in testPageLoadStaticNYTimes()
/frameworks/base/test-base/src/android/test/
DInstrumentationTestCase.java364 Runtime.getRuntime().gc(); in tearDown()
365 Runtime.getRuntime().runFinalization(); in tearDown()
366 Runtime.getRuntime().gc(); in tearDown()
/frameworks/base/core/java/android/ddm/
DDdmHandleExit.java73 Runtime.getRuntime().halt(statusCode); in handleChunk()
DDdmHandleHeap.java80 Runtime.getRuntime().gc(); in handleHPGC()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
DReferenceTestUtils.java37 Runtime.getRuntime().gc(); in createCollectionWaiter()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
DTimedStatement.java52 private final Runtime mRuntime = Runtime.getRuntime();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DThreadUtils.java90 Runtime.getRuntime().availableProcessors()); in getThreadExecutor()
/frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
DRSTest.java37 import java.lang.Runtime;
/frameworks/rs/tests/java_api/RsTest_11/src/com/android/rs/test/
DRSTest_v11.java38 import java.lang.Runtime;
/frameworks/rs/tests/java_api/RsTest_16/src/com/android/rs/test/
DRSTest_v16.java37 import java.lang.Runtime;
/frameworks/base/startop/view_compiler/dex_builder_test/src/android/startop/test/
DApkLayoutCompilerTest.java36 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/
DRSTest_v14.java37 import java.lang.Runtime;
/frameworks/base/startop/apps/test/src/
DInitCheckOverheadBenchmarks.java99 Runtime.getRuntime().gc(); in doGC()
/frameworks/base/core/java/android/app/
DInstrumentation.java1564 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/
DMediaTestUtil.java93 Process p = Runtime.getRuntime().exec(cm); in captureMemInfo()
/frameworks/base/services/core/java/com/android/server/power/
DPreRebootLogger.java136 Runtime.getRuntime().exec(cmdline).waitFor(); in dumpLogsLocked()
/frameworks/base/services/core/java/com/android/server/
DSystemServerInitThreadPool.java67 mSize = Runtime.getRuntime().availableProcessors(); in SystemServerInitThreadPool()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
DMediaPlayerPerformance.java306 Process p = Runtime.getRuntime().exec(cmd); in writeProcmemInfo()
326 Process p = Runtime.getRuntime().exec(cm); in captureMediaserverInfo()
/frameworks/base/tools/preload/
DMemoryUsage.java232 final Process process = Runtime.getRuntime().exec(commands); in measure()
/frameworks/base/tools/protologtool/src/com/android/protolog/tool/
DProtoLogTool.kt250 Runtime.getRuntime().availableProcessors())
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/
DBasicBitmapDrawable.java79 private static final int CPU_COUNT = Runtime.getRuntime().availableProcessors();
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java291 Process p = Runtime.getRuntime().exec("ping -c 10 -w 100 " + host); in pingTest()

123