Home
last modified time | relevance | path

Searched refs:obtain (Results 1 – 25 of 3391) sorted by relevance

12345678910>>...136

/cts/tests/tests/os/src/android/os/cts/
DParcelTest.java55 Parcel p1 = Parcel.obtain(); in testObtain()
57 Parcel p2 = Parcel.obtain(); in testObtain()
59 Parcel p3 = Parcel.obtain(); in testObtain()
61 Parcel p4 = Parcel.obtain(); in testObtain()
63 Parcel p5 = Parcel.obtain(); in testObtain()
65 Parcel p6 = Parcel.obtain(); in testObtain()
67 Parcel p7 = Parcel.obtain(); in testObtain()
85 p = Parcel.obtain(); in testAppendFrom()
90 p2 = Parcel.obtain(); in testAppendFrom()
102 p = Parcel.obtain(); in testDataAvail()
[all …]
DMessageTest.java66 Message expected = Message.obtain(mHandler, mRunnable); in testAccessMessageProperties()
81 Message message = Message.obtain(); in testObtain()
94 Message message = Message.obtain(mHandler, WHAT, ARG1, ARG2, OBJ); in testObtain2()
95 Message expected = Message.obtain(message); in testObtain2()
105 Message expected = Message.obtain(mHandler); in testObtain3()
110 Message expected = Message.obtain(mHandler, mRunnable); in testObtain4()
116 Message expected = Message.obtain(mHandler, WHAT); in testObtain5()
122 Message expected = Message.obtain(mHandler, WHAT, OBJ); in testObtain6()
129 Message expected = Message.obtain(mHandler, WHAT, ARG1, ARG2); in testObtain7()
137 Message expected = Message.obtain(mHandler, WHAT, ARG1, ARG2, OBJ); in testObtain8()
[all …]
DMessengerTest.java99 Message message = Message.obtain(mHandler, WHAT, MSG_ARG1, MSG_ARG2); in testSend()
123 Parcel parcel = Parcel.obtain(); in testWriteToParcel()
136 Parcel parcelWithMessenger = Parcel.obtain(); in testWriteMessengerOrNullToParcel()
144 Parcel parcelWithNull = Parcel.obtain(); in testWriteMessengerOrNullToParcel()
184 Message msg = Message.obtain(); in executeTest()
/cts/tests/accessibility/src/android/view/accessibility/cts/
DAccessibilityEventTest.java42 AccessibilityEvent sentEvent = AccessibilityEvent.obtain(); in testMarshaling()
46 Parcel parcel = Parcel.obtain(); in testMarshaling()
62 AccessibilityEvent firstEvent = AccessibilityEvent.obtain(); in testReuse()
64 AccessibilityEvent secondEvent = AccessibilityEvent.obtain(); in testReuse()
74 AccessibilityEvent populatedEvent = AccessibilityEvent.obtain(); in testRecycle()
79 AccessibilityEvent recycledEvent = AccessibilityEvent.obtain(); in testRecycle()
127 AccessibilityEvent event = AccessibilityEvent.obtain(); in testDescribeContents()
141 AccessibilityEvent marshaledEvent = AccessibilityEvent.obtain(); in testMarshaling2()
143 Parcel parcel = Parcel.obtain(); in testMarshaling2()
146 AccessibilityEvent unmarshaledEvent = AccessibilityEvent.obtain(); in testMarshaling2()
[all …]
DAccessibilityWindowInfoTest.java35 AccessibilityWindowInfo w1 = AccessibilityWindowInfo.obtain(); in testObtain()
38 AccessibilityWindowInfo w2 = AccessibilityWindowInfo.obtain(w1); in testObtain()
45 Parcel parcel = Parcel.obtain(); in testParceling()
46 AccessibilityWindowInfo w1 = AccessibilityWindowInfo.obtain(); in testParceling()
57 AccessibilityWindowInfo w = AccessibilityWindowInfo.obtain(); in testDefaultValues()
84 AccessibilityWindowInfo w = AccessibilityWindowInfo.obtain(); in testRecycle()
DAccessibilityNodeInfoTest.java51 AccessibilityNodeInfo sentInfo = AccessibilityNodeInfo.obtain(new View(getContext())); in testMarshaling()
55 Parcel parcel = Parcel.obtain(); in testMarshaling()
71 AccessibilityEvent firstInfo = AccessibilityEvent.obtain(); in testReuse()
73 AccessibilityEvent secondInfo = AccessibilityEvent.obtain(); in testReuse()
83 AccessibilityNodeInfo populatedInfo = AccessibilityNodeInfo.obtain(); in testRecycle()
88 AccessibilityNodeInfo recycledInfo = AccessibilityNodeInfo.obtain(); in testRecycle()
99 AccessibilityNodeInfo info = AccessibilityNodeInfo.obtain(); in testDescribeContents()
116 AccessibilityNodeInfo info = AccessibilityNodeInfo.obtain(); in testAddActions()
149 AccessibilityNodeInfo info = AccessibilityNodeInfo.obtain(); in testRemoveActions()
179 AccessibilityNodeInfo info = AccessibilityNodeInfo.obtain(); in testChangeTextAfterSetting_shouldNotAffectInfo()
[all …]
DAccessibilityNodeInfo_RangeInfoTest.java38 r = RangeInfo.obtain(RangeInfo.RANGE_TYPE_INT, -100, 0, -50); in testObtain()
44 r = RangeInfo.obtain(RangeInfo.RANGE_TYPE_FLOAT, -1.5f, 1.5f, 0.0f); in testObtain()
50 r = RangeInfo.obtain(RangeInfo.RANGE_TYPE_PERCENT, 0.0f, 100.0f, 50.0f); in testObtain()
DAccessibilityRecordTest.java43 AccessibilityRecord originalRecord = AccessibilityRecord.obtain(); in testObtain()
45 AccessibilityRecord cloneRecord = AccessibilityRecord.obtain(originalRecord); in testObtain()
55 AccessibilityRecord populatedRecord = AccessibilityRecord.obtain(); in testRecycle()
60 AccessibilityRecord recycledRecord = AccessibilityRecord.obtain(); in testRecycle()
110 record.setParcelableData(Message.obtain(null, 1, 2, 3)); in fullyPopulateAccessibilityRecord()
/cts/tests/tests/text/src/android/text/method/cts/
DScrollingMovementMethodTest.java129 MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, 0, 0, 0)); in testOnTouchEventHorizontalMotion()
139 MotionEvent.obtain(now, now, MotionEvent.ACTION_MOVE, tinyDist, 0, 0)); in testOnTouchEventHorizontalMotion()
148 MotionEvent.obtain(now, now, MotionEvent.ACTION_UP, tinyDist, 0, 0)); in testOnTouchEventHorizontalMotion()
156 MotionEvent.obtain(now, now, MotionEvent.ACTION_DOWN, 0, 0, 0)); in testOnTouchEventHorizontalMotion()
166 MotionEvent.obtain(now, now, MotionEvent.ACTION_MOVE, distFar, 0, 0)); in testOnTouchEventHorizontalMotion()
178 MotionEvent.obtain(now, now, MotionEvent.ACTION_MOVE, distTooFar, 0, 0)); in testOnTouchEventHorizontalMotion()
189 MotionEvent.obtain(now, now, MotionEvent.ACTION_MOVE, 0, 0, 0)); in testOnTouchEventHorizontalMotion()
199 MotionEvent.obtain(now, now, MotionEvent.ACTION_UP, 0, 0, 0)); in testOnTouchEventHorizontalMotion()
222 mResult = method.onTouchEvent(mTextView, mSpannable, MotionEvent.obtain(now, now,
232 mResult = method.onTouchEvent(mTextView, mSpannable, MotionEvent.obtain(now, now,
[all …]
/cts/tests/tests/view/src/android/view/cts/
DAbsSavedStateTest.java59 AbsSavedState superState = new AbsSavedStateImpl(Parcel.obtain()); in testConstructor()
65 Parcel source = Parcel.obtain(); in testConstructor()
71 source = Parcel.obtain(); in testConstructor()
75 source = Parcel.obtain(); in testConstructor()
81 source = Parcel.obtain(); in testConstructor()
97 Parcel parcel = Parcel.obtain(); in testCreator()
105 parcel = Parcel.obtain(); in testCreator()
123 Parcel dest = Parcel.obtain(); in testWriteToParcel()
DView_BaseSavedStateTest.java58 BaseSavedState superState = new BaseSavedState(Parcel.obtain()); in testConstructors()
64 Parcel source = Parcel.obtain(); in testConstructors()
71 source = Parcel.obtain(); in testConstructors()
89 Parcel parcel = Parcel.obtain(); in testCreator()
101 Parcel dest = Parcel.obtain(); in testWriteToParcel()
DVelocityTrackerTest.java58 mVelocityTracker = VelocityTracker.obtain(); in setup()
163 VelocityTracker vt = VelocityTracker.obtain(); in testUsesRawCoordinates()
170 MotionEvent event = MotionEvent.obtain(downTime, eventTime, action, 0, 0, 0); in testUsesRawCoordinates()
202 MotionEvent ev = MotionEvent.obtain(0L, mTime, MotionEvent.ACTION_MOVE, mPx, mPy, 0); in addMovement()
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DAdvertiseDataTest.java42 Parcel parcel = Parcel.obtain(); in testEmptyData()
58 Parcel parcel = Parcel.obtain(); in testEmptyServiceUuid()
71 Parcel parcel = Parcel.obtain(); in testEmptyManufacturerData()
87 Parcel parcel = Parcel.obtain(); in testEmptyServiceData()
103 Parcel parcel = Parcel.obtain(); in testServiceUuid()
121 Parcel parcel = Parcel.obtain(); in testManufacturerData()
144 Parcel parcel = Parcel.obtain(); in testServiceData()
161 Parcel parcel = Parcel.obtain(); in testIncludeTxPower()
/cts/tests/tests/text/src/android/text/cts/
DDynamicLayoutTest.java261 return StaticLayout.Builder.obtain(text, 0, in createStaticLayout()
321 final DynamicLayout.Builder builder = DynamicLayout.Builder.obtain(MULTLINE_CHAR_SEQUENCE, in testBuilder_obtain()
337 final DynamicLayout.Builder builder = DynamicLayout.Builder.obtain(null, mDefaultPaint, 0); in testBuilder_obtainWithNullText()
343 final DynamicLayout.Builder builder = DynamicLayout.Builder.obtain(MULTLINE_CHAR_SEQUENCE, in testBuilder_obtainWithNullPaint()
350 final DynamicLayout.Builder builder = DynamicLayout.Builder.obtain(MULTLINE_CHAR_SEQUENCE, in testBuilder_setDisplayTest()
359 final DynamicLayout.Builder builder = DynamicLayout.Builder.obtain(MULTLINE_CHAR_SEQUENCE, in testBuilder_setAlignment()
368 final DynamicLayout.Builder builder = DynamicLayout.Builder.obtain(MULTLINE_CHAR_SEQUENCE, in testBuilder_setLineSpacing()
378 final DynamicLayout.Builder builder = DynamicLayout.Builder.obtain(MULTLINE_CHAR_SEQUENCE, in testBuilder_ellipsization()
398 final DynamicLayout.Builder builder = DynamicLayout.Builder.obtain(MULTLINE_CHAR_SEQUENCE, in testBuilder_otherSetters()
415 final DynamicLayout layout = DynamicLayout.Builder.obtain(builder, in testReflow_afterSpanChangedShouldNotThrowException()
DStaticLayoutTest.java160 StaticLayout.Builder builder = StaticLayout.Builder.obtain(LAYOUT_TEXT, 0, in testBuilder()
175 StaticLayout.Builder builder = StaticLayout.Builder.obtain(null, 0, 0, null, 0); in testBuilder()
184 StaticLayout.Builder builder = StaticLayout.Builder.obtain(LAYOUT_TEXT, 0, in testBuilder()
192 StaticLayout.Builder builder = StaticLayout.Builder.obtain(LAYOUT_TEXT, 0, in testBuilder()
200 StaticLayout.Builder builder = StaticLayout.Builder.obtain(LAYOUT_TEXT, 0, in testBuilder()
209 StaticLayout.Builder builder = StaticLayout.Builder.obtain(LAYOUT_TEXT, 0, in testBuilder()
221 StaticLayout.Builder builder = StaticLayout.Builder.obtain(LAYOUT_TEXT, 0, in testBuilder()
232 StaticLayout.Builder builder = StaticLayout.Builder.obtain(LAYOUT_TEXT, 0, in testBuilder()
251 StaticLayout.Builder builder = StaticLayout.Builder.obtain(tmpText, 0, tmpText.length(), in testSetLineSpacing_whereLineEndsWithNextLine()
265 builder = StaticLayout.Builder.obtain("a\n", 0, text.length(), mDefaultPaint, in testSetLineSpacing_whereLineEndsWithNextLine()
[all …]
/cts/tests/tests/content/src/android/content/cts/
DComponentNameTest.java79 final Parcel parcel = Parcel.obtain(); in testConstructor()
110 final Parcel parcel1 = Parcel.obtain(); in testReadFromParcel()
117 final Parcel parcel2 = Parcel.obtain(); in testReadFromParcel()
195 Parcel parcel = Parcel.obtain(); in testWriteToParcel()
203 parcel = Parcel.obtain(); in testWriteToParcel()
/cts/tests/tests/text/src/android/text/style/cts/
DAlignmentSpan_StandardTest.java42 final Parcel p = Parcel.obtain(); in testConstructor()
78 Parcel p = Parcel.obtain(); in testWriteToParcel()
89 p = Parcel.obtain(); in testWriteToParcel()
100 p = Parcel.obtain(); in testWriteToParcel()
DLeadingMarginSpan_StandardTest.java42 final Parcel p = Parcel.obtain(); in testConstructor()
86 Parcel p = Parcel.obtain(); in testWriteToParcel()
98 p = Parcel.obtain(); in testWriteToParcel()
DStrikethroughSpanTest.java43 Parcel p = Parcel.obtain(); in testConstructor()
86 Parcel p = Parcel.obtain(); in testWriteToParcel()
102 final StaticLayout layout = StaticLayout.Builder.obtain( in textWidth()
/cts/tests/tests/telecom/src/android/telecom/cts/
DDataObjectUnitTests.java82 Parcel p = Parcel.obtain(); in testPhoneAccount()
114 Parcel p = Parcel.obtain(); in testPhoneAccountHandle()
152 Parcel p = Parcel.obtain(); in testConnectionRequest()
186 Parcel p = Parcel.obtain(); in testDisconnectCause()
221 Parcel p = Parcel.obtain(); in testStatusHints()
252 Parcel p = Parcel.obtain(); in testGatewayInfo()
276 Parcel p = Parcel.obtain(); in testCallAudioState()
297 Parcel p = Parcel.obtain(); in testVideoProfile()
314 Parcel p = Parcel.obtain(); in testCameraCapabilities()
/cts/tests/tests/security/src/android/security/cts/
DAmbiguousBundlesTest.java83 Parcel parcel = Parcel.obtain(); in test_android_CVE_2017_13310()
106 Parcel p = Parcel.obtain(); in test_android_CVE_2017_13310()
149 Parcel p = Parcel.obtain(); in test_android_CVE_2018_9339()
186 Parcel parcel = Parcel.obtain(); in test_android_CVE_2018_9339()
269 Parcel parcel = Parcel.obtain(); in test_android_CVE_2017_0806()
324 Parcel parcel = Parcel.obtain(); in test_android_CVE_2017_13311()
426 Parcel parcel = Parcel.obtain(); in test_android_CVE_2017_13287()
476 Parcel p = Parcel.obtain(); in reparcel()
516 Parcel p = Parcel.obtain(); in makeStringToInject()
520 Parcel p2 = Parcel.obtain(); in makeStringToInject()
[all …]
DIBinderExchange.java102 android.os.Parcel _data = android.os.Parcel.obtain(); in putBinder()
103 android.os.Parcel _reply = android.os.Parcel.obtain(); in putBinder()
117 android.os.Parcel _data = android.os.Parcel.obtain(); in getBinder()
118 android.os.Parcel _reply = android.os.Parcel.obtain(); in getBinder()
DOutputConfigurationTest.java41 p = Parcel.obtain(); in testSharedSurfaceOutputConfigurationBasic()
63 p = Parcel.obtain(); in testSharedSurfaceOutputConfigurationBasic()
88 p = Parcel.obtain(); in testSharedSurfaceOutputConfigurationBasic()
/cts/tests/tests/telephony/current/src/android/telephony/embms/cts/
DMbmsStreamingServiceTest.java50 SomeArgs args = SomeArgs.obtain(); in onError()
59 SomeArgs args = SomeArgs.obtain(); in onStreamStateUpdated()
67 SomeArgs args = SomeArgs.obtain(); in onMediaDescriptionUpdated()
73 SomeArgs args = SomeArgs.obtain(); in onBroadcastSignalStrengthUpdated()
80 SomeArgs args = SomeArgs.obtain(); in onStreamMethodUpdated()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCellInfoTest.java373 Parcel p = Parcel.obtain(); in verifyCellInfoCdmaParcelandHashcode()
415 Parcel p = Parcel.obtain(); in verifyCellIdentityCdmaParcel()
456 Parcel p = Parcel.obtain(); in verifyCellSignalStrengthCdmaParcel()
514 Parcel p = Parcel.obtain(); in verifyCellSignalStrengthNrParcel()
523 Parcel p = Parcel.obtain(); in verifyCellIdentityNrParcel()
596 Parcel p = Parcel.obtain(); in verifyCellInfoLteParcelandHashcode()
694 Parcel p = Parcel.obtain(); in verifyCellIdentityLteParcel()
751 Parcel p = Parcel.obtain(); in verifyCellSignalStrengthLteParcel()
770 Parcel p = Parcel.obtain(); in verifyCellInfoWcdmaParcelandHashcode()
827 Parcel p = Parcel.obtain(); in verifyCellIdentityWcdmaParcel()
[all …]

12345678910>>...136