HomeSort by relevance Sort by last modified time
    Searched refs:getMethod (Results 201 - 225 of 1665) sorted by null

1 2 3 4 5 6 7 891011>>

  /packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/
WallpaperManagerCompatVN.java 23 Method setStream = WallpaperManager.class.getMethod("setStream", InputStream.class,
36 Method clear = WallpaperManager.class.getMethod("clear", int.class);
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
GenericExceptionsTest.java 31 Method method = Thrower.class.getMethod("parameterizedMethod");
37 Method method = Thrower.class.getMethod("genericParameters", List.class);
63 Method method = ThrowerT.class.getMethod("throwsTypeVariable");
71 Method method = ThrowerT.class.getMethod("throwsMethodTypeParameter");
79 Method method = ThrowerT.class.getMethod("throwsEverything");
  /external/testng/src/main/java/org/testng/junit/
JUnit4TestRunner.java 123 m_parentRunner.addSkippedTest(tr.getMethod(), tr);
140 m_parentRunner.addFailedTest(tr.getMethod(), tr);
152 m_parentRunner.addPassedTest(tr.getMethod(), tr);
157 m_methods.add(tr.getMethod());
165 m_parentRunner.addSkippedTest(tr.getMethod(), tr);
166 m_methods.add(tr.getMethod());
201 InvokedMethod im = new InvokedMethod(tr.getTestClass(), tr.getMethod(), new Object[0], tr.getStartMillis(), tr);
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
CompatUtils.java 42 public static Method getMethod(final Class<?> targetClass, final String name,
48 return targetClass.getMethod(name, parameterTypes);
145 public <T> ToObjectMethodWrapper<T> getMethod(final String name,
147 return new ToObjectMethodWrapper<>(CompatUtils.getMethod(mClass, name, parameterTypes),
153 return new ToIntMethodWrapper(CompatUtils.getMethod(mClass, name, parameterTypes),
159 return new ToFloatMethodWrapper(CompatUtils.getMethod(mClass, name, parameterTypes),
165 return new ToBooleanMethodWrapper(CompatUtils.getMethod(mClass, name, parameterTypes),
  /frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
AppCompatActionBar.java 146 Method setTitle = getMethod(mWindowActionBarClass, "setTitle", CharSequence.class);
154 Method setSubtitle = getMethod(mWindowActionBarClass, "setSubtitle", CharSequence.class);
163 if (invoke(getMethod(mWindowActionBarClass, "hasIcon"), mWindowDecorActionBar)
167 Method setIcon = getMethod(mWindowActionBarClass, "setIcon", Drawable.class);
177 Method setHomeAsUp = getMethod(mWindowActionBarClass,
218 getMethod(mWindowActionBarClass, "getThemedContext"),
221 Menu menuBuilder = (Menu)invoke(getMethod(mDecorToolbarClass, "getMenu"), mDecorToolbar);
235 private static Method getMethod(Class<?> owner, String name, Class<?>... parameterTypes) {
237 return owner == null ? null : owner.getMethod(name, parameterTypes);
245 * Same as getMethod but doesn't require the parameterTypes. This allows us to call method
    [all...]
  /art/test/071-dexfile-map-clean/src/
Main.java 128 Method DexFile_loadDex = DexFile.getMethod("loadDex",
132 Method DexFile_entries = DexFile.getMethod("entries");
140 Method DexFile_loadClass = DexFile.getMethod("loadClass",
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
CollectionAddTester.java 125 return Helpers.getMethod(CollectionAddTester.class, "testAdd_nullSupported");
137 return Helpers.getMethod(CollectionAddTester.class, "testAdd_nullUnsupported");
149 return Helpers.getMethod(CollectionAddTester.class, "testAdd_unsupportedNotPresent");
  /external/mockito/src/main/java/org/mockito/internal/stubbing/defaultanswers/
ReturnsEmptyValues.java 58 if (isToStringMethod(invocation.getMethod())) {
66 } else if (isCompareToMethod(invocation.getMethod())) {
73 Class<?> returnType = invocation.getMethod().getReturnType();
  /external/mockito/src/test/java/org/mockito/internal/creation/bytebuddy/
SubclassByteBuddyMockMakerTest.java 65 assertThat(proxy.getClass().getMethod("sampleMethod").isAnnotationPresent(SampleAnnotation.class)).isTrue();
66 assertThat(proxy.getClass().getMethod("sampleMethod").getAnnotation(SampleAnnotation.class).value()).isEqualTo("bar");
78 assertThat(proxy.getClass().getMethod("sampleMethod").isAnnotationPresent(SampleAnnotation.class)).isFalse();
  /external/mockito/src/test/java/org/mockito/internal/exceptions/
ReporterTest.java 65 throw Reporter.delegatedMethodDoesNotExistOnDelegate(dumb_invocation.getMethod(), mock_with_bogus_default_answer, String.class);
72 throw Reporter.delegatedMethodHasWrongReturnType(dumb_invocation.getMethod(), dumb_invocation.getMethod(), mock_with_bogus_default_answer, String.class);
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/
Platform.java 152 trafficStatsTagSocket = trafficStats.getMethod("tagSocket", Socket.class);
153 trafficStatsUntagSocket = trafficStats.getMethod("untagSocket", Socket.class);
183 Method putMethod = negoClass.getMethod("put", SSLSocket.class, providerClass);
184 Method getMethod = negoClass.getMethod("get", SSLSocket.class);
185 Method removeMethod = negoClass.getMethod("remove", SSLSocket.class);
187 putMethod, getMethod, removeMethod, clientProviderClass, serverProviderClass);
352 private final Method getMethod;
357 public JdkWithJettyBootPlatform(Class<?> sslContextClass, Method putMethod, Method getMethod,
361 this.getMethod = getMethod
    [all...]
  /frameworks/base/core/java/android/util/
ReflectiveProperty.java 53 mGetter = propertyHolder.getMethod(getterName, (Class<?>[])null);
58 mGetter = propertyHolder.getMethod(getterName, (Class<?>[])null);
84 mSetter = propertyHolder.getMethod(setterName, getterType);
  /frameworks/support/compat/src/main/java/androidx/core/text/
ICUCompat.java 39 sAddLikelySubtagsMethod = clazz.getMethod("addLikelySubtags",
48 sGetScriptMethod = clazz.getMethod("getScript",
50 sAddLikelySubtagsMethod = clazz.getMethod("addLikelySubtags",
  /libcore/dom/src/test/java/org/w3c/domts/
DOM4JTestDocumentBuilderFactory.java 71 Method getInstance = domFactoryClass.getMethod("getInstance", new Class[] {});
79 Method getReaderMethod = saxReaderClass.getMethod("getXMLReader",
83 readMethod = saxReaderClass.getMethod("read", new Class[] {java.net.URL.class});
  /libcore/luni/src/test/java/libcore/java/math/
RunCSVTests.java 57 Method m = mathClass.getMethod(func, new Class[] { Double.TYPE });
87 m = mathClass.getMethod(func, new Class[] { Double.TYPE, Integer.TYPE });
90 m = mathClass.getMethod(func, new Class[] { Double.TYPE, Double.TYPE });
  /libcore/luni/src/test/java/libcore/javax/crypto/
CipherOutputStreamTest.java 96 keyParamsBuilderClass.getMethod("setBlockModes", new Class[]{String[].class})
98 keyParamsBuilderClass.getMethod("setEncryptionPaddings", new Class[]{String[].class})
101 keyParamsBuilderClass.getMethod("build", new Class[]{}).invoke(keyParamsBuilder);
  /packages/apps/Contacts/tests/src/com/android/contacts/
RunMethodInstrumentation.java 127 method = clazz.getMethod(methodName, Context.class, Bundle.class);
138 method = clazz.getMethod(methodName, Context.class);
148 method = clazz.getMethod(methodName);
  /art/test/442-checker-constant-folding/src/
Main.java 58 Method m = testCmp.getMethod("$opt$CmpLongConstants");
62 Method m = testCmp.getMethod("$opt$CmpGtFloatConstants");
66 Method m = testCmp.getMethod("$opt$CmpLtFloatConstants");
70 Method m = testCmp.getMethod("$opt$CmpGtDoubleConstants");
74 Method m = testCmp.getMethod("$opt$CmpLtDoubleConstants");
79 Method m = testCmp.getMethod("$opt$CmpLongSameConstant");
83 Method m = testCmp.getMethod("$opt$CmpGtFloatSameConstant");
87 Method m = testCmp.getMethod("$opt$CmpLtFloatSameConstant");
91 Method m = testCmp.getMethod("$opt$CmpGtDoubleSameConstant");
95 Method m = testCmp.getMethod("$opt$CmpLtDoubleSameConstant")
    [all...]
  /external/nist-sip/java/gov/nist/javax/sip/stack/
SIPClientTransaction.java 364 && getMethod().equals(messageToTest.getCSeq().getMethod());
374 transactionMatches = getOriginalRequest().getCSeq().getMethod().equals(
375 messageToTest.getCSeq().getMethod());
426 if (transactionRequest.getMethod().equals(Request.ACK)) {
438 // if (transactionRequest.getMethod() != Request.ACK)
456 if (transactionRequest.getMethod().equals(Request.INVITE)) {
458 } else if (transactionRequest.getMethod().equals(Request.ACK)) {
475 // if (transactionRequest.getMethod() != Request.ACK)
    [all...]
  /art/test/048-reflect-v8/src/
IsDefaultTest.java 40 m = klass.getMethod("sayHi");
  /art/test/140-field-packing/src/
GapOrder.java 56 Method getOffset = Field.class.getMethod("getOffset");
  /art/test/425-invoke-super/src/
Main.java 49 Method m = c.getMethod("run");
  /art/test/435-new-instance/src/
Main.java 36 Method m = c.getMethod(method);
  /art/test/455-checker-gvn/src/
Main.java 32 Method m = c.getMethod("foo", int.class, int.class);
  /art/test/510-checker-try-catch/src/
Main.java 42 Method m = c.getMethod(method, boolean.class, boolean.class);

Completed in 594 milliseconds

1 2 3 4 5 6 7 891011>>