/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() 58 return (char[])VMRuntime.getRuntime().newUnpaddedArray(char.class, minLen); in newUnpaddedCharArray() 63 return (int[])VMRuntime.getRuntime().newUnpaddedArray(int.class, minLen); in newUnpaddedIntArray() 67 return (boolean[])VMRuntime.getRuntime().newUnpaddedArray(boolean.class, minLen); in newUnpaddedBooleanArray() 71 return (long[])VMRuntime.getRuntime().newUnpaddedArray(long.class, minLen); in newUnpaddedLongArray() 75 return (float[])VMRuntime.getRuntime().newUnpaddedArray(float.class, minLen); in newUnpaddedFloatArray() 79 return (Object[])VMRuntime.getRuntime().newUnpaddedArray(Object.class, minLen); in newUnpaddedObjectArray() 85 return (T[])VMRuntime.getRuntime().newUnpaddedArray(clazz, minLen); in newUnpaddedArray()
|
/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 | 361 VMRuntime.getRuntime().registerNativeAllocation(mSize); in MemoryRegistration() 372 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/core/java/android/webkit/ |
D | WebViewLibraryLoader.java | 64 boolean is64Bit = VMRuntime.getRuntime().is64Bit(); in main() 181 boolean is64Bit = VMRuntime.getRuntime().is64Bit(); in reserveAddressSpaceInZygote() 212 String relroPath = VMRuntime.getRuntime().is64Bit() ? CHROMIUM_WEBVIEW_NATIVE_RELRO_64 : in loadNativeLibrary()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | CharsetUtilsTest.java | 38 dest = (byte[]) VMRuntime.getRuntime().newNonMovableArray(byte.class, 8); in setUp() 39 destPtr = VMRuntime.getRuntime().addressOf(dest); in setUp()
|
/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/base/packages/SettingsLib/src/com/android/settingslib/utils/ |
D | ThreadUtils.java | 90 Runtime.getRuntime().availableProcessors()); in getThreadExecutor()
|
/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/base/services/core/java/com/android/server/pm/dex/ |
D | SystemServerDexLoadReporter.java | 59 VMRuntime.getRuntime().vmInstructionSet()); in report()
|
/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();
|
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/ |
D | PowerMeasurement.java | 68 Runtime fileRemoval = Runtime.getRuntime(); in testPageLoadStaticNYTimes()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteInit.java | 250 final VMRuntime runtime = VMRuntime.getRuntime(); in preloadClasses() 625 VMRuntime.getRuntime().setHiddenApiExemptions(exemptions); in setApiDenylistExemptions() 629 VMRuntime.getRuntime().setHiddenApiAccessLogSamplingRate(percent); in setHiddenApiAccessLogSampleRate() 637 VMRuntime.getRuntime().setHiddenApiUsageLogger(logger); in setHiddenApiUsageLogger() 664 final String instructionSet = VMRuntime.getRuntime().vmInstructionSet(); in performSystemServerDexOpt()
|
D | RuntimeInit.java | 369 VMRuntime.getRuntime().setTargetSdkVersion(targetSdkVersion); in applicationInit() 370 VMRuntime.getRuntime().setDisabledCompatChanges(disabledCompatChanges); in applicationInit()
|
D | BinderInternal.java | 196 VMRuntime.getRuntime().requestConcurrentGC(); in forceGc()
|
/frameworks/base/core/java/android/app/ |
D | DexLoadReporter.java | 108 classLoaderContextMap, VMRuntime.getRuntime().vmInstructionSet()); in notifyPackageManager()
|
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/graphics/java/android/graphics/drawable/ |
D | VectorDrawable.java | 453 VMRuntime.getRuntime().registerNativeAllocation(deltaInBytes); in draw() 455 VMRuntime.getRuntime().registerNativeFree(-deltaInBytes); in draw() 714 VMRuntime.getRuntime().registerNativeFree( in inflate() 723 VMRuntime.getRuntime().registerNativeFree(mVectorState.NATIVE_ALLOCATION_SIZE); in inflate() 1017 VMRuntime.getRuntime().registerNativeAllocation(NATIVE_ALLOCATION_SIZE); in createNativeTree() 1026 VMRuntime.getRuntime().registerNativeAllocation(NATIVE_ALLOCATION_SIZE); in createNativeTreeFromCopy() 1034 VMRuntime.getRuntime().registerNativeAllocation(mAllocationOfAllNodes); in onTreeConstructionFinished() 1144 VMRuntime.getRuntime().registerNativeFree(NATIVE_ALLOCATION_SIZE in finalize()
|