/frameworks/base/core/java/android/os/ |
Message.java | 6 * You may obtain a copy of the License at 31 * one of these is to call {@link #obtain Message.obtain()} or one of the 109 public static Message obtain() { method in class:Message 123 * Same as {@link #obtain()}, but copies the values of an existing 128 public static Message obtain(Message orig) { method in class:Message 129 Message m = obtain(); 145 * Same as {@link #obtain()}, but sets the value for the <em>target</em> member on the Message returned. 149 public static Message obtain(Handler h) { method in class:Message 150 Message m = obtain(); 163 public static Message obtain(Handler h, Runnable callback) { method in class:Message 178 public static Message obtain(Handler h, int what) { method in class:Message 194 public static Message obtain(Handler h, int what, Object obj) { method in class:Message 213 public static Message obtain(Handler h, int what, int arg1, int arg2) { method in class:Message 234 public static Message obtain(Handler h, int what, method in class:Message [all...] |
ServiceManagerNative.java | 6 * You may obtain a copy of the License at 116 Parcel data = Parcel.obtain(); 117 Parcel reply = Parcel.obtain(); 128 Parcel data = Parcel.obtain(); 129 Parcel reply = Parcel.obtain(); 141 Parcel data = Parcel.obtain(); 142 Parcel reply = Parcel.obtain(); 152 Parcel data = Parcel.obtain(); 153 Parcel reply = Parcel.obtain(); 164 Parcel data = Parcel.obtain(); [all...] |
Handler.java | 6 * You may obtain a copy of the License at 189 * If you don't want that facility, just call Message.obtain() instead. 193 return Message.obtain(this); 204 return Message.obtain(this, what); 218 return Message.obtain(this, what, obj); 232 return Message.obtain(this, what, arg1, arg2); 247 return Message.obtain(this, what, arg1, arg2, obj); 408 Message msg = Message.obtain(); 424 Message msg = Message.obtain(); 592 Message m = Message.obtain(); [all...] |
/frameworks/base/telephony/java/android/telephony/ |
PhoneStateListener.java | 6 * You may obtain a copy of the License at 284 Message.obtain(mHandler, LISTEN_SERVICE_STATE, 0, 0, serviceState).sendToTarget(); 288 Message.obtain(mHandler, LISTEN_SIGNAL_STRENGTH, asu, 0, null).sendToTarget(); 292 Message.obtain(mHandler, LISTEN_MESSAGE_WAITING_INDICATOR, mwi ? 1 : 0, 0, null) 297 Message.obtain(mHandler, LISTEN_CALL_FORWARDING_INDICATOR, cfi ? 1 : 0, 0, null) 303 Message.obtain(mHandler, LISTEN_CELL_LOCATION, 0, 0, location).sendToTarget(); 307 Message.obtain(mHandler, LISTEN_CALL_STATE, state, 0, incomingNumber).sendToTarget(); 311 Message.obtain(mHandler, LISTEN_DATA_CONNECTION_STATE, state, networkType). 316 Message.obtain(mHandler, LISTEN_DATA_ACTIVITY, direction, 0, null).sendToTarget(); 320 Message.obtain(mHandler, LISTEN_SIGNAL_STRENGTHS, 0, 0, signalStrength).sendToTarget() [all...] |
/frameworks/base/core/java/android/database/ |
BulkCursorNative.java | 6 * You may obtain a copy of the License at 185 Parcel data = Parcel.obtain(); 186 Parcel reply = Parcel.obtain(); 206 Parcel data = Parcel.obtain(); 207 Parcel reply = Parcel.obtain(); 222 Parcel data = Parcel.obtain(); 223 Parcel reply = Parcel.obtain(); 245 Parcel data = Parcel.obtain(); 246 Parcel reply = Parcel.obtain(); 268 Parcel data = Parcel.obtain(); [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
ParcelTest.java | 6 * You may obtain a copy of the License at 51 method = "obtain", 62 method = "obtain", 67 Parcel p1 = Parcel.obtain(); 69 Parcel p2 = Parcel.obtain(); 71 Parcel p3 = Parcel.obtain(); 73 Parcel p4 = Parcel.obtain(); 75 Parcel p5 = Parcel.obtain(); 77 Parcel p6 = Parcel.obtain(); 79 Parcel p7 = Parcel.obtain(); [all...] |
MessageTest.java | 6 * You may obtain a copy of the License at 120 Message expected = Message.obtain(mHandler, mRunnable); 136 notes = "Test method: obtain", 137 method = "obtain", 141 Message message = Message.obtain(); 155 notes = "Test method: obtain", 156 method = "obtain", 160 Message message = Message.obtain(mHandler, WHAT, ARG1, ARG2, OBJ); 161 Message expected = Message.obtain(message); 172 notes = "Test method: obtain", [all...] |
/frameworks/base/core/java/android/app/ |
ActivityManagerNative.java | 6 * You may obtain a copy of the License at [all...] |
/frameworks/base/core/java/android/os/storage/ |
IMountService.java | 6 * You may obtain a copy of the License at 58 Parcel _data = Parcel.obtain(); 59 Parcel _reply = Parcel.obtain(); 75 Parcel _data = Parcel.obtain(); 76 Parcel _reply = Parcel.obtain(); 92 Parcel _data = Parcel.obtain(); 93 Parcel _reply = Parcel.obtain(); 113 Parcel _data = Parcel.obtain(); 114 Parcel _reply = Parcel.obtain(); 131 Parcel _data = Parcel.obtain(); [all...] |
IMountServiceListener.java | 6 * You may obtain a copy of the License at 113 Parcel _data = Parcel.obtain(); 114 Parcel _reply = Parcel.obtain(); 138 Parcel _data = Parcel.obtain(); 139 Parcel _reply = Parcel.obtain();
|
/packages/apps/Email/tests/src/com/android/email/ |
MessageListContextTests.java | 6 * You may obtain a copy of the License at 30 Parcel parcel = Parcel.obtain(); 45 Parcel parcel = Parcel.obtain();
|
/frameworks/base/graphics/java/android/graphics/ |
TemporaryBuffer.java | 6 * You may obtain a copy of the License at 25 public static char[] obtain(int len) { method in class:TemporaryBuffer
|
/frameworks/base/core/java/android/widget/ |
ExpandableListPosition.java | 6 * You may obtain a copy of the License at 82 return obtain(GROUP, groupPosition, 0, 0); 86 return obtain(CHILD, groupPosition, childPosition, 0); 106 static ExpandableListPosition obtain(int type, int groupPos, int childPos, int flatListPos) { method in class:ExpandableListPosition
|
/frameworks/base/core/java/com/android/internal/util/ |
AsyncChannel.java | 6 * You may obtain a copy of the License at 454 Message msg = Message.obtain(); 466 Message msg = Message.obtain(); 480 Message msg = Message.obtain(); 496 Message msg = Message.obtain(); 511 Message msg = Message.obtain(); 540 Message msg = Message.obtain(); 553 Message msg = Message.obtain(); 568 Message msg = Message.obtain(); 585 Message msg = Message.obtain(); 742 private static SyncMessenger obtain() { method in class:AsyncChannel.SyncMessenger [all...] |
/frameworks/base/core/java/android/speech/ |
SpeechRecognizer.java | 6 * You may obtain a copy of the License at 244 putMessage(Message.obtain(mHandler, MSG_CHANGE_LISTENER, listener)); 289 putMessage(Message.obtain(mHandler, MSG_START, recognizerIntent)); 304 putMessage(Message.obtain(mHandler, MSG_STOP)); 314 putMessage(Message.obtain(mHandler, MSG_CANCEL)); 458 Message.obtain(mInternalHandler, MSG_BEGINNING_OF_SPEECH).sendToTarget(); 462 Message.obtain(mInternalHandler, MSG_BUFFER_RECEIVED, buffer).sendToTarget(); 466 Message.obtain(mInternalHandler, MSG_END_OF_SPEECH).sendToTarget(); 470 Message.obtain(mInternalHandler, MSG_ERROR, error).sendToTarget(); 474 Message.obtain(mInternalHandler, MSG_READY_FOR_SPEECH, noiseParams).sendToTarget() [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
VelocityTest.java | 6 * You may obtain a copy of the License at 39 VelocityTracker vt = VelocityTracker.obtain(); 51 VelocityTracker vt = VelocityTracker.obtain(); 66 VelocityTracker vt = VelocityTracker.obtain(); 77 VelocityTracker vt = VelocityTracker.obtain(); 88 VelocityTracker vt = VelocityTracker.obtain(); 100 VelocityTracker vt = VelocityTracker.obtain(); 116 VelocityTracker vt = VelocityTracker.obtain(); 132 VelocityTracker vt = VelocityTracker.obtain(); 154 VelocityTracker vt = VelocityTracker.obtain(); [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
VelocityTrackerTest.java | 6 * You may obtain a copy of the License at 41 method = "obtain", 45 VelocityTracker vt = VelocityTracker.obtain(); 56 VelocityTracker vt = VelocityTracker.obtain(); 60 VelocityTracker vt2 = VelocityTracker.obtain(); 96 VelocityTracker vt = VelocityTracker.obtain(); 99 MotionEvent me = MotionEvent.obtain(0L, 10L, MotionEvent.ACTION_MOVE, .0f, .0f, 0); 136 me = MotionEvent.obtain(0L, 110L, MotionEvent.ACTION_UP, 100f, 100f, 0);
|
AccessibilityEventTest.java | 6 * You may obtain a copy of the License at 46 AccessibilityEvent sentEvent = AccessibilityEvent.obtain(); 50 Parcel parcel = Parcel.obtain(); 64 AccessibilityEvent firstEvent = AccessibilityEvent.obtain(); 66 AccessibilityEvent secondEvent = AccessibilityEvent.obtain(); 75 // obtain and populate an event 76 AccessibilityEvent populatedEvent = AccessibilityEvent.obtain(); 79 // recycle and obtain the same recycled instance 81 AccessibilityEvent recycledEvent = AccessibilityEvent.obtain(); 127 sentEvent.setParcelableData(Message.obtain(null, 1, 2, 3)) [all...] |
View_BaseSavedStateTest.java | 6 * You may obtain a copy of the License at 43 BaseSavedState state = new BaseSavedState(Parcel.obtain());
|
/frameworks/base/core/java/android/content/ |
ContentProviderNative.java | 6 * You may obtain a copy of the License at 329 Parcel data = Parcel.obtain(); 330 Parcel reply = Parcel.obtain(); 385 Parcel data = Parcel.obtain(); 386 Parcel reply = Parcel.obtain(); 405 Parcel data = Parcel.obtain(); 406 Parcel reply = Parcel.obtain(); 425 Parcel data = Parcel.obtain(); 426 Parcel reply = Parcel.obtain(); 446 Parcel data = Parcel.obtain(); [all...] |
/frameworks/base/core/java/android/view/ |
DragEvent.java | 6 * You may obtain a copy of the License at 266 static DragEvent obtain() { method in class:DragEvent 267 return DragEvent.obtain(0, 0f, 0f, null, null, null, false); 271 public static DragEvent obtain(int action, float x, float y, Object localState, method in class:DragEvent 294 public static DragEvent obtain(DragEvent source) { method in class:DragEvent 295 return obtain(source.mAction, source.mX, source.mY, source.mLocalState, 488 DragEvent event = DragEvent.obtain();
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
LocalDeniedReceiver.java | 6 * You may obtain a copy of the License at 33 Parcel data = Parcel.obtain();
|
LocalGrantedReceiver.java | 6 * You may obtain a copy of the License at 33 Parcel data = Parcel.obtain();
|
LocalService.java | 6 * You may obtain a copy of the License at 58 Parcel data = Parcel.obtain(); 76 Parcel data = Parcel.obtain(); 97 Parcel data = Parcel.obtain(); 113 Parcel data = Parcel.obtain();
|
RemoteDeniedReceiver.java | 6 * You may obtain a copy of the License at 33 Parcel data = Parcel.obtain();
|