/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()
|
D | SharedMemory.java | 344 VMRuntime.getRuntime().registerNativeAllocation(mSize); in MemoryRegistration() 355 VMRuntime.getRuntime().registerNativeFree(mSize); in release()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ArrayUtils.java | 47 return (byte[])VMRuntime.getRuntime().newUnpaddedArray(byte.class, minLen); in newUnpaddedByteArray() 51 return (char[])VMRuntime.getRuntime().newUnpaddedArray(char.class, minLen); in newUnpaddedCharArray() 55 return (int[])VMRuntime.getRuntime().newUnpaddedArray(int.class, minLen); in newUnpaddedIntArray() 59 return (boolean[])VMRuntime.getRuntime().newUnpaddedArray(boolean.class, minLen); in newUnpaddedBooleanArray() 63 return (long[])VMRuntime.getRuntime().newUnpaddedArray(long.class, minLen); in newUnpaddedLongArray() 67 return (float[])VMRuntime.getRuntime().newUnpaddedArray(float.class, minLen); in newUnpaddedFloatArray() 71 return (Object[])VMRuntime.getRuntime().newUnpaddedArray(Object.class, minLen); in newUnpaddedObjectArray() 76 return (T[])VMRuntime.getRuntime().newUnpaddedArray(clazz, minLen); in newUnpaddedArray()
|
/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/support/fragment/src/androidTest/java/androidx/fragment/app/ |
D | FragmentTestUtil.java | 228 Runtime.getRuntime().gc(); in forceGC() 229 Runtime.getRuntime().gc(); in forceGC() 230 Runtime.getRuntime().runFinalization(); in forceGC()
|
/frameworks/base/core/java/android/ddm/ |
D | DdmHandleExit.java | 71 Runtime.getRuntime().halt(statusCode); in handleChunk()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | ZygoteInit.java | 241 final VMRuntime runtime = VMRuntime.getRuntime(); in preloadClasses() 354 final VMRuntime runtime = VMRuntime.getRuntime(); in preloadResources() 440 final VMRuntime runtime = VMRuntime.getRuntime(); in gcAndFinalize() 544 VMRuntime.getRuntime().setHiddenApiExemptions(exemptions); in setApiBlacklistExemptions() 548 VMRuntime.getRuntime().setHiddenApiAccessLogSamplingRate(percent); in setHiddenApiAccessLogSampleRate() 572 final String instructionSet = VMRuntime.getRuntime().vmInstructionSet(); in performSystemServerDexOpt()
|
D | BinderInternal.java | 112 VMRuntime.getRuntime().requestConcurrentGC(); in forceGc()
|
D | RuntimeInit.java | 356 VMRuntime.getRuntime().setTargetHeapUtilization(0.75f); in applicationInit() 357 VMRuntime.getRuntime().setTargetSdkVersion(targetSdkVersion); in applicationInit()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/ |
D | ReferenceTestUtils.java | 37 Runtime.getRuntime().gc(); in createCollectionWaiter()
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/ |
D | LiveDataQueryTest.java | 356 Runtime.getRuntime().gc(); in forceGc() 357 Runtime.getRuntime().runFinalization(); in forceGc() 358 Runtime.getRuntime().gc(); in forceGc() 359 Runtime.getRuntime().runFinalization(); in forceGc()
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/graphics/ |
D | ImageLoader.java | 36 Math.round(Runtime.getRuntime().maxMemory() / 10));
|
/frameworks/base/core/jni/include/android_runtime/ |
D | AndroidRuntime.h | 75 static AndroidRuntime* getRuntime();
|
/frameworks/support/work/workmanager/src/main/java/androidx/work/ |
D | Configuration.java | 109 Math.max(2, Math.min(Runtime.getRuntime().availableProcessors() - 1, 4))); in createDefaultExecutor()
|
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/ |
D | PowerMeasurement.java | 68 Runtime fileRemoval = Runtime.getRuntime(); in testPageLoadStaticNYTimes()
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewLibraryLoader.java | 70 boolean is64Bit = VMRuntime.getRuntime().is64Bit(); in main() 245 String relroPath = VMRuntime.getRuntime().is64Bit() ? CHROMIUM_WEBVIEW_NATIVE_RELRO_64 : in loadNativeLibrary()
|
/frameworks/support/lifecycle/runtime/src/test/java/androidx/lifecycle/ |
D | LifecycleRegistryTest.java | 570 Runtime.getRuntime().gc(); in forceGc() 571 Runtime.getRuntime().runFinalization(); in forceGc() 572 Runtime.getRuntime().gc(); in forceGc() 573 Runtime.getRuntime().runFinalization(); in forceGc()
|
/frameworks/base/core/java/android/app/ |
D | Instrumentation.java | 1489 Runtime.getRuntime().gc(); in startAllocCounting() 1490 Runtime.getRuntime().runFinalization(); in startAllocCounting() 1491 Runtime.getRuntime().gc(); in startAllocCounting() 1506 Runtime.getRuntime().gc(); in stopAllocCounting() 1507 Runtime.getRuntime().runFinalization(); in stopAllocCounting() 1508 Runtime.getRuntime().gc(); in stopAllocCounting()
|
D | DexLoadReporter.java | 127 VMRuntime.getRuntime().vmInstructionSet()); in notifyPackageManager()
|
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/ |
D | AlbumArtCache.java | 62 (int) (Math.min(Integer.MAX_VALUE, Runtime.getRuntime().maxMemory()/4))); in AlbumArtCache()
|
/frameworks/base/media/java/android/media/ |
D | ImageWriter.java | 208 VMRuntime.getRuntime().registerNativeAllocation(mEstimatedNativeAllocBytes); in ImageWriter() 498 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/tests/DexLoggerIntegrationTests/src/com/android/server/pm/dex/ |
D | DexLoggerIntegrationTests.java | 121 Process process = Runtime.getRuntime().exec( in testDexLoggerReconcileGeneratesEvents()
|
/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 | 440 VMRuntime.getRuntime().registerNativeAllocation(deltaInBytes); in draw() 442 VMRuntime.getRuntime().registerNativeFree(-deltaInBytes); in draw() 693 VMRuntime.getRuntime().registerNativeFree( in inflate() 702 VMRuntime.getRuntime().registerNativeFree(mVectorState.NATIVE_ALLOCATION_SIZE); in inflate() 995 VMRuntime.getRuntime().registerNativeAllocation(NATIVE_ALLOCATION_SIZE); in createNativeTree() 1004 VMRuntime.getRuntime().registerNativeAllocation(NATIVE_ALLOCATION_SIZE); in createNativeTreeFromCopy() 1012 VMRuntime.getRuntime().registerNativeAllocation(mAllocationOfAllNodes); in onTreeConstructionFinished() 1122 VMRuntime.getRuntime().registerNativeFree(NATIVE_ALLOCATION_SIZE in finalize()
|