Home
last modified time | relevance | path

Searched refs:getMethod (Results 1 – 25 of 64) sorted by relevance

123

/frameworks/base/startop/view_compiler/dex_builder_test/src/android/startop/test/
DDexBuilderTest.java48 Method method = clazz.getMethod("return5"); in return5()
56 Method method = clazz.getMethod("returnInteger5"); in returnInteger5()
64 Method method = clazz.getMethod("returnParam", int.class); in returnParam()
73 Method method = clazz.getMethod("returnStringLength", String.class); in returnStringLength()
81 Method method = clazz.getMethod("returnIfZero", int.class); in returnIfZero()
90 Method method = clazz.getMethod("returnIfNotZero", int.class); in returnIfNotZero()
99 Method method = clazz.getMethod("backwardsBranch"); in backwardsBranch()
107 Method method = clazz.getMethod("returnNull"); in returnNull()
115 Method method = clazz.getMethod("makeString"); in makeString()
123 Method method = clazz.getMethod("returnStringIfZeroAB", int.class); in returnStringIfZeroAB()
[all …]
DLayoutCompilerTest.java39 Method layout1 = compiled_view.getMethod("layout1", Context.class, int.class); in loadAndInflateLayout1()
48 Method layout1 = compiled_view.getMethod("layout2", Context.class, int.class); in loadAndInflateLayout2()
DApkLayoutCompilerTest.java44 Method layout1 = compiled_view.getMethod("layout1", Context.class, int.class); in loadAndInflateLayout1()
53 Method layout2 = compiled_view.getMethod("layout2", Context.class, int.class); in loadAndInflateLayout2()
/frameworks/base/core/java/android/view/inputmethod/
DInputConnectionInspector.java147 final Method method = clazz.getMethod("getSelectedText", int.class); in hasGetSelectedText()
156 final Method method = clazz.getMethod("setComposingRegion", int.class, int.class); in hasSetComposingRegion()
165 final Method method = clazz.getMethod("commitCorrection", CorrectionInfo.class); in hasCommitCorrection()
174 final Method method = clazz.getMethod("requestCursorUpdates", int.class); in hasRequestCursorUpdate()
183 final Method method = clazz.getMethod("deleteSurroundingTextInCodePoints", int.class, in hasDeleteSurroundingTextInCodePoints()
193 final Method method = clazz.getMethod("getHandler"); in hasGetHandler()
202 final Method method = clazz.getMethod("closeConnection"); in hasCloseConnection()
211 final Method method = clazz.getMethod("commitContent", InputContentInfo.class, in hasCommitContent()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DAppCompatActionBar.java142 Method setTitle = getMethod(mWindowActionBarClass, "setTitle", CharSequence.class); in setTitle()
150 … Method setSubtitle = getMethod(mWindowActionBarClass, "setSubtitle", CharSequence.class); in setSubtitle()
159 if (invoke(getMethod(mWindowActionBarClass, "hasIcon"), mWindowDecorActionBar) in setIcon()
163 Method setIcon = getMethod(mWindowActionBarClass, "setIcon", Drawable.class); in setIcon()
173 Method setHomeAsUp = getMethod(mWindowActionBarClass, in setHomeAsUp()
206 getMethod(mWindowActionBarClass, "getThemedContext"), in inflateMenus()
209 Menu menuBuilder = (Menu)invoke(getMethod(mDecorToolbarClass, "getMenu"), mDecorToolbar); in inflateMenus()
223 private static Method getMethod(Class<?> owner, String name, Class<?>... parameterTypes) { in getMethod() method in AppCompatActionBar
225 return owner == null ? null : owner.getMethod(name, parameterTypes); in getMethod()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DSupportPreferencesUtil.java50 import static com.android.layoutlib.bridge.util.ReflectionUtils.getMethod;
169 (Integer) invoke(getMethod(preferenceGroupAdapter.getClass(), "getItemCount"), in setUpPreferencesListView()
175 Method getItemId = getMethod(preferenceGroupAdapter.getClass(), "getItemId", int.class); in setUpPreferencesListView()
177 getMethod(preferenceGroupAdapter.getClass(), "getItemViewType", int.class); in setUpPreferencesListView()
179 getMethod(preferenceGroupAdapter.getClass(), "onCreateViewHolder", ViewGroup.class, in setUpPreferencesListView()
193 invoke(getMethod(preferenceGroupAdapter.getClass(), "onBindViewHolder", in setUpPreferencesListView()
250 invoke(getMethod(preferenceManager.getClass(), "createPreferenceScreen", in inflatePreference()
DDesignLibUtil.java27 import static com.android.layoutlib.bridge.util.ReflectionUtils.getMethod;
62 invoke(getMethod(view.getClass(), "setTitle", CharSequence.class), view, title); in setTitle()
DDrawerLayoutUtil.java31 import static com.android.layoutlib.bridge.util.ReflectionUtils.getMethod;
59 invoke(getMethod(drawerLayout.getClass(), "openDrawer", int.class), drawerLayout, in openDrawer()
DFragmentTabHostUtil.java27 import static com.android.layoutlib.bridge.util.ReflectionUtils.getMethod;
68 invoke(getMethod(tabHost.getClass(), "setup", Context.class, in setup()
DRecyclerViewUtil.java33 import static com.android.layoutlib.bridge.util.ReflectionUtils.getMethod;
110 return invoke(getMethod(recyclerView.getClass(), "getLayoutManager"), recyclerView); in getLayoutManager()
138 invoke(getMethod(object.getClass(), propertySetter, propertyClass), object, propertyValue); in setProperty()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/
DBitmapUtils.java198 Method method = clazz.getMethod("setDataSource", String.class); 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/tests/utils/testutils/java/android/app/test/
DMockAnswerUtil.java39 Method method = invocation.getMethod(); in answer()
41 Method implementation = getClass().getMethod("answer", method.getParameterTypes()); in answer()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DRedirectListenerTest.java112 when(mIHTTPSession.getMethod()).thenReturn(NanoHTTPD.Method.PUT); in timeOutForKnownGetRequest()
132 when(mIHTTPSession.getMethod()).thenReturn(NanoHTTPD.Method.GET); in receiveUnknownGetRequest()
154 when(mIHTTPSession.getMethod()).thenReturn(NanoHTTPD.Method.GET); in receiveKnownGetRequest()
/frameworks/base/core/java/android/util/
DReflectiveProperty.java53 mGetter = propertyHolder.getMethod(getterName, (Class<?>[])null); in ReflectiveProperty()
58 mGetter = propertyHolder.getMethod(getterName, (Class<?>[])null); in ReflectiveProperty()
84 mSetter = propertyHolder.getMethod(setterName, getterType); in ReflectiveProperty()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DReflectionUtils.java33 public static Method getMethod(@NonNull Class<?> clazz, @NonNull String name, in getMethod() method in ReflectionUtils
36 return clazz.getMethod(name, params); in getMethod()
45 Method method = getMethod(clazz, name, params); in getAccessibleMethod()
/frameworks/base/core/java/android/net/http/
DX509TrustManagerExtensions.java66 mCheckServerTrusted = tm.getClass().getMethod("checkServerTrusted", in X509TrustManagerExtensions()
77 isSameTrustConfiguration = tm.getClass().getMethod("isSameTrustConfiguration", in X509TrustManagerExtensions()
/frameworks/base/core/java/com/android/internal/os/
DWebViewZygoteInit.java120 Method preloadInZygote = providerClass.getMethod("preloadInZygote"); in doPreload()
125 preloadSucceeded = (boolean) providerClass.getMethod("preloadInZygote") in doPreload()
/frameworks/base/core/java/android/webkit/
DWebResourceRequest.java64 String getMethod(); in getMethod() method
/frameworks/ex/common/java/com/android/common/
DSharedPreferencesCompat.java33 sApplyMethod = cls.getMethod("apply");
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/util/
DSystemProperties.java40 final Method get = systemProperties.getMethod("get", String.class, String.class); in get()
/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestServices/src/com/android/framework/multidexlegacytestservices/
DReflectIntermediateClass.java35 Method get = bigClass.getMethod("get" + i); in get()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DWnmData.java63 public int getMethod() { in getMethod() method in WnmData
/frameworks/multidex/library/test/src/androidx/multidex/
DZipUtilTest.java105 Assert.assertEquals(refEntry.getMethod(), checkEntry.getMethod()); in testCrcRange()
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
DAssignableFromTest.java54 Method method = aClass.getMethod("testX"); in testMethodFor()
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/
DDelegateClassAdapterTest.java496 Method m = instance.getClass().getMethod("get", in callGet()
508 Method m = instance.getClass().getMethod("get_Original", in callGet_Original()
540 Method m = instance.getClass().getMethod("add", in callAdd()
553 Method m = instance.getClass().getMethod("callNativeInstance", in callCallNativeInstance()

123