/frameworks/base/tests/CoreTests/android/core/ |
D | HeapTest.java | 105 Runtime.getRuntime().gc(); in testGcSoftRefs() 114 VMRuntime.getRuntime().gcSoftReferences(); in testGcSoftRefs() 115 Runtime.getRuntime().runFinalization(); in testGcSoftRefs() 124 VMRuntime.getRuntime().gcSoftReferences(); in testGcSoftRefs() 125 Runtime.getRuntime().runFinalization(); in testGcSoftRefs() 133 VMRuntime.getRuntime().gcSoftReferences(); in testGcSoftRefs() 134 Runtime.getRuntime().runFinalization(); in testGcSoftRefs() 148 Runtime.getRuntime().gc(); in xxtestSoftRefPartialClean() 209 Runtime.getRuntime().gc(); in testWeakRefs() 217 Runtime.getRuntime().gc(); in testWeakRefs() [all …]
|
/frameworks/base/core/java/android/os/ |
D | PerformanceCollector.java | 495 Runtime runtime = Runtime.getRuntime(); in endPerformanceSnapshot() 543 Runtime.getRuntime().gc(); in startAllocCounting() 544 Runtime.getRuntime().runFinalization(); in startAllocCounting() 545 Runtime.getRuntime().gc(); in startAllocCounting() 557 Runtime.getRuntime().gc(); in stopAllocCounting() 558 Runtime.getRuntime().runFinalization(); in stopAllocCounting() 559 Runtime.getRuntime().gc(); in stopAllocCounting()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ArrayUtils.java | 46 return (byte[])VMRuntime.getRuntime().newUnpaddedArray(byte.class, minLen); in newUnpaddedByteArray() 50 return (char[])VMRuntime.getRuntime().newUnpaddedArray(char.class, minLen); in newUnpaddedCharArray() 54 return (int[])VMRuntime.getRuntime().newUnpaddedArray(int.class, minLen); in newUnpaddedIntArray() 58 return (boolean[])VMRuntime.getRuntime().newUnpaddedArray(boolean.class, minLen); in newUnpaddedBooleanArray() 62 return (long[])VMRuntime.getRuntime().newUnpaddedArray(long.class, minLen); in newUnpaddedLongArray() 66 return (float[])VMRuntime.getRuntime().newUnpaddedArray(float.class, minLen); in newUnpaddedFloatArray() 70 return (Object[])VMRuntime.getRuntime().newUnpaddedArray(Object.class, minLen); in newUnpaddedObjectArray() 75 return (T[])VMRuntime.getRuntime().newUnpaddedArray(clazz, minLen); in newUnpaddedArray()
|
/frameworks/base/legacy-test/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/support/fragment/tests/java/android/support/v4/app/ |
D | FragmentTestUtil.java | 234 Runtime.getRuntime().gc(); in forceGC() 235 Runtime.getRuntime().gc(); in forceGC() 236 Runtime.getRuntime().runFinalization(); in forceGC()
|
/frameworks/base/core/java/android/ddm/ |
D | DdmHandleExit.java | 71 Runtime.getRuntime().halt(statusCode); in handleChunk()
|
D | DdmHandleHeap.java | 222 Runtime.getRuntime().gc(); in handleHPGC()
|
D | DdmHandleHello.java | 130 VMRuntime vmRuntime = VMRuntime.getRuntime(); in handleHELO()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/ |
D | ReferenceTestUtils.java | 37 Runtime.getRuntime().gc(); in createCollectionWaiter()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BinderInternal.java | 103 VMRuntime.getRuntime().requestConcurrentGC(); in forceGc()
|
D | ZygoteInit.java | 237 final VMRuntime runtime = VMRuntime.getRuntime(); in preloadClasses() 350 final VMRuntime runtime = VMRuntime.getRuntime(); in preloadResources() 436 final VMRuntime runtime = VMRuntime.getRuntime(); in gcAndFinalize() 539 final String instructionSet = VMRuntime.getRuntime().vmInstructionSet(); in performSystemServerDexOpt()
|
D | RuntimeInit.java | 300 VMRuntime.getRuntime().setTargetHeapUtilization(0.75f); in applicationInit() 301 VMRuntime.getRuntime().setTargetSdkVersion(targetSdkVersion); in applicationInit()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/ |
D | GarbageMonitor.java | 62 Runtime.getRuntime().gc(); in inspectGarbage()
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/graphics/ |
D | ImageLoader.java | 35 Math.round(Runtime.getRuntime().maxMemory() / 10));
|
/frameworks/base/core/jni/include/android_runtime/ |
D | AndroidRuntime.h | 75 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/android/app/ |
D | DexLoadReporter.java | 105 packageName, dexPaths, VMRuntime.getRuntime().vmInstructionSet()); in notifyPackageManager()
|
D | Instrumentation.java | 1431 Runtime.getRuntime().gc(); in startAllocCounting() 1432 Runtime.getRuntime().runFinalization(); in startAllocCounting() 1433 Runtime.getRuntime().gc(); in startAllocCounting() 1448 Runtime.getRuntime().gc(); in stopAllocCounting() 1449 Runtime.getRuntime().runFinalization(); in stopAllocCounting() 1450 Runtime.getRuntime().gc(); in stopAllocCounting()
|
/frameworks/base/media/java/android/media/ |
D | ImageWriter.java | 202 VMRuntime.getRuntime().registerNativeAllocation(mEstimatedNativeAllocBytes); in ImageWriter() 495 VMRuntime.getRuntime().registerNativeFree(mEstimatedNativeAllocBytes); in close()
|
D | ImageReader.java | 264 VMRuntime.getRuntime().registerNativeAllocation(mEstimatedNativeAllocBytes); in ImageReader() 620 VMRuntime.getRuntime().registerNativeFree(mEstimatedNativeAllocBytes); in close()
|
/frameworks/base/test-runner/src/android/test/ |
D | InstrumentationCoreTestRunner.java | 145 Runtime runtime = Runtime.getRuntime(); in getAndroidTestRunner()
|
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
D | AlbumArtCache.java | 61 (int) (Math.min(Integer.MAX_VALUE, Runtime.getRuntime().maxMemory()/4))); in AlbumArtCache()
|
/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 | 361 VMRuntime.getRuntime().registerNativeAllocation(deltaInBytes); in draw() 363 VMRuntime.getRuntime().registerNativeFree(-deltaInBytes); in draw() 612 VMRuntime.getRuntime().registerNativeFree(mVectorState.mRootGroup.getNativeSize()); in inflate() 620 VMRuntime.getRuntime().registerNativeFree(mVectorState.NATIVE_ALLOCATION_SIZE); in inflate() 903 VMRuntime.getRuntime().registerNativeAllocation(NATIVE_ALLOCATION_SIZE); in createNativeTree() 912 VMRuntime.getRuntime().registerNativeAllocation(NATIVE_ALLOCATION_SIZE); in createNativeTreeFromCopy() 920 VMRuntime.getRuntime().registerNativeAllocation(mAllocationOfAllNodes); in onTreeConstructionFinished() 1030 VMRuntime.getRuntime().registerNativeFree(NATIVE_ALLOCATION_SIZE in finalize()
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
D | TimedStatement.java | 52 private final Runtime mRuntime = Runtime.getRuntime();
|