/frameworks/base/core/java/android/hardware/camera2/dispatch/ |
H A D | BroadcastDispatcher.java | 49 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 D | HasClassAnnotationTest.java | 39 Method method = aClass.getMethod("testSomeTest"); 41 TestMethod testMethod = new TestMethod(method, aClass);
|
H A D | HasMethodAnnotationTest.java | 42 Method method = aClass.getMethod(methodName); 43 TestMethod testMethod = new TestMethod(method, aClass);
|
/frameworks/base/tools/aapt2/compile/ |
H A D | Pseudolocalizer.h | 47 explicit Pseudolocalizer(Method method); 48 void SetMethod(Method method);
|
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
H A D | ImageViewBindingAdapter.java | 26 @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 D | CardViewBindingAdapter.java | 24 @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 D | ViewStubBindingAdapter.java | 27 @BindingMethod(type = android.view.ViewStub.class, attribute = "android:layout", method = "setLayoutResource")
|
H A D | SearchViewBindingAdapter.java | 29 @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 D | TextViewBindingAdapter.java | 34 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 D | WnmData.java | 33 public WnmData(long bssid, String url, int method) { argument 36 mMethod = method;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | TelephonyTestUtils.java | 65 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 D | JavaTypeUtil.java | 33 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 D | ViewUtils.java | 49 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 D | SuwLibRobolectricTestRunner.java | 60 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 D | EmojiKeyListener.java | 34 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 D | EventBus.java | 75 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 D | TestableSettingsProvider.java | 69 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 D | InstrumentationTestCase.java | 47 * 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 D | TestRunner.java | 20 * 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 D | FakeSettingsProvider.java | 93 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 D | PerformanceRunner.java | 53 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 D | KeyListener.java | 17 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 D | Pseudolocales_test.cpp | 29 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 D | RenderTask.h | 78 explicit MethodInvokeRenderTask(RunnableMethod method) argument 79 : mMethod(method), mReturnPtr(nullptr) {}
|
/frameworks/base/test-runner/src/android/test/ |
H A D | ActivityInstrumentationTestCase2.java | 31 * <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...] |