Home
last modified time | relevance | path

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

12345678910>>...36

/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/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/mockingcoretests/src/android/os/
DBundleRecyclingTest.java69 verify(mParcelSpy, times(1)).recycle(); in bundleClear_whenUnparcelledWithoutLazy_recyclesParcelOnce()
74 verify(mParcelSpy, times(1)).recycle(); in bundleClear_whenUnparcelledWithoutLazy_recyclesParcelOnce()
81 verify(mParcelSpy, times(0)).recycle(); in bundleClear_whenParcelled_recyclesParcel()
84 verify(mParcelSpy, times(1)).recycle(); in bundleClear_whenParcelled_recyclesParcel()
89 verify(mParcelSpy, times(1)).recycle(); in bundleClear_whenParcelled_recyclesParcel()
97 verify(mParcelSpy, times(0)).recycle(); in bundleClear_whenUnparcelledWithLazyValueUnwrapped_recyclesParcel()
100 verify(mParcelSpy, times(1)).recycle(); in bundleClear_whenUnparcelledWithLazyValueUnwrapped_recyclesParcel()
105 verify(mParcelSpy, times(1)).recycle(); in bundleClear_whenUnparcelledWithLazyValueUnwrapped_recyclesParcel()
112 verify(mParcelSpy, times(0)).recycle(); in bundleClear_whenUnparcelledWithLazy_recyclesParcel()
115 verify(mParcelSpy, times(1)).recycle(); in bundleClear_whenUnparcelledWithLazy_recyclesParcel()
[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.java499 data.recycle(); in query()
500 reply.recycle(); in query()
520 data.recycle(); in getType()
521 reply.recycle(); in getType()
537 data.recycle(); in getTypeAsync()
561 data.recycle(); in insert()
562 reply.recycle(); in insert()
584 data.recycle(); in bulkInsert()
585 reply.recycle(); in bulkInsert()
610 data.recycle(); in applyBatch()
[all …]
/frameworks/base/services/backup/backuplib/java/com/android/server/backup/transport/
DBackupTransportClient.java123 mCallbackPool.recycle(callback); in initializeDevice()
136 mCallbackPool.recycle(callback); in clearBackupData()
149 mCallbackPool.recycle(callback); in finishBackup()
173 mCallbackPool.recycle(callback); in performBackup()
206 mCallbackPool.recycle(callback); in startRestore()
228 mCallbackPool.recycle(callback); in getRestoreData()
241 mCallbackPool.recycle(callback); in finishRestore()
265 mCallbackPool.recycle(callback); in performFullBackup()
278 mCallbackPool.recycle(callback); in checkFullBackupSize()
291 mCallbackPool.recycle(callback); in sendBackupData()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DObjectPoolTests.java77 item.recycle(); in testRecycleActivityConfigurationChangeItem()
92 item.recycle(); in testRecycleActivityResultItem()
107 item.recycle(); in testRecycleConfigurationChangeItem()
122 item.recycle(); in testRecycleDestroyActivityItem()
167 item.recycle(); in testRecycleLaunchActivityItem()
185 item.recycle(); in testRecycleActivityRelaunchItem()
201 item.recycle(); in testRecycleMoveToDisplayItem()
216 item.recycle(); in testRecycleNewIntentItem()
231 item.recycle(); in testRecyclePauseActivityItemItem()
246 item.recycle(); in testRecycleResumeActivityItem()
[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/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/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.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 …]
/frameworks/base/core/java/android/service/notification/
DNotificationAssistantService.java543 args.recycle(); in handleMessage()
568 args.recycle(); in handleMessage()
575 args.recycle(); in handleMessage()
584 args.recycle(); in handleMessage()
591 args.recycle(); in handleMessage()
600 args.recycle(); in handleMessage()
609 args.recycle(); in handleMessage()
620 args.recycle(); in handleMessage()
632 args.recycle(); in handleMessage()
639 args.recycle(); in handleMessage()
[all …]
/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/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()
/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/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DUdfpsControllerTest.java338 downEvent.recycle(); in onActionDownTouch_whenCanDismissLockScreen_entersDevice()
376 moveEvent.recycle(); in onActionMoveTouch_whenCanDismissLockScreen_entersDevice()
400 downEvent.recycle(); in onMultipleTouch_whenCanDismissLockScreen_entersDeviceOnce()
405 moveEvent.recycle(); in onMultipleTouch_whenCanDismissLockScreen_entersDeviceOnce()
594 event.recycle(); in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
598 event.recycle(); in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
617 event.recycle(); in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
621 event.recycle(); in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
640 event.recycle(); in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
644 event.recycle(); in onTouch_propagatesTouchInNativeOrientationAndResolutionParameterized()
[all …]
/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/content/pm/verify/domain/
DDomainVerificationUtils.java66 data.recycle(); in writeHostMap()
91 data.recycle(); in readHostMap()
123 data.recycle(); in writeHostSet()
145 data.recycle(); in readHostSet()

12345678910>>...36