/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()
|
D | ArrayUtils.java | 54 return (byte[])VMRuntime.getRuntime().newUnpaddedArray(byte.class, minLen); in newUnpaddedByteArray() 59 return (char[])VMRuntime.getRuntime().newUnpaddedArray(char.class, minLen); in newUnpaddedCharArray() 65 return (int[])VMRuntime.getRuntime().newUnpaddedArray(int.class, minLen); in newUnpaddedIntArray() 70 return (boolean[])VMRuntime.getRuntime().newUnpaddedArray(boolean.class, minLen); in newUnpaddedBooleanArray() 75 return (long[])VMRuntime.getRuntime().newUnpaddedArray(long.class, minLen); in newUnpaddedLongArray() 80 return (float[])VMRuntime.getRuntime().newUnpaddedArray(float.class, minLen); in newUnpaddedFloatArray() 85 return (Object[])VMRuntime.getRuntime().newUnpaddedArray(Object.class, minLen); in newUnpaddedObjectArray() 92 return (T[])VMRuntime.getRuntime().newUnpaddedArray(clazz, minLen); in newUnpaddedArray()
|
D | ArtFastDataInput.java | 40 private static VMRuntime sRuntime = VMRuntime.getRuntime();
|
D | ArtFastDataOutput.java | 40 private static VMRuntime sRuntime = VMRuntime.getRuntime();
|
/frameworks/base/apct-tests/perftests/core/src/android/util/ |
D | CharsetUtilsPerfTest.java | 68 final byte[] dest = (byte[]) VMRuntime.getRuntime().newNonMovableArray(byte.class, 64); in timeLocal_SmallBuffer() 69 final long destPtr = VMRuntime.getRuntime().addressOf(dest); in timeLocal_SmallBuffer() 83 final byte[] dest = (byte[]) VMRuntime.getRuntime().newNonMovableArray(byte.class, 1024); in timeLocal_LargeBuffer() 84 final long destPtr = VMRuntime.getRuntime().addressOf(dest); in timeLocal_LargeBuffer()
|
/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()
|
D | SharedMemory.java | 384 VMRuntime.getRuntime().registerNativeAllocation(mSize); in MemoryRegistration() 395 VMRuntime.getRuntime().registerNativeFree(mSize); in release()
|
/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/core/java/android/webkit/ |
D | WebViewLibraryLoader.java | 64 boolean is64Bit = VMRuntime.getRuntime().is64Bit(); in main() 190 if (VMRuntime.getRuntime().is64Bit()) { in reserveAddressSpaceInZygote() 193 } else if (VMRuntime.getRuntime().vmInstructionSet().equals("arm")) { in reserveAddressSpaceInZygote() 231 String relroPath = VMRuntime.getRuntime().is64Bit() ? CHROMIUM_WEBVIEW_NATIVE_RELRO_64 : in loadNativeLibrary()
|
/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/core/tests/coretests/src/android/util/ |
D | CharsetUtilsTest.java | 47 dest = (byte[]) VMRuntime.getRuntime().newNonMovableArray(byte.class, 8); in setUp() 48 destPtr = VMRuntime.getRuntime().addressOf(dest); in setUp()
|
/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/ravenwood/runtime-helper-src/libcore-fake/dalvik/system/ |
D | VMRuntime.java | 30 public static VMRuntime getRuntime() { in getRuntime() method in VMRuntime
|
/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/base/packages/SystemUI/src/com/android/systemui/util/kotlin/ |
D | SysUICoroutinesModule.kt | 69 nThreads = Runtime.getRuntime().availableProcessors(), in bgApplicationScope()
|
/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/core/jni/include/android_runtime/ |
D | AndroidRuntime.h | 73 static AndroidRuntime* getRuntime();
|