Home
last modified time | relevance | path

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

12345678910>>...38

/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.java133 windowFromCache.recycle(); in addThenGetWindow_returnsEquivalentButNotSameWindow()
134 windowInfo.recycle(); in addThenGetWindow_returnsEquivalentButNotSameWindow()
135 copyOfInfo.recycle(); in addThenGetWindow_returnsEquivalentButNotSameWindow()
184 window1Out.recycle(); in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
185 window2Out.recycle(); in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
186 windowInfo1.recycle(); in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
187 windowInfo2.recycle(); in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
189 windowInfo.recycle(); in setWindowsThenGetWindows_returnsInDecreasingLayerOrder()
223 window1Out.recycle(); in setWindowsAndAddWindow_thenGetWindows_returnsInDecreasingLayerOrder()
224 window2Out.recycle(); in setWindowsAndAddWindow_thenGetWindows_returnsInDecreasingLayerOrder()
[all …]
/frameworks/base/core/tests/mockingcoretests/src/android/os/
DBundleRecyclingTest.java64 verify(mParcelSpy, times(1)).recycle(); in bundleClear_whenUnparcelledWithoutLazy_recyclesParcelOnce()
69 verify(mParcelSpy, times(1)).recycle(); in bundleClear_whenUnparcelledWithoutLazy_recyclesParcelOnce()
77 verify(mParcelSpy, times(0)).recycle(); in bundleClear_whenParcelled_recyclesParcel()
80 verify(mParcelSpy, times(1)).recycle(); in bundleClear_whenParcelled_recyclesParcel()
85 verify(mParcelSpy, times(1)).recycle(); in bundleClear_whenParcelled_recyclesParcel()
94 verify(mParcelSpy, times(0)).recycle(); in bundleClear_whenUnparcelledWithLazy_recyclesParcel()
97 verify(mParcelSpy, times(1)).recycle(); in bundleClear_whenUnparcelledWithLazy_recyclesParcel()
102 verify(mParcelSpy, times(1)).recycle(); in bundleClear_whenUnparcelledWithLazy_recyclesParcel()
118 verify(mParcelSpy, never()).recycle(); in bundleClear_whenClearedWithSharedParcel_doesNotRecycleParcel()
137 verify(mParcelSpy, never()).recycle(); in bundleClear_whenClearedWithCopiedParcel_doesNotRecycleParcel()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationTapHelperTest.java112 evDownA.recycle(); in testDoubleTap_success()
113 evUpA.recycle(); in testDoubleTap_success()
114 evDownB.recycle(); in testDoubleTap_success()
115 evUpB.recycle(); in testDoubleTap_success()
141 evDownA.recycle(); in testSingleTap_timeout()
142 evUpA.recycle(); in testSingleTap_timeout()
168 evDownA.recycle(); in testSingleTap_falsed()
169 evUpA.recycle(); in testSingleTap_falsed()
213 evDownA.recycle(); in testDoubleTap_falsed()
214 evUpA.recycle(); in testDoubleTap_falsed()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/
DNumberPickerTest.java49 info.recycle(); in testAccessibilityFocusedProperty()
53 info.recycle(); in testAccessibilityFocusedProperty()
57 info.recycle(); in testAccessibilityFocusedProperty()
65 info.recycle(); in testAccessibilityFocusedProperty()
69 info.recycle(); in testAccessibilityFocusedProperty()
77 info.recycle(); in testAccessibilityFocusedProperty()
81 info.recycle(); in testAccessibilityFocusedProperty()
89 info.recycle(); in testAccessibilityFocusedProperty()
/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.java43 vt.recycle(); in testInitialCondiditions()
62 vt.recycle(); in testClear()
73 vt.recycle(); in testDragAcceleration()
84 vt.recycle(); in testDragDeceleration()
97 vt.recycle(); in testDragLinearHorizontal()
110 vt.recycle(); in testDragLinearVertical()
127 vt.recycle(); in testDragWith2Points()
150 vt.recycle(); in testStabilityInNbPoints()
172 vt.recycle(); in testStabilityInTime()
194 vt.recycle(); in testStabilityInSpace()
[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/java/android/content/
DContentProviderNative.java513 data.recycle(); in query()
514 reply.recycle(); in query()
534 data.recycle(); in getType()
535 reply.recycle(); in getType()
552 data.recycle(); in getTypeAsync()
569 data.recycle(); in getTypeAnonymousAsync()
593 data.recycle(); in insert()
594 reply.recycle(); in insert()
616 data.recycle(); in bulkInsert()
617 reply.recycle(); in bulkInsert()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DObjectPoolTests.java76 item.recycle(); in testRecycleActivityConfigurationChangeItem()
91 item.recycle(); in testRecycleActivityResultItem()
106 item.recycle(); in testRecycleConfigurationChangeItem()
121 item.recycle(); in testRecycleDestroyActivityItem()
166 item.recycle(); in testRecycleLaunchActivityItem()
184 item.recycle(); in testRecycleActivityRelaunchItem()
200 item.recycle(); in testRecycleMoveToDisplayItem()
215 item.recycle(); in testRecycleNewIntentItem()
230 item.recycle(); in testRecyclePauseActivityItemItem()
245 item.recycle(); in testRecycleResumeActivityItem()
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/transport/
DBackupTransportClient.java126 mCallbackPool.recycle(callback); in initializeDevice()
139 mCallbackPool.recycle(callback); in clearBackupData()
152 mCallbackPool.recycle(callback); in finishBackup()
176 mCallbackPool.recycle(callback); in performBackup()
209 mCallbackPool.recycle(callback); in startRestore()
231 mCallbackPool.recycle(callback); in getRestoreData()
244 mCallbackPool.recycle(callback); in finishRestore()
268 mCallbackPool.recycle(callback); in performFullBackup()
281 mCallbackPool.recycle(callback); in checkFullBackupSize()
294 mCallbackPool.recycle(callback); in sendBackupData()
[all …]
/frameworks/base/telecomm/java/android/telecom/
DConnectionServiceAdapterServant.java106 args.recycle();
119 args.recycle();
141 args.recycle();
166 args.recycle();
177 args.recycle();
191 args.recycle();
201 args.recycle();
211 args2.recycle();
223 args.recycle();
237 args.recycle();
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DViewTransformationHelper.java145 ownState.recycle(); in transformTo()
151 otherState.recycle(); in transformTo()
155 ownState.recycle(); in transformTo()
198 ownState.recycle(); in transformFrom()
204 otherState.recycle(); in transformFrom()
208 ownState.recycle(); in transformFrom()
222 ownState.recycle(); in setVisible()
232 ownState.recycle(); in abortTransformations()
279 state.recycle(); in resetTransformedView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/navigationbar/buttons/
DNearestTouchFrameTest.java92 ev.recycle(); in testNoActionOnLargeDevices()
110 ev.recycle(); in testInvisibleViews()
129 ev.recycle(); in testNearestView_DetachedViewsExcluded()
145 ev.recycle(); in testHorizontalSelection_Left()
161 ev.recycle(); in testHorizontalSelection_Right()
177 ev.recycle(); in testVerticalSelection_Top()
193 ev.recycle(); in testVerticalSelection_Bottom()
206 ev.recycle(); in testViewNotAttachedNoCrash()
223 ev.recycle(); in testViewMiddleChildNotAttachedCrash()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCallStateTest.java52 parcel.recycle(); in testParcelUnparcelPreciseCallState()
75 parcel.recycle(); in testParcelUnparcelCallQuality()
92 parcel.recycle(); in testParcelUnparcelCallQuality()
114 parcel.recycle(); in testParcelUnparcelNetworkTypeAndClassification()
139 parcel.recycle(); in testParcelUnparcelImsCallInfo()
163 parcel.recycle(); in testParcelUnparcelImsCallInfo()
DCallAttributesTest.java43 parcel.recycle(); in testParcelUnparcelCallQuality()
60 parcel.recycle(); in testParcelUnparcelPreciseCallState()
77 parcel.recycle(); in testParcelUnparcelNetworkType()
/frameworks/base/media/java/android/media/tv/interactive/
DITvInteractiveAppSessionWrapper.java157 args.recycle(); in executeMessage()
211 args.recycle(); in executeMessage()
221 args.recycle(); in executeMessage()
227 args.recycle(); in executeMessage()
237 args.recycle(); in executeMessage()
247 args.recycle(); in executeMessage()
278 args.recycle(); in executeMessage()
292 args.recycle(); in executeMessage()
314 args.recycle(); in executeMessage()
321 args.recycle(); in executeMessage()
[all …]
/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/tests/coretests/src/android/os/
DTimestampedValueTest.java64 parcel.recycle(); in testParceling()
81 parcel.recycle(); in testParceling_valueClassOk()
98 parcel.recycle(); in testParceling_valueClassNotParcelable()
114 parcel.recycle(); in testParceling_nullValue()
/frameworks/base/core/java/android/widget/
DExpandableListView.java285 a.recycle(); in ExpandableListView()
470 pos.recycle(); in dispatchDraw()
546 pos.recycle(); in drawDivider()
549 pos.recycle(); in drawDivider()
687 posMetadata.recycle(); in handleItemClick()
731 posMetadata.recycle(); in handleItemClick()
759 elGroupPos.recycle(); in expandGroup()
773 pm.recycle(); in expandGroup()
909 pm.recycle(); in getExpandableListPosition()
928 elPackedPos.recycle(); in getFlatListPosition()
[all …]
/frameworks/base/core/tests/fuzzers/ParcelFuzzer/
DFuzzUtils.java53 p1.recycle();
54 p2.recycle();
82 randomParcel.recycle();
/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/base/core/java/android/service/notification/
DNotificationAssistantService.java545 args.recycle(); in handleMessage()
570 args.recycle(); in handleMessage()
577 args.recycle(); in handleMessage()
586 args.recycle(); in handleMessage()
593 args.recycle(); in handleMessage()
602 args.recycle(); in handleMessage()
611 args.recycle(); in handleMessage()
622 args.recycle(); in handleMessage()
634 args.recycle(); in handleMessage()
641 args.recycle(); in handleMessage()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/magnification/
DMagnificationGestureHandlerTest.java78 downEvent.recycle(); in onMotionEvent_isFromScreen_onMotionEventInternal()
92 downEvent.recycle(); in onMotionEvent_downEvent_handleInteractionStart()
106 upEvent.recycle(); in onMotionEvent_upEvent_handleInteractionEnd()
120 cancelEvent.recycle(); in onMotionEvent_cancelEvent_handleInteractionEnd()
/frameworks/base/services/core/java/com/android/server/display/color/
DDisplayTransformManager.java219 data.recycle(); in applyColorMatrix()
235 data.recycle(); in applyDaltonizerMode()
298 data.recycle(); in isDeviceColorManaged()
299 reply.recycle(); in isDeviceColorManaged()
317 data.recycle(); in applySaturation()
342 data.recycle(); in setDisplayColor()

12345678910>>...38