Home
last modified time | relevance | path

Searched refs:gc (Results 1 – 25 of 77) sorted by relevance

1234

/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DSparseWeakArray.java121 private void gc() { in gc() method in SparseWeakArray
167 gc(); in put()
185 gc(); in size()
198 gc(); in keyAt()
211 gc(); in valueAt()
224 gc(); in setValueAt()
237 gc(); in indexOfKey()
253 gc(); in indexOfValue()
289 gc(); in append()
/frameworks/base/core/java/android/util/
DLongSparseArray.java182 private void gc() { in gc() method in LongSparseArray
220 gc(); in firstIndexOnOrAfter()
263 gc(); in put()
281 gc(); in size()
309 gc(); in keyAt()
339 gc(); in valueAt()
362 gc(); in setValueAt()
375 gc(); in indexOfKey()
391 gc(); in indexOfValue()
414 gc(); in indexOfValueByValue()
[all …]
DSparseArray.java217 private void gc() { in gc() method in SparseArray
273 gc(); in put()
291 gc(); in size()
319 gc(); in keyAt()
349 gc(); in valueAt()
372 gc(); in setValueAt()
385 gc(); in indexOfKey()
403 gc(); in indexOfValue()
427 gc(); in indexOfValueByValue()
470 gc(); in append()
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/util/
DTestUtils.java22 public static void gc() { in gc() method in TestUtils
29 System.gc(); in gc()
33 System.gc(); in gc()
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/util/perf/
DTimedStatement.java84 System.gc(); in calibrateMethod()
108 TestUtils.gc(); in doCalibration()
115 TestUtils.gc(); in doCalibration()
146 TestUtils.gc(); in evaluate()
156 TestUtils.gc(); in evaluate()
/frameworks/base/core/java/com/android/internal/util/
DGcUtils.java36 Runtime.getRuntime().gc(); in runGcAndFinalizersSync()
43 Runtime.getRuntime().gc(); in runGcAndFinalizersSync()
/frameworks/base/services/permission/java/com/android/server/permission/access/immutable/
DIntMap.kt49 fun remove(key: Int): T? = array.removeReturnOld(key).also { array.gc() } in isEmpty()
57 fun removeAt(index: Int): T = array.removeAtReturnOld(index).also { array.gc() } in isEmpty()
97 internal fun <T> SparseArray<T>.gc() { in gc() method
DIntReferenceMap.kt71 fun remove(key: Int): I? = array.removeReturnOld(key).also { array.gc() }?.get() in isEmpty()
82 fun removeAt(index: Int): I = array.removeAtReturnOld(index).also { array.gc() }.get() in isEmpty()
/frameworks/base/core/java/android/os/
DPerformanceCollector.java550 Runtime.getRuntime().gc(); in startAllocCounting()
552 Runtime.getRuntime().gc(); in startAllocCounting()
564 Runtime.getRuntime().gc(); in stopAllocCounting()
566 Runtime.getRuntime().gc(); in stopAllocCounting()
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DCanvasPerfTest.java126 Runtime.getRuntime().gc(); in testCreateScaledSrgbBitmap()
147 Runtime.getRuntime().gc(); in testCreateScaledP3Bitmap()
166 Runtime.getRuntime().gc(); in testCreateScaledBitmapWithGainmap()
/frameworks/base/core/tests/coretests/src/android/graphics/
DPaintNativeInstanceTest.kt39 Runtime.getRuntime().gc() in <lambda>()
48 Runtime.getRuntime().gc() in <lambda>()
/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DExpensiveObjectsPerfTest.java178 GregorianCalendar gc = new GregorianCalendar(); in timeClonedGregorianCalendar() local
181 gc.clone(); in timeClonedGregorianCalendar()
/frameworks/base/apct-tests/perftests/core/src/android/text/
DSystemFontsPerfTest.java43 System.gc(); in getAvailableFonts()
/frameworks/base/core/java/android/text/
DTextUtils.java1837 int gc = Character.getType(cp); in isGraphic() local
1838 if (gc != Character.CONTROL in isGraphic()
1839 && gc != Character.FORMAT in isGraphic()
1840 && gc != Character.SURROGATE in isGraphic()
1841 && gc != Character.UNASSIGNED in isGraphic()
1842 && gc != Character.LINE_SEPARATOR in isGraphic()
1843 && gc != Character.PARAGRAPH_SEPARATOR in isGraphic()
1844 && gc != Character.SPACE_SEPARATOR) { in isGraphic()
1861 int gc = Character.getType(c); in isGraphic() local
1862 return gc != Character.CONTROL in isGraphic()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
DReferenceTestUtils.java37 Runtime.getRuntime().gc(); in createCollectionWaiter()
/frameworks/base/core/java/android/ddm/
DDdmHandleHeap.java80 Runtime.getRuntime().gc(); in handleHPGC()
/frameworks/base/tests/BinderLeakTest/java/com/android/test/binder/
DMyService.java60 System.gc(); in forceGc()
/frameworks/base/test-base/src/android/test/
DInstrumentationTestCase.java364 Runtime.getRuntime().gc(); in tearDown()
366 Runtime.getRuntime().gc(); in tearDown()
/frameworks/base/ravenwood/bivalenttest/test/com/android/ravenwoodtest/bivalenttest/
DRavenwoodNativeAllocationRegistryTest.java84 System.gc(); in testNativeAllocationRegistry()
/frameworks/base/apct-tests/perftests/core/src/android/libcore/
DReferenceGetPerfTest.java73 Runtime.getRuntime().gc(); in timeNonPreservedWeakReferenceGet()
/frameworks/base/tools/preload/loadclass/
DLoadClass.java49 Runtime.getRuntime().gc(); in main()
/frameworks/av/media/libmedia/
DIMediaSource.cpp141 mMemoryCache.gc(); in readMultiple()
254 void gc() { in gc() function
346 mIndexCache.gc(); in onTransact()
/frameworks/base/packages/SystemUI/src/com/android/systemui/authentication/domain/interactor/
DAuthenticationInteractor.kt331 System.gc() in <lambda>()
333 System.gc() in <lambda>()
/frameworks/base/packages/SettingsLib/DataStore/tests/src/com/android/settingslib/datastore/
DKeyedObserverTest.kt85 System.gc() in <lambda>()
103 System.gc() in <lambda>()
/frameworks/base/startop/apps/test/src/
DInitCheckOverheadBenchmarks.java99 Runtime.getRuntime().gc(); in doGC()

1234