/system/connectivity/shill/cellular/ |
cellular_bearer.cc | 44 const char kPropertyMethod[] = "method"; 47 IPConfig::Method ConvertMMBearerIPConfigMethod(uint32_t method) { 48 switch (method) { 99 IPConfig::Method* ipconfig_method, 104 uint32_t method = MM_BEARER_IP_METHOD_UNKNOWN; local 106 method = properties.GetUint(kPropertyMethod); 109 << "' does not specify an IP configuration method."; 112 *ipconfig_method = ConvertMMBearerIPConfigMethod(method);
|
/art/test/800-smali/src/ |
Main.java | 18 import java.lang.reflect.Method; 197 Method[] methods = c.getDeclaredMethods(); 200 // will give us the method we need to run. 201 Method method = null; local 202 for (Method m : methods) { 204 method = m; 209 if (method == null) { 210 errorReturn = new IllegalArgumentException("Could not find test method " + 216 if (Modifier.isStatic(method.getModifiers())) [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Method/ |
JDWPMethodTestCase.java | 26 package org.apache.harmony.jpda.tests.jdwp.Method;
|
VariableTableTest.java | 26 package org.apache.harmony.jpda.tests.jdwp.Method; 38 * JDWP Unit test for Method.VariableTable command. 42 * This testcase exercises Method.VariableTable command. 44 * For each received method sends Method.VariableTable command 66 checkReplyPacket(reply, "Method::VariableTable command");
|
VariableTableWithGenericTest.java | 26 package org.apache.harmony.jpda.tests.jdwp.Method; 38 * JDWP Unit test for Method.VariableTableWithGeneric command. 43 * This testcase exercises Method.VariableTableWithGeneric command. 45 * For each received method sends Method.VariableTableWithGeneric command 67 checkReplyPacket(reply, "Method::VariableTableWithGeneric command");
|
/external/conscrypt/src/platform/java/org/conscrypt/ |
Platform.java | 30 import java.lang.reflect.Method; 144 // Use duck-typing to try and call the hostname-aware method if available. 146 Method method = tm.getClass().getMethod(methodName, local 150 method.invoke(tm, chain, authType, argumentInstance); 225 Method myUidMethod = processClass.getMethod("myUid", (Class[]) null); 230 Method writeEventMethod = eventLogClass.getMethod("writeEvent",
|
/external/guice/core/src/com/google/inject/matcher/ |
Matchers.java | 27 import java.lang.reflect.Method; 369 public static Matcher<Method> returns( 374 private static class Returns extends AbstractMatcher<Method> implements Serializable { 381 public boolean matches(Method m) {
|
/external/guice/extensions/persist/src/com/google/inject/persist/jpa/ |
JpaFinderProxy.java | 34 import java.lang.reflect.Method; 49 private final Map<Method, FinderDescriptor> finderCache = new MapMaker().weakKeys().makeMap(); 151 Method method = invocation.getMethod(); local 152 JpaFinderProxy.FinderDescriptor finderDescriptor = finderCache.get(method); 174 Annotation[][] parameterAnnotations = method.getParameterAnnotations(); 215 cacheFinderDescriptor(method, finderDescriptor); 223 * @param method The key 226 private void cacheFinderDescriptor(Method method, FinderDescriptor finderDescriptor) [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/asm/ |
Type.java | 33 import java.lang.reflect.Method;
37 * method descriptors.
255 * method descriptor.
257 * @param methodDescriptor a method descriptor.
259 * method descriptor.
290 * method.
292 * @param method a method.
294 * method.
296 public static Type[] getArgumentTypes(final Method method) { [all...] |
/external/nanohttpd/fileupload/src/main/java/fi/iki/elonen/ |
NanoFileUpload.java | 36 import static fi.iki.elonen.NanoHTTPD.Method.POST;
|
/external/proguard/src/proguard/classfile/ |
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/proguard/src/proguard/classfile/editor/ |
AnnotationAdder.java | 132 public void visitAnnotation(Clazz clazz, Method method, int parameterIndex, Annotation annotation)
|
/external/proguard/src/proguard/classfile/instruction/ |
BranchInstruction.java | 138 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, InstructionVisitor instructionVisitor) 140 instructionVisitor.visitBranchInstruction(clazz, method, codeAttribute, offset, this);
|
LookUpSwitchInstruction.java | 131 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, InstructionVisitor instructionVisitor) 133 instructionVisitor.visitLookUpSwitchInstruction(clazz, method, codeAttribute, offset, this);
|
TableSwitchInstruction.java | 135 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, InstructionVisitor instructionVisitor) 137 instructionVisitor.visitTableSwitchInstruction(clazz, method, codeAttribute, offset, this);
|
/external/proguard/src/proguard/obfuscate/ |
NameMarker.java | 130 // Small utility method. 153 * Ensures the name of the given method name will be kept. 155 private void keepMethodName(Clazz clazz, Method method) 157 String name = method.getName(clazz); 161 MemberObfuscator.setFixedNewMemberName(method, name);
|
/external/proguard/src/proguard/optimize/ |
ParameterShrinker.java | 81 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 84 int oldParameterSize = ParameterUsageMarker.getParameterSize(method); 88 ClassUtil.internalMethodParameterSize(method.getDescriptor(clazz), 89 method.getAccessFlags()); 98 System.out.println("ParameterShrinker: "+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)); 113 if (ParameterUsageMarker.isParameterUsed(method, parameterIndex)) 129 // Visit the method, if required. 132 method.accept(clazz, extraVariableMemberVisitor) [all...] |
/external/proguard/src/proguard/optimize/peephole/ |
VariableShrinker.java | 79 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 81 if ((method.getAccessFlags() & ClassConstants.ACC_ABSTRACT) == 0) 85 ClassUtil.internalMethodParameterSize(method.getDescriptor(clazz), 86 method.getAccessFlags()); 93 System.out.println("VariableShrinker: "+clazz.getName()+"."+method.getName(clazz)+method.getDescriptor(clazz)); 99 variableUsageMarker.visitCodeAttribute(clazz, method, codeAttribute); 117 // Visit the method, if required. 120 method.accept(clazz, extraVariableMemberVisitor) [all...] |
/external/proguard/src/proguard/shrink/ |
ClassShrinker.java | 188 // but its enclosing method is not. Then remove the reference to 189 // the enclosing method. 203 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 211 codeAttribute.attributesAccept(clazz, method, this); 215 public void visitLocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTableAttribute localVariableTableAttribute) 224 public void visitLocalVariableTypeTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTypeTableAttribute localVariableTypeTableAttribute) 245 public void visitAnyParameterAnnotationsAttribute(Clazz clazz, Method method, ParameterAnnotationsAttribute parameterAnnotationsAttribute [all...] |
/external/sl4a/ScriptingLayer/src/com/googlecode/android_scripting/facade/ |
FacadeConfiguration.java | 19 import java.lang.reflect.Method; 171 Method method = descriptor.getMethod(); local 172 if (method.isAnnotationPresent(RpcDeprecated.class)) { 174 } else if (method.isAnnotationPresent(RpcMinSdk.class)) { 175 int requiredSdkLevel = method.getAnnotation(RpcMinSdk.class).value(); 188 Method method = descriptor.getMethod(); local 189 if (method.isAnnotationPresent(RpcStartEvent.class)) { 190 String eventName = method.getAnnotation(RpcStartEvent.class).value() 204 Method method = descriptor.getMethod(); local [all...] |
/external/smali/smalidea/src/main/java/org/jf/smalidea/debugging/value/ |
LazyObjectReference.java | 43 public LazyObjectReference(SmaliMethod method, Project project, int registerNumber, String type) { 44 super(method, project, registerNumber, type); 68 public Value invokeMethod(ThreadReference thread, Method method, List<? extends Value> arguments, int options) 71 return getValue().invokeMethod(thread, method, arguments, options);
|
/external/testng/src/main/java/org/testng/internal/ |
MethodGroupsHelper.java | 3 import java.lang.reflect.Method;
47 Method m = tm.getMethod();
49 // @Test method
57 // @Configuration method
104 * @return true if a method by a similar name (and same hierarchy) already
110 Method jm1 = m.getMethod();
111 Method jm2 = tm.getMethod();
132 for (ITestNGMethod method : methods) {
133 for (String group : before ? method.getBeforeGroups() : method.getAfterGroups()) { [all...] |
/frameworks/base/location/tests/locationtests/src/android/location/ |
GpsStatusTest.java | 24 import java.lang.reflect.Method; 237 Method setTtff = statusClass.getDeclaredMethod("setTimeToFirstFix", Integer.TYPE); 244 Method setStatus = statusClass.getDeclaredMethod("setStatus", statusClass); 267 Method setStatus = statusClass.getDeclaredMethod(
|
/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
BasicNetworkTest.java | 49 Request<String> request = new Request<String>(Request.Method.GET, "http://foo", null) {
|
/libcore/luni/src/test/java/dalvik/system/ |
DexClassLoaderTest.java | 21 import java.lang.reflect.Method; 127 * method on a named class. 129 * @param className The name of the class of the method to call. 130 * @param methodName The name of the method to call. 138 Method m = c.getMethod(methodName, (Class[]) null); 178 * case, a trivial static method is called. 417 Method m1 = c1.getMethod("test", (Class[]) null); 432 Method m2 = c2.getMethod("test", (Class[]) null);
|