HomeSort by relevance Sort by last modified time
    Searched defs:method (Results 376 - 400 of 2092) sorted by null

<<11121314151617181920>>

  /frameworks/base/core/tests/utillib/src/android/test/
BandwidthTestCase.java 24 import java.lang.reflect.Method;
46 Method method = null; local
54 method = testClass.getMethod(fName, (Class[]) null);
56 fail("Method \""+fName+"\" not found");
59 if (!Modifier.isPublic(method.getModifiers())) {
60 fail("Method \""+fName+"\" should be public");
65 if (method.isAnnotationPresent(FlakyTest.class)) {
66 runCount = method.getAnnotation(FlakyTest.class).tolerance();
67 } else if (method.isAnnotationPresent(RepetitiveTest.class))
    [all...]
  /frameworks/base/libs/androidfw/
ZipUtils.cpp 266 int method, flags; local
272 method = getc(fp);
276 if (method == EOF || flags == EOF)
278 if (method != ZipFileRO::kCompressDeflated)
325 *pCompressionMethod = method;
  /frameworks/base/test-runner/src/android/test/suitebuilder/
TestMethod.java 24 import java.lang.reflect.Method;
36 public TestMethod(Method method, Class<? extends TestCase> enclosingClass) {
37 this(method.getName(), enclosingClass);
  /frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/
StubMethodAdapterTest.java 30 import java.lang.reflect.Method;
41 * Load a dummy class, stub one of its method and ensure that the modified class works as
47 // First don't change the method and assert that it returns true
49 // Change the method now and assert that it returns false.
55 * @param methodPredicate tests if the method should be replaced
68 Method method = aClass.getMethod(methodName); local
70 assertion.accept((Boolean) method.invoke(o));
97 // but not generating the _Original method.
  /frameworks/data-binding/compiler/src/main/java/android/databinding/tool/expr/
MethodCallExpr.java 93 ModelMethod method = target.getResolvedType().getMethod(mName, args, isStatic); local
94 if (method == null) {
95 String message = "cannot find method '" + mName + "' in class " +
98 L.e(e, "cannot find method %s in class %s", mName,
102 if (!isStatic && method.isStatic()) {
103 // found a static method on an instance. Use class instead
114 if (method.isStatic()) {
117 mGetter = new Callable(Type.METHOD, method.getName(), null, method.getReturnType(args)
    [all...]
  /frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DcControllerTest.java 37 import java.lang.reflect.Method;
82 Method method = StateMachine.class.getDeclaredMethod("getCurrentState"); local
83 method.setAccessible(true);
84 return (IState) method.invoke(mDcc);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
TypeVariableTest.java 21 import java.lang.reflect.Method;
48 Method method = clazz.getDeclaredMethod("b"); local
49 TypeVariable<Method>[] typeParameters = method.getTypeParameters();
51 TypeVariable<Method> typeVariable = typeParameters[0];
52 assertEquals(method, typeVariable.getGenericDeclaration());
96 Method method = clazz.getDeclaredMethod("e"); local
98 TypeVariable<?>[] typeParameters = method.getTypeParameters()
    [all...]
  /libcore/ojluni/src/main/java/sun/net/
ProgressSource.java 40 // URL method
41 private String method; field in class:ProgressSource
62 public ProgressSource(URL url, String method) {
63 this(url, method, -1);
69 public ProgressSource(URL url, String method, long expected) {
71 this.method = method;
105 * Return method of URL.
108 return method;
207 return getClass().getName() + "[url=" + url + ", method=" + method + ", state=" + stat
    [all...]
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/math/special_functions/detail/
fp_traits.hpp 134 typedef native_tag method; typedef in struct:boost::math::detail::fp_traits_native
142 typedef generic_tag<std::numeric_limits<T>::is_specialized> method; typedef in struct:boost::math::detail::fp_traits_non_native
144 typedef generic_tag<false> method;
159 method -- tells us whether all bytes are copied or not.
179 typedef ieee_copy_all_bits_tag method; typedef in struct:boost::math::detail::fp_traits_non_native
198 typedef ieee_copy_leading_bits_tag method; typedef in struct:boost::math::detail::fp_traits_non_native
234 typedef ieee_copy_all_bits_tag method; typedef in struct:boost::math::detail::fp_traits_non_native
258 typedef ieee_copy_leading_bits_tag method; typedef in struct:boost::math::detail::fp_traits_non_native
294 typedef ieee_copy_all_bits_tag method; typedef in struct:boost::math::detail::fp_traits_non_native
321 typedef ieee_copy_leading_bits_tag method; typedef in struct:boost::math::detail::fp_traits_non_native
365 typedef ieee_copy_leading_bits_tag method; typedef in struct:boost::math::detail::fp_traits_non_native
410 typedef ieee_copy_leading_bits_tag method; typedef in struct:boost::math::detail::fp_traits_non_native
446 typedef ieee_copy_leading_bits_tag method; typedef in struct:boost::math::detail::fp_traits_non_native
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/
gdiplusstringformat.h 87 StringDigitSubstitute method; local
89 nativeStringFormat, &result, &method));
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/sdk/
LayoutParamsParserTest.java 28 import java.lang.reflect.Method;
38 * Convention: method names that start with an underscore are actually local wrappers
143 Method method = AndroidTargetParser.class.getDeclaredMethod("getLayoutClasses"); //$NON-NLS-1$ local
144 method.setAccessible(true);
145 method.invoke(mParser);
151 Method method = LayoutParamsParser.class.getDeclaredMethod("addGroup", //$NON-NLS-1$ local
153 method.setAccessible(true);
154 return (ViewClassInfo) method.invoke(mParser, new ClassWrapper(groupClass))
160 Method method = LayoutParamsParser.class.getDeclaredMethod("addLayoutParams", \/\/$NON-NLS-1\$ local
168 Method method = LayoutParamsParser.class.getDeclaredMethod("getLayoutParamsInfo", \/\/$NON-NLS-1\$ local
176 Method method = LayoutParamsParser.class.getDeclaredMethod("findLayoutParams", \/\/$NON-NLS-1\$ local
    [all...]
  /system/connectivity/shill/dbus/
chromeos_wimax_device_proxy.cc 242 const string& method) {
243 SLOG(&proxy_->GetObjectPath(), 2) << __func__ << ": " << method; local
249 const string& method,
255 method.c_str(),
  /system/keymaster/
keymaster1_engine.cpp 387 RSA_METHOD method; local
389 method.common.references = 0;
390 method.common.is_static = 1;
391 method.app_data = nullptr;
392 method.init = nullptr;
393 method.finish = nullptr;
394 method.size = nullptr;
395 method.sign = nullptr;
396 method.verify = nullptr;
397 method.encrypt = nullptr
412 ECDSA_METHOD method; local
    [all...]
  /system/webservd/libwebserv/
dbus_server.cc 60 std::string method = std::get<4>(in_request_info); local
72 new RequestImpl{protocol_handler, url, method}};
  /cts/tests/signature/tests/src/android/signature/cts/tests/
JDiffClassDescriptionTest.java 152 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local
154 clz.addMethod(method);
156 assertEquals(method.toSignatureString(), "public static void staticMethod()");
161 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local
163 clz.addMethod(method);
165 assertEquals(method.toSignatureString(), "public synchronized void syncMethod()");
170 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local
172 clz.addMethod(method);
174 assertEquals(method.toSignatureString(), "boolean packageProtectedMethod()");
179 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod local
188 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local
197 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local
208 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local
343 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local
356 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local
367 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local
378 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local
419 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local
435 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local
450 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local
466 JDiffClassDescription.JDiffMethod method = new JDiffClassDescription.JDiffMethod( local
    [all...]
  /external/caliper/caliper/src/main/java/com/google/caliper/options/
CommandLineParser.java 36 import java.lang.reflect.Method;
106 * Annotates a field or method in an options class to signify that parsed values should be
110 @Target({ElementType.FIELD, ElementType.METHOD})
120 * Annotates a single method in an options class to receive any "leftover" arguments. The method
121 * must accept {@code ImmutableList<String>} or a supertype. The method will be invoked even if
125 @Target({ElementType.FIELD, ElementType.METHOD})
206 Method leftoverMethod = null;
219 for (Method method : injectedClass.getDeclaredMethods())
310 private Method method; field in class:CommandLineParser.MethodOption
    [all...]
  /external/doclava/src/com/google/doclava/apicheck/
ApiFile.java 207 } else if ("method".equals(token)) {
217 throw new ApiParseException("expected ctor, enum_constant, field or method", tokenizer.getLine());
231 MethodInfo method; local
252 //method = new MethodInfo(name, cl.qualifiedName(), false/*static*/, false/*final*/, dep,
254 method = new MethodInfo(""/*rawCommentText*/, new ArrayList<TypeInfo>()/*typeParameters*/,
262 method.setDeprecated(dep);
264 parseParameterList(tokenizer, method, token);
267 token = parseThrows(tokenizer, method);
272 cl.addConstructor(method);
289 MethodInfo method; local
    [all...]
  /external/guava/guava-testlib/src/com/google/common/testing/
NullPointerTester.java 41 import java.lang.reflect.Method;
87 * Ignore {@code method} in the tests that follow. Returns this object.
91 public NullPointerTester ignore(Method method) {
92 ignoredMembers.add(checkNotNull(method));
117 * Runs {@link #testMethod} on every static method of class {@code c} that has
122 for (Method method : minimalVisibility.getStaticMethods(c)) {
123 if (!isIgnored(method)) {
124 testMethod(null, method);
    [all...]
  /external/javassist/src/main/javassist/
CtConstructor.java 48 * @param declaring the class to which the created method is added.
82 * Javac compiler may produce a helper method.
84 * copies this helper method, the programmers have the responsiblity of
88 * @param src the source method.
89 * @param declaring the class to which the created method is added.
134 * then this method returns <code>"&lt;clinit&gt;"</code>.
145 * is the default one. This method returns true if the constructor
181 * of the super class. This method returns false if it
226 * @param src the method that the body is copied from.
279 /* This method is called by addCatch() in CtBehavior
350 CtMethod method = new CtMethod(null, declaring); local
    [all...]
  /external/jetty/src/java/org/eclipse/jetty/security/authentication/
DigestAuthenticator.java 323 final String method; field in class:DigestAuthenticator.Digest
336 method = m;
370 md.update(method.getBytes(StringUtil.__ISO_8859_1));
  /external/proguard/src/proguard/classfile/
LibraryClass.java 287 public Method findMethod(String name, String descriptor)
291 Method method = methods[index]; local
292 if (method != null &&
293 (name == null || method.getName(this).equals(name)) &&
294 (descriptor == null || method.getDescriptor(this).equals(descriptor)))
296 return method;
491 Method method = methods[index]; local
492 if (method != null
502 Method method = findMethod(name, descriptor); local
    [all...]
ProgramClass.java 340 public Method findMethod(String name, String descriptor)
344 Method method = methods[index]; local
345 if ((name == null || method.getName(this).equals(name)) &&
346 (descriptor == null || method.getDescriptor(this).equals(descriptor)))
348 return method;
523 Method method = findMethod(name, descriptor); local
524 if (method != null)
526 method.accept(this, memberVisitor)
    [all...]
  /external/testng/src/main/java/org/testng/internal/
TestNGMethod.java 13 import java.lang.reflect.Method;
20 * This class represents a test method.
38 * @param method
41 public TestNGMethod(Method method, IAnnotationFinder finder, XmlTest xmlTest, Object instance) {
42 this(method, finder, true, xmlTest, instance);
45 private TestNGMethod(Method method, IAnnotationFinder finder, boolean initialize,
47 super(method.getName(), method, finder, instance); local
    [all...]
  /libcore/luni/src/test/java/libcore/javax/crypto/
ECDHKeyAgreementTest.java 25 import java.lang.reflect.Method;
351 throw new RuntimeException("Failed to deduce calling method name from stack trace");
355 Method method; local
357 method = getClass().getDeclaredMethod(invokedMethodName, Provider.class);
359 throw new AssertionFailedError("Failed to find per-Provider test method "
365 method.invoke(this, provider);
  /packages/apps/Messaging/src/android/support/v7/mms/
MmsNetworkManager.java 29 import java.lang.reflect.Method;
299 final Method method = mConnectivityManager.getClass().getMethod( local
301 if (method != null) {
302 return (Integer) method.invoke(
314 final Method method = mConnectivityManager.getClass().getMethod( local
316 if (method != null) {
317 method.invoke(
373 final Method method = cmClass.getDeclaredMethod("getMobileDataEnabled") local
    [all...]

Completed in 1593 milliseconds

<<11121314151617181920>>