Searched refs:getRuntime (Results 1 - 25 of 68) sorted by relevance

123

/frameworks/base/core/java/android/os/
H A DPerformanceCollector.java495 Runtime runtime = Runtime.getRuntime();
543 Runtime.getRuntime().gc();
544 Runtime.getRuntime().runFinalization();
545 Runtime.getRuntime().gc();
557 Runtime.getRuntime().gc();
558 Runtime.getRuntime().runFinalization();
559 Runtime.getRuntime().gc();
H A DSharedMemory.java344 VMRuntime.getRuntime().registerNativeAllocation(mSize);
355 VMRuntime.getRuntime().registerNativeFree(mSize);
/frameworks/base/core/java/android/ddm/
H A DDdmHandleExit.java71 Runtime.getRuntime().halt(statusCode);
H A DDdmHandleHello.java130 VMRuntime vmRuntime = VMRuntime.getRuntime();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
H A DReferenceTestUtils.java37 Runtime.getRuntime().gc();
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/graphics/
H A DImageLoader.java36 Math.round(Runtime.getRuntime().maxMemory() / 10));
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/graphics/
H A DImageLoader.java36 Math.round(Runtime.getRuntime().maxMemory() / 10));
/frameworks/base/core/java/com/android/internal/util/
H A DArrayUtils.java47 return (byte[])VMRuntime.getRuntime().newUnpaddedArray(byte.class, minLen);
51 return (char[])VMRuntime.getRuntime().newUnpaddedArray(char.class, minLen);
55 return (int[])VMRuntime.getRuntime().newUnpaddedArray(int.class, minLen);
59 return (boolean[])VMRuntime.getRuntime().newUnpaddedArray(boolean.class, minLen);
63 return (long[])VMRuntime.getRuntime().newUnpaddedArray(long.class, minLen);
67 return (float[])VMRuntime.getRuntime().newUnpaddedArray(float.class, minLen);
71 return (Object[])VMRuntime.getRuntime().newUnpaddedArray(Object.class, minLen);
76 return (T[])VMRuntime.getRuntime().newUnpaddedArray(clazz, minLen);
/frameworks/base/core/jni/include/android_runtime/
H A DAndroidRuntime.h75 static AndroidRuntime* getRuntime();
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/
H A DPowerMeasurement.java68 Runtime fileRemoval = Runtime.getRuntime();
/frameworks/support/work/workmanager/src/main/java/androidx/work/
H A DConfiguration.java109 Math.max(2, Math.min(Runtime.getRuntime().availableProcessors() - 1, 4)));
/frameworks/base/test-base/src/android/test/
H A DInstrumentationTestCase.java364 Runtime.getRuntime().gc();
365 Runtime.getRuntime().runFinalization();
366 Runtime.getRuntime().gc();
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
H A DFragmentTestUtil.java228 Runtime.getRuntime().gc();
229 Runtime.getRuntime().gc();
230 Runtime.getRuntime().runFinalization();
/frameworks/base/core/java/com/android/internal/os/
H A DBinderInternal.java112 VMRuntime.getRuntime().requestConcurrentGC();
H A DRuntimeInit.java356 VMRuntime.getRuntime().setTargetHeapUtilization(0.75f);
357 VMRuntime.getRuntime().setTargetSdkVersion(targetSdkVersion);
H A DZygoteInit.java241 final VMRuntime runtime = VMRuntime.getRuntime();
354 final VMRuntime runtime = VMRuntime.getRuntime();
440 final VMRuntime runtime = VMRuntime.getRuntime();
544 VMRuntime.getRuntime().setHiddenApiExemptions(exemptions);
548 VMRuntime.getRuntime().setHiddenApiAccessLogSamplingRate(percent);
572 final String instructionSet = VMRuntime.getRuntime().vmInstructionSet();
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/
H A DAlbumArtCache.java62 (int) (Math.min(Integer.MAX_VALUE, Runtime.getRuntime().maxMemory()/4)));
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/
H A DAlbumArtCache.java62 (int) (Math.min(Integer.MAX_VALUE, Runtime.getRuntime().maxMemory()/4)));
/frameworks/base/core/java/android/app/
H A DDexLoadReporter.java127 VMRuntime.getRuntime().vmInstructionSet());
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaTestUtil.java93 Process p = Runtime.getRuntime().exec(cm);
/frameworks/base/tests/DexLoggerIntegrationTests/src/com/android/server/pm/dex/
H A DDexLoggerIntegrationTests.java121 Process process = Runtime.getRuntime().exec(
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
H A DTimedStatement.java52 private final Runtime mRuntime = Runtime.getRuntime();
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
H A DLiveDataQueryTest.java356 Runtime.getRuntime().gc();
357 Runtime.getRuntime().runFinalization();
358 Runtime.getRuntime().gc();
359 Runtime.getRuntime().runFinalization();
/frameworks/base/core/java/android/webkit/
H A DWebViewLibraryLoader.java70 boolean is64Bit = VMRuntime.getRuntime().is64Bit();
245 String relroPath = VMRuntime.getRuntime().is64Bit() ? CHROMIUM_WEBVIEW_NATIVE_RELRO_64 :
/frameworks/base/media/java/android/media/
H A DImageWriter.java208 VMRuntime.getRuntime().registerNativeAllocation(mEstimatedNativeAllocBytes);
498 VMRuntime.getRuntime().registerNativeFree(mEstimatedNativeAllocBytes);

Completed in 611 milliseconds

123