/frameworks/base/startop/view_compiler/dex_builder_test/src/android/startop/test/ |
D | DexBuilderTest.java | 48 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 …]
|
D | LayoutCompilerTest.java | 39 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()
|
D | ApkLayoutCompilerTest.java | 44 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/ |
D | InputConnectionInspector.java | 147 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/ |
D | AppCompatActionBar.java | 142 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/ |
D | SupportPreferencesUtil.java | 50 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()
|
D | DesignLibUtil.java | 27 import static com.android.layoutlib.bridge.util.ReflectionUtils.getMethod; 62 invoke(getMethod(view.getClass(), "setTitle", CharSequence.class), view, title); in setTitle()
|
D | DrawerLayoutUtil.java | 31 import static com.android.layoutlib.bridge.util.ReflectionUtils.getMethod; 59 invoke(getMethod(drawerLayout.getClass(), "openDrawer", int.class), drawerLayout, in openDrawer()
|
D | FragmentTabHostUtil.java | 27 import static com.android.layoutlib.bridge.util.ReflectionUtils.getMethod; 68 invoke(getMethod(tabHost.getClass(), "setup", Context.class, in setup()
|
D | RecyclerViewUtil.java | 33 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/ |
D | BitmapUtils.java | 198 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/ |
D | MockAnswerUtil.java | 39 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/ |
D | RedirectListenerTest.java | 112 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/ |
D | ReflectiveProperty.java | 53 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/ |
D | ReflectionUtils.java | 33 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/ |
D | X509TrustManagerExtensions.java | 66 mCheckServerTrusted = tm.getClass().getMethod("checkServerTrusted", in X509TrustManagerExtensions() 77 isSameTrustConfiguration = tm.getClass().getMethod("isSameTrustConfiguration", in X509TrustManagerExtensions()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | WebViewZygoteInit.java | 120 Method preloadInZygote = providerClass.getMethod("preloadInZygote"); in doPreload() 125 preloadSucceeded = (boolean) providerClass.getMethod("preloadInZygote") in doPreload()
|
/frameworks/base/core/java/android/webkit/ |
D | WebResourceRequest.java | 64 String getMethod(); in getMethod() method
|
/frameworks/ex/common/java/com/android/common/ |
D | SharedPreferencesCompat.java | 33 sApplyMethod = cls.getMethod("apply");
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/util/ |
D | SystemProperties.java | 40 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/ |
D | ReflectIntermediateClass.java | 35 Method get = bigClass.getMethod("get" + i); in get()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | WnmData.java | 63 public int getMethod() { in getMethod() method in WnmData
|
/frameworks/multidex/library/test/src/androidx/multidex/ |
D | ZipUtilTest.java | 105 Assert.assertEquals(refEntry.getMethod(), checkEntry.getMethod()); in testCrcRange()
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
D | AssignableFromTest.java | 54 Method method = aClass.getMethod("testX"); in testMethodFor()
|
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
D | DelegateClassAdapterTest.java | 496 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()
|