/frameworks/testing/androidtestlib/src/com/android/test/runner/junit4/ |
H A D | NonExecutingJUnit4ClassRunner.java | 44 protected Statement methodBlock(FrameworkMethod method) { argument
|
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/testrunner/ |
H A D | TestCaseCollector.java | 46 * The class name may be in "<class name>#<method name>" format 60 * The class name may be in "<class name>#<method name>" format 76 * Adds class to test by providing class name and method name in separate strings 89 for (Method method : methods) { 90 if (mFilter.accept(method)) { 91 addSingleTestMethod(clazz, method.getName()); 106 protected void addSingleTestMethod(Class<?> clazz, String method) { argument 112 testCase.setName(method); 124 * Determine if a class and its method should be accepted into test suite 130 * Determine that based on the method signatur 133 accept(Method method) argument [all...] |
H A D | UiAutomatorTestCaseFilter.java | 31 public boolean accept(Method method) { argument 32 return ((method.getParameterTypes().length == 0) && 33 (method.getName().startsWith("test")) && 34 (method.getReturnType().getSimpleName().equals("void")));
|
/frameworks/support/v4/ics/android/support/v4/view/ |
H A D | PagerTitleStripIcs.java | 20 import android.text.method.SingleLineTransformationMethod;
|
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 51 import android.text.method.QwertyKeyListener; 342 * Convenience method: Append the specified text slice to the TextView's 1290 * this subclass method filters on the range from 1494 // Use this method to generate text to add to the list of addresses. 1523 // Use this method to generate text to display in a chip.
|
/frameworks/ex/common/java/com/android/ex/editstyledtext/ |
H A D | EditStyledText.java | 61 import android.text.method.ArrowKeyMovementMethod;
|
/frameworks/ex/variablespeed/jni/ |
H A D | variablespeed.cc | 171 #define OpenSL(obj, method, ...) \ 173 LOG_OPENSL_API_CALL("OpenSL " #method "(" #obj ", " #__VA_ARGS__ ")"); \ 174 SLresult result = (*obj)->method(obj, __VA_ARGS__); \ 175 CheckSLResult("OpenSL " #method "(" #obj ", " #__VA_ARGS__ ")", result); \ 179 #define VoidOpenSL(obj, method) \ 181 LOG_OPENSL_API_CALL("OpenSL (void) " #method "(" #obj ")"); \ 182 (*obj)->method(obj); \ 186 #define OpenSL0(obj, method) \ 188 LOG_OPENSL_API_CALL("OpenSL " #method "(" #obj ")"); \ 189 SLresult result = (*obj)->method(ob [all...] |
/frameworks/ex/variablespeed/tests/src/com/android/ex/variablespeed/ |
H A D | DynamicProxy.java | 25 * Contains a utility method for adapting a given interface against a real implementation. 34 * proxy object implementing that interface, which will forward all method calls made on the 50 public Object invoke(Object proxy, Method method, Object[] args) throws Throwable { 53 .getMethod(method.getName(), method.getParameterTypes())
|
/frameworks/native/libs/utils/ |
H A D | ZipFileRO.cpp | 87 #define kCDEMethod 10 // offset to compression method 515 int method = get2LE(ptr + kCDEMethod); local 517 *pMethod = method; 624 if (method == kCompressStored && 699 int method; local 704 getEntryInfo(entry, &method, &uncompLen, &compLen, &offset, NULL, NULL); 729 if (method == kCompressStored) { 759 int method; local 764 getEntryInfo(entry, &method, &uncompLen, &compLen, &offset, NULL, NULL); 773 if (method [all...] |
H A D | ZipUtils.cpp | 279 int method, flags; local 285 method = getc(fp); 289 if (method == EOF || flags == EOF) 291 if (method != ZipFileRO::kCompressDeflated) 338 *pCompressionMethod = method;
|
/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/ |
H A D | JavaBridgeBasicsTest.java | 191 public void method() { throw new RuntimeException("foo"); } 193 assertRaisesException("testObject.method()"); 212 private void method() {} 215 executeJavaScriptAndGetStringResult("typeof testObject.method")); 220 public void method() { mTestController.setStringValue("object 1"); } 222 executeJavaScript("testObject.method()"); 226 public void method() { mTestController.setStringValue("object 2"); } 228 executeJavaScript("testObject.method()"); 246 public void method() { mTestController.setStringValue("0 args"); } 247 public void method(in [all...] |
/frameworks/base/tools/aapt/ |
H A D | Command.cpp | 92 * Return a short string describing the compression method. 94 const char* compressionName(int method) argument 96 if (method == ZipEntry::kCompressStored) 98 else if (method == ZipEntry::kCompressDeflated)
|
H A D | ZipFile.cpp | 465 int method; local 468 scanResult = ZipUtils::examineGzip(inputFp, &method, &uncompressedLen, 470 if (!scanResult || method != ZipEntry::kCompressDeflated) {
|
/frameworks/base/tools/aidl/ |
H A D | aidl_language.h | 109 method_type* method; member in union:lexer_type
|
H A D | aidl_language_y.y | 196 p->next = (interface_item_type*)$2.method; 199 $$.interface_item = (interface_item_type*)$2.method; 203 fprintf(stderr, "%s:%d: syntax error before ';' (expected method declaration)\n", 211 method_type *method = (method_type*)malloc(sizeof(method_type)); 212 method->interface_item.item_type = METHOD_TYPE; 213 method->interface_item.next = NULL; 214 method->type = $1.type; 215 method->oneway = false; 216 memset(&method->oneway_token, 0, sizeof(buffer_type)); 217 method [all...] |
H A D | generate_java_binder.cpp | 250 generate_method(const method_type* method, Class* interface, argument 257 const bool oneway = proxyClass->mOneWay || method->oneway; 261 transactCodeName += method->name.data; 273 decl->comment = gather_comments(method->comments_token->extra); 275 decl->returnType = NAMES.Search(method->type.type.data); 276 decl->returnTypeDimension = method->type.dimension; 277 decl->name = method->name.data; 279 arg = method->args; 291 // == the stub method ==================================================== 295 MethodCall* realCall = new MethodCall(THIS_VALUE, method [all...] |
H A D | generate_java_rpc.cpp | 91 void AddMethod(const method_type* method); 153 DispatcherClass::AddMethod(const method_type* method) argument 159 ifs->expression = new MethodCall(new StringLiteralExpression(method->name.data), "equals", 171 MethodCall* realCall = new MethodCall(this->targetExpression, method->name.data); 176 arg = method->args; 200 // Add that parameter to the method call 210 Type* returnType = NAMES.Search(method->type.type.data); 222 method->type.dimension); 239 arg = method->args; 500 void AddMethod(int index, const string& name, Method** method, Variabl 574 AddMethod(int index, const string& name, Method** method, Variable** param) argument 632 generate_results_method(const method_type* method, RpcProxyClass* proxyClass) argument 677 generate_proxy_method(const method_type* method, RpcProxyClass* proxyClass, ResultDispatcherClass* resultsDispatcherClass, Type* resultsInterfaceType, int index) argument 740 generate_result_dispatcher_method(const method_type* method, ResultDispatcherClass* resultsDispatcherClass, Type* resultsInterfaceType, int index) argument 796 generate_regular_method(const method_type* method, RpcProxyClass* proxyClass, EndpointBaseClass* serviceBaseClass, ResultDispatcherClass* resultsDispatcherClass, int index) argument 841 generate_event_method(const method_type* method, RpcProxyClass* proxyClass, EndpointBaseClass* serviceBaseClass, ListenerClass* listenerClass, EventListenerClass* presenterClass, int index) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/ |
H A D | TestDelegates.java | 36 * {@link LayoutlibDelegate}, and look for a matching method in the delegate (named the same 38 * If the original native method is not static, then we make sure the delegate method also 86 // with @LayoutlibDelegate, look for a matching method in the delegate class. 87 // The annotation is automatically added by layoutlib_create when it replace a method 99 // if the method is not static, then the class is added as the first parameter 120 // try to load the method with the given parameter types. 124 // check that the method has the annotation 127 "Delegate method %1$s for class %2$s does not have the @LayoutlibDelegate annotation", 132 // check that the method i 171 getMethodName(Method method) argument 175 getMethodName(Method method, Class<?>[] parameters) argument [all...] |
/frameworks/base/voip/java/android/net/sip/ |
H A D | SimpleSessionDescription.java | 162 * Returns the encryption method or {@code null} if it is not present. 176 * Sets the encryption method and the encryption key. The field will be 177 * removed if the method is {@code null}. 179 public void setEncryption(String method, String key) { argument 180 mFields.setEncryption(method, key); 427 * Returns the encryption method or {@code null} if it is not present. 451 * Sets the encryption method and the encryption key. The field will be 452 * removed if the method is {@code null}. 454 public void setEncryption(String method, String key) { argument 455 set("k", '=', (method [all...] |
/frameworks/base/voip/java/com/android/server/sip/ |
H A D | SipHelper.java | 114 private CSeqHeader createCSeqHeader(String method) argument 117 return mHeaderFactory.createCSeqHeader(sequence, method);
|
H A D | SipSessionGroup.java | 147 // TODO: remove this method once SipWakeupTimer can better handle variety 1642 * method; false otherwise 1644 private static boolean isRequestEvent(String method, EventObject event) { argument 1648 return method.equals(requestEvent.getRequest().getMethod()); 1660 * @return true if the event is a response event and the CSeqHeader method 1675 * CSeqHeader method match the given arguments; false otherwise
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
H A D | KeyguardPINView.java | 23 import android.text.method.DigitsKeyListener;
|
H A D | KeyguardPasswordView.java | 25 import android.text.method.DigitsKeyListener; 26 import android.text.method.TextKeyListener; 155 * @param imm The input method manager 196 // input method subtype (The current IME should be LatinIME.)
|
H A D | KeyguardSimPinView.java | 30 import android.text.method.DigitsKeyListener;
|
H A D | KeyguardSimPukView.java | 27 import android.text.method.DigitsKeyListener;
|