/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 | 346 VMRuntime.getRuntime().registerNativeAllocation(mSize); in MemoryRegistration() 357 VMRuntime.getRuntime().registerNativeFree(mSize); in release()
|
/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/java/com/android/internal/util/ |
D | ArrayUtils.java | 52 return (byte[])VMRuntime.getRuntime().newUnpaddedArray(byte.class, minLen); in newUnpaddedByteArray() 56 return (char[])VMRuntime.getRuntime().newUnpaddedArray(char.class, minLen); in newUnpaddedCharArray() 61 return (int[])VMRuntime.getRuntime().newUnpaddedArray(int.class, minLen); in newUnpaddedIntArray() 65 return (boolean[])VMRuntime.getRuntime().newUnpaddedArray(boolean.class, minLen); in newUnpaddedBooleanArray() 69 return (long[])VMRuntime.getRuntime().newUnpaddedArray(long.class, minLen); in newUnpaddedLongArray() 73 return (float[])VMRuntime.getRuntime().newUnpaddedArray(float.class, minLen); in newUnpaddedFloatArray() 77 return (Object[])VMRuntime.getRuntime().newUnpaddedArray(Object.class, minLen); in newUnpaddedObjectArray() 83 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/base/core/java/com/android/internal/os/ |
D | ZygoteInit.java | 241 final VMRuntime runtime = VMRuntime.getRuntime(); in preloadClasses() 391 final VMRuntime runtime = VMRuntime.getRuntime(); in preloadResources() 584 VMRuntime.getRuntime().setHiddenApiExemptions(exemptions); in setApiBlacklistExemptions() 588 VMRuntime.getRuntime().setHiddenApiAccessLogSamplingRate(percent); in setHiddenApiAccessLogSampleRate() 596 VMRuntime.getRuntime().setHiddenApiUsageLogger(logger); in setHiddenApiUsageLogger() 622 final String instructionSet = VMRuntime.getRuntime().vmInstructionSet(); in performSystemServerDexOpt()
|
D | BinderInternal.java | 178 VMRuntime.getRuntime().requestConcurrentGC(); in forceGc()
|
D | RuntimeInit.java | 410 VMRuntime.getRuntime().setTargetSdkVersion(targetSdkVersion); in applicationInit() 411 VMRuntime.getRuntime().setDisabledCompatChanges(disabledCompatChanges); in applicationInit()
|
/frameworks/base/core/java/android/ddm/ |
D | DdmHandleExit.java | 71 Runtime.getRuntime().halt(statusCode); in handleChunk()
|
D | DdmHandleHello.java | 134 VMRuntime vmRuntime = VMRuntime.getRuntime(); in handleHELO()
|
D | DdmHandleHeap.java | 222 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/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/services/core/java/com/android/server/ |
D | SystemServerInitThreadPool.java | 50 Runtime.getRuntime().availableProcessors(),
|
/frameworks/base/core/java/android/telephony/ |
D | PhoneStateListener.java | 518 if (subId != null && VMRuntime.getRuntime().getTargetSdkVersion() in PhoneStateListener() 532 if (subId != null && VMRuntime.getRuntime().getTargetSdkVersion() in PhoneStateListener() 1176 && VMRuntime.getRuntime().getTargetSdkVersion() < Build.VERSION_CODES.R) { in onDataConnectionStateChanged()
|
/frameworks/base/media/java/android/media/ |
D | ImageWriter.java | 214 VMRuntime.getRuntime().registerNativeAllocation(mEstimatedNativeAllocBytes); in ImageWriter() 504 VMRuntime.getRuntime().registerNativeFree(mEstimatedNativeAllocBytes); in close()
|
D | ImageReader.java | 275 VMRuntime.getRuntime().registerNativeAllocation(mEstimatedNativeAllocBytes); in ImageReader() 631 VMRuntime.getRuntime().registerNativeFree(mEstimatedNativeAllocBytes); in close()
|
/frameworks/base/core/java/android/app/ |
D | DexLoadReporter.java | 108 classLoaderContextMap, VMRuntime.getRuntime().vmInstructionSet()); in notifyPackageManager()
|
D | Instrumentation.java | 1531 Runtime.getRuntime().gc(); in startAllocCounting() 1532 Runtime.getRuntime().runFinalization(); in startAllocCounting() 1533 Runtime.getRuntime().gc(); in startAllocCounting() 1548 Runtime.getRuntime().gc(); in stopAllocCounting() 1549 Runtime.getRuntime().runFinalization(); in stopAllocCounting() 1550 Runtime.getRuntime().gc(); in stopAllocCounting()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | PreRebootLogger.java | 110 Runtime.getRuntime().exec(cmdline).waitFor(); in dumpLogsLocked()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | VectorDrawable.java | 448 VMRuntime.getRuntime().registerNativeAllocation(deltaInBytes); in draw() 450 VMRuntime.getRuntime().registerNativeFree(-deltaInBytes); in draw() 710 VMRuntime.getRuntime().registerNativeFree( in inflate() 719 VMRuntime.getRuntime().registerNativeFree(mVectorState.NATIVE_ALLOCATION_SIZE); in inflate() 1013 VMRuntime.getRuntime().registerNativeAllocation(NATIVE_ALLOCATION_SIZE); in createNativeTree() 1022 VMRuntime.getRuntime().registerNativeAllocation(NATIVE_ALLOCATION_SIZE); in createNativeTreeFromCopy() 1030 VMRuntime.getRuntime().registerNativeAllocation(mAllocationOfAllNodes); in onTreeConstructionFinished() 1140 VMRuntime.getRuntime().registerNativeFree(NATIVE_ALLOCATION_SIZE in finalize()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaTestUtil.java | 93 Process p = Runtime.getRuntime().exec(cm); in captureMemInfo()
|