Home
last modified time | relevance | path

Searched refs:invoke (Results 1 – 25 of 203) sorted by relevance

123456789

/frameworks/base/startop/view_compiler/dex_builder_test/src/android/startop/test/
DDexBuilderTest.java49 Assert.assertEquals(5, method.invoke(null)); in return5()
57 Assert.assertEquals(5, method.invoke(null)); in returnInteger5()
65 Assert.assertEquals(5, method.invoke(null, 5)); in returnParam()
66 Assert.assertEquals(42, method.invoke(null, 42)); in returnParam()
74 Assert.assertEquals(13, method.invoke(null, "Hello, World!")); in returnStringLength()
82 Assert.assertEquals(5, method.invoke(null, 0)); in returnIfZero()
83 Assert.assertEquals(3, method.invoke(null, 17)); in returnIfZero()
91 Assert.assertEquals(3, method.invoke(null, 0)); in returnIfNotZero()
92 Assert.assertEquals(5, method.invoke(null, 17)); in returnIfNotZero()
100 Assert.assertEquals(2, method.invoke(null)); in backwardsBranch()
[all …]
DLayoutCompilerTest.java41 layout1.invoke(null, context, R.layout.layout1); in loadAndInflateLayout1()
50 layout1.invoke(null, context, R.layout.layout1); in loadAndInflateLayout2()
DApkLayoutCompilerTest.java46 layout1.invoke(null, context, R.layout.layout1); in loadAndInflateLayout1()
55 layout2.invoke(null, context, R.layout.layout2); in loadAndInflateLayout2()
/frameworks/base/core/java/com/android/internal/util/function/pooled/
DOmniFunction.java69 abstract R invoke(A a, B b, C c, D d, E e, F f, G g, H h, I i, J j, K k); in invoke() method in OmniFunction
73 return invoke(o, o2, null, null, null, null, null, null, null, null, null); in apply()
78 return invoke(o, null, null, null, null, null, null, null, null, null, null); in apply()
87 invoke(o, o2, null, null, null, null, null, null, null, null, null); in accept()
92 invoke(o, null, null, null, null, null, null, null, null, null, null); in accept()
97 invoke(null, null, null, null, null, null, null, null, null, null, null); in run()
102 return invoke(null, null, null, null, null, null, null, null, null, null, null); in get()
107 return (Boolean) invoke(o, o2, o3, o4, o5, null, null, null, null, null, null); in test()
112 return (Boolean) invoke(o, o2, o3, o4, null, null, null, null, null, null, null); in test()
117 return (Boolean) invoke(o, o2, o3, null, null, null, null, null, null, null, null); in test()
[all …]
/frameworks/base/tools/locked_region_code_injection/test/lockedregioncodeinjection/
DTestTarget.java34 public static void invoke() { in invoke() method in TestTarget
45 invoke(); in synchronizedCall()
49 invoke(); in synchronizedCallReturnInt()
54 invoke(); in synchronizedCallReturnObject()
61 invoke(); in synchronizedThrowsOnUnboost()
DTestMain.java72 TestTarget.invoke(); in testSimpleSynchronizedBlock()
143 TestTarget.invoke(); in testCaughtException()
162 TestTarget.invoke(); in testUncaughtException()
197 TestTarget.invoke(); in testNestedSynchronizedBlock()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DAppCompatActionBar.java79 invoke(getMethod(parentView.getClass(), "setWindowCallback", in AppCompatActionBar()
159 invoke(setTitle, mWindowDecorActionBar, title); in setTitle()
167 invoke(setSubtitle, mWindowDecorActionBar, subtitle); in setSubtitle()
175 if (invoke(getMethod(mWindowActionBarClass, "hasIcon"), mWindowDecorActionBar) in setIcon()
180 invoke(setIcon, mWindowDecorActionBar, iconDrawable); in setIcon()
191 invoke(setHomeAsUp, mWindowDecorActionBar, homeAsUp); in setHomeAsUp()
221 Context themedContext = (Context)invoke( in inflateMenus()
225 Menu menuBuilder = (Menu)invoke(getMethod(mDecorToolbarClass, "getMenu"), mDecorToolbar); in inflateMenus()
229 invoke(findMethod(mDecorToolbarClass, "setMenu"), mDecorToolbar, menuBuilder, null); in inflateMenus()
291 private static Object invoke(@Nullable Method method, Object owner, Object... args) { in invoke() method in AppCompatActionBar
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/
DFakeExecutorTest.java199 checkRunCounts.invoke(0, 0, 0, 0); in testExecutionOrder()
207 checkRunCounts.invoke(1, 0, 0, 0); in testExecutionOrder()
209 checkRunCounts.invoke(1, 1, 0, 0); in testExecutionOrder()
211 checkRunCounts.invoke(1, 1, 1, 0); in testExecutionOrder()
213 checkRunCounts.invoke(1, 1, 1, 1); in testExecutionOrder()
222 checkRunCounts.invoke(1, 2, 1, 2); in testExecutionOrder()
225 checkRunCounts.invoke(1, 2, 2, 2); in testExecutionOrder()
228 checkRunCounts.invoke(2, 2, 2, 2); in testExecutionOrder()
237 checkRunCounts.invoke(3, 3, 2, 2); in testExecutionOrder()
240 checkRunCounts.invoke(3, 3, 2, 3); in testExecutionOrder()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaHost.kt172 it.invoke(visible) in <lambda>()
182 changedListener?.invoke() in <lambda>()
190 changedListener?.invoke() in <lambda>()
198 changedListener?.invoke() in <lambda>()
208 changedListener?.invoke() in <lambda>()
217 changedListener?.invoke() in <lambda>()
228 changedListener?.invoke() in <lambda>()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DSupportPreferencesUtil.java51 import static com.android.layoutlib.bridge.util.ReflectionUtils.invoke;
106 invoke(getAccessibleMethod(preferenceInflater.getClass(), "inflate", in createInflatedPreference()
169 (Integer) invoke(getMethod(preferenceGroupAdapter.getClass(), "getItemCount"), in setUpPreferencesListView()
182 Long id = (Long) invoke(getItemId, preferenceGroupAdapter, i); in setUpPreferencesListView()
188 Integer type = (Integer) invoke(getItemViewType, preferenceGroupAdapter, i); in setUpPreferencesListView()
189 Object viewHolder = invoke(onCreateViewHolder, preferenceGroupAdapter, listView, type); in setUpPreferencesListView()
193 invoke(getMethod(preferenceGroupAdapter.getClass(), "onBindViewHolder", in setUpPreferencesListView()
250 invoke(getMethod(preferenceManager.getClass(), "createPreferenceScreen", in inflatePreference()
DDesignLibUtil.java28 import static com.android.layoutlib.bridge.util.ReflectionUtils.invoke;
62 invoke(getMethod(view.getClass(), "setTitle", CharSequence.class), view, title); in setTitle()
DDrawerLayoutUtil.java32 import static com.android.layoutlib.bridge.util.ReflectionUtils.invoke;
59 invoke(getMethod(drawerLayout.getClass(), "openDrawer", int.class), drawerLayout, in openDrawer()
DFragmentTabHostUtil.java28 import static com.android.layoutlib.bridge.util.ReflectionUtils.invoke;
68 invoke(getMethod(tabHost.getClass(), "setup", Context.class, in setup()
DRecyclerViewUtil.java34 import static com.android.layoutlib.bridge.util.ReflectionUtils.invoke;
110 return invoke(getMethod(recyclerView.getClass(), "getLayoutManager"), recyclerView); in getLayoutManager()
138 invoke(getMethod(object.getClass(), propertySetter, propertyClass), object, propertyValue); in setProperty()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlActionCoordinatorImplTest.kt107 verify(action).invoke() in testToggleRunsWhenUnlocked()
118 verify(action, never()).invoke() in testToggleDoesNotRunWhenLockedThenRunsWhenUnlocked()
123 verify(action, never()).invoke() in testToggleDoesNotRunWhenLockedThenRunsWhenUnlocked()
128 verify(action).invoke() in testToggleDoesNotRunWhenLockedThenRunsWhenUnlocked()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyTestUtils.java74 return methodReflection.invoke(null, params); in invokeStaticMethod()
98 return methodReflection.invoke(null, params); in invokeStaticMethodThrowsException()
122 return methodReflection.invoke(caller, params); in invokeNonStaticMethod()
147 return methodReflection.invoke(caller, params); in invokeNonStaticMethodThrowsException()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlActionCoordinatorImpl.kt127 pendingAction?.invoke() in <lambda>()
158 action.invoke() in <lambda>()
162 action.invoke() in <lambda>()
198 fun invoke() { in <lambda>() method in com.android.systemui.controls.ui.ControlActionCoordinatorImpl.Action
200 f.invoke() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/broadcast/
DActionReceiverTest.kt114 verify(registerFunction, never()).invoke(sameNotNull(actionReceiver), in testStartsUnregistered()
125 verify(registerFunction).invoke(sameNotNull(actionReceiver), capture(intentFilterCaptor)) in testRegistersOnFirstAdd()
138 verify(registerFunction).invoke(sameNotNull(actionReceiver), any(IntentFilter::class.java)) in testRegistersOnlyOnce()
150 verify(unregisterFunction).invoke(sameNotNull(actionReceiver)) in testRemovingLastReceiverUnregisters()
164 verify(unregisterFunction, never()).invoke(any(BroadcastReceiver::class.java)) in testRemovingWhileOtherReceiversDoesntUnregister()
176 verify(registerFunction).invoke(sameNotNull(actionReceiver), capture(intentFilterCaptor)) in testReceiverHasCategories()
/frameworks/rs/tests/lldb/java/SingleSource/src/rs/
Drs_single_source.rscript50 // invoke kernel taking one argument
55 // invoke kernel taking two arguments
63 // invoke kernel that takes no arguments and no return type
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
DBitmapUtils.java199 method.invoke(instance, filePath); in createVideoThumbnail()
203 return (Bitmap) clazz.getMethod("captureFrame").invoke(instance); in createVideoThumbnail()
205 byte[] data = (byte[]) clazz.getMethod("getEmbeddedPicture").invoke(instance); in createVideoThumbnail()
210 return (Bitmap) clazz.getMethod("getFrameAtTime").invoke(instance); in createVideoThumbnail()
229 clazz.getMethod("release").invoke(instance); in createVideoThumbnail()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/apdu/
DApduSender.java127 mOpenChannel.invoke(mAid, new AsyncResultCallback<IccOpenLogicalChannelResponse>() { in send()
176 mTransmitApdu.invoke(command, new AsyncResultCallback<IccIoResult>() { in sendCommand()
240 mTransmitApdu.invoke( in getCompleteResponse()
266 mCloseChannel.invoke(channel, new AsyncResultCallback<Boolean>() { in closeAndReturn()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DReflectionUtils.java52 public static Object invoke(@NonNull Method method, @Nullable Object object, in invoke() method in ReflectionUtils
56 return method.invoke(object, args); in invoke()
134 public Object invoke(Object proxy, Method m, Object[] args) { in createProxy()
/frameworks/base/cmds/requestsync/src/com/android/commands/requestsync/
DRequestSync.java38 void invoke(RequestSync caller) { in invoke() method
59 void invoke(RequestSync caller) { in invoke() method
66 void invoke(RequestSync caller) { in invoke() method
72 abstract void invoke(RequestSync caller); in invoke() method in RequestSync.Operation
134 mOperation.invoke(this); in run()
/frameworks/native/cmds/dumpstate/
DDumpPool.cpp116 std::invoke(dump_func); in invokeTask()
124 std::invoke(dump_func, out_fd); in invokeTask()
188 std::invoke(task); in loop()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/pip/
DEnterPipTest.kt78 invoke("pipWindowIsNotVisible") { in pipWindowBecomesVisible()
80 }.then().invoke("pipWindowIsVisible") { in pipWindowBecomesVisible()

123456789