/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ForegroundService.java | 33 import java.lang.reflect.Method; 60 private Method mSetForeground; 61 private Method mStartForeground; 62 private Method mStopForeground; 67 void invokeMethod(Method method, Object[] args) { 69 method.invoke(this, args); 72 Log.w("ApiDemos", "Unable to invoke method", e); 75 Log.w("ApiDemos", "Unable to invoke method", e); 80 * This is a wrapper around the new startForeground method, using the olde [all...] |
/external/apache-http/src/org/apache/commons/logging/impl/ |
Jdk14Logger.java | 96 String method="unknown"; local 100 method=caller.getMethodName(); 103 logger.logp( level, cname, method, msg ); 105 logger.logp( level, cname, method, msg, ex );
|
/external/apache-http/src/org/apache/http/client/methods/ |
HttpRequestBase.java | 91 String method = getMethod(); local 101 return new BasicRequestLine(method, uritext, ver);
|
/external/apache-http/src/org/apache/http/impl/client/ |
RequestWrapper.java | 70 private String method; field in class:RequestWrapper 84 this.method = ((HttpUriRequest) request).getMethod(); 94 this.method = requestLine.getMethod(); 107 return this.method; 110 public void setMethod(final String method) { 111 if (method == null) { 112 throw new IllegalArgumentException("Method name may not be null"); 114 this.method = method; 139 String method = getMethod() local [all...] |
/external/apache-http/src/org/apache/http/message/ |
BasicLineFormatter.java | 206 final String method = reqline.getMethod(); local 210 int len = method.length() + 1 + uri.length() + 1 + 214 buffer.append(method);
|
BasicLineParser.java | 329 String method = buffer.substringTrimmed(i, blank); local 351 return createRequestLine(method, uri, ver); 363 * @param method the request method 369 protected RequestLine createRequestLine(final String method, 372 return new BasicRequestLine(method, uri, ver);
|
/external/boringssl/src/crypto/x509v3/ |
v3_conf.c | 77 static X509_EXTENSION *do_ext_i2d(const X509V3_EXT_METHOD *method, int ext_nid, 120 const X509V3_EXT_METHOD *method; local 129 if (!(method = X509V3_EXT_get_nid(ext_nid))) 135 if (method->v2i) 145 ext_struc = method->v2i(method, ctx, nval); 150 else if(method->s2i) 152 if(!(ext_struc = method->s2i(method, ctx, value))) return NULL; 154 else if(method->r2i 219 const X509V3_EXT_METHOD *method; local [all...] |
v3_lib.c | 197 const X509V3_EXT_METHOD *method; local 200 if(!(method = X509V3_EXT_get(ext))) return NULL; 202 if(method->it) return ASN1_item_d2i(NULL, &p, ext->value->length, ASN1_ITEM_ptr(method->it)); 203 return method->d2i(NULL, &p, ext->value->length);
|
/external/deqp/framework/delibs/deutil/ |
deFile.c | 314 DWORD method = 0; local 320 case DE_FILEPOSITION_BEGIN: method = FILE_BEGIN; break; 321 case DE_FILEPOSITION_END: method = FILE_END; break; 322 case DE_FILEPOSITION_CURRENT: method = FILE_CURRENT; break; 328 return SetFilePointer(file->handle, lowBits, &highBits, method) != INVALID_SET_FILE_POINTER;
|
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
EncodedMethod.java | 31 * Class that representats a method of a class. 35 /** {@code non-null;} constant for the method */ 36 private final CstMethodRef method; field in class:EncodedMethod 39 * {@code null-ok;} code for the method, if the method is neither 47 * @param method {@code non-null;} constant for the method 49 * @param code {@code null-ok;} code for the method, if it is neither 54 public EncodedMethod(CstMethodRef method, int accessFlags, 58 if (method == null) [all...] |
/external/dexmaker/src/dx/java/com/android/dx/ssa/ |
LocalVariableExtractor.java | 29 * a method. Stolen and retrofitted from 36 /** {@code non-null;} method being extracted from */ 37 private final SsaMethod method; field in class:LocalVariableExtractor 39 /** {@code non-null;} block list for the method */ 49 * Extracts out all the local variable information from the given method. 51 * @param method {@code non-null;} the method to extract from 54 public static LocalVariableInfo extract(SsaMethod method) { 55 LocalVariableExtractor lve = new LocalVariableExtractor(method); 60 * Constructs an instance. This method is private. Use {@link #extract} [all...] |
/external/dnsmasq/src/ |
dbus.c | 28 " <method name=\"Introspect\">\n" 30 " </method>\n" 33 " <method name=\"ClearCache\">\n" 34 " </method>\n" 35 " <method name=\"GetVersion\">\n" 37 " </method>\n" 38 " <method name=\"SetServers\">\n" 40 " </method>\n" 265 char *method = (char *)dbus_message_get_member(message); local 275 else if (strcmp(method, "GetVersion") == 0 [all...] |
/external/emma/core/java12/com/vladium/emma/data/ |
ClassDescriptor.java | 57 final MethodDescriptor method = methods [m]; local 59 if (((method.getStatus () & IMetadataConstants.METHOD_NO_BLOCK_DATA) == 0) && ! m_methods [m].hasLineNumberInfo ())
|
/external/emma/core/java12/com/vladium/emma/report/ |
ReportDataModel.java | 109 final MethodDescriptor method = methods [m]; local 111 if ((method.getStatus () & IMetadataConstants.METHOD_NO_BLOCK_DATA) != 0) continue; 114 final MethodItem methodItem = new MethodItem (classItem, m, method.getName (), method.getDescriptor (), method.getFirstLine ()); 115 // TODO: need to fold class's name into a method name prefix for collapsing case [only when it is not the same as the file name]
|
/external/freetype/src/gzip/ |
inflate.c | 13 METHOD, /* waiting for method byte */ 37 uInt method; /* if FLAGS, method byte */ member in union:internal_state::__anon9373 61 z->state->mode = z->state->nowrap ? BLOCKS : METHOD; 160 case METHOD: 162 if (((z->state->sub.method = NEXTBYTE) & 0xf) != Z_DEFLATED) 165 z->msg = (char*)"unknown compression method"; 169 if ((z->state->sub.method >> 4) + 8 > z->state->wbits) 180 if (((z->state->sub.method << 8) + b) % 31 [all...] |
/external/guava/guava-tests/test/com/google/common/eventbus/ |
EventSubscriberTest.java | 24 import java.lang.reflect.Method; 46 * Checks that a no-frills, no-issues method call is properly executed. 51 Method method = getRecordingMethod(); local 53 EventSubscriber subscriber = new EventSubscriber(this, method); 57 assertTrue("Subscriber must call provided method.", methodCalled); 63 Method method = getExceptionThrowingMethod(); local 64 EventSubscriber subscriber = new EventSubscriber(this, method); 76 Method method = getErrorThrowingMethod() local 108 Method method; local 131 Method method; local 154 Method method; local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
LocaleBuilderTest.java | 118 String method = TESTCASE[tidx][i++]; local 121 if (method.equals("L")) { 123 } else if (method.equals("S")) { 125 } else if (method.equals("R")) { 127 } else if (method.equals("V")) { 129 } else if (method.equals("K")) { 133 } else if (method.equals("A")) { 135 } else if (method.equals("E")) { 139 } else if (method.equals("P")) { 141 } else if (method.equals("U")) [all...] |
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
ModuleTest.java | 9 import java.lang.reflect.Method; 58 Method method = getClass() local 62 .getName(), method).setNext(target); 95 * TestFmwk calls this before trying to invoke a test method. The method is 96 * valid if there is test data with the name of this method in the module. 106 * Override of TestFmwk method to get the test suite description from the 118 * Override of TestFmwk method to get the test method description from th [all...] |
/external/javassist/src/main/javassist/util/proxy/ |
FactoryHelper.java | 18 import java.lang.reflect.Method; 37 private static java.lang.reflect.Method defineClass1, defineClass2; 102 * is such a method for obtaining an integer value from a 128 * This method uses a default protection domain for the class 150 Method method; local 153 method = defineClass1; 158 method = defineClass2; 163 return toClass2(method, loader, args); 176 private static synchronized Class toClass2(Method method [all...] |
/external/jpeg/ |
jddctmgr.c | 63 * The multiplier table contents are IDCT-method-dependent. To support 64 * application changes in IDCT method between scans, we can remake the 78 /* This array contains the IDCT method code that each multiplier table 126 int method = 0; local 137 method = JDCT_ISLOW; /* jidctred uses islow-style table */ 149 method = JDCT_ISLOW; /* jidctred uses islow-style table */ 161 method = JDCT_ISLOW; /* jidctred uses islow-style table */ 170 method = JDCT_IFAST; 177 method = JDCT_ISLOW; /* Use quant table of ISLOW.*/ 184 method = JDCT_IFAST [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/ |
InvocationHandlerGenerator.java | 32 private static final Type METHOD = 33 TypeUtils.parseType("java.lang.reflect.Method"); 35 TypeUtils.parseSignature("Object invoke(Object, java.lang.reflect.Method, Object[])"); 39 MethodInfo method = (MethodInfo)it.next(); local 40 Signature impl = context.getImplSignature(method); 41 ce.declare_field(Constants.PRIVATE_FINAL_STATIC, impl.getName(), METHOD, null); 43 CodeEmitter e = context.beginMethod(ce, method); 45 context.emitCallback(e, context.getIndex(method)); 50 e.unbox(method.getSignature().getReturnType()); 53 EmitUtils.wrap_undeclared_throwable(e, handler, method.getExceptionTypes(), UNDECLARED_THROWABLE_EXCEPTION) 60 MethodInfo method = (MethodInfo)it.next(); local [all...] |
LazyLoaderGenerator.java | 35 MethodInfo method = (MethodInfo)it.next(); local 36 if (TypeUtils.isProtected(method.getModifiers())) { 39 int index = context.getIndex(method); 41 CodeEmitter e = context.beginMethod(ce, method); 45 e.checkcast(method.getClassInfo().getType()); 47 e.invoke(method);
|
MixinEmitter.java | 18 import java.lang.reflect.Method; 63 Method[] methods = getMethods(classes[i]); 66 MethodInfo method = ReflectUtils.getMethodInfo(methods[j]); local 67 e = EmitUtils.begin_method(this, method, Constants.ACC_PUBLIC); 71 e.checkcast(method.getClassInfo().getType()); 73 e.invoke(method); 87 protected Method[] getMethods(Class type) {
|
/external/mockito/src/org/mockito/internal/invocation/ |
InvocationImpl.java | 15 import java.lang.reflect.Method; 19 * Method call on a mock object. 32 private final MockitoMethod method; field in class:InvocationImpl 44 this.method = mockitoMethod; 57 public Method getMethod() { 58 return method.getJavaMethod(); 80 return this.mock.equals(other.mock) && this.method.equals(other.method) && this.equalArguments(other.arguments);
|
/external/oauth/core/src/main/java/net/oauth/http/ |
HttpMessage.java | 44 public HttpMessage(String method, URL url) 46 this(method, url, null); 49 public HttpMessage(String method, URL url, InputStream body) 51 this.method = method; 56 public String method; field in class:HttpMessage
|