Home
last modified time | relevance | path

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

1234567

/frameworks/base/config/
Dhiddenapi-force-blacklist.txt4 Ljava/lang/invoke/MethodHandles$Lookup;->IMPL_LOOKUP:Ljava/lang/invoke/MethodHandles$Lookup;
5 Ljava/lang/invoke/VarHandle;->acquireFence()V
6 Ljava/lang/invoke/VarHandle;->compareAndExchange([Ljava/lang/Object;)Ljava/lang/Object;
7 Ljava/lang/invoke/VarHandle;->compareAndExchangeAcquire([Ljava/lang/Object;)Ljava/lang/Object;
8 Ljava/lang/invoke/VarHandle;->compareAndExchangeRelease([Ljava/lang/Object;)Ljava/lang/Object;
9 Ljava/lang/invoke/VarHandle;->compareAndSet([Ljava/lang/Object;)Z
10 Ljava/lang/invoke/VarHandle;->fullFence()V
11 Ljava/lang/invoke/VarHandle;->get([Ljava/lang/Object;)Ljava/lang/Object;
12 Ljava/lang/invoke/VarHandle;->getAcquire([Ljava/lang/Object;)Ljava/lang/Object;
13 Ljava/lang/invoke/VarHandle;->getAndAdd([Ljava/lang/Object;)Ljava/lang/Object;
[all …]
/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.java58 abstract R invoke(A a, B b, C c, D d, E e, F f, G g, H h, I i); in invoke() method in OmniFunction
62 return invoke(o, o2, null, null, null, null, null, null, null); in apply()
67 return invoke(o, null, null, null, null, null, null, null, null); in apply()
76 invoke(o, o2, null, null, null, null, null, null, null); in accept()
81 invoke(o, null, null, null, null, null, null, null, null); in accept()
86 invoke(null, null, null, null, null, null, null, null, null); in run()
91 return invoke(null, null, null, null, null, null, null, null, null); in get()
96 return (Boolean) invoke(o, o2, null, null, null, null, null, null, null); in test()
101 return (Boolean) invoke(o, null, null, null, null, null, null, null, null); in test()
116 return invoke(a, b, c, null, null, null, null, null, null); in apply()
[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.java143 invoke(setTitle, mWindowDecorActionBar, title); in setTitle()
151 invoke(setSubtitle, mWindowDecorActionBar, subtitle); in setSubtitle()
159 if (invoke(getMethod(mWindowActionBarClass, "hasIcon"), mWindowDecorActionBar) in setIcon()
164 invoke(setIcon, mWindowDecorActionBar, iconDrawable); in setIcon()
175 invoke(setHomeAsUp, mWindowDecorActionBar, homeAsUp); in setHomeAsUp()
205 Context themedContext = (Context)invoke( in inflateMenus()
209 Menu menuBuilder = (Menu)invoke(getMethod(mDecorToolbarClass, "getMenu"), mDecorToolbar); in inflateMenus()
213 invoke(findMethod(mDecorToolbarClass, "setMenu"), mDecorToolbar, menuBuilder, null); in inflateMenus()
275 private static Object invoke(@Nullable Method method, Object owner, Object... args) { in invoke() method in AppCompatActionBar
277 return method == null ? null : method.invoke(owner, args); in invoke()
/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/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/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/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/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/av/media/libmediaplayerservice/
DTestPlayerStub.h102 virtual status_t invoke(const android::Parcel& in, android::Parcel *out) { in invoke() function
103 return mPlayer->invoke(in, out); in invoke()
/frameworks/base/media/tests/players/
Dinvoke_mock_media_player.cpp91 virtual status_t invoke(const Parcel& request, Parcel *reply);
104 status_t Player::invoke(const Parcel& request, Parcel *reply) in invoke() function in __anon5c2392aa0111::Player
/frameworks/base/libs/hwui/thread/
DCommonPool.h89 post([task]() { std::invoke(*task); });
96 post([&task]() { std::invoke(task); });
/frameworks/base/core/java/android/net/http/
DX509TrustManagerExtensions.java101 return (List<X509Certificate>) mCheckServerTrusted.invoke(mTrustManager, chain, in checkServerTrusted()
140 return (Boolean) mIsSameTrustConfiguration.invoke(mTrustManager, hostname1, hostname2); in isSameTrustConfiguration()
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
DLockTargetStateAnalysis.java48 MethodInsnNode invoke = (MethodInsnNode) inst; in naryOperation() local
49 Type returnType = Type.getReturnType(invoke.desc); in naryOperation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DConfigurationControllerImpl.kt116 if (f.invoke(it)) { in filterForEach()
117 execute.invoke(it) in filterForEach()

1234567