Home
last modified time | relevance | path

Searched refs:method (Results 1 – 25 of 1626) sorted by relevance

12345678910>>...66

/dalvik/libcore/luni/src/test/java/tests/api/java/lang/reflect/
DGenericMethodsTests.java56 method = "getTypeParameters",
67 private void checkTypeParameter(Method method) { in checkTypeParameter() argument
68 TypeVariable<Method> typeParameter = getTypeParameter(method); in checkTypeParameter()
70 assertEquals(method, typeParameter.getGenericDeclaration()); in checkTypeParameter()
78 private void checkParameterType(Method method) { in checkParameterType() argument
79 TypeVariable<Method> typeParameter = getTypeParameter(method); in checkParameterType()
80 assertLenghtOne(method.getGenericParameterTypes()); in checkParameterType()
81 Type genericParameterType = method.getGenericParameterTypes()[0]; in checkParameterType()
84 assertEquals(method, ((TypeVariable<?>) genericParameterType).getGenericDeclaration()); in checkParameterType()
91 private void checkReturnType(Method method) { in checkReturnType() argument
[all …]
DBoundedGenericMethodsTests.java56 private void checkBoundedTypeParameter(Method method) { in checkBoundedTypeParameter() argument
57 TypeVariable<Method> typeParameter = getTypeParameter(method); in checkBoundedTypeParameter()
59 assertEquals(method, typeParameter.getGenericDeclaration()); in checkBoundedTypeParameter()
74 private void parameterType(Method method) { in parameterType() argument
75 TypeVariable<Method> typeParameter = getTypeParameter(method); in parameterType()
76 assertLenghtOne(method.getGenericParameterTypes()); in parameterType()
77 Type genericParameterType = method.getGenericParameterTypes()[0]; in parameterType()
81 assertEquals(method, typeVariable.getGenericDeclaration()); in parameterType()
90 private void checkReturnType(Method method) { in checkReturnType() argument
91 Type genericReturnType = method.getGenericReturnType(); in checkReturnType()
[all …]
DWildcardTypeTest.java66 method = "getTypeParameters",
78 private void checkBoundedTypeParameter(Method method) { in checkBoundedTypeParameter() argument
79 TypeVariable<Method> typeParameter = getTypeParameter(method); in checkBoundedTypeParameter()
81 assertEquals(method, typeParameter.getGenericDeclaration()); in checkBoundedTypeParameter()
89 private void checkLowerBoundedParameter(Method method) { in checkLowerBoundedParameter() argument
90 Type genericParameterType = method.getGenericParameterTypes()[0]; in checkLowerBoundedParameter()
104 assertEquals(getTypeParameter(method), lowerBound); in checkLowerBoundedParameter()
110 private void checkUpperBoundedParameter(Method method) { in checkUpperBoundedParameter() argument
111 assertLenghtOne(method.getGenericParameterTypes()); in checkUpperBoundedParameter()
112 Type genericParameterType = method.getGenericParameterTypes()[0]; in checkUpperBoundedParameter()
[all …]
/dalvik/libcore/sql/src/test/java/tests/sql/
DCallableStatementTest.java49 method = "getArray",
62 method = "getArray",
75 method = "getBigDecimal",
88 method = "getBigDecimal",
101 method = "getBigDecimal",
114 method = "getBlob",
127 method = "getBlob",
140 method = "getBoolean",
153 method = "getBoolean",
166 method = "getByte",
[all …]
DSQLInputTest.java36 method = "readString",
49 method = "readBoolean",
62 method = "readByte",
74 method = "readShort",
87 method = "readInt",
100 method = "readLong",
113 method = "readFloat",
126 method = "readDouble",
139 method = "readBigDecimal",
152 method = "readBytes",
[all …]
DResultSetNotSupportedTests.java36 method = "getArray",
50 method = "getArray",
65 method = "getAsciiStream",
79 method = "getAsciiStream",
93 method = "getBigDecimal",
107 method = "getBigDecimal",
121 method = "getBigDecimal",
135 method = "getBigDecimal",
149 method = "getBinaryStream",
163 method = "getBinaryStream",
[all …]
DSQLOutputTest.java49 method = "writeString",
62 method = "writeBoolean",
75 method = "writeByte",
88 method = "writeShort",
101 method = "writeInt",
114 method = "writeLong",
127 method = "writeFloat",
140 method = "writeDouble",
154 method = "writeBigDecimal",
167 method = "writeBytes",
[all …]
DClobTest.java40 method = "getAsciiStream",
53 method = "getCharacterStream",
66 method = "getSubString",
79 method = "length",
92 method = "position",
105 method = "position",
118 method = "setAsciiStream",
131 method = "setCharacterStream",
144 method = "setString",
157 method = "setString",
[all …]
DArrayTest.java41 method = "getArray",
54 method = "getArray",
67 method = "getArray",
80 method = "getArray",
93 method = "getBaseType",
106 method = "getBaseTypeName",
119 method = "getResultSet",
132 method = "getResultSet",
145 method = "getResultSet",
158 method = "getResultSet",
/dalvik/libcore/sql/src/test/java/tests/javax/sql/
DRowSetTest.java38 method = "addRowSetListener",
51 method = "clearParameters",
64 method = "execute",
78 method = "setCommand",
84 method = "getCommand",
99 method = "setDataSourceName",
105 method = "getDataSourceName",
116 method = "getEscapeProcessing",
126 method = "getMaxFieldSize",
137 method = "getMaxRows",
[all …]
DRowSetMetaDataTest.java25 method = "setAutoIncrement",
38 method = "setCaseSensitive",
52 method = "setCatalogName",
65 method = "setColumnCount",
78 method = "setColumnDisplaySize",
91 method = "setColumnLabel",
104 method = "setColumnName",
117 method = "setColumnType",
130 method = "setColumnTypeName",
143 method = "setCurrency",
[all …]
/dalvik/vm/mterp/portable/
Ddebug.c47 static void updateDebugger(const Method* method, const u2* pc, const u4* fp, in updateDebugger() argument
76 if (method->debugBreakpointCount > 0 && isInterestingAddr(pc)) { in updateDebugger()
91 assert(!dvmIsNativeMethod(method)); in updateDebugger()
99 if (pCtrl->method != method) { in updateDebugger()
106 pCtrl->pAddressSet, pc - method->insns)) { in updateDebugger()
129 pc - method->insns)) { in updateDebugger()
180 Object* thisPtr = dvmGetThisPtr(method, fp); in updateDebugger()
187 char* desc = dexProtoCopyMethodDescriptor(&method->prototype); in updateDebugger()
189 method->clazz->descriptor, method->name, desc); in updateDebugger()
193 dvmDbgPostLocationEvent(method, pc - method->insns, thisPtr, in updateDebugger()
[all …]
/dalvik/vm/interp/
DStack.c58 static bool dvmPushInterpFrame(Thread* self, const Method* method) in dvmPushInterpFrame() argument
65 assert(!dvmIsNativeMethod(method)); in dvmPushInterpFrame()
66 assert(!dvmIsAbstractMethod(method)); in dvmPushInterpFrame()
68 stackReq = method->registersSize * 4 // params + locals in dvmPushInterpFrame()
70 + method->outsSize * 4; // args to other methods in dvmPushInterpFrame()
82 self->interpStackSize, method->clazz->descriptor, method->name); in dvmPushInterpFrame()
94 stackPtr -= method->registersSize * 4 + sizeof(StackSaveArea); in dvmPushInterpFrame()
99 memset(stackPtr - (method->outsSize*4), 0xaf, stackReq); in dvmPushInterpFrame()
109 breakSaveBlock->method = NULL; in dvmPushInterpFrame()
113 saveBlock->method = method; in dvmPushInterpFrame()
[all …]
DInterp.c67 void dvmAddBreakAddr(Method* method, int instrOffset) in dvmAddBreakAddr() argument
70 const u2* addr = method->insns + instrOffset; in dvmAddBreakAddr()
75 addr, method->clazz->descriptor, method->name, in dvmAddBreakAddr()
76 dvmGetMethodSourceFile(method), dvmLineNumFromPC(method, instrOffset)); in dvmAddBreakAddr()
78 method->debugBreakpointCount++; in dvmAddBreakAddr()
105 void dvmClearBreakAddr(Method* method, int instrOffset) in dvmClearBreakAddr() argument
108 const u2* addr = method->insns + instrOffset; in dvmClearBreakAddr()
113 addr, method->clazz->descriptor, method->name, in dvmClearBreakAddr()
114 dvmGetMethodSourceFile(method), dvmLineNumFromPC(method, instrOffset)); in dvmClearBreakAddr()
116 method->debugBreakpointCount--; in dvmClearBreakAddr()
[all …]
/dalvik/dx/tests/031-bb-dead-code/
Dblort.j18 .method public <init>()V
24 .end method
26 ; dead code after the last reachable instruction in a method
27 .method public test_deadend1()V
30 .end method
32 ; dead code after the last reachable instruction in a method
33 .method public test_deadend2()V
37 .end method
39 ; dead code after the last reachable instruction in a method
40 .method public test_deadend3()V
[all …]
Dexpected.txt3 method <init> ()V
6 0001: invokespecial method{java.lang.Object.<init>:()V}
12 method test_deadend1 ()V
18 method test_deadend2 ()V
24 method test_deadend3 ()V
31 method test_dead_exception_handler ()V
37 method test_dead_goto ()V
46 method test_dead_ret ()V
59 method test_dead_tableswitch ()V
69 method test_dead_lookupswitch ()V
[all …]
/dalvik/libcore/support/src/test/java/targets/
DSignatures.java22 protected abstract void method(); in method() method in Signatures.SHA512withRSA
27 protected abstract void method(); in method() method in Signatures.SHA384withRSA
32 protected abstract void method(); in method() method in Signatures.SHA256withRSA
37 protected abstract void method(); in method() method in Signatures.SHA224withRSA
42 protected abstract void method(); in method() method in Signatures.SHA1withRSA
47 protected abstract void method(); in method() method in Signatures.MD5withRSA
52 protected abstract void method(); in method() method in Signatures.MD2withRSA
57 protected abstract void method(); in method() method in Signatures.SHA1withDSA
62 protected abstract void method(); in method() method in Signatures.NONEwithDSA
DKeyGenerator.java34 protected abstract void method(); in method() method in KeyGenerator.AES
39 protected abstract void method(); in method() method in KeyGenerator.DES
44 protected abstract void method(); in method() method in KeyGenerator.DESede
49 protected abstract void method(); in method() method in KeyGenerator.HMACMD5
54 protected abstract void method(); in method() method in KeyGenerator.HMACSHA1
59 protected abstract void method(); in method() method in KeyGenerator.HMACSHA256
64 protected abstract void method(); in method() method in KeyGenerator.HMACSHA384
69 protected abstract void method(); in method() method in KeyGenerator.HMACSHA512
DCipher.java19 protected abstract void method(); in method() method in Cipher.RSA
24 protected abstract void method(); in method() method in Cipher.AES
29 protected abstract void method(); in method() method in Cipher.AESWrap
34 protected abstract void method(); in method() method in Cipher.DES
39 protected abstract void method(); in method() method in Cipher.DESede
44 protected abstract void method(); in method() method in Cipher.DESedeWrap
49 protected abstract void method(); in method() method in Cipher.PBE
DMessageDigests.java22 protected abstract void method(); in method() method in MessageDigests.MD2
27 protected abstract void method(); in method() method in MessageDigests.MD5
32 protected abstract void method(); in method() method in MessageDigests.SHA_1
37 protected abstract void method(); in method() method in MessageDigests.SHA_256
42 protected abstract void method(); in method() method in MessageDigests.SHA_384
47 protected abstract void method(); in method() method in MessageDigests.SHA_512
DAlgorithmParameters.java20 protected abstract void method(); in method() method in AlgorithmParameters.DES
25 protected abstract void method(); in method() method in AlgorithmParameters.DSA
30 protected abstract void method(); in method() method in AlgorithmParameters.DESede
35 protected abstract void method(); in method() method in AlgorithmParameters.OAEP
40 protected abstract void method(); in method() method in AlgorithmParameters.AES
45 protected abstract void method(); in method() method in AlgorithmParameters.DH
/dalvik/dx/src/com/android/dx/dex/file/
DMethodAnnotationStruct.java31 private final CstMethodRef method; field in MethodAnnotationStruct
42 public MethodAnnotationStruct(CstMethodRef method, in MethodAnnotationStruct() argument
44 if (method == null) { in MethodAnnotationStruct()
52 this.method = method; in MethodAnnotationStruct()
58 return method.hashCode(); in hashCode()
67 return method.equals(((MethodAnnotationStruct) other).method); in equals()
72 return method.compareTo(other.method); in compareTo()
80 methodIds.intern(method); in addContents()
86 int methodIdx = file.getMethodIds().indexOf(method); in writeTo()
90 out.annotate(0, " " + method.toHuman()); in writeTo()
[all …]
DParameterAnnotationStruct.java34 private final CstMethodRef method; field in ParameterAnnotationStruct
48 public ParameterAnnotationStruct(CstMethodRef method, in ParameterAnnotationStruct() argument
50 if (method == null) { in ParameterAnnotationStruct()
58 this.method = method; in ParameterAnnotationStruct()
82 return method.hashCode(); in hashCode()
91 return method.equals(((ParameterAnnotationStruct) other).method); in equals()
96 return method.compareTo(other.method); in compareTo()
104 methodIds.intern(method); in addContents()
110 int methodIdx = file.getMethodIds().indexOf(method); in writeTo()
114 out.annotate(0, " " + method.toHuman()); in writeTo()
[all …]
/dalvik/libcore/luni/src/test/java/tests/api/java/net/
DSocketImplTest.java42 method = "accept",
48 method = "available",
54 method = "bind",
60 method = "close",
66 method = "connect",
72 method = "connect",
78 method = "connect",
84 method = "create",
90 method = "getFileDescriptor",
96 method = "getInetAddress",
[all …]
/dalvik/vm/mterp/armv5te/
Ddebug.c29 const Method* method = glue->method; in dvmMterpDumpArmRegs() local
48 saveArea->method, saveArea->xtra.currentPc); in dvmDumpFp()
52 saveArea->method, saveArea->xtra.currentPc, in dvmDumpFp()
60 void dvmMterpPrintMethod(Method* method) in dvmMterpPrintMethod() argument
67 ((method->accessFlags & (ACC_STATIC|ACC_PRIVATE)) != 0) || in dvmMterpPrintMethod()
68 (method->name[0] == '<'); in dvmMterpPrintMethod()
70 char* desc = dexProtoCopyMethodDescriptor(&method->prototype); in dvmMterpPrintMethod()
74 method->clazz->descriptor, in dvmMterpPrintMethod()
75 method->name, in dvmMterpPrintMethod()

12345678910>>...66