Searched refs:gc (Results 1 - 25 of 40) sorted by relevance

12

/frameworks/testing/uiautomator/utils/uiautomatorviewer/src/com/android/uiautomator/
H A DUiAutomatorViewer.java120 Transform t = new Transform(e.gc.getDevice());
123 e.gc.setTransform(t);
124 e.gc.drawImage(image, 0, 0);
128 e.gc.setTransform(null);
131 e.gc.setForeground(e.gc.getDevice().getSystemColor(SWT.COLOR_YELLOW));
132 e.gc.setBackground(e.gc.getDevice().getSystemColor(SWT.COLOR_YELLOW));
134 e.gc.setAlpha(50);
135 e.gc
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DHeapTest.java105 Runtime.getRuntime().gc();
148 Runtime.getRuntime().gc();
209 Runtime.getRuntime().gc();
217 Runtime.getRuntime().gc();
225 Runtime.getRuntime().gc();
322 Runtime.getRuntime().gc();
331 Runtime.getRuntime().gc();
341 Runtime.getRuntime().gc();
351 // System.out.println("gc from finalize()");
352 Runtime.getRuntime().gc();
[all...]
/frameworks/base/core/java/android/util/
H A DLongSparseArray.java122 private void gc() { method in class:LongSparseArray
123 // Log.e("SparseArray", "gc start with " + mSize);
147 // Log.e("SparseArray", "gc end with " + mSize);
170 gc();
208 gc();
221 gc();
235 gc();
248 gc();
261 gc();
277 gc();
[all...]
H A DSparseArray.java122 private void gc() { method in class:SparseArray
123 // Log.e("SparseArray", "gc start with " + mSize);
147 // Log.e("SparseArray", "gc end with " + mSize);
170 gc();
208 gc();
221 gc();
235 gc();
248 gc();
261 gc();
277 gc();
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
H A DSparseWeakArray.java121 private void gc() { method in class:SparseWeakArray
178 gc();
216 gc();
229 gc();
242 gc();
255 gc();
268 gc();
284 gc();
320 gc();
/frameworks/support/v4/java/android/support/v4/util/
H A DLongSparseArray.java120 private void gc() { method in class:LongSparseArray
121 // Log.e("SparseArray", "gc start with " + mSize);
145 // Log.e("SparseArray", "gc end with " + mSize);
168 gc();
206 gc();
219 gc();
233 gc();
246 gc();
259 gc();
275 gc();
[all...]
H A DSparseArrayCompat.java113 private void gc() { method in class:SparseArrayCompat
114 // Log.e("SparseArray", "gc start with " + mSize);
137 // Log.e("SparseArray", "gc end with " + mSize);
160 gc();
198 gc();
211 gc();
224 gc();
237 gc();
250 gc();
266 gc();
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderDrawable.java119 Graphics2D gc = image.createGraphics();
120 gc.setComposite(AlphaComposite.Src);
122 gc.setColor(new Color(0x00000000, true));
123 gc.fillRect(0, 0, w, h);
126 gc.dispose();
H A DRenderSessionImpl.java477 Graphics2D gc = mImage.createGraphics();
478 gc.setColor(new Color(params.getOverrideBgColor(), true));
479 gc.setComposite(AlphaComposite.Src);
480 gc.fillRect(0, 0, mMeasuredScreenWidth, mMeasuredScreenHeight);
481 gc.dispose();
494 Graphics2D gc = mImage.createGraphics();
495 gc.setComposite(AlphaComposite.Src);
497 gc.setColor(new Color(0x00000000, true));
498 gc.fillRect(0, 0,
502 gc
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBinderInternal.java89 Runtime.getRuntime().gc();
H A DZygoteInit.java84 * should run before calling gc() again.
264 System.gc();
291 System.gc();
340 System.gc();
378 System.gc();
401 System.gc();
426 /*package*/ static void gc() { method in class:ZygoteInit
432 System.gc();
434 System.gc();
436 System.gc();
[all...]
H A DZygoteConnection.java139 * Call gc() before we block in readArgumentList().
148 ZygoteInit.gc();
/frameworks/base/core/java/android/os/
H A DPerformanceCollector.java536 * 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();
H A DStrictMode.java1419 Runtime.getRuntime().gc();
1958 Runtime.getRuntime().gc();
/frameworks/base/tools/preload/loadclass/
H A DLoadClass.java49 System.gc();
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfiguration.java484 for (int gc = 0; gc < this.allowedGroupCiphers.size(); gc++) {
485 if (this.allowedGroupCiphers.get(gc)) {
487 if (gc < GroupCipher.strings.length) {
488 sbuf.append(GroupCipher.strings[gc]);
H A DWifiNative.java644 int gc = 0;
645 if (TextUtils.isEmpty(deviceAddress)) return gc;
647 if (TextUtils.isEmpty(peerInfo)) return gc;
657 return gc;
661 return gc;
/frameworks/base/core/java/android/test/
H A DInstrumentationTestCase.java358 Runtime.getRuntime().gc();
360 Runtime.getRuntime().gc();
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/
H A DMediaTestUtil.java58 System.gc();
/frameworks/base/core/java/android/app/
H A DInstrumentation.java1239 * Starts allocation counting. This triggers a gc and resets the counts.
1246 Runtime.getRuntime().gc();
1248 Runtime.getRuntime().gc();
1260 Runtime.getRuntime().gc();
1262 Runtime.getRuntime().gc();
/frameworks/base/core/java/android/ddm/
H A DDdmHandleHeap.java222 System.gc();
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
H A DLoadTestsAutoTest.java106 Log.v(LOGTAG, "About to run tests, calling gc first...");
134 Log.v(LOGTAG, "freeMem: calling gc...");
138 // this object instance is used to track gc
146 System.gc();
149 Log.w(LOGTAG, "gc did not happen in 10s");
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
H A DVideoEditorStressTest.java120 System.gc();
143 System.gc();
151 System.gc();
/frameworks/base/packages/DefaultContainerService/src/com/android/defcontainer/
H A DDefaultContainerService.java409 // Force a gc to avoid being killed.
410 Runtime.getRuntime().gc();
/frameworks/base/test-runner/src/android/test/
H A DTestRunner.java415 Runtime.getRuntime().gc();

Completed in 429 milliseconds

12