Searched refs:method (Results 51 - 75 of 293) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/hardware/camera2/dispatch/
H A DBroadcastDispatcher.java49 public Object dispatch(Method method, Object[] args) throws Throwable { argument
54 Object localResult = dispatchTarget.dispatch(method, args);
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/annotation/
H A DHasClassAnnotationTest.java39 Method method = aClass.getMethod("testSomeTest");
41 TestMethod testMethod = new TestMethod(method, aClass);
H A DHasMethodAnnotationTest.java42 Method method = aClass.getMethod(methodName);
43 TestMethod testMethod = new TestMethod(method, aClass);
/frameworks/base/tools/aapt2/compile/
H A DPseudolocalizer.h47 explicit Pseudolocalizer(Method method);
48 void SetMethod(Method method);
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DImageViewBindingAdapter.java26 @BindingMethod(type = android.widget.ImageView.class, attribute = "android:tint", method = "setImageTintList"),
27 @BindingMethod(type = android.widget.ImageView.class, attribute = "android:tintMode", method = "setImageTintMode"),
H A DCardViewBindingAdapter.java24 @BindingMethod(type = android.support.v7.widget.CardView.class, attribute = "cardCornerRadius", method = "setRadius"),
25 @BindingMethod(type = android.support.v7.widget.CardView.class, attribute = "cardMaxElevation", method = "setMaxCardElevation"),
26 @BindingMethod(type = android.support.v7.widget.CardView.class, attribute = "cardPreventCornerOverlap", method = "setPreventCornerOverlap"),
27 @BindingMethod(type = android.support.v7.widget.CardView.class, attribute = "cardUseCompatPadding", method = "setUseCompatPadding"),
H A DViewStubBindingAdapter.java27 @BindingMethod(type = android.view.ViewStub.class, attribute = "android:layout", method = "setLayoutResource")
H A DSearchViewBindingAdapter.java29 @BindingMethod(type = SearchView.class, attribute = "android:onQueryTextFocusChange", method = "setOnQueryTextFocusChangeListener"),
30 @BindingMethod(type = SearchView.class, attribute = "android:onSearchClick", method = "setOnSearchClickListener"),
31 @BindingMethod(type = SearchView.class, attribute = "android:onClose", method = "setOnCloseListener"),
H A DTextViewBindingAdapter.java34 import android.text.method.DialerKeyListener;
35 import android.text.method.DigitsKeyListener;
36 import android.text.method.KeyListener;
37 import android.text.method.PasswordTransformationMethod;
38 import android.text.method.TextKeyListener;
44 @BindingMethod(type = TextView.class, attribute = "android:autoLink", method = "setAutoLinkMask"),
45 @BindingMethod(type = TextView.class, attribute = "android:drawablePadding", method = "setCompoundDrawablePadding"),
46 @BindingMethod(type = TextView.class, attribute = "android:editorExtras", method = "setInputExtras"),
47 @BindingMethod(type = TextView.class, attribute = "android:inputType", method = "setRawInputType"),
48 @BindingMethod(type = TextView.class, attribute = "android:scrollHorizontally", method
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
H A DWnmData.java33 public WnmData(long bssid, String url, int method) { argument
36 mMethod = method;
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DTelephonyTestUtils.java65 public static Object invokeStaticMethod(Class<?> clazz, String method, Object... params) { argument
72 Method methodReflection = clazz.getDeclaredMethod(method, paramType);
82 * This is needed when the test expects the method in source being called to throw an exception.
88 public static Object invokeStaticMethodThrowsException(Class<?> clazz, String method, argument
96 Method methodReflection = clazz.getDeclaredMethod(method, paramType);
112 public static Object invokeNonStaticMethod(Class<?> clazz, Object caller, String method, argument
120 Method methodReflection = clazz.getDeclaredMethod(method, paramType);
130 * This is needed when the test expects the method in source being called to throw an exception.
137 String method, Object... params)
145 Method methodReflection = clazz.getDeclaredMethod(method, paramTyp
136 invokeNonStaticMethodThrowsException(Class<?> clazz, Object caller, String method, Object... params) argument
[all...]
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/java/
H A DJavaTypeUtil.java33 Method method = ((JavaMethod) modelMethod).mMethod;
35 sb.append(method.getName());
37 for (Class param : method.getParameterTypes()) {
41 sb.append(getDescription(method.getReturnType()));
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DViewUtils.java49 Log.d(TAG, "Could not find method computeFitSystemWindows. Oh well.");
76 * Allow calling the hidden method {@code computeFitSystemWindows(Rect, Rect)} through
90 * Allow calling the hidden method {@code makeOptionalFitsSystem()} through reflection on
97 // and ViewGroup implement the method
98 Method method = view.getClass().getMethod("makeOptionalFitsSystemWindows");
99 if (!method.isAccessible()) {
100 method.setAccessible(true);
102 method.invoke(view);
104 Log.d(TAG, "Could not find method makeOptionalFitsSystemWindows. Oh well...");
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/robolectric/
H A DSuwLibRobolectricTestRunner.java60 protected void runChild(FrameworkMethod method, RunNotifier notifier) { argument
61 System.out.println("===== Running " + method + " =====");
62 super.runChild(method, notifier);
/frameworks/support/emoji/core/src/android/support/text/emoji/widget/
H A DEmojiKeyListener.java34 final class EmojiKeyListener implements android.text.method.KeyListener {
35 private final android.text.method.KeyListener mKeyListener;
37 EmojiKeyListener(android.text.method.KeyListener keyListener) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/events/
H A DEventBus.java75 EventHandlerMethod method; field in class:EventHandler
77 EventHandler(Subscriber subscriber, EventHandlerMethod method, int priority) { argument
79 this.method = method;
85 return subscriber.toString(priority) + " " + method.toString();
90 * Represents the low level method handling a particular event.
96 EventHandlerMethod(Method method, Class<? extends EventBus.Event> eventType) { argument
97 mMethod = method;
131 * Event method signature:<ul>
139 * Interprocess-Event method signatur
943 isValidEventBusHandlerMethod(Method method, Class<?>[] parameterTypes, MutableBoolean isInterprocessEventOut) argument
[all...]
/frameworks/base/tests/testables/src/android/testing/
H A DTestableSettingsProvider.java69 public Bundle call(String method, String arg, Bundle extras) { argument
72 final String[] commands = method.split("_", 2);
89 if (DEBUG) Log.d(TAG, "Falling through to real settings " + method);
91 Bundle call = mSettings.call(method, arg, extras);
104 throw new UnsupportedOperationException("Unknown command " + method);
/frameworks/base/legacy-test/src/android/test/
H A DInstrumentationTestCase.java47 * Injects instrumentation into this test case. This method is
57 * Injects instrumentation into this test case. This method is
79 * Utility method for launching an activity.
107 * Utility method for launching an activity with a specific Intent.
133 * Note, in most cases it is simpler to annotate the test method with
134 * {@link android.test.UiThreadTest}, which will run the entire test method on the UI thread.
135 * Use this method if you need to switch in and out of the UI thread to perform your test.
137 * @param r runnable containing test code in the {@link Runnable#run()} method
163 Method method = null;
169 method
[all...]
/frameworks/base/test-runner/src/junit/textui/
H A DTestRunner.java20 * If this class defines a static <code>suite</code> method it
67 * This method can be used to start a test run
154 String method= "";
166 method= arg.substring(lastIndex + 1);
177 if (!method.equals(""))
178 return runSingleMethod(testCase, method, wait);
186 protected TestResult runSingleMethod(String testCase, String method, boolean wait) throws Exception { argument
188 Test test= TestSuite.createTest(testClass, method);
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
H A DFakeSettingsProvider.java93 public Bundle call(String method, String arg, Bundle extras) { argument
95 String[] commands = method.split("_", 2);
125 throw new UnsupportedOperationException("Unknown command " + method);
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
H A DPerformanceRunner.java53 protected Statement methodInvoker(FrameworkMethod method, Object test) { argument
57 Configuration methodConfig = method.getAnnotation(Configuration.class);
64 return new TimedStatement(super.methodInvoker(method, test), warmUpIterations, runs,
/frameworks/base/core/java/android/text/method/
H A DKeyListener.java17 package android.text.method;
50 * return any other value, a soft input method will be created when the
53 * not be used, instead the soft input method will take care of managing
/frameworks/base/tools/aapt/tests/
H A DPseudolocales_test.cpp29 static void simple_helper(const char* input, const char* expected, PseudolocalizationMethod method) { argument
30 Pseudolocalizer pseudo(method);
37 const char* expected, PseudolocalizationMethod method) {
38 Pseudolocalizer pseudo(method);
36 compound_helper(const char* in1, const char* in2, const char *in3, const char* expected, PseudolocalizationMethod method) argument
/frameworks/base/libs/hwui/renderthread/
H A DRenderTask.h78 explicit MethodInvokeRenderTask(RunnableMethod method) argument
79 : mMethod(method), mReturnPtr(nullptr) {}
/frameworks/base/test-runner/src/android/test/
H A DActivityInstrumentationTestCase2.java31 * <li>You can run any test method on the UI thread (see {@link android.test.UiThreadTest}).</li>
80 * For each test method invocation, the Activity will not actually be created until the first
81 * time this method is called.
89 * If your test method is annotated with {@link android.test.UiThreadTest}, then your Activity
90 * will be started automatically just before your test method is run. You still call this
91 * method in order to get the Activity under test.
114 * Call this method before the first call to {@link #getActivity} to inject a customized Intent
121 * If your test method is annotated with {@link android.test.UiThreadTest}, then you must call
124 * <p>The default Intent (if this method is not called) is:
136 * Call this method befor
[all...]

Completed in 535 milliseconds

1234567891011>>