Home
last modified time | relevance | path

Searched refs:recycle (Results 1 – 25 of 714) sorted by relevance

12345678910>>...29

/frameworks/base/core/tests/benchmarks/src/android/net/
DNetworkStatsBenchmark.java44 NetworkStats.Entry recycle = new NetworkStats.Entry(); in setUp() local
48 recycle.iface = allIfaces.get(i % totalIfaces); in setUp()
49 recycle.uid = uid; in setUp()
50 recycle.set = i % 2; in setUp()
51 recycle.tag = NetworkStats.TAG_NONE; in setUp()
52 recycle.rxBytes = 60000; in setUp()
53 recycle.rxPackets = 60; in setUp()
54 recycle.txBytes = 150000; in setUp()
55 recycle.txPackets = 1500; in setUp()
56 recycle.operations = 0; in setUp()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityCacheTest.java124 windowFromCache.recycle(); in addThenGetWindow_returnsEquivalentButNotSameWindow()
125 windowInfo.recycle(); in addThenGetWindow_returnsEquivalentButNotSameWindow()
126 copyOfInfo.recycle(); in addThenGetWindow_returnsEquivalentButNotSameWindow()
174 window1Out.recycle(); in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
175 window2Out.recycle(); in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
176 windowInfo1.recycle(); in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
177 windowInfo2.recycle(); in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
179 windowInfo.recycle(); in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
208 nodeInfo.recycle(); in addThenGetNode_returnsEquivalentNode()
212 nodeFromCache.recycle(); in addThenGetNode_returnsEquivalentNode()
[all …]
/frameworks/base/core/java/android/database/
DBulkCursorNative.java174 data.recycle(); in getWindow()
175 reply.recycle(); in getWindow()
189 data.recycle(); in onMove()
190 reply.recycle(); in onMove()
204 data.recycle(); in deactivate()
205 reply.recycle(); in deactivate()
219 data.recycle(); in close()
220 reply.recycle(); in close()
243 data.recycle(); in requery()
244 reply.recycle(); in requery()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java41 vt.recycle(); in testInitialCondiditions()
60 vt.recycle(); in testClear()
71 vt.recycle(); in testDragAcceleration()
82 vt.recycle(); in testDragDeceleration()
95 vt.recycle(); in testDragLinearHorizontal()
108 vt.recycle(); in testDragLinearVertical()
125 vt.recycle(); in testDragWith2Points()
148 vt.recycle(); in testStabilityInNbPoints()
170 vt.recycle(); in testStabilityInTime()
192 vt.recycle(); in testStabilityInSpace()
[all …]
/frameworks/base/core/java/android/content/
DContentProviderNative.java441 data.recycle(); in query()
442 reply.recycle(); in query()
462 data.recycle(); in getType()
463 reply.recycle(); in getType()
485 data.recycle(); in insert()
486 reply.recycle(); in insert()
507 data.recycle(); in bulkInsert()
508 reply.recycle(); in bulkInsert()
533 data.recycle(); in applyBatch()
534 reply.recycle(); in applyBatch()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
DBitmapUtils.java116 Bitmap bitmap, float scale, boolean recycle) { in resizeBitmapByScale() argument
126 if (recycle) bitmap.recycle(); in resizeBitmapByScale()
139 Bitmap bitmap, int maxLength, boolean recycle) { in resizeDownBySideLength() argument
145 return resizeBitmapByScale(bitmap, scale, recycle); in resizeDownBySideLength()
148 public static Bitmap resizeAndCropCenter(Bitmap bitmap, int size, boolean recycle) { in resizeAndCropCenter() argument
165 if (recycle) bitmap.recycle(); in resizeAndCropCenter()
172 bitmap.recycle(); in recycleSilently()
178 public static Bitmap rotateBitmap(Bitmap source, int rotation, boolean recycle) { in rotateBitmap() argument
185 if (recycle) source.recycle(); in rotateBitmap()
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DObjectPoolTests.java71 item.recycle(); in testRecycleActivityConfigurationChangeItem()
86 item.recycle(); in testRecycleActivityResultItem()
101 item.recycle(); in testRecycleConfigurationChangeItem()
116 item.recycle(); in testRecycleDestroyActivityItem()
155 item.recycle(); in testRecycleLaunchActivityItem()
176 item.recycle(); in testRecycleActivityRelaunchItem()
192 item.recycle(); in testRecycleMoveToDisplayItem()
207 item.recycle(); in testRecycleMultiWindowModeChangeItem()
222 item.recycle(); in testRecycleNewIntentItem()
237 item.recycle(); in testRecyclePauseActivityItemItem()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DConnectionServiceAdapterServant.java104 args.recycle();
117 args.recycle();
139 args.recycle();
164 args.recycle();
175 args.recycle();
189 args.recycle();
199 args.recycle();
209 args2.recycle();
221 args.recycle();
235 args.recycle();
[all …]
DVideoCallbackServant.java69 args.recycle();
78 args.recycle();
87 args.recycle();
96 args.recycle();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNearestTouchFrameTest.java70 ev.recycle(); in testNoActionOnLargeDevices()
88 ev.recycle(); in testInvisibleViews()
107 ev.recycle(); in testNearestView_DetachedViewsExcluded()
123 ev.recycle(); in testHorizontalSelection_Left()
139 ev.recycle(); in testHorizontalSelection_Right()
155 ev.recycle(); in testVerticalSelection_Top()
171 ev.recycle(); in testVerticalSelection_Bottom()
184 ev.recycle(); in testViewNotAttachedNoCrash()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DViewTransformationHelper.java114 ownState.recycle(); in transformTo()
120 otherState.recycle(); in transformTo()
124 ownState.recycle(); in transformTo()
171 ownState.recycle(); in transformFrom()
177 otherState.recycle(); in transformFrom()
181 ownState.recycle(); in transformFrom()
195 ownState.recycle(); in setVisible()
205 ownState.recycle(); in abortTransformations()
252 state.recycle(); in resetTransformedView()
/frameworks/base/core/tests/coretests/src/android/os/
DBundleTest.java110 p.recycle(); in testCreateFromParcel()
116 p.recycle(); in testCreateFromParcel()
123 p.recycle(); in testCreateFromParcel()
131 p.recycle(); in testCreateFromParcel()
137 p.recycle(); in testCreateFromParcel()
144 p.recycle(); in testCreateFromParcel()
DTimestampedValueTest.java64 parcel.recycle(); in testParceling()
81 parcel.recycle(); in testParceling_valueClassOk()
98 parcel.recycle(); in testParceling_valueClassNotParcelable()
114 parcel.recycle(); in testParceling_nullValue()
DParcelTest.java53 p.recycle(); in testCallingWorkSourceUidAfterWrite()
70 p.recycle(); in testCallingWorkSourceUidAfterEnforce()
88 p.recycle(); in testParcelWithMultipleHeaders()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/procstats/
DSparseMappingTableTest.java57 dataParcel.recycle(); in testParcelingEmpty()
63 tableParcel.recycle(); in testParcelingEmpty()
91 dataParcel.recycle(); in testParceling()
97 tableParcel.recycle(); in testParceling()
138 dataParcel.recycle(); in testParcelingWithReset()
144 tableParcel.recycle(); in testParcelingWithReset()
/frameworks/base/core/java/android/net/
DNetworkStats.java604 public Entry getValues(int i, Entry recycle) { in getValues() argument
605 final Entry entry = recycle != null ? recycle : new Entry(); in getValues()
862 public Entry getTotal(Entry recycle) { in getTotal() argument
863 return getTotal(recycle, null, UID_ALL, false); in getTotal()
872 public Entry getTotal(Entry recycle, int limitUid) { in getTotal() argument
873 return getTotal(recycle, null, limitUid, false); in getTotal()
881 public Entry getTotal(Entry recycle, HashSet<String> limitIface) { in getTotal() argument
882 return getTotal(recycle, limitIface, UID_ALL, false); in getTotal()
887 public Entry getTotalIncludingTags(Entry recycle) { in getTotalIncludingTags() argument
888 return getTotal(recycle, null, UID_ALL, true); in getTotalIncludingTags()
[all …]
/frameworks/base/core/java/android/widget/
DExpandableListView.java284 a.recycle(); in ExpandableListView()
469 pos.recycle(); in dispatchDraw()
545 pos.recycle(); in drawDivider()
548 pos.recycle(); in drawDivider()
686 posMetadata.recycle(); in handleItemClick()
730 posMetadata.recycle(); in handleItemClick()
758 elGroupPos.recycle(); in expandGroup()
772 pm.recycle(); in expandGroup()
908 pm.recycle(); in getExpandableListPosition()
927 elPackedPos.recycle(); in getFlatListPosition()
[all …]
DExpandableListConnector.java386 metadata.recycle(); in isEnabled()
415 posMetadata.recycle(); in getItem()
436 posMetadata.recycle(); in getItemId()
458 posMetadata.recycle(); in getView()
486 metadata.recycle(); in getItemViewType()
598 elGroupPos.recycle(); in collapseGroup()
602 pm.recycle(); in collapseGroup()
641 elGroupPos.recycle(); in expandGroup()
643 pm.recycle(); in expandGroup()
981 position.recycle(); in resetState()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalService.java64 data.recycle(); in onStart()
80 data.recycle(); in onDestroy()
101 data.recycle(); in onUnbind()
117 data.recycle(); in onRebind()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/util/
DFallbackThemeWrapperTest.java50 a.recycle(); in testThemeValueOnlyInBase()
58 a.recycle(); in testThemeValueOnlyInFallback()
65 a.recycle(); in testThemeValueInBoth()
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/test/
DDividerItemDecorationTest.java82 bitmap.recycle(); in testShouldDrawDividerBelowWithEitherCondition()
87 bitmap.recycle(); in testShouldDrawDividerBelowWithEitherCondition()
95 bitmap.recycle(); in testShouldDrawDividerBelowWithEitherCondition()
124 bitmap.recycle(); in testShouldDrawDividerBelowWithBothCondition()
132 bitmap.recycle(); in testShouldDrawDividerBelowWithBothCondition()
138 bitmap.recycle(); in testShouldDrawDividerBelowWithBothCondition()
/frameworks/base/services/core/java/com/android/server/display/color/
DDisplayTransformManager.java215 data.recycle(); in applyColorMatrix()
234 data.recycle(); in applyDaltonizerMode()
300 data.recycle(); in isDeviceColorManaged()
301 reply.recycle(); in isDeviceColorManaged()
322 data.recycle(); in applySaturation()
350 data.recycle(); in setDisplayColor()
/frameworks/opt/setupwizard/library/gingerbread/test/instrumentation/src/com/android/setupwizardlib/util/
DLinkAccessibilityHelperTest.java96 event.recycle(); in testOnPopulateEventForVirtualView()
110 event.recycle(); in testOnPopulateEventForVirtualViewHost()
130 info.recycle(); in testOnPopulateNodeForVirtualView()
146 info.recycle(); in testNullLayout()
167 info.recycle(); in testRtlLayout()
193 info.recycle(); in testMultilineLink()
220 info.recycle(); in testRtlMultilineLink()
253 info.recycle(); in testBidiMultilineLink()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCallAttributesTest.java43 parcel.recycle(); in testParcelUnparcelCallQuality()
60 parcel.recycle(); in testParcelUnparcelPreciseCallState()
77 parcel.recycle(); in testParcelUnparcelNetworkType()
/frameworks/base/core/java/android/text/
DMeasuredParagraph.java76 public void recycle() { in recycle() method in MeasuredParagraph
315 @Nullable MeasuredParagraph recycle) { in buildForBidi() argument
316 final MeasuredParagraph mt = recycle == null ? obtain() : recycle; in buildForBidi()
341 @Nullable MeasuredParagraph recycle) { in buildForMeasurement() argument
342 final MeasuredParagraph mt = recycle == null ? obtain() : recycle; in buildForMeasurement()
396 @Nullable MeasuredParagraph recycle) { in buildForStaticLayout() argument
397 final MeasuredParagraph mt = recycle == null ? obtain() : recycle; in buildForStaticLayout()

12345678910>>...29