Home
last modified time | relevance | path

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

12345678910>>...208

/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowAccessibilityNodeInfoTest.java33 node = AccessibilityNodeInfo.obtain(); in setUp()
53 AccessibilityNodeInfo anotherNode = AccessibilityNodeInfo.obtain(node); in shouldHaveClonedCorrectly()
60 Parcel p = Parcel.obtain(); in shouldWriteAndReadFromParcelCorrectly()
71 node = AccessibilityNodeInfo.obtain(); in shouldNotHaveInfiniteLoopWithSameLoopedChildren()
72 AccessibilityNodeInfo child = AccessibilityNodeInfo.obtain(); in shouldNotHaveInfiniteLoopWithSameLoopedChildren()
75 AccessibilityNodeInfo anotherNode = AccessibilityNodeInfo.obtain(node); in shouldNotHaveInfiniteLoopWithSameLoopedChildren()
81 node = AccessibilityNodeInfo.obtain(); in shouldNotHaveInfiniteLoopWithDifferentLoopedChildren()
83 AccessibilityNodeInfo child1 = AccessibilityNodeInfo.obtain(); in shouldNotHaveInfiniteLoopWithDifferentLoopedChildren()
87 AccessibilityNodeInfo anotherNode = ShadowAccessibilityNodeInfo.obtain(); in shouldNotHaveInfiniteLoopWithDifferentLoopedChildren()
88 AccessibilityNodeInfo child2 = ShadowAccessibilityNodeInfo.obtain(); in shouldNotHaveInfiniteLoopWithDifferentLoopedChildren()
[all …]
DShadowMessageTest.java79 Message m = Message.obtain(); in testObtain()
86 Message m = Message.obtain(h); in testObtainWithHandler()
94 Message m = Message.obtain(h, what); in testObtainWithHandlerAndWhat()
106 Message m = Message.obtain(h, what, obj); in testObtainWithHandlerWhatAndObject()
120 Message m = Message.obtain(h, what, arg1, arg2); in testObtainWithHandlerWhatAndTwoArgs()
135 Message m = Message.obtain(h, what, arg1, arg2, obj); in testObtainWithHandlerWhatTwoArgsAndObj()
154 Message m2 = Message.obtain(m); in testObtainWithMessage()
169 Message.obtain(h, 123).sendToTarget(); in testSendToTarget()
175 Message msg = Message.obtain(); in testSetGetNext()
176 Message msg2 = Message.obtain(); in testSetGetNext()
[all …]
DShadowMessengerTest.java23 Message msg = Message.obtain(null, 123); in testMessengerSend()
36 Message msg = Message.obtain(null, 123); in getLastMessageSentShouldWork()
37 Message originalMessage = Message.obtain(msg); in getLastMessageSentShouldWork()
48 Message msg = Message.obtain(null, 123); in createMessengerWithBinder_getLastMessageSentShouldWork()
49 Message originalMessage = Message.obtain(msg); in createMessengerWithBinder_getLastMessageSentShouldWork()
DShadowAccessibilityEventTest.java25 event = AccessibilityEvent.obtain(); in setUp()
32 AccessibilityEvent anotherEvent = AccessibilityEvent.obtain(event); in shouldRecordParcelables()
41 AccessibilityEvent newEvent = AccessibilityEvent.obtain(event); in shouldBeEqualToClonedEvent()
54 Parcel p = Parcel.obtain(); in shouldWriteAndReadFromParcelCorrectly()
82 AccessibilityNodeInfo node = AccessibilityNodeInfo.obtain(); in setSourceNode()
DShadowBinderTest.java19 Parcel data = Parcel.obtain(); in transactCallsOnTransact()
20 Parcel reply = Parcel.obtain(); in transactCallsOnTransact()
53 Parcel data = Parcel.obtain(); in thrownExceptionIsParceled()
54 Parcel reply = Parcel.obtain(); in thrownExceptionIsParceled()
DVelocityTrackerTest.java19 velocityTracker = VelocityTracker.obtain(); in setUp()
121 return MotionEvent.obtain(0, time, MotionEvent.ACTION_MOVE, x, y, 0); in doMotion()
125 return MotionEvent.obtain(time, time, MotionEvent.ACTION_DOWN, x, y, 0); in doPointerDown()
135 MotionEvent.obtain(0, time, MotionEvent.ACTION_MOVE, pointer2X, pointer2Y, 0); in doMotion()
DShadowAccessibilityWindowInfoTest.java25 window = ShadowAccessibilityWindowInfo.obtain(); in setUp()
37 AccessibilityNodeInfo node = AccessibilityNodeInfo.obtain(); in shouldHaveAssignedRoot()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowAccessibilityNodeInfo.java62 return obtain(orderedInstances.get(source.readInt()).mInfo);
192 protected static AccessibilityNodeInfo obtain(AccessibilityNodeInfo info) { in obtain() method in ShadowAccessibilityNodeInfo
207 protected static AccessibilityNodeInfo obtain(View view) { in obtain() method in ShadowAccessibilityNodeInfo
238 protected static AccessibilityNodeInfo obtain() { in obtain() method in ShadowAccessibilityNodeInfo
239 return obtain(new View(RuntimeEnvironment.application.getApplicationContext())); in obtain()
243 protected static AccessibilityNodeInfo obtain(View root, int virtualDescendantId) { in obtain() method in ShadowAccessibilityNodeInfo
244 AccessibilityNodeInfo node = obtain(root); in obtain()
340 return obtain(child); in getChild()
349 return obtain(parent); in getParent()
622 return obtain(labelFor); in getLabelFor()
[all …]
/external/libwebsockets/test-apps/android/app/src/main/java/org/libwebsockets/client/
DMainActivity.java82 Message msg = Message.obtain(null, LwsService.MSG_SET_OUTPUT_HANDLER, 0, 0); in onCreate()
89 msg = Message.obtain(null, LwsService.MSG_THREAD_RESUME, 0, 0); in onCreate()
129 mService.send(Message.obtain(null, LwsService.MSG_THREAD_SUSPEND, 0, 0)); in onStop()
188 msg = Message.obtain(null, LwsService.MSG_THREAD_STOP); in connectErrorListener()
217 Message msg = Message.obtain(null, LwsService.MSG_SET_CONNECTION_PARAMETERS, 0, 0); in clickStart()
227 msg = Message.obtain(null, LwsService.MSG_THREAD_START, 0, 0); in clickStart()
236 mService.send(Message.obtain(null, LwsService.MSG_THREAD_STOP, 0, 0)); in clickStart()
DThreadService.java149 m = Message.obtain(null, MSG_THREAD_STARTED, 0, 0); in handleInputMessage()
168 m = Message.obtain(null, MSG_THREAD_STOPPED, 0, 0); in handleInputMessage()
179 m = Message.obtain(null, MSG_THREAD_SUSPENDED, 0, 0); in handleInputMessage()
191 m = Message.obtain(null, MSG_THREAD_RESUMED, 0, 0); in handleInputMessage()
208 Message m = Message.obtain(null, msg, 0, 0); in sendMessage()
/external/libaom/libaom/build/cmake/
Dgenerate_aom_config_templates.cmake6 # not distributed with this source code in the LICENSE file, you can obtain it
9 # can obtain it at www.aomedia.org/license/patent.
20 \; obtain it at www.aomedia.org/license/software. If the Alliance for Open
22 \; PATENTS file, you can obtain it at www.aomedia.org/license/patent.
31 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
33 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
44 ## obtain it at www.aomedia.org/license/software. If the Alliance for Open
46 ## PATENTS file, you can obtain it at www.aomedia.org/license/patent.
Daom_config.c.template7 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
9 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
Daom_experiment_deps.cmake6 # not distributed with this source code in the LICENSE file, you can obtain it
9 # can obtain it at www.aomedia.org/license/patent.
/external/glide/library/src/main/java/com/bumptech/glide/load/resource/gif/
DGifResourceDecoder.java58 final GifHeaderParser parser = parserPool.obtain(data); in decode()
59 final GifDecoder decoder = decoderPool.obtain(provider); in decode()
120 public synchronized GifDecoder obtain(GifDecoder.BitmapProvider bitmapProvider) { in obtain() method in GifResourceDecoder.GifDecoderPool
138 public synchronized GifHeaderParser obtain(byte[] data) { in obtain() method in GifResourceDecoder.GifHeaderParserPool
/external/connectedappssdk/tests/robotests/src/test/java/com/google/android/enterprise/connectedapps/
DTestICrossProfileCallback.java43 Parcel p = Parcel.obtain(); // Recycled in this method in onResult()
52 Parcel p = Parcel.obtain(); // Recycled in this method in onException()
DTestStringCrossProfileCallback.java36 Parcel parcel = Parcel.obtain(); // Recycled in this method in onResult()
45 Parcel parcel = Parcel.obtain(); // Recycled in this method in onException()
DTestService.java48 private Parcel responseParcel = Parcel.obtain(); // Recycled in #setResponseParcel
77 Parcel parcel = Parcel.obtain(); // Recycled by this method on next call in call()
/external/libjpeg-turbo/
Djconfigint.h.in7 /* How to obtain function inlining. */
10 /* How to obtain thread-local storage */
/external/libaom/libaom/build/cmake/toolchains/
Dx86-linux.cmake6 # not distributed with this source code in the LICENSE file, you can obtain it
9 # can obtain it at www.aomedia.org/license/patent.
Dios-simulator-common.cmake6 # not distributed with this source code in the LICENSE file, you can obtain it
9 # can obtain it at www.aomedia.org/license/patent.
Dx86-macos.cmake6 # not distributed with this source code in the LICENSE file, you can obtain it
9 # can obtain it at www.aomedia.org/license/patent.
Dx86_64-ios-simulator.cmake6 # not distributed with this source code in the LICENSE file, you can obtain it
9 # can obtain it at www.aomedia.org/license/patent.
/external/connectedappssdk/sdk/src/main/java/com/google/android/enterprise/connectedapps/internal/
DCrossProfileFutureResultWriter.java45 Parcel parcel = Parcel.obtain(); // Recycled in this method in onSuccess()
63 Parcel parcel = Parcel.obtain(); // Recycled in this method in onFailure()
/external/exoplayer/tree/library/ui/src/test/java/com/google/android/exoplayer2/ui/spherical/
DTouchTrackerTest.java41 tracker.onTouch(null, MotionEvent.obtain(0, 0, MotionEvent.ACTION_DOWN, x0, y0, 0)); in swipe()
42 tracker.onTouch(null, MotionEvent.obtain(0, 0, MotionEvent.ACTION_MOVE, x1, y1, 0)); in swipe()
43 tracker.onTouch(null, MotionEvent.obtain(0, 0, MotionEvent.ACTION_UP, x1, y1, 0)); in swipe()
/external/protobuf/javanano/src/device/test/java/com/google/protobuf/nano/
DNanoAndroidTest.java52 parcel = Parcel.obtain(); in testParceling()
74 parcel = Parcel.obtain(); in testExtendableParceling()

12345678910>>...208