Home
last modified time | relevance | path

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

12345678

/frameworks/base/core/java/android/database/
DBulkCursorNative.java208 Parcel data = Parcel.obtain(); in getWindow()
209 Parcel reply = Parcel.obtain(); in getWindow()
231 Parcel data = Parcel.obtain(); in onMove()
232 Parcel reply = Parcel.obtain(); in onMove()
248 Parcel data = Parcel.obtain(); in count()
249 Parcel reply = Parcel.obtain(); in count()
270 Parcel data = Parcel.obtain(); in getColumnNames()
271 Parcel reply = Parcel.obtain(); in getColumnNames()
293 Parcel data = Parcel.obtain(); in deactivate()
294 Parcel reply = Parcel.obtain(); in deactivate()
[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 …]
DIMountServiceListener.java113 Parcel _data = Parcel.obtain(); in onUsbMassStorageConnectionChanged()
114 Parcel _reply = Parcel.obtain(); in onUsbMassStorageConnectionChanged()
138 Parcel _data = Parcel.obtain(); in onStorageStateChanged()
139 Parcel _reply = Parcel.obtain(); in onStorageStateChanged()
/frameworks/base/core/java/android/app/
DActivityManagerNative.java1337 Parcel data = Parcel.obtain(); in startActivity()
1338 Parcel reply = Parcel.obtain(); in startActivity()
1362 Parcel data = Parcel.obtain(); in startActivityAndWait()
1363 Parcel reply = Parcel.obtain(); in startActivityAndWait()
1387 Parcel data = Parcel.obtain(); in startActivityWithConfig()
1388 Parcel reply = Parcel.obtain(); in startActivityWithConfig()
1412 Parcel data = Parcel.obtain(); in startActivityIntentSender()
1413 Parcel reply = Parcel.obtain(); in startActivityIntentSender()
1438 Parcel data = Parcel.obtain(); in startNextMatchingActivity()
1439 Parcel reply = Parcel.obtain(); in startNextMatchingActivity()
[all …]
DApplicationThreadNative.java430 Parcel data = Parcel.obtain(); in schedulePauseActivity()
443 Parcel data = Parcel.obtain(); in scheduleStopActivity()
455 Parcel data = Parcel.obtain(); in scheduleWindowVisibility()
466 Parcel data = Parcel.obtain(); in scheduleResumeActivity()
477 Parcel data = Parcel.obtain(); in scheduleSendResult()
490 Parcel data = Parcel.obtain(); in scheduleLaunchActivity()
510 Parcel data = Parcel.obtain(); in scheduleRelaunchActivity()
530 Parcel data = Parcel.obtain(); in scheduleNewIntent()
541 Parcel data = Parcel.obtain(); in scheduleDestroyActivity()
554 Parcel data = Parcel.obtain(); in scheduleReceiver()
[all …]
/frameworks/base/core/java/android/os/
DMessage.java98 public static Message obtain() { in obtain() method in Message
116 public static Message obtain(Message orig) { in obtain() method in Message
117 Message m = obtain(); in obtain()
137 public static Message obtain(Handler h) { in obtain() method in Message
138 Message m = obtain(); in obtain()
151 public static Message obtain(Handler h, Runnable callback) { in obtain() method in Message
152 Message m = obtain(); in obtain()
166 public static Message obtain(Handler h, int what) { in obtain() method in Message
167 Message m = obtain(); in obtain()
182 public static Message obtain(Handler h, int what, Object obj) { in obtain() method in Message
[all …]
DServiceManagerNative.java116 Parcel data = Parcel.obtain(); in getService()
117 Parcel reply = Parcel.obtain(); in getService()
128 Parcel data = Parcel.obtain(); in checkService()
129 Parcel reply = Parcel.obtain(); in checkService()
141 Parcel data = Parcel.obtain(); in addService()
142 Parcel reply = Parcel.obtain(); in addService()
152 Parcel data = Parcel.obtain(); in listServices()
153 Parcel reply = Parcel.obtain(); in listServices()
164 Parcel data = Parcel.obtain(); in setPermissionController()
165 Parcel reply = Parcel.obtain(); in setPermissionController()
DHandler.java178 return Message.obtain(this); in obtainMessage()
189 return Message.obtain(this, what); in obtainMessage()
203 return Message.obtain(this, what, obj); in obtainMessage()
217 return Message.obtain(this, what, arg1, arg2); in obtainMessage()
232 return Message.obtain(this, what, arg1, arg2, obj); in obtainMessage()
392 Message msg = Message.obtain(); in sendEmptyMessageDelayed()
408 Message msg = Message.obtain(); in sendEmptyMessageAtTime()
574 Message m = Message.obtain(); in getPostMessage()
580 Message m = Message.obtain(); in getPostMessage()
DBinder.java313 Parcel data = Parcel.obtain(dataObj); in execTransact()
314 Parcel reply = Parcel.obtain(replyObj); in execTransact()
350 Parcel data = Parcel.obtain(); in dump()
351 Parcel reply = Parcel.obtain(); in dump()
/frameworks/base/telephony/java/android/telephony/
DPhoneStateListener.java260 Message.obtain(mHandler, LISTEN_SERVICE_STATE, 0, 0, serviceState).sendToTarget();
264 Message.obtain(mHandler, LISTEN_SIGNAL_STRENGTH, asu, 0, null).sendToTarget();
268 Message.obtain(mHandler, LISTEN_MESSAGE_WAITING_INDICATOR, mwi ? 1 : 0, 0, null)
273 Message.obtain(mHandler, LISTEN_CALL_FORWARDING_INDICATOR, cfi ? 1 : 0, 0, null)
279 Message.obtain(mHandler, LISTEN_CELL_LOCATION, 0, 0, location).sendToTarget();
283 Message.obtain(mHandler, LISTEN_CALL_STATE, state, 0, incomingNumber).sendToTarget();
287 Message.obtain(mHandler, LISTEN_DATA_CONNECTION_STATE, state, networkType, null).
292 Message.obtain(mHandler, LISTEN_DATA_ACTIVITY, direction, 0, null).sendToTarget();
295 Message.obtain(mHandler, LISTEN_SIGNAL_STRENGTHS, 0, 0, signalStrength).sendToTarget();
/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java39 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()
88 VelocityTracker vt = VelocityTracker.obtain(); in testDragLinearHorizontal()
100 VelocityTracker vt = VelocityTracker.obtain(); in testDragLinearVertical()
116 VelocityTracker vt = VelocityTracker.obtain(); in testDragWith2Points()
132 VelocityTracker vt = VelocityTracker.obtain(); in testStabilityInNbPoints()
154 VelocityTracker vt = VelocityTracker.obtain(); in testStabilityInTime()
176 VelocityTracker vt = VelocityTracker.obtain(); in testStabilityInSpace()
[all …]
/frameworks/base/core/java/android/speech/
DSpeechRecognizer.java230 putMessage(Message.obtain(mHandler, MSG_CHANGE_LISTENER, listener)); in setRecognitionListener()
275 putMessage(Message.obtain(mHandler, MSG_START, recognizerIntent)); in startListening()
290 putMessage(Message.obtain(mHandler, MSG_STOP)); in stopListening()
300 putMessage(Message.obtain(mHandler, MSG_CANCEL)); in cancel()
444 Message.obtain(mInternalHandler, MSG_BEGINNING_OF_SPEECH).sendToTarget(); in onBeginningOfSpeech()
448 Message.obtain(mInternalHandler, MSG_BUFFER_RECEIVED, buffer).sendToTarget(); in onBufferReceived()
452 Message.obtain(mInternalHandler, MSG_END_OF_SPEECH).sendToTarget(); in onEndOfSpeech()
456 Message.obtain(mInternalHandler, MSG_ERROR, error).sendToTarget(); in onError()
460 Message.obtain(mInternalHandler, MSG_READY_FOR_SPEECH, noiseParams).sendToTarget(); in onReadyForSpeech()
464 Message.obtain(mInternalHandler, MSG_RESULTS, results).sendToTarget(); in onResults()
[all …]
DRecognitionService.java254 Message.obtain(mHandler, MSG_RESET).sendToTarget(); in error()
291 Message.obtain(mHandler, MSG_RESET).sendToTarget(); in results()
317 mInternalService.mHandler.sendMessage(Message.obtain(mInternalService.mHandler, in startListening()
326 mInternalService.mHandler.sendMessage(Message.obtain(mInternalService.mHandler, in stopListening()
334 mInternalService.mHandler.sendMessage(Message.obtain(mInternalService.mHandler, in cancel()
/frameworks/base/core/java/android/content/
DContentProviderNative.java294 Parcel data = Parcel.obtain(); in bulkQueryInternal()
295 Parcel reply = Parcel.obtain(); in bulkQueryInternal()
378 Parcel data = Parcel.obtain(); in getType()
379 Parcel reply = Parcel.obtain(); in getType()
398 Parcel data = Parcel.obtain(); in insert()
399 Parcel reply = Parcel.obtain(); in insert()
418 Parcel data = Parcel.obtain(); in bulkInsert()
419 Parcel reply = Parcel.obtain(); in bulkInsert()
439 Parcel data = Parcel.obtain(); in applyBatch()
440 Parcel reply = Parcel.obtain(); in applyBatch()
[all …]
/frameworks/base/telephony/java/com/android/internal/telephony/
DRIL.java99 static RILRequest obtain(int request, Message result) { in obtain() method in RILRequest
120 rr.mp = Parcel.obtain(); in obtain()
567 p = Parcel.obtain(); in run()
683 RILRequest rr = RILRequest.obtain(RIL_REQUEST_GET_SIM_STATUS, result); in getIccCardStatus()
694 RILRequest rr = RILRequest.obtain(RIL_REQUEST_ENTER_SIM_PIN, result); in supplyIccPin()
708 RILRequest rr = RILRequest.obtain(RIL_REQUEST_ENTER_SIM_PUK, result); in supplyIccPuk()
723 RILRequest rr = RILRequest.obtain(RIL_REQUEST_ENTER_SIM_PIN2, result); in supplyIccPin2()
737 RILRequest rr = RILRequest.obtain(RIL_REQUEST_ENTER_SIM_PUK2, result); in supplyIccPuk2()
752 RILRequest rr = RILRequest.obtain(RIL_REQUEST_CHANGE_SIM_PIN, result); in changeIccPin()
767 RILRequest rr = RILRequest.obtain(RIL_REQUEST_CHANGE_SIM_PIN2, result); in changeIccPin2()
[all …]
/frameworks/base/core/java/android/webkit/
DGeolocationPermissions.java140 postUIMessage(Message.obtain(null, RETURN_ORIGINS, values)); in createHandler()
150 postUIMessage(Message.obtain(null, RETURN_ALLOWED, retValues)); in createHandler()
214 postMessage(Message.obtain(null, GET_ORIGINS, callback)); in getOrigins()
240 postMessage(Message.obtain(null, GET_ALLOWED, values)); in getAllowed()
251 postMessage(Message.obtain(null, CLEAR, origin)); in clear()
261 postMessage(Message.obtain(null, ALLOW, origin)); in allow()
269 postMessage(Message.obtain(null, CLEAR_ALL)); in clearAll()
DWebStorage.java177 postUIMessage(Message.obtain(null, RETURN_ORIGINS, values)); in createHandler()
192 postUIMessage(Message.obtain(null, RETURN_USAGE_ORIGIN, retValues)); in createHandler()
207 postUIMessage(Message.obtain(null, RETURN_QUOTA_ORIGIN, retValues)); in createHandler()
240 postMessage(Message.obtain(null, GET_ORIGINS, callback)); in getOrigins()
276 postMessage(Message.obtain(null, GET_USAGE_ORIGIN, values)); in getUsageForOrigin()
299 postMessage(Message.obtain(null, GET_QUOTA_ORIGIN, values)); in getQuotaForOrigin()
311 postMessage(Message.obtain(null, SET_QUOTA_ORIGIN, in setQuotaForOrigin()
325 postMessage(Message.obtain(null, DELETE_ORIGIN, in deleteOrigin()
338 postMessage(Message.obtain(null, DELETE_ALL)); in deleteAllData()
388 postMessage(Message.obtain(null, UPDATE)); in update()
DWebIconDatabase.java207 Message.obtain(null, EventHandler.OPEN, db.getAbsolutePath())); in open()
216 Message.obtain(null, EventHandler.CLOSE)); in close()
224 Message.obtain(null, EventHandler.REMOVE_ALL)); in removeAllIcons()
237 Message msg = Message.obtain(null, EventHandler.REQUEST_ICON, listener); in requestIconForPageUrl()
261 Message.obtain(null, EventHandler.BULK_REQUEST_ICON, map); in bulkRequestIconForPageUrl()
273 Message.obtain(null, EventHandler.RETAIN_ICON, url)); in retainIconForPageUrl()
284 Message.obtain(null, EventHandler.RELEASE_ICON, url)); in releaseIconForPageUrl()
DWebViewCore.java204 Message.obtain(mWebView.mPrivateHandler, in initialize()
938 Message.obtain(mWebView.mPrivateHandler, in transferMessages()
1165 Message.obtain( in transferMessages()
1486 mEventHub.sendMessage(Message.obtain(null, what)); in sendMessage()
1490 mEventHub.sendMessage(Message.obtain(null, what, obj)); in sendMessage()
1495 mEventHub.sendMessage(Message.obtain(null, what, arg1, 0)); in sendMessage()
1499 mEventHub.sendMessage(Message.obtain(null, what, arg1, arg2)); in sendMessage()
1504 mEventHub.sendMessage(Message.obtain(null, what, arg1, 0, obj)); in sendMessage()
1508 mEventHub.sendMessage(Message.obtain(null, what, arg1, arg2, obj)); in sendMessage()
1512 mEventHub.sendMessageAtFrontOfQueue(Message.obtain( in sendMessageAtFrontOfQueue()
[all …]
/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()
593 PositionMetadata pm = getFlattenedPos(ExpandableListPosition.obtain( in collapseGroup()
[all …]
DExpandableListPosition.java82 return obtain(GROUP, groupPosition, 0, 0); in obtainGroupPosition()
86 return obtain(CHILD, groupPosition, childPosition, 0); in obtainChildPosition()
106 static ExpandableListPosition obtain(int type, int groupPos, int childPos, int flatListPos) { in obtain() method in ExpandableListPosition
/frameworks/base/test-runner/src/android/test/
DTouchUtils.java266 MotionEvent event = MotionEvent.obtain(downTime, eventTime, in tapView()
273 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, in tapView()
279 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, x, y, 0); in tapView()
306 MotionEvent event = MotionEvent.obtain(downTime, eventTime, in touchAndCancelView()
313 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_CANCEL, in touchAndCancelView()
341 MotionEvent event = MotionEvent.obtain(downTime, eventTime, in clickView()
349 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, in clickView()
355 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, x, y, 0); in clickView()
402 MotionEvent event = MotionEvent.obtain(downTime, eventTime, in longClickView()
409 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, in longClickView()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLocalService.java58 Parcel data = Parcel.obtain(); in onStart()
76 Parcel data = Parcel.obtain(); in onDestroy()
97 Parcel data = Parcel.obtain(); in onUnbind()
113 Parcel data = Parcel.obtain(); in onRebind()
/frameworks/base/core/java/android/view/
DInputQueue.java119 Runnable finishedCallback = FinishedCallback.obtain(finishedToken); in dispatchKeyEvent()
126 Runnable finishedCallback = FinishedCallback.obtain(finishedToken); in dispatchMotionEvent()
144 public static FinishedCallback obtain(long finishedToken) { in obtain() method in InputQueue.FinishedCallback
/frameworks/base/tests/DumpRenderTree/src/com/android/dumprendertree/
DWebViewEventSender.java85 MotionEvent event = MotionEvent.obtain(ts, ts, MotionEvent.ACTION_DOWN, mouseX, mouseY, 0); in mouseDown()
96 MotionEvent event = MotionEvent.obtain(ts, ts, MotionEvent.ACTION_UP, mouseX, mouseY, 0); in mouseUp()
183 MotionEvent event = MotionEvent.obtain(tp.downTime(), tp.downTime(), in touchStart()
199 MotionEvent event = MotionEvent.obtain(tp.downTime(), SystemClock.uptimeMillis(), in touchMove()
213 MotionEvent event = MotionEvent.obtain(tp.downTime(), SystemClock.uptimeMillis(), in touchEnd()
229 MotionEvent event = MotionEvent.obtain(tp.downTime(), SystemClock.uptimeMillis(), in touchCancel()

12345678