Home
last modified time | relevance | path

Searched refs:getRuntime (Results 1 – 25 of 28) sorted by relevance

12

/cts/hostsidetests/jvmti/tagging/app/src/android/jvmti/cts/
DJvmtiTaggingTest.java44 Runtime.getRuntime().gc(); in test()
45 Runtime.getRuntime().gc(); in test()
50 Runtime.getRuntime().gc(); in test()
51 Runtime.getRuntime().gc(); in test()
72 Runtime.getRuntime().gc(); in testTaggingGC()
73 Runtime.getRuntime().gc(); in testTaggingGC()
126 Runtime.getRuntime().gc(); in testGetTaggedObjects()
127 Runtime.getRuntime().gc(); in testGetTaggedObjects()
/cts/tests/tests/security/src/android/security/cts/
DCryptoProviderWorkaroundTest.java50 VMRuntime.getRuntime().getTargetSdkVersion()); in cryptoProvider_withWorkaround_Success()
78 VMRuntime.getRuntime().getTargetSdkVersion() - 1); in cryptoProvider_withoutWorkaround_Failure()
/cts/tests/fragment/src/android/fragment/cts/
DFragmentTestUtil.java213 Runtime.getRuntime().gc(); in forceGC()
214 Runtime.getRuntime().runFinalization(); in forceGC()
215 Runtime.getRuntime().gc(); in forceGC()
216 Runtime.getRuntime().runFinalization(); in forceGC()
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/
DCpuDeviceInfo.java27 store.addResult("available_processors", Runtime.getRuntime().availableProcessors()); in collectDeviceInfo()
/cts/tools/vm-tests-tf/src/dot/
DMain.java35 Runtime.getRuntime().halt(0); in main()
/cts/tests/vr/src/android/vr/cts/
DVrCpuTest.java33 assertTrue(Runtime.getRuntime().availableProcessors() >= 2); in testHasAtLeastTwoCores()
/cts/tests/tests/jni/src/android/jni/cts/
DClassLoaderHelper.java32 Runtime.getRuntime().gc(); in run()
/cts/common/util/src/com/android/compatibility/common/util/
DModuleResult.java202 public long getRuntime() { in getRuntime() method in ModuleResult
268 this.mRuntime += otherModuleResult.getRuntime(); in mergeFrom()
DIModuleResult.java35 long getRuntime(); in getRuntime() method
/cts/libs/vogar-expect/src/vogar/util/
DThreads.java43 return fixedThreadsExecutor(name, Runtime.getRuntime().availableProcessors()); in threadPerCpuExecutor()
/cts/tests/tests/permission/src/android/permission/cts/
DNoReadLogsPermissionTest.java50 logcatProc = Runtime.getRuntime().exec(new String[] in testLogcat()
/cts/tests/tests/media/src/android/media/cts/
DConnectionStatus.java96 Process p = Runtime.getRuntime().exec("ping -c 5 -w 20 " + server); in pingTest()
DPresentationSyncTest.java452 if (Runtime.getRuntime().availableProcessors() < 2) { in start()
/cts/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/targetprep/
DResultFilePuller.java104 Process p = Runtime.getRuntime().exec(new String[] {"/bin/bash", "-c", command}); in pull()
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerNegativeTest.java117 final Process p = Runtime.getRuntime().exec(command); in runCommand()
/cts/tests/tests/os/src/android/os/cts/
DDebugTest.java257 Runtime.getRuntime().gc(); in testGetRuntimeStat()
283 Runtime.getRuntime().gc(); in testGetRuntimeStats()
DBuildTest.java48 if (VMRuntime.getRuntime().is64Bit()) { in testCpuAbi()
/cts/hostsidetests/webkit/app/src/com/android/cts/webkit/
DWebViewDeviceSideStartupTest.java171 Runtime.getRuntime().gc(); in testStrictModeNotViolatedOnStartup()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyTest.java336 Runtime.getRuntime().gc(); in runGcAndFinalizersSync()
337 Runtime.getRuntime().runFinalization(); in runGcAndFinalizersSync()
342 Runtime.getRuntime().gc(); in runGcAndFinalizersSync()
/cts/common/util/tests/src/com/android/compatibility/common/util/
DResultHandlerTest.java309 assertEquals("Incorrect runtime", Integer.parseInt(RUNTIME_A), moduleA.getRuntime()); in checkResult()
332 assertEquals("Incorrect runtime", Integer.parseInt(RUNTIME_B), moduleB.getRuntime()); in checkResult()
/cts/tests/core/runner/src/com/android/cts/runner/
DCtsTestRunListener.java116 Runtime runtime = Runtime.getRuntime(); in printMemory()
/cts/tools/vm-tests-tf/src/util/build/
DExecuteFile.java178 proc = Runtime.getRuntime().exec(cmdLine, null, workDir); in run()
/cts/hostsidetests/theme/src/android/theme/cts/
DThemeHostTest.java132 final int numCores = Runtime.getRuntime().availableProcessors(); in setUp()
/cts/tools/device-setup/TestDeviceSetup/src/android/tests/getinfo/
DDeviceInfoInstrument.java173 addResult(AVAILABLE_PROCESSORS, Runtime.getRuntime().availableProcessors()); in onStart()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java66 Process p = Runtime.getRuntime().exec(cm); in printCpuInfo()

12