Home
last modified time | relevance | path

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

12345678910>>...25

/frameworks/base/core/java/android/security/
DIKeystoreService.java49 Parcel _data = Parcel.obtain(); in test()
50 Parcel _reply = Parcel.obtain(); in test()
65 Parcel _data = Parcel.obtain(); in get()
66 Parcel _reply = Parcel.obtain(); in get()
82 Parcel _data = Parcel.obtain(); in insert()
83 Parcel _reply = Parcel.obtain(); in insert()
102 Parcel _data = Parcel.obtain(); in del()
103 Parcel _reply = Parcel.obtain(); in del()
120 Parcel _data = Parcel.obtain(); in exist()
121 Parcel _reply = Parcel.obtain(); in exist()
[all …]
/frameworks/base/core/java/android/app/
DActivityManagerNative.java2371 Parcel data = Parcel.obtain(); in startActivity()
2372 Parcel reply = Parcel.obtain(); in startActivity()
2406 Parcel data = Parcel.obtain(); in startActivityAsUser()
2407 Parcel reply = Parcel.obtain(); in startActivityAsUser()
2440 Parcel data = Parcel.obtain(); in startActivityAsCaller()
2441 Parcel reply = Parcel.obtain(); in startActivityAsCaller()
2475 Parcel data = Parcel.obtain(); in startActivityAndWait()
2476 Parcel reply = Parcel.obtain(); in startActivityAndWait()
2510 Parcel data = Parcel.obtain(); in startActivityWithConfig()
2511 Parcel reply = Parcel.obtain(); in startActivityWithConfig()
[all …]
DApplicationThreadNative.java694 Parcel data = Parcel.obtain(); in schedulePauseActivity()
708 Parcel data = Parcel.obtain(); in scheduleStopActivity()
720 Parcel data = Parcel.obtain(); in scheduleWindowVisibility()
731 Parcel data = Parcel.obtain(); in scheduleSleeping()
743 Parcel data = Parcel.obtain(); in scheduleResumeActivity()
756 Parcel data = Parcel.obtain(); in scheduleSendResult()
771 Parcel data = Parcel.obtain(); in scheduleLaunchActivity()
802 Parcel data = Parcel.obtain(); in scheduleRelaunchActivity()
822 Parcel data = Parcel.obtain(); in scheduleNewIntent()
833 Parcel data = Parcel.obtain(); in scheduleDestroyActivity()
[all …]
/frameworks/base/core/java/android/os/storage/
DIMountService.java56 Parcel _data = Parcel.obtain(); in registerListener()
57 Parcel _reply = Parcel.obtain(); in registerListener()
73 Parcel _data = Parcel.obtain(); in unregisterListener()
74 Parcel _reply = Parcel.obtain(); in unregisterListener()
90 Parcel _data = Parcel.obtain(); in isUsbMassStorageConnected()
91 Parcel _reply = Parcel.obtain(); in isUsbMassStorageConnected()
111 Parcel _data = Parcel.obtain(); in setUsbMassStorageEnabled()
112 Parcel _reply = Parcel.obtain(); in setUsbMassStorageEnabled()
129 Parcel _data = Parcel.obtain(); in isUsbMassStorageEnabled()
130 Parcel _reply = Parcel.obtain(); in isUsbMassStorageEnabled()
[all …]
/frameworks/base/telephony/java/android/telephony/
DPhoneStateListener.java510 Message.obtain(mHandler, LISTEN_SERVICE_STATE, 0, 0, serviceState).sendToTarget();
514 Message.obtain(mHandler, LISTEN_SIGNAL_STRENGTH, asu, 0, null).sendToTarget();
518 Message.obtain(mHandler, LISTEN_MESSAGE_WAITING_INDICATOR, mwi ? 1 : 0, 0, null)
523 Message.obtain(mHandler, LISTEN_CALL_FORWARDING_INDICATOR, cfi ? 1 : 0, 0, null)
529 Message.obtain(mHandler, LISTEN_CELL_LOCATION, 0, 0, location).sendToTarget();
533 Message.obtain(mHandler, LISTEN_CALL_STATE, state, 0, incomingNumber).sendToTarget();
537 Message.obtain(mHandler, LISTEN_DATA_CONNECTION_STATE, state, networkType).
542 Message.obtain(mHandler, LISTEN_DATA_ACTIVITY, direction, 0, null).sendToTarget();
546 Message.obtain(mHandler, LISTEN_SIGNAL_STRENGTHS, 0, 0, signalStrength).sendToTarget();
550 Message.obtain(mHandler, LISTEN_OTASP_CHANGED, otaspMode, 0).sendToTarget();
[all …]
/frameworks/base/core/java/android/database/
DBulkCursorNative.java157 Parcel data = Parcel.obtain(); in getWindow()
158 Parcel reply = Parcel.obtain(); in getWindow()
178 Parcel data = Parcel.obtain(); in onMove()
179 Parcel reply = Parcel.obtain(); in onMove()
194 Parcel data = Parcel.obtain(); in deactivate()
195 Parcel reply = Parcel.obtain(); in deactivate()
209 Parcel data = Parcel.obtain(); in close()
210 Parcel reply = Parcel.obtain(); in close()
223 Parcel data = Parcel.obtain(); in requery()
224 Parcel reply = Parcel.obtain(); in requery()
[all …]
/frameworks/base/core/java/android/os/
DMessage.java122 public static Message obtain() { in obtain() method in Message
142 public static Message obtain(Message orig) { in obtain() method in Message
143 Message m = obtain(); in obtain()
164 public static Message obtain(Handler h) { in obtain() method in Message
165 Message m = obtain(); in obtain()
178 public static Message obtain(Handler h, Runnable callback) { in obtain() method in Message
179 Message m = obtain(); in obtain()
193 public static Message obtain(Handler h, int what) { in obtain() method in Message
194 Message m = obtain(); in obtain()
209 public static Message obtain(Handler h, int what, Object obj) { in obtain() method in Message
[all …]
DCommonTimeUtils.java50 android.os.Parcel data = android.os.Parcel.obtain(); in transactGetInt()
51 android.os.Parcel reply = android.os.Parcel.obtain(); in transactGetInt()
71 android.os.Parcel data = android.os.Parcel.obtain(); in transactSetInt()
72 android.os.Parcel reply = android.os.Parcel.obtain(); in transactSetInt()
92 android.os.Parcel data = android.os.Parcel.obtain(); in transactGetLong()
93 android.os.Parcel reply = android.os.Parcel.obtain(); in transactGetLong()
113 android.os.Parcel data = android.os.Parcel.obtain(); in transactSetLong()
114 android.os.Parcel reply = android.os.Parcel.obtain(); in transactSetLong()
134 android.os.Parcel data = android.os.Parcel.obtain(); in transactGetString()
135 android.os.Parcel reply = android.os.Parcel.obtain(); in transactGetString()
[all …]
DServiceManagerNative.java119 Parcel data = Parcel.obtain(); in getService()
120 Parcel reply = Parcel.obtain(); in getService()
131 Parcel data = Parcel.obtain(); in checkService()
132 Parcel reply = Parcel.obtain(); in checkService()
144 Parcel data = Parcel.obtain(); in addService()
145 Parcel reply = Parcel.obtain(); in addService()
159 Parcel data = Parcel.obtain(); in listServices()
160 Parcel reply = Parcel.obtain(); in listServices()
186 Parcel data = Parcel.obtain(); in setPermissionController()
187 Parcel reply = Parcel.obtain(); in setPermissionController()
DHandler.java256 return Message.obtain(this); in obtainMessage()
267 return Message.obtain(this, what); in obtainMessage()
281 return Message.obtain(this, what, obj); in obtainMessage()
295 return Message.obtain(this, what, arg1, arg2); in obtainMessage()
310 return Message.obtain(this, what, arg1, arg2, obj); in obtainMessage()
532 Message msg = Message.obtain(); in sendEmptyMessageDelayed()
548 Message msg = Message.obtain(); in sendEmptyMessageAtTime()
726 Message m = Message.obtain(); in getPostMessage()
732 Message m = Message.obtain(); in getPostMessage()
/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java37 VelocityTracker vt = VelocityTracker.obtain(); in testInitialCondiditions()
49 VelocityTracker vt = VelocityTracker.obtain(); in testClear()
64 VelocityTracker vt = VelocityTracker.obtain(); in testDragAcceleration()
75 VelocityTracker vt = VelocityTracker.obtain(); in testDragDeceleration()
86 VelocityTracker vt = VelocityTracker.obtain(); in testDragLinearHorizontal()
98 VelocityTracker vt = VelocityTracker.obtain(); in testDragLinearVertical()
114 VelocityTracker vt = VelocityTracker.obtain(); in testDragWith2Points()
130 VelocityTracker vt = VelocityTracker.obtain(); in testStabilityInNbPoints()
152 VelocityTracker vt = VelocityTracker.obtain(); in testStabilityInTime()
174 VelocityTracker vt = VelocityTracker.obtain(); in testStabilityInSpace()
[all …]
/frameworks/base/core/java/android/content/
DContentProviderNative.java389 Parcel data = Parcel.obtain(); in query()
390 Parcel reply = Parcel.obtain(); in query()
444 Parcel data = Parcel.obtain(); in getType()
445 Parcel reply = Parcel.obtain(); in getType()
464 Parcel data = Parcel.obtain(); in insert()
465 Parcel reply = Parcel.obtain(); in insert()
485 Parcel data = Parcel.obtain(); in bulkInsert()
486 Parcel reply = Parcel.obtain(); in bulkInsert()
508 Parcel data = Parcel.obtain(); in applyBatch()
509 Parcel reply = Parcel.obtain(); in applyBatch()
[all …]
/frameworks/base/core/java/android/speech/
DSpeechRecognizer.java250 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/tests/SoundTriggerTests/src/android/hardware/soundtrigger/
DSoundTriggerTest.java44 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/
DAsyncChannel.java458 Message msg = Message.obtain(); in disconnect()
496 Message msg = Message.obtain(); in sendMessage()
508 Message msg = Message.obtain(); in sendMessage()
522 Message msg = Message.obtain(); in sendMessage()
538 Message msg = Message.obtain(); in sendMessage()
553 Message msg = Message.obtain(); in sendMessage()
582 Message msg = Message.obtain(); in replyToMessage()
595 Message msg = Message.obtain(); in replyToMessage()
610 Message msg = Message.obtain(); in replyToMessage()
627 Message msg = Message.obtain(); in replyToMessage()
[all …]
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/le/
DAdvertiseDataTest.java42 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/testing/espresso/espresso-sample/src/main/java/com/google/android/apps/common/testing/ui/testapp/
DGestureActivity.java147 doubleTaps.add(MotionEvent.obtain(e)); in onDoubleTap()
155 doubleTapEvents.add(MotionEvent.obtain(e)); in onDoubleTapEvent()
162 confirmedSingleTaps.add(MotionEvent.obtain(e)); in onSingleTapConfirmed()
171 downEvents.add(MotionEvent.obtain(e)); in onDown()
178 singleTaps.add(MotionEvent.obtain(e)); in onSingleTapUp()
186 scrollEvents.add(MotionEvent.obtain(e1)); in onScroll()
187 scrollEvents.add(MotionEvent.obtain(e2)); in onScroll()
195 showPresses.add(MotionEvent.obtain(e)); in onShowPress()
201 longPressEvents.add(MotionEvent.obtain(e)); in onLongPress()
/frameworks/base/core/java/com/android/internal/os/
DHandlerCaller.java114 SomeArgs args = SomeArgs.obtain(); in obtainMessageBOO()
142 SomeArgs args = SomeArgs.obtain(); in obtainMessageIIOO()
149 SomeArgs args = SomeArgs.obtain(); in obtainMessageIOO()
156 SomeArgs args = SomeArgs.obtain(); in obtainMessageIOOO()
164 SomeArgs args = SomeArgs.obtain(); in obtainMessageOO()
171 SomeArgs args = SomeArgs.obtain(); in obtainMessageOOO()
180 SomeArgs args = SomeArgs.obtain(); in obtainMessageOOOO()
190 SomeArgs args = SomeArgs.obtain(); in obtainMessageOOOOO()
201 SomeArgs args = SomeArgs.obtain(); in obtainMessageIIII()
211 SomeArgs args = SomeArgs.obtain(); in obtainMessageIIIIII()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java114 static RILRequest obtain(int request, Message result) { in obtain() method in RILRequest
134 rr.mParcel = Parcel.obtain(); in obtain()
549 p = Parcel.obtain(); in run()
649 RILRequest rr = RILRequest.obtain(RIL_REQUEST_VOICE_RADIO_TECH, result); in getVoiceRadioTechnology()
658 RILRequest rr = RILRequest.obtain(RIL_REQUEST_IMS_REGISTRATION_STATE, result); in getImsRegistrationState()
684 RILRequest rr = RILRequest.obtain(RIL_REQUEST_GET_SIM_STATUS, result); in getIccCardStatus()
694 RILRequest rr = RILRequest.obtain(RIL_REQUEST_SET_UICC_SUBSCRIPTION, result); in setUiccSubscription()
710 RILRequest rr = RILRequest.obtain(RIL_REQUEST_ALLOW_DATA, result); in setDataAllowed()
727 RILRequest rr = RILRequest.obtain(RIL_REQUEST_ENTER_SIM_PIN, result); in supplyIccPinForApp()
747 RILRequest rr = RILRequest.obtain(RIL_REQUEST_ENTER_SIM_PUK, result); in supplyIccPukForApp()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DVelocityTrackerFactory.java33 public static VelocityTrackerInterface obtain(Context ctx) { in obtain() method in VelocityTrackerFactory
37 return NoisyVelocityTracker.obtain(); in obtain()
39 return PlatformVelocityTracker.obtain(); in obtain()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiTrafficPoller.java100 Message.obtain(mTrafficHandler, ADD_CLIENT, client).sendToTarget(); in addClient()
104 Message.obtain(mTrafficHandler, REMOVE_CLIENT, client).sendToTarget(); in removeClient()
128 sendMessageDelayed(Message.obtain(this, TRAFFIC_STATS_POLL, in handleMessage()
141 sendMessageDelayed(Message.obtain(this, TRAFFIC_STATS_POLL, in handleMessage()
164 msg = Message.obtain(mTrafficHandler, in evaluateTrafficStatsPolling()
167 msg = Message.obtain(mTrafficHandler, in evaluateTrafficStatsPolling()
205 Message msg = Message.obtain(); in notifyOnDataActivity()
/frameworks/base/core/java/android/view/
DDragEvent.java266 static DragEvent obtain() { in obtain() method in DragEvent
267 return DragEvent.obtain(0, 0f, 0f, null, null, null, false); in obtain()
271 public static DragEvent obtain(int action, float x, float y, Object localState, in obtain() method in DragEvent
294 public static DragEvent obtain(DragEvent source) { in obtain() method in DragEvent
295 return obtain(source.mAction, source.mX, source.mY, source.mLocalState, in obtain()
488 DragEvent event = DragEvent.obtain();
/frameworks/base/core/java/android/widget/
DExpandableListConnector.java124 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/base/telecomm/java/android/telecom/
DConnectionServiceAdapterServant.java212 SomeArgs args = SomeArgs.obtain();
237 SomeArgs args = SomeArgs.obtain();
262 SomeArgs args = SomeArgs.obtain();
270 SomeArgs args = SomeArgs.obtain();
283 SomeArgs args = SomeArgs.obtain();
301 SomeArgs args = SomeArgs.obtain();
315 SomeArgs args = SomeArgs.obtain();
323 SomeArgs args = SomeArgs.obtain();
333 SomeArgs args = SomeArgs.obtain();
343 SomeArgs args = SomeArgs.obtain();
/frameworks/base/core/tests/benchmarks/src/android/os/
DParcelArrayBenchmark.java39 mWriteParcel = Parcel.obtain(); in setUp()
45 mByteParcel = Parcel.obtain(); in setUp()
47 mIntParcel = Parcel.obtain(); in setUp()
49 mLongParcel = Parcel.obtain(); in setUp()

12345678910>>...25