/frameworks/base/core/tests/coretests/src/android/os/ |
D | ParcelNullabilityTest.java | 41 Parcel p = Parcel.obtain(); in nullByteArray() 49 Parcel p = Parcel.obtain(); in nullBlob() 57 Parcel p = Parcel.obtain(); in nullString() 65 Parcel p = Parcel.obtain(); in nullCharSequence() 73 Parcel p = Parcel.obtain(); in nullStrongBinder() 81 Parcel p = Parcel.obtain(); in nullStringInterface() 89 Parcel p = Parcel.obtain(); in nullFileDescriptor() 99 Parcel p = Parcel.obtain(); in nullRawFileDescriptor() 109 Parcel p = Parcel.obtain(); in nullRawFileDescriptorArray() 117 Parcel p = Parcel.obtain(); in nullMap() [all …]
|
/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | ObjectPoolTests.java | 66 ActivityConfigurationChangeItem emptyItem = ActivityConfigurationChangeItem.obtain(null); in testRecycleActivityConfigurationChangeItem() 67 ActivityConfigurationChangeItem item = ActivityConfigurationChangeItem.obtain(config()); in testRecycleActivityConfigurationChangeItem() 74 ActivityConfigurationChangeItem item2 = ActivityConfigurationChangeItem.obtain(config()); in testRecycleActivityConfigurationChangeItem() 81 ActivityResultItem emptyItem = ActivityResultItem.obtain(null); in testRecycleActivityResultItem() 82 ActivityResultItem item = ActivityResultItem.obtain(resultInfoList()); in testRecycleActivityResultItem() 89 ActivityResultItem item2 = ActivityResultItem.obtain(resultInfoList()); in testRecycleActivityResultItem() 96 ConfigurationChangeItem emptyItem = ConfigurationChangeItem.obtain(null); in testRecycleConfigurationChangeItem() 97 ConfigurationChangeItem item = ConfigurationChangeItem.obtain(config()); in testRecycleConfigurationChangeItem() 104 ConfigurationChangeItem item2 = ConfigurationChangeItem.obtain(config()); in testRecycleConfigurationChangeItem() 111 DestroyActivityItem emptyItem = DestroyActivityItem.obtain(false, 0); in testRecycleDestroyActivityItem() [all …]
|
D | TransactionParcelTests.java | 85 mParcel = Parcel.obtain(); in setUp() 91 ConfigurationChangeItem item = ConfigurationChangeItem.obtain(config()); in testConfigurationChange() 104 ActivityConfigurationChangeItem item = ActivityConfigurationChangeItem.obtain(config()); in testActivityConfigChange() 118 MoveToDisplayItem item = MoveToDisplayItem.obtain(4 /* targetDisplayId */, config()); in testMoveToDisplay() 131 NewIntentItem item = NewIntentItem.obtain(referrerIntentList(), false); in testNewIntent() 144 ActivityResultItem item = ActivityResultItem.obtain(resultInfoList()); in testActivityResult() 157 PipModeChangeItem item = PipModeChangeItem.obtain(true /* isInPipMode */, config()); in testPipModeChange() 170 MultiWindowModeChangeItem item = MultiWindowModeChangeItem.obtain( in testMultiWindowModeChange() 185 WindowVisibilityItem item = WindowVisibilityItem.obtain(true /* showWindow */); in testWindowVisibilityChange() 195 item = WindowVisibilityItem.obtain(false); in testWindowVisibilityChange() [all …]
|
/frameworks/base/core/java/android/database/ |
D | BulkCursorNative.java | 159 Parcel data = Parcel.obtain(); in getWindow() 160 Parcel reply = Parcel.obtain(); in getWindow() 180 Parcel data = Parcel.obtain(); in onMove() 181 Parcel reply = Parcel.obtain(); in onMove() 196 Parcel data = Parcel.obtain(); in deactivate() 197 Parcel reply = Parcel.obtain(); in deactivate() 211 Parcel data = Parcel.obtain(); in close() 212 Parcel reply = Parcel.obtain(); in close() 225 Parcel data = Parcel.obtain(); in requery() 226 Parcel reply = Parcel.obtain(); in requery() [all …]
|
/frameworks/base/core/java/com/android/internal/statusbar/ |
D | NotificationVisibility.java | 100 return obtain(this.key, this.rank, this.count, this.visible, this.location); in clone() 144 public static NotificationVisibility obtain(String key, int rank, int count, boolean visible) { in obtain() method in NotificationVisibility 145 return obtain(key, rank, count, visible, in obtain() 152 public static NotificationVisibility obtain(String key, int rank, int count, boolean visible, in obtain() method in NotificationVisibility 154 NotificationVisibility vo = obtain(); in obtain() 163 private static NotificationVisibility obtain(Parcel in) { in obtain() method in NotificationVisibility 164 NotificationVisibility vo = obtain(); in obtain() 169 private static NotificationVisibility obtain() { in obtain() method in NotificationVisibility 192 return obtain(parcel);
|
/frameworks/base/core/java/android/os/ |
D | Message.java | 153 public static Message obtain() { in obtain() method in Message 173 public static Message obtain(Message orig) { in obtain() method in Message 174 Message m = obtain(); in obtain() 196 public static Message obtain(Handler h) { in obtain() method in Message 197 Message m = obtain(); in obtain() 210 public static Message obtain(Handler h, Runnable callback) { in obtain() method in Message 211 Message m = obtain(); in obtain() 225 public static Message obtain(Handler h, int what) { in obtain() method in Message 226 Message m = obtain(); in obtain() 241 public static Message obtain(Handler h, int what, Object obj) { in obtain() method in Message [all …]
|
/frameworks/base/apct-tests/perftests/core/src/android/text/ |
D | StaticLayoutPerfTest.java | 73 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_FixedText_NoStyle_Greedy_NoHyphenation() 88 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_RandomText_NoStyled_Greedy_NoHyphenation() 103 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_RandomText_NoStyled_Greedy_Hyphenation() 118 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_RandomText_NoStyled_Balanced_NoHyphenation() 133 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_RandomText_NoStyled_Balanced_Hyphenation() 148 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_RandomText_Styled_Greedy_NoHyphenation() 165 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation() 183 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_PrecomputedText_NoStyled_Greedy_NoHyphenation_DirDifferent() 201 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_PrecomputedText_NoStyled_Greedy_Hyphenation() 218 StaticLayout.Builder.obtain(text, 0, text.length(), PAINT, TEXT_WIDTH) in testCreate_PrecomputedText_NoStyled_Balanced_NoHyphenation() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | VelocityTest.java | 39 VelocityTracker vt = VelocityTracker.obtain(); in testInitialCondiditions() 51 VelocityTracker vt = VelocityTracker.obtain(); in testClear() 66 VelocityTracker vt = VelocityTracker.obtain(); in testDragAcceleration() 77 VelocityTracker vt = VelocityTracker.obtain(); in testDragDeceleration() 89 VelocityTracker vt = VelocityTracker.obtain(); in testDragLinearHorizontal() 102 VelocityTracker vt = VelocityTracker.obtain(); in testDragLinearVertical() 119 VelocityTracker vt = VelocityTracker.obtain(); in testDragWith2Points() 136 VelocityTracker vt = VelocityTracker.obtain(); in testStabilityInNbPoints() 158 VelocityTracker vt = VelocityTracker.obtain(); in testStabilityInTime() 180 VelocityTracker vt = VelocityTracker.obtain(); in testStabilityInSpace() [all …]
|
/frameworks/base/core/java/android/content/ |
D | ContentProviderNative.java | 401 Parcel data = Parcel.obtain(); in query() 402 Parcel reply = Parcel.obtain(); in query() 449 Parcel data = Parcel.obtain(); in getType() 450 Parcel reply = Parcel.obtain(); in getType() 470 Parcel data = Parcel.obtain(); in insert() 471 Parcel reply = Parcel.obtain(); in insert() 492 Parcel data = Parcel.obtain(); in bulkInsert() 493 Parcel reply = Parcel.obtain(); in bulkInsert() 516 Parcel data = Parcel.obtain(); in applyBatch() 517 Parcel reply = Parcel.obtain(); in applyBatch() [all …]
|
/frameworks/base/core/java/android/speech/ |
D | SpeechRecognizer.java | 250 putMessage(Message.obtain(mHandler, MSG_CHANGE_LISTENER, listener)); in setRecognitionListener() 295 putMessage(Message.obtain(mHandler, MSG_START, recognizerIntent)); in startListening() 310 putMessage(Message.obtain(mHandler, MSG_STOP)); in stopListening() 320 putMessage(Message.obtain(mHandler, MSG_CANCEL)); in cancel() 472 Message.obtain(mInternalHandler, MSG_BEGINNING_OF_SPEECH).sendToTarget(); in onBeginningOfSpeech() 476 Message.obtain(mInternalHandler, MSG_BUFFER_RECEIVED, buffer).sendToTarget(); in onBufferReceived() 480 Message.obtain(mInternalHandler, MSG_END_OF_SPEECH).sendToTarget(); in onEndOfSpeech() 484 Message.obtain(mInternalHandler, MSG_ERROR, error).sendToTarget(); in onError() 488 Message.obtain(mInternalHandler, MSG_READY_FOR_SPEECH, noiseParams).sendToTarget(); in onReadyForSpeech() 492 Message.obtain(mInternalHandler, MSG_RESULTS, results).sendToTarget(); in onResults() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | HandlerCaller.java | 127 SomeArgs args = SomeArgs.obtain(); in obtainMessageBOO() 157 SomeArgs args = SomeArgs.obtain(); in obtainMessageIIOO() 165 SomeArgs args = SomeArgs.obtain(); in obtainMessageIOO() 172 SomeArgs args = SomeArgs.obtain(); in obtainMessageIOOO() 181 SomeArgs args = SomeArgs.obtain(); in obtainMessageIIOOO() 190 SomeArgs args = SomeArgs.obtain(); in obtainMessageIIOOOO() 200 SomeArgs args = SomeArgs.obtain(); in obtainMessageOO() 208 SomeArgs args = SomeArgs.obtain(); in obtainMessageOOO() 217 SomeArgs args = SomeArgs.obtain(); in obtainMessageOOOO() 227 SomeArgs args = SomeArgs.obtain(); in obtainMessageOOOOO() [all …]
|
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/ |
D | SoundTriggerTest.java | 44 Parcel parcel = Parcel.obtain(); in testKeyphraseParcelUnparcel_noUsers() 63 Parcel parcel = Parcel.obtain(); in testKeyphraseParcelUnparcel_zeroUsers() 82 Parcel parcel = Parcel.obtain(); in testKeyphraseParcelUnparcel_pos() 105 Parcel parcel = Parcel.obtain(); in testKeyphraseSoundModelParcelUnparcel_noData() 128 Parcel parcel = Parcel.obtain(); in testKeyphraseSoundModelParcelUnparcel_zeroData() 150 Parcel parcel = Parcel.obtain(); in testKeyphraseSoundModelParcelUnparcel_noKeyphrases() 172 Parcel parcel = Parcel.obtain(); in testKeyphraseSoundModelParcelUnparcel_zeroKeyphrases() 197 Parcel parcel = Parcel.obtain(); in testKeyphraseSoundModelParcelUnparcel_largeData() 217 Parcel parcel = Parcel.obtain(); in testRecognitionEventParcelUnparcel_noData() 234 Parcel parcel = Parcel.obtain(); in testRecognitionEventParcelUnparcel_zeroData() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | AsyncChannel.java | 468 Message msg = Message.obtain(); in disconnect() 506 Message msg = Message.obtain(); in sendMessage() 519 Message msg = Message.obtain(); in sendMessage() 534 Message msg = Message.obtain(); in sendMessage() 551 Message msg = Message.obtain(); in sendMessage() 566 Message msg = Message.obtain(); in sendMessage() 597 Message msg = Message.obtain(); in replyToMessage() 611 Message msg = Message.obtain(); in replyToMessage() 626 Message msg = Message.obtain(); in replyToMessage() 644 Message msg = Message.obtain(); in replyToMessage() [all …]
|
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/ |
D | AdvertiseDataTest.java | 42 Parcel parcel = Parcel.obtain(); in testEmptyData() 53 Parcel parcel = Parcel.obtain(); in testEmptyServiceUuid() 64 Parcel parcel = Parcel.obtain(); in testEmptyManufacturerData() 79 Parcel parcel = Parcel.obtain(); in testEmptyServiceData() 94 Parcel parcel = Parcel.obtain(); in testServiceUuid() 110 Parcel parcel = Parcel.obtain(); in testManufacturerData() 131 Parcel parcel = Parcel.obtain(); in testServiceData()
|
/frameworks/base/core/tests/coretests/src/android/view/accessibility/ |
D | AccessibilityCacheTest.java | 92 AccessibilityEvent event = AccessibilityEvent.obtain(); in testEmptyCache_a11yEventsHaveNoEffect() 115 windowInfo = AccessibilityWindowInfo.obtain(); in addThenGetWindow_returnsEquivalentButNotSameWindow() 119 copyOfInfo = AccessibilityWindowInfo.obtain(windowInfo); in addThenGetWindow_returnsEquivalentButNotSameWindow() 155 windowInfo1 = AccessibilityWindowInfo.obtain(); in setWindowsThenGetWindows_returnsInDecreasingLayerOrder() 158 windowInfo2 = AccessibilityWindowInfo.obtain(); in setWindowsThenGetWindows_returnsInDecreasingLayerOrder() 188 AccessibilityEvent.obtain(AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED)); in addWindowThenStateChangedEvent_noLongerInCache() 196 AccessibilityEvent.obtain(AccessibilityEvent.TYPE_WINDOWS_CHANGED)); in addWindowThenWindowsChangedEvent_noLongerInCache() 206 nodeCopy = AccessibilityNodeInfo.obtain(nodeInfo); in addThenGetNode_returnsEquivalentNode() 226 nodeInfo2 = AccessibilityNodeInfo.obtain(nodeInfo1); in overwriteThenGetNode_returnsNewNode() 288 .obtain(AccessibilityEvent.TYPE_WINDOW_CONTENT_CHANGED); in subTreeChangeEvent_clearsNodeAndChild() [all …]
|
D | AccessibilityEventTest.java | 55 AccessibilityEvent event = AccessibilityEvent.obtain(); in testImportantForAccessibiity_getSetWorkAcrossParceling() 66 AccessibilityEvent event = AccessibilityEvent.obtain(); in testSouceNodeId_getSetWorkAcrossParceling() 76 AccessibilityEvent event = AccessibilityEvent.obtain(); in testWindowChanges_getSetWorkAcrossParceling() 94 Parcel parcel = Parcel.obtain(); in copyEventViaParcel()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | ConnectionServiceAdapterServant.java | 387 SomeArgs args = SomeArgs.obtain(); 400 SomeArgs args = SomeArgs.obtain(); 431 SomeArgs args = SomeArgs.obtain(); 467 SomeArgs args = SomeArgs.obtain(); 475 SomeArgs args = SomeArgs.obtain(); 484 SomeArgs args = SomeArgs.obtain(); 499 SomeArgs args = SomeArgs.obtain(); 508 SomeArgs args = SomeArgs.obtain(); 517 SomeArgs args = SomeArgs.obtain(); 532 SomeArgs args = SomeArgs.obtain(); [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | NearestTouchFrameTest.java | 66 MotionEvent ev = MotionEvent.obtain(0, 0, 0, in testNoActionOnLargeDevices() 83 MotionEvent ev = MotionEvent.obtain(0, 0, 0, in testInvisibleViews() 103 MotionEvent ev = MotionEvent.obtain(0, 0, 0, in testNearestView_DetachedViewsExcluded() 119 MotionEvent ev = MotionEvent.obtain(0, 0, 0, in testHorizontalSelection_Left() 135 MotionEvent ev = MotionEvent.obtain(0, 0, 0, in testHorizontalSelection_Right() 151 MotionEvent ev = MotionEvent.obtain(0, 0, 0, in testVerticalSelection_Top() 167 MotionEvent ev = MotionEvent.obtain(0, 0, 0, in testVerticalSelection_Bottom() 181 MotionEvent ev = MotionEvent.obtain(0, 0, 0, 5 /* x */, 18 /* y */, 0); in testViewNotAttachedNoCrash()
|
/frameworks/base/core/java/android/widget/ |
D | ExpandableListConnector.java | 124 return PositionMetadata.obtain(flPos, ExpandableListPosition.GROUP, flPos, in getUnflattenedPos() 163 return PositionMetadata.obtain(flPos, ExpandableListPosition.GROUP, in getUnflattenedPos() 176 return PositionMetadata.obtain(flPos, ExpandableListPosition.CHILD, in getUnflattenedPos() 243 return PositionMetadata.obtain(flPos, ExpandableListPosition.GROUP, groupPos, -1, in getUnflattenedPos() 274 return PositionMetadata.obtain(pos.groupPos, pos.type, in getFlattenedPos() 304 return PositionMetadata.obtain(midExpGm.flPos, pos.type, in getFlattenedPos() 308 return PositionMetadata.obtain(midExpGm.flPos + pos.childPos in getFlattenedPos() 347 return PositionMetadata.obtain(flPos, pos.type, pos.groupPos, in getFlattenedPos() 361 return PositionMetadata.obtain(flPos, pos.type, pos.groupPos, in getFlattenedPos() 595 ExpandableListPosition elGroupPos = ExpandableListPosition.obtain( in collapseGroup() [all …]
|
/frameworks/opt/setupwizard/library/gingerbread/test/instrumentation/src/com/android/setupwizardlib/util/ |
D | LinkAccessibilityHelperTest.java | 89 AccessibilityEvent event = AccessibilityEvent.obtain(); in testOnPopulateEventForVirtualView() 102 AccessibilityEvent event = AccessibilityEvent.obtain(); in testOnPopulateEventForVirtualViewHost() 116 AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(); in testOnPopulateNodeForVirtualView() 139 AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(); in testNullLayout() 155 AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(); in testRtlLayout() 179 AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(); in testMultilineLink() 206 AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(); in testRtlMultilineLink() 239 AccessibilityNodeInfoCompat info = AccessibilityNodeInfoCompat.obtain(); in testBidiMultilineLink() 263 AccessibilityEvent.obtain(AccessibilityEvent.TYPE_VIEW_CLICKED); in testMethodDelegation() 287 AccessibilityNodeInfoCompat accessibilityNodeInfo = AccessibilityNodeInfoCompat.obtain(); in testMethodDelegation()
|
/frameworks/base/core/tests/benchmarks/src/android/os/ |
D | ParcelArrayBenchmark.java | 40 mWriteParcel = Parcel.obtain(); in setUp() 46 mByteParcel = Parcel.obtain(); in setUp() 48 mIntParcel = Parcel.obtain(); in setUp() 50 mLongParcel = Parcel.obtain(); in setUp()
|
/frameworks/base/test-runner/src/android/test/ |
D | TouchUtils.java | 261 MotionEvent event = MotionEvent.obtain(downTime, eventTime, in tapView() 268 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, in tapView() 274 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, x, y, 0); in tapView() 301 MotionEvent event = MotionEvent.obtain(downTime, eventTime, in touchAndCancelView() 308 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_CANCEL, in touchAndCancelView() 336 MotionEvent event = MotionEvent.obtain(downTime, eventTime, in clickView() 344 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, in clickView() 350 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, x, y, 0); in clickView() 397 MotionEvent event = MotionEvent.obtain(downTime, eventTime, in longClickView() 404 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, in longClickView() [all …]
|
/frameworks/base/core/java/android/view/ |
D | DragEvent.java | 289 static DragEvent obtain() { in obtain() method in DragEvent 290 return DragEvent.obtain(0, 0f, 0f, null, null, null, null, false); in obtain() 294 public static DragEvent obtain(int action, float x, float y, Object localState, in obtain() method in DragEvent 320 public static DragEvent obtain(DragEvent source) { in obtain() method in DragEvent 321 return obtain(source.mAction, source.mX, source.mY, source.mLocalState, in obtain() 534 DragEvent event = DragEvent.obtain();
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/procstats/ |
D | SparseMappingTableTest.java | 47 final Parcel dataParcel = Parcel.obtain(); in testParcelingEmpty() 50 final Parcel tableParcel = Parcel.obtain(); in testParcelingEmpty() 81 final Parcel dataParcel = Parcel.obtain(); in testParceling() 84 final Parcel tableParcel = Parcel.obtain(); in testParceling() 128 final Parcel dataParcel = Parcel.obtain(); in testParcelingWithReset() 131 final Parcel tableParcel = Parcel.obtain(); in testParcelingWithReset()
|
/frameworks/base/wifi/tests/src/android/net/wifi/rtt/ |
D | WifiRttManagerTest.java | 150 Parcel parcelW = Parcel.obtain(); in testRangingRequestParcel() 155 Parcel parcelR = Parcel.obtain(); in testRangingRequestParcel() 248 Parcel parcelW = Parcel.obtain(); in testRangingResultsParcel() 253 Parcel parcelR = Parcel.obtain(); in testRangingResultsParcel() 264 parcelW = Parcel.obtain(); in testRangingResultsParcel() 269 parcelR = Parcel.obtain(); in testRangingResultsParcel() 312 Parcel parcelW = Parcel.obtain(); in testResponderConfigParcel() 317 Parcel parcelR = Parcel.obtain(); in testResponderConfigParcel() 329 parcelW = Parcel.obtain(); in testResponderConfigParcel() 334 parcelR = Parcel.obtain(); in testResponderConfigParcel()
|