Searched refs:mSurfaceControls (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/apct-tests/perftests/surfaceflinger/src/android/surfaceflinger/ |
D | SurfaceFlingerPerfTest.java | 147 mBufferTrackers.get(0).addBuffer(mTransaction, mSurfaceControls.get(0)); in setup() 148 mTransaction.show(mSurfaceControls.get(0)).apply(true); in setup() 174 mSurfaceControls.forEach(SurfaceControl::release); in teardown() 190 private final ArrayList<SurfaceControl> mSurfaceControls = new ArrayList<>(); field in SurfaceFlingerPerfTest 193 mSurfaceControls.add(sc); in createSurfaceControl() 200 mBufferTrackers.get(0).addBuffer(mTransaction, mSurfaceControls.get(0)); in singleBuffer() 201 mTransaction.show(mSurfaceControls.get(0)).apply(true); in singleBuffer() 209 mBufferTrackers.get(i).addBuffer(mTransaction, mSurfaceControls.get(i)); in multipleBuffers() 210 mTransaction.show(mSurfaceControls.get(i)); in multipleBuffers() 220 mBufferTrackers.get(i).addBuffer(mTransaction, mSurfaceControls.get(i)); in multipleOpaqueBuffers() [all …]
|
/frameworks/base/core/java/android/view/ |
D | SurfaceControlRegistry.java | 139 private final WeakHashMap<SurfaceControl, Long> mSurfaceControls; field in SurfaceControlRegistry 155 mSurfaceControls = new WeakHashMap<>(256); in SurfaceControlRegistry() 237 mSurfaceControls.put(sc, SystemClock.elapsedRealtime()); in add() 239 && mSurfaceControls.size() >= mMaxLayersReportingThreshold) { in add() 243 mReporter.onMaxLayersExceeded(mSurfaceControls, DUMP_LIMIT, pw); in add() 254 mSurfaceControls.remove(sc); in remove() 256 && mSurfaceControls.size() <= mResetReportingThreshold) { in remove() 271 return mSurfaceControls.keySet().hashCode(); in hashCode() 386 sDefaultReporter.onMaxLayersExceeded(sProcessRegistry.mSurfaceControls, limit, pw); in dump()
|