/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
H A D | TestUtils.java | 22 public static void gc() { method in class:TestUtils 23 // See RuntimeUtil#gc in jlibs (http://jlibs.in/) 29 System.gc(); 33 System.gc();
|
/frameworks/base/tools/stringslint/ |
H A D | stringslint.py | 130 for gc in child.iter(): 132 if gc.tail and re.search("%[^%]", gc.tail): badsub = True 133 if re.match("{.*xliff.*}g", gc.tag): 134 if "id" not in gc.attrib: 137 if "example" not in gc.attrib: 141 if gc.text and re.search("%[^%]", gc.text): badsub = True
|
/frameworks/layoutlib/bridge/src/android/view/ |
H A D | ShadowPainter.java | 245 Graphics2D gc = image.createGraphics(); 247 drawRectangleShadow(gc, x, y, width, height); 249 gc.dispose(); 266 Graphics2D gc = image.createGraphics(); 268 drawSmallRectangleShadow(gc, x, y, width, height); 270 gc.dispose(); 291 * @param gc the graphics context to draw into 297 public static void drawRectangleShadow(Graphics2D gc, int x, int y, int width, int height) { argument 311 gc.drawImage(ShadowBottomLeft, x - ShadowBottomLeft.getWidth(null), y + height, null); 312 gc 338 drawSmallRectangleShadow(Graphics2D gc, int x, int y, int width, int height) argument [all...] |
/frameworks/base/core/java/android/util/ |
H A D | LongSparseArray.java | 153 private void gc() { method in class:LongSparseArray 154 // Log.e("SparseArray", "gc start with " + mSize); 178 // Log.e("SparseArray", "gc end with " + mSize); 201 gc(); 219 gc(); 237 gc(); 257 gc(); 270 gc(); 283 gc(); 299 gc(); [all...] |
H A D | SparseArray.java | 190 private void gc() { method in class:SparseArray 191 // Log.e("SparseArray", "gc start with " + mSize); 215 // Log.e("SparseArray", "gc end with " + mSize); 238 gc(); 256 gc(); 277 gc(); 300 gc(); 315 gc(); 328 gc(); 346 gc(); [all...] |
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
H A D | SparseWeakArray.java | 121 private void gc() { method in class:SparseWeakArray 166 gc(); 184 gc(); 197 gc(); 210 gc(); 223 gc(); 236 gc(); 252 gc(); 288 gc();
|
/frameworks/support/collection/src/main/java/androidx/collection/ |
H A D | LongSparseArray.java | 145 private void gc() { method in class:LongSparseArray 146 // Log.e("SparseArray", "gc start with " + mSize); 170 // Log.e("SparseArray", "gc end with " + mSize); 193 gc(); 231 gc(); 252 gc(); 266 gc(); 279 gc(); 292 gc(); 308 gc(); [all...] |
H A D | SparseArrayCompat.java | 162 private void gc() { method in class:SparseArrayCompat 163 // Log.e("SparseArray", "gc start with " + mSize); 187 // Log.e("SparseArray", "gc end with " + mSize); 210 gc(); 248 gc(); 269 gc(); 283 gc(); 296 gc(); 309 gc(); 327 gc(); [all...] |
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/ |
H A D | TimedStatement.java | 84 System.gc(); 108 TestUtils.gc(); 115 TestUtils.gc(); 146 TestUtils.gc(); 156 TestUtils.gc();
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/ |
H A D | ReferenceTestUtils.java | 37 Runtime.getRuntime().gc();
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | RenderDrawable.java | 167 Graphics2D gc = image.createGraphics(); 168 gc.setComposite(AlphaComposite.Src); 170 gc.setColor(new Color(0x00000000, true)); 171 gc.fillRect(0, 0, w, h); 174 gc.dispose();
|
H A D | RenderSessionImpl.java | 504 Graphics2D gc = mImage.createGraphics(); 505 gc.setColor(new Color(params.getOverrideBgColor(), true)); 506 gc.setComposite(AlphaComposite.Src); 507 gc.fillRect(0, 0, mMeasuredScreenWidth, mMeasuredScreenHeight); 508 gc.dispose(); 525 Graphics2D gc = mImage.createGraphics(); 526 gc.setComposite(AlphaComposite.Src); 528 gc.setColor(new Color(0x00000000, true)); 529 gc.fillRect(0, 0, 533 gc [all...] |
/frameworks/base/core/java/android/os/ |
H A D | PerformanceCollector.java | 536 * Starts allocation counting. This triggers a gc and resets the counts. 543 Runtime.getRuntime().gc(); 545 Runtime.getRuntime().gc(); 557 Runtime.getRuntime().gc(); 559 Runtime.getRuntime().gc();
|
/frameworks/base/tools/preload/loadclass/ |
H A D | LoadClass.java | 49 System.gc();
|
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/ |
H A D | ListContent.java | 235 GridContent gc = new GridContent(context, item); 236 int topPadding = gc.isAllImages() && index == 0 ? mGridTopPadding : 0; 237 int bottomPadding = gc.isAllImages() && index == count - 1 ? mGridBottomPadding : 0; 238 int height = mode == MODE_SMALL ? gc.getSmallHeight() : gc.getActualHeight(); 348 GridContent gc = new GridContent(mContext, mHeaderItem); 349 return gc.getContentIntent();
|
H A D | GridRowView.java | 156 GridContent gc = mGridContent; 159 populateViews(gc); 178 private void populateViews(GridContent gc) { argument 179 if (gc.getContentIntent() != null) { 182 Pair<SliceItem, EventInfo> tagItem = new Pair<>(gc.getContentIntent(), info); 186 CharSequence contentDescr = gc.getContentDescription(); 190 ArrayList<GridContent.CellContent> cells = gc.getGridContent(); 191 boolean hasSeeMore = gc.getSeeMoreItem() != null;
|
/frameworks/base/core/tests/coretests/BinderProxyCountingTestService/src/com/android/frameworks/coretests/binderproxycountingtestservice/ |
H A D | BpcTestServiceCmdService.java | 43 int gcCount = Integer.parseInt(Debug.getRuntimeStat("art.gc.gc-count")); 45 while (gcCount == Integer.parseInt(Debug.getRuntimeStat("art.gc.gc-count")) && i > 0) { 46 System.gc();
|
/frameworks/support/slices/view/src/main/java/androidx/slice/ |
H A D | SliceMetadata.java | 172 GridContent gc = new GridContent(mContext, mHeaderItem); 173 isHeaderFullGrid = gc.hasImage() && gc.getMaxCellLineCount() > 1;
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
H A D | LeakTest.java | 70 System.gc();
|
/frameworks/base/test-base/src/android/test/ |
H A D | InstrumentationTestCase.java | 364 Runtime.getRuntime().gc(); 366 Runtime.getRuntime().gc();
|
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/ |
H A D | FragmentTestUtil.java | 228 Runtime.getRuntime().gc(); 229 Runtime.getRuntime().gc();
|
/frameworks/av/media/libmedia/ |
H A D | IMediaSource.cpp | 140 mMemoryCache.gc(); 224 // We gc IMemory objects that are no longer active (referenced by a MediaBuffer). 248 void gc() { function in struct:android::BpMediaSource::MemoryCache 338 mIndexCache.gc();
|
/frameworks/av/include/media/ |
H A D | IMediaSource.h | 190 void gc() { function in struct:android::BnMediaSource::IndexCache
|
/frameworks/av/media/libmedia/include/media/ |
H A D | IMediaSource.h | 190 void gc() { function in struct:android::BnMediaSource::IndexCache
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
H A D | MediaTestUtil.java | 58 System.gc();
|