/cts/tests/tests/text/src/android/text/method/cts/ |
SingleLineTransformationMethodTest.java | 17 package android.text.method.cts; 25 import android.text.method.SingleLineTransformationMethod; 41 method = "SingleLineTransformationMethod", 50 method = "getInstance", 64 method = "getReplacement", 69 method = "getOriginal", 74 MySingleLineTranformationMethod method = new MySingleLineTranformationMethod(); local 75 TextMethodUtils.assertEquals(new char[] { ' ', '\uFEFF' }, method.getReplacement()); 76 TextMethodUtils.assertEquals(new char[] { '\n', '\r' }, method.getOriginal()); 81 method = "getTransformation" 85 SingleLineTransformationMethod method = SingleLineTransformationMethod.getInstance(); local [all...] |
HideReturnsTransformationMethodTest.java | 17 package android.text.method.cts; 23 import android.text.method.HideReturnsTransformationMethod; 36 method = "HideReturnsTransformationMethod", 46 method = "getOriginal", 50 MyHideReturnsTranformationMethod method = new MyHideReturnsTranformationMethod(); local 51 TextMethodUtils.assertEquals(new char[] { '\r' }, method.getOriginal()); 57 method = "getInstance", 71 method = "getReplacement", 75 MyHideReturnsTranformationMethod method = new MyHideReturnsTranformationMethod(); local 76 TextMethodUtils.assertEquals(new char[] { '\uFEFF' }, method.getReplacement()) [all...] |
/cts/tools/signature-tools/src/signature/model/impl/ |
SigMethod.java | 50 public static String toString(IMethod method) { 52 builder.append(Modifier.toString(method.getModifiers())); 53 builder.append(method.getReturnType()); 55 if (method.getTypeParameters() != null 56 && !method.getTypeParameters().isEmpty()) { 60 .separate(method.getTypeParameters(), ", ")); 63 builder.append(method.getName()); 65 builder.append(method.getParameters().isEmpty() ? "" : ModelUtil 66 .separate(method.getParameters(), ", ")); 68 if (method.getExceptions() != nul [all...] |
/external/dbus/test/name-test/ |
test-pending-call-dispatch.c | 21 DBusMessage *method; local 26 method = dbus_message_new_method_call ("org.freedesktop.DBus.TestSuiteEchoService", 31 dbus_message_append_args (method, DBUS_TYPE_STRING, &echo, NULL); 32 dbus_connection_send_with_reply (conn, method, &echo_pending, -1); 33 dbus_message_unref (method); 36 method = dbus_message_new_method_call (DBUS_SERVICE_DBUS, 41 dbus_connection_send_with_reply (conn, method, &dbus_pending, -1); 42 dbus_message_unref (method); 81 DBusMessage *method; local 115 method = dbus_message_new_method_call ("org.freedesktop.TestSuiteEchoService" [all...] |
/external/proguard/src/proguard/optimize/info/ |
BackwardBranchMarker.java | 41 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 44 public void visitBranchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction) 46 markBackwardBranch(method, branchInstruction.branchOffset); 50 public void visitAnySwitchInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SwitchInstruction switchInstruction) 52 markBackwardBranch(method, switchInstruction.defaultOffset); 56 markBackwardBranch(method, switchInstruction.jumpOffsets[index]); 64 * Marks the given method if the given branch offset is negative [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
BlockingService.java | 51 Message callBlockingMethod(Descriptors.MethodDescriptor method, 58 Message getRequestPrototype(Descriptors.MethodDescriptor method); 63 Message getResponsePrototype(Descriptors.MethodDescriptor method);
|
Service.java | 55 * <p>Call a method of the service specified by MethodDescriptor. This is 61 * <li>{@code method.getService() == getDescriptorForType()} 63 * {@code getRequestPrototype(method)}. 73 * <li>{@code done} will be called when the method is complete. This may be 78 * {@code getResponsePrototype(method)}. 84 void callMethod(Descriptors.MethodDescriptor method, 92 * gets the default instances of this type for a given method. You can then 99 * MethodDescriptor method = 102 * stub.getRequestPrototype(method).newBuilderForType() 104 * service.callMethod(method, request, callback) [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
ActivityGroupTest.java | 44 method = "ActivityGroup", 50 method = "ActivityGroup", 56 method = "onCreate", 62 method = "onResume", 68 method = "onSaveInstanceState", 74 method = "onPause", 80 method = "onStop", 86 method = "onDestroy", 92 method = "getCurrentActivity", 98 method = "getLocalActivityManager" [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
MethodAnnotationStruct.java | 26 * Association of a method and its annotations. 30 /** {@code non-null;} the method in question */ 31 private final CstMethodRef method; field in class:MethodAnnotationStruct 39 * @param method {@code non-null;} the method in question 42 public MethodAnnotationStruct(CstMethodRef method, 44 if (method == null) { 45 throw new NullPointerException("method == null"); 52 this.method = method; [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
MethodAnnotationStruct.java | 26 * Association of a method and its annotations. 30 /** {@code non-null;} the method in question */ 31 private final CstMethodRef method; field in class:MethodAnnotationStruct 39 * @param method {@code non-null;} the method in question 42 public MethodAnnotationStruct(CstMethodRef method, 44 if (method == null) { 45 throw new NullPointerException("method == null"); 52 this.method = method; [all...] |
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
WildcardTypeTest.java | 20 import java.lang.reflect.Method; 55 * @param method the declaring method 57 private void checkBoundedTypeParameter(Method method) { 58 TypeVariable<Method> typeParameter = getTypeParameter(method); 60 assertEquals(method, typeParameter.getGenericDeclaration()); 68 private void checkLowerBoundedParameter(Method method) { 125 Method method = clazz.getMethod("upperBoundedParamNoReturn", BoundedWildcardsGenericMethods.class); local 131 Method method = clazz.getMethod("lowerBoundedParamReturn", BoundedWildcardsGenericMethods.class); local 138 Method method = clazz.getMethod("upperBoundedParamReturn", BoundedWildcardsGenericMethods.class); local 145 Method method = clazz.getMethod("lowerBoundedParamNoReturn", BoundedWildcardsGenericMethods.class); local [all...] |
/dalvik/dx/src/com/android/dx/cf/attrib/ |
AttEnclosingMethod.java | 33 /** {@code null-ok;} the name-and-type of the innermost enclosing method, if any */ 34 private final CstNat method; field in class:AttEnclosingMethod 40 * @param method {@code null-ok;} the name-and-type of the innermost enclosing 41 * method, if any 43 public AttEnclosingMethod(CstType type, CstNat method) { 51 this.method = method; 69 * Gets the name-and-type of the innermost enclosing method, if 73 * method, if any 76 return method; [all...] |
/external/proguard/src/proguard/classfile/attribute/preverification/visitor/ |
VerificationTypeVisitor.java | 36 public void visitIntegerType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, IntegerType integerType); 37 public void visitFloatType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, FloatType floatType); 38 public void visitLongType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, LongType longType); 39 public void visitDoubleType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, DoubleType doubleType); 40 public void visitTopType( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TopType topType) [all...] |
/cts/tests/tests/view/src/android/view/cts/ |
ViewConfigurationTest.java | 41 method = "getScrollBarSize", 46 method = "getFadingEdgeLength", 51 method = "getPressedStateDuration", 56 method = "getLongPressTimeout", 61 method = "getTapTimeout", 66 method = "getJumpTapTimeout", 71 method = "getEdgeSlop", 76 method = "getTouchSlop", 81 method = "getWindowTouchSlop", 86 method = "getMinimumFlingVelocity" [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/ |
Camera_ParametersTest.java | 33 method = "get", 39 method = "set", 45 method = "getInt", 51 method = "set", 57 method = "getPictureFormat", 63 method = "setPictureFormat", 69 method = "getPictureSize", 75 method = "setPictureSize", 81 method = "getPreviewFormat", 87 method = "setPreviewFormat" [all...] |
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
SQLiteQueryTest.java | 31 method = "bindDouble", 36 method = "bindLong", 41 method = "bindNull", 46 method = "bindString", 51 method = "close", 56 method = "toString",
|
/external/apache-http/src/org/apache/http/message/ |
BasicRequestLine.java | 39 * It contains the method, URI, and HTTP version of the request. 53 private final String method; field in class:BasicRequestLine 56 public BasicRequestLine(final String method, 60 if (method == null) { 62 ("Method must not be null."); 72 this.method = method; 78 return this.method;
|
/external/proguard/src/proguard/classfile/attribute/preverification/ |
DoubleType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitDoubleType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 50 verificationTypeVisitor.visitStackDoubleType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesDoubleType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
FloatType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitFloatType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 50 verificationTypeVisitor.visitStackFloatType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesFloatType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
IntegerType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitIntegerType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 50 verificationTypeVisitor.visitStackIntegerType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesIntegerType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
LongType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitLongType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 50 verificationTypeVisitor.visitStackLongType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesLongType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
NullType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitNullType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 50 verificationTypeVisitor.visitStackNullType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesNullType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
TopType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitTopType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 50 verificationTypeVisitor.visitStackTopType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesTopType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
UninitializedThisType.java | 42 public void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, VerificationTypeVisitor verificationTypeVisitor) 44 verificationTypeVisitor.visitUninitializedThisType(clazz, method, codeAttribute, instructionOffset, this); 48 public void stackAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int stackIndex, VerificationTypeVisitor verificationTypeVisitor) 50 verificationTypeVisitor.visitStackUninitializedThisType(clazz, method, codeAttribute, instructionOffset, stackIndex, this); 54 public void variablesAccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int instructionOffset, int variableIndex, VerificationTypeVisitor verificationTypeVisitor) 56 verificationTypeVisitor.visitVariablesUninitializedThisType(clazz, method, codeAttribute, instructionOffset, variableIndex, this);
|
/external/proguard/src/proguard/classfile/instruction/visitor/ |
InstructionVisitor.java | 36 public void visitSimpleInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction); 37 public void visitVariableInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction); 38 public void visitConstantInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction); 39 public void visitBranchInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, BranchInstruction branchInstruction); 40 public void visitTableSwitchInstruction( Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, TableSwitchInstruction tableSwitchInstruction) [all...] |