/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowMessage.java | 60 public static Message obtain() { method in class:ShadowMessage 65 public static Message obtain(Handler h) { method in class:ShadowMessage 72 public static Message obtain(Handler h, int what) { method in class:ShadowMessage 73 Message m = obtain(h); 79 public static Message obtain(Handler h, int what, Object obj) { method in class:ShadowMessage 80 Message m = obtain(h, what); 86 public static Message obtain(Handler h, int what, int arg1, int arg2) { method in class:ShadowMessage 87 Message m = obtain(h, what); 94 public static Message obtain(Handler h, int what, int arg1, int arg2, Object obj) { method in class:ShadowMessage 95 Message m = obtain(h, what, arg1, arg2) 101 public static Message obtain(Message msg) { method in class:ShadowMessage [all...] |
/frameworks/base/core/java/android/security/ |
IKeystoreService.java | 6 * You may obtain a copy of the License at 49 Parcel _data = Parcel.obtain(); 50 Parcel _reply = Parcel.obtain(); 65 Parcel _data = Parcel.obtain(); 66 Parcel _reply = Parcel.obtain(); 82 Parcel _data = Parcel.obtain(); 83 Parcel _reply = Parcel.obtain(); 102 Parcel _data = Parcel.obtain(); 103 Parcel _reply = Parcel.obtain(); 120 Parcel _data = Parcel.obtain(); [all...] |
/frameworks/base/telephony/java/android/telephony/ |
PhoneStateListener.java | 6 * You may obtain a copy of the License at 301 Message.obtain(mHandler, LISTEN_SERVICE_STATE, 0, 0, serviceState).sendToTarget(); 305 Message.obtain(mHandler, LISTEN_SIGNAL_STRENGTH, asu, 0, null).sendToTarget(); 309 Message.obtain(mHandler, LISTEN_MESSAGE_WAITING_INDICATOR, mwi ? 1 : 0, 0, null) 314 Message.obtain(mHandler, LISTEN_CALL_FORWARDING_INDICATOR, cfi ? 1 : 0, 0, null) 320 Message.obtain(mHandler, LISTEN_CELL_LOCATION, 0, 0, location).sendToTarget(); 324 Message.obtain(mHandler, LISTEN_CALL_STATE, state, 0, incomingNumber).sendToTarget(); 328 Message.obtain(mHandler, LISTEN_DATA_CONNECTION_STATE, state, networkType). 333 Message.obtain(mHandler, LISTEN_DATA_ACTIVITY, direction, 0, null).sendToTarget(); 337 Message.obtain(mHandler, LISTEN_SIGNAL_STRENGTHS, 0, 0, signalStrength).sendToTarget() [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
MessageTest.java | 6 * You may obtain a copy of the License at 65 Message expected = Message.obtain(mHandler, mRunnable); 80 Message message = Message.obtain(); 93 Message message = Message.obtain(mHandler, WHAT, ARG1, ARG2, OBJ); 94 Message expected = Message.obtain(message); 104 Message expected = Message.obtain(mHandler); 109 Message expected = Message.obtain(mHandler, mRunnable); 115 Message expected = Message.obtain(mHandler, WHAT); 121 Message expected = Message.obtain(mHandler, WHAT, OBJ); 128 Message expected = Message.obtain(mHandler, WHAT, ARG1, ARG2) [all...] |
ParcelTest.java | 6 * You may obtain a copy of the License at 43 Parcel p1 = Parcel.obtain(); 45 Parcel p2 = Parcel.obtain(); 47 Parcel p3 = Parcel.obtain(); 49 Parcel p4 = Parcel.obtain(); 51 Parcel p5 = Parcel.obtain(); 53 Parcel p6 = Parcel.obtain(); 55 Parcel p7 = Parcel.obtain(); 73 p = Parcel.obtain(); 78 p2 = Parcel.obtain(); [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
View_BaseSavedStateTest.java | 6 * You may obtain a copy of the License at 26 BaseSavedState state = new BaseSavedState(Parcel.obtain());
|
/frameworks/base/core/java/android/os/ |
Message.java | 6 * You may obtain a copy of the License at 28 * one of these is to call {@link #obtain Message.obtain()} or one of the 106 public static Message obtain() { method in class:Message 120 * Same as {@link #obtain()}, but copies the values of an existing 125 public static Message obtain(Message orig) { method in class:Message 126 Message m = obtain(); 142 * Same as {@link #obtain()}, but sets the value for the <em>target</em> member on the Message returned. 146 public static Message obtain(Handler h) { method in class:Message 147 Message m = obtain(); 160 public static Message obtain(Handler h, Runnable callback) { method in class:Message 175 public static Message obtain(Handler h, int what) { method in class:Message 191 public static Message obtain(Handler h, int what, Object obj) { method in class:Message 210 public static Message obtain(Handler h, int what, int arg1, int arg2) { method in class:Message 231 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 119 Parcel data = Parcel.obtain(); 120 Parcel reply = Parcel.obtain(); 131 Parcel data = Parcel.obtain(); 132 Parcel reply = Parcel.obtain(); 144 Parcel data = Parcel.obtain(); 145 Parcel reply = Parcel.obtain(); 159 Parcel data = Parcel.obtain(); 160 Parcel reply = Parcel.obtain(); 186 Parcel data = Parcel.obtain(); [all...] |
CommonTimeUtils.java | 6 * You may obtain a copy of the License at 50 android.os.Parcel data = android.os.Parcel.obtain(); 51 android.os.Parcel reply = android.os.Parcel.obtain(); 71 android.os.Parcel data = android.os.Parcel.obtain(); 72 android.os.Parcel reply = android.os.Parcel.obtain(); 92 android.os.Parcel data = android.os.Parcel.obtain(); 93 android.os.Parcel reply = android.os.Parcel.obtain(); 113 android.os.Parcel data = android.os.Parcel.obtain(); 114 android.os.Parcel reply = android.os.Parcel.obtain(); 134 android.os.Parcel data = android.os.Parcel.obtain(); [all...] |
/external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/ |
TouchCommon.java | 35 MotionEvent event = MotionEvent.obtain(downTime, downTime, 62 MotionEvent event = MotionEvent.obtain(downTime, eventTime, 79 MotionEvent event = MotionEvent.obtain(downTime, eventTime, 96 MotionEvent event = MotionEvent.obtain(downTime, eventTime, 101 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, 140 MotionEvent event = MotionEvent.obtain(downTime, eventTime, 145 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, 162 MotionEvent event = MotionEvent.obtain(downTime, eventTime, 173 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP,
|
/frameworks/base/core/java/android/database/ |
BulkCursorNative.java | 6 * You may obtain a copy of the License at 157 Parcel data = Parcel.obtain(); 158 Parcel reply = Parcel.obtain(); 178 Parcel data = Parcel.obtain(); 179 Parcel reply = Parcel.obtain(); 194 Parcel data = Parcel.obtain(); 195 Parcel reply = Parcel.obtain(); 209 Parcel data = Parcel.obtain(); 210 Parcel reply = Parcel.obtain(); 223 Parcel data = Parcel.obtain(); [all...] |
/frameworks/base/core/java/android/os/storage/ |
IMountService.java | 6 * You may obtain a copy of the License at 56 Parcel _data = Parcel.obtain(); 57 Parcel _reply = Parcel.obtain(); 73 Parcel _data = Parcel.obtain(); 74 Parcel _reply = Parcel.obtain(); 90 Parcel _data = Parcel.obtain(); 91 Parcel _reply = Parcel.obtain(); 111 Parcel _data = Parcel.obtain(); 112 Parcel _reply = Parcel.obtain(); 129 Parcel _data = Parcel.obtain(); [all...] |
/cts/tests/tests/text/src/android/text/style/cts/ |
UnderlineSpanTest.java | 6 * You may obtain a copy of the License at 30 final Parcel p = Parcel.obtain(); 67 Parcel p = Parcel.obtain();
|
AlignmentSpan_StandardTest.java | 6 * You may obtain a copy of the License at 34 final Parcel p = Parcel.obtain(); 66 Parcel p = Parcel.obtain(); 77 p = Parcel.obtain(); 88 p = 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/core/java/android/app/ |
ActivityManagerNative.java | 6 * You may obtain a copy of the License at [all...] |
/frameworks/base/core/java/android/view/ |
MagnificationSpec.java | 6 * You may obtain a copy of the License at 54 public static MagnificationSpec obtain(MagnificationSpec other) { method in class:MagnificationSpec 55 MagnificationSpec info = obtain(); 62 public static MagnificationSpec obtain() { method in class:MagnificationSpec 118 MagnificationSpec spec = MagnificationSpec.obtain();
|
/frameworks/base/core/tests/benchmarks/src/android/os/ |
ParcelArrayBenchmark.java | 6 * You may obtain a copy of the License at 39 mWriteParcel = Parcel.obtain(); 45 mByteParcel = Parcel.obtain(); 47 mIntParcel = Parcel.obtain(); 49 mLongParcel = 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
|
/packages/apps/Camera2/src/com/android/camera/util/ |
MotionEventHelper.java | 16 MotionEvent newEvent = MotionEvent.obtain(e);
|
/cts/tests/tests/accessibility/src/android/view/accessibility/cts/ |
AccessibilityEventTest.java | 6 * You may obtain a copy of the License at 54 AccessibilityEvent sentEvent = AccessibilityEvent.obtain(); 58 Parcel parcel = Parcel.obtain(); 72 AccessibilityEvent firstEvent = AccessibilityEvent.obtain(); 74 AccessibilityEvent secondEvent = AccessibilityEvent.obtain(); 83 // obtain and populate an event 84 AccessibilityEvent populatedEvent = AccessibilityEvent.obtain(); 87 // recycle and obtain the same recycled instance 89 AccessibilityEvent recycledEvent = AccessibilityEvent.obtain(); 135 AccessibilityEvent event = AccessibilityEvent.obtain(); [all...] |
/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 129 * Do not call this unless you obtained this via ExpandableListPosition.obtain().
|
/frameworks/base/services/java/com/android/server/wifi/ |
WifiTrafficPoller.java | 6 * You may obtain a copy of the License at 97 Message.obtain(mTrafficHandler, ADD_CLIENT, client).sendToTarget(); 101 Message.obtain(mTrafficHandler, REMOVE_CLIENT, client).sendToTarget(); 113 sendMessageDelayed(Message.obtain(this, TRAFFIC_STATS_POLL, 120 sendMessageDelayed(Message.obtain(this, TRAFFIC_STATS_POLL, 139 msg = Message.obtain(mTrafficHandler, 142 msg = Message.obtain(mTrafficHandler, 169 Message msg = Message.obtain();
|
/frameworks/base/core/java/android/speech/ |
SpeechRecognizer.java | 6 * You may obtain a copy of the License at 250 putMessage(Message.obtain(mHandler, MSG_CHANGE_LISTENER, listener)); 295 putMessage(Message.obtain(mHandler, MSG_START, recognizerIntent)); 310 putMessage(Message.obtain(mHandler, MSG_STOP)); 320 putMessage(Message.obtain(mHandler, MSG_CANCEL)); 464 Message.obtain(mInternalHandler, MSG_BEGINNING_OF_SPEECH).sendToTarget(); 468 Message.obtain(mInternalHandler, MSG_BUFFER_RECEIVED, buffer).sendToTarget(); 472 Message.obtain(mInternalHandler, MSG_END_OF_SPEECH).sendToTarget(); 476 Message.obtain(mInternalHandler, MSG_ERROR, error).sendToTarget(); 480 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...] |