/frameworks/base/core/jni/ |
android_view_PointerIcon.cpp | 31 jclass clazz; member in struct:android::__anon30069 44 jobject pointerIconObj = env->CallStaticObjectMethod(gPointerIconClassInfo.clazz, 114 #define GET_STATIC_METHOD_ID(var, clazz, methodName, methodDescriptor) \ 115 var = env->GetStaticMethodID(clazz, methodName, methodDescriptor); \ 118 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ 119 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 122 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ 123 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 127 FIND_CLASS(gPointerIconClassInfo.clazz, "android/view/PointerIcon"); 129 GET_FIELD_ID(gPointerIconClassInfo.mBitmap, gPointerIconClassInfo.clazz, [all...] |
BindTest.cpp | 38 getString(Class *clazz, MethodBlock *mb, uintptr_t *ostack) 45 getNullString(Class *clazz, MethodBlock *mb, uintptr_t *ostack) 52 getBooleanTrue(Class *clazz, MethodBlock *mb, uintptr_t *ostack) 59 getBooleanFalse(Class *clazz, MethodBlock *mb, uintptr_t *ostack) 66 nonvoidThrowsException (Class *clazz, MethodBlock *mb, uintptr_t *ostack) 80 setInstanceString (Class *clazz, MethodBlock *mb, uintptr_t *ostack) 91 setClassString (Class *clazz, MethodBlock *mb, uintptr_t *ostack) 102 makeStringFromThreeChars (Class *clazz, MethodBlock *mb, uintptr_t *ostack) 121 makeReturnedObject (Class *clazz, MethodBlock *mb, uintptr_t *ostack) 137 addDoubles (Class *clazz, MethodBlock *mb, uintptr_t *ostack 231 Class *clazz = NULL; local [all...] |
android_content_res_ObbScanner.cpp | 31 jclass clazz; member in struct:android::__anon30032 39 static void android_content_res_ObbScanner_getObbInfo(JNIEnv* env, jobject clazz, jstring file, 87 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ 88 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 93 jclass clazz; local 94 FIND_CLASS(clazz, "android/content/res/ObbInfo"); 96 GET_FIELD_ID(gObbInfoClassInfo.packageName, clazz, 98 GET_FIELD_ID(gObbInfoClassInfo.version, clazz, 100 GET_FIELD_ID(gObbInfoClassInfo.flags, clazz, 102 GET_FIELD_ID(gObbInfoClassInfo.salt, clazz, [all...] |
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
TestCaseCollector.java | 84 Class<?> clazz = mClassLoader.loadClass(className); local 86 addSingleTestMethod(clazz, methodName); 88 Method[] methods = clazz.getMethods(); 91 addSingleTestMethod(clazz, method.getName()); 105 protected void addSingleTestMethod(Class<?> clazz, String method) { 106 if (!(mFilter.accept(clazz))) { 110 TestCase testCase = (TestCase) clazz.newInstance(); 114 mTestCases.add(error(clazz, "InstantiationException: could not instantiate " + 115 "test class. Class: " + clazz.getName())); 117 mTestCases.add(error(clazz, "IllegalAccessException: could not instantiate " [all...] |
/external/chromium_org/third_party/npapi/npspy/extern/java/ |
jri.h | 74 #define JRI_ThrowNew(env, clazz, message) \ 75 (((*(env))->ThrowNew)(env, JRI_ThrowNew_op, clazz, message)) 102 #define JRI_NewObjectV(env, clazz, methodID, args) \ 103 (((*(env))->NewObjectV)(env, JRI_NewObject_op_va_list, clazz, methodID, args)) 104 #define JRI_NewObjectA(env, clazz, method, args) \ 105 (((*(env))->NewObjectA)(env, JRI_NewObject_op_array, clazz, methodID, args)) 110 #define JRI_IsInstanceOf(env, obj, clazz) \ 111 (((*(env))->IsInstanceOf)(env, JRI_IsInstanceOf_op, obj, clazz)) 113 #define JRI_GetMethodID(env, clazz, name, sig) \ 114 (((*(env))->GetMethodID)(env, JRI_GetMethodID_op, clazz, name, sig) [all...] |
/external/objenesis/main/src/org/objenesis/ |
ObjenesisBase.java | 69 * @param clazz Class to instantiate
70 * @return New instance of clazz
72 public Object newInstance(Class clazz) {
73 return getInstantiatorOf(clazz).newInstance();
81 * @param clazz Class to instantiate
84 public synchronized ObjectInstantiator getInstantiatorOf(Class clazz) {
86 return strategy.newInstantiatorOf(clazz);
88 ObjectInstantiator instantiator = (ObjectInstantiator) cache.get(clazz.getName());
90 instantiator = strategy.newInstantiatorOf(clazz);
91 cache.put(clazz.getName(), instantiator); [all...] |
/external/proguard/src/proguard/classfile/attribute/annotation/ |
Annotation.java | 39 * An extra field pointing to the Clazz objects referenced in the 45 public Clazz[] referencedClasses; 77 public String getType(Clazz clazz) 79 return clazz.getString(u2typeIndex); 92 Clazz referencedClass = referencedClasses[0]; 110 Clazz referencedClass = referencedClasses[index]; 123 public void elementValuesAccept(Clazz clazz, ElementValueVisitor elementValueVisitor) 127 elementValues[index].accept(clazz, this, elementValueVisitor) [all...] |
/external/proguard/src/proguard/optimize/info/ |
ClassOptimizationInfo.java | 23 import proguard.classfile.Clazz; 39 private Clazz targetClass; 114 public void setTargetClass(Clazz targetClass) 120 public Clazz getTargetClass() 137 public static void setClassOptimizationInfo(Clazz clazz) 139 clazz.setVisitorInfo(new ClassOptimizationInfo()); 143 public static ClassOptimizationInfo getClassOptimizationInfo(Clazz clazz) 145 Object visitorInfo = clazz.getVisitorInfo() [all...] |
/dalvik/vm/reflect/ |
Reflect.h | 32 ArrayObject* dvmGetDeclaredFields(ClassObject* clazz, bool publicOnly); 37 Object* dvmGetDeclaredField(ClassObject* clazz, StringObject* nameObj); 42 ArrayObject* dvmGetDeclaredConstructors(ClassObject* clazz, bool publicOnly); 51 ArrayObject* dvmGetDeclaredMethods(ClassObject* clazz, bool publicOnly); 56 Object* dvmGetDeclaredConstructorOrMethod(ClassObject* clazz, 63 ArrayObject* dvmGetInterfaces(ClassObject* clazz); 68 Field* dvmSlotToField(ClassObject* clazz, int slot); 69 Method* dvmSlotToMethod(ClassObject* clazz, int slot); 109 Object* dvmCreateReflectObjForField(const ClassObject* clazz, Field* field); 110 Object* dvmCreateReflectObjForMethod(const ClassObject* clazz, Method* method) 230 const ClassObject* clazz; \/* class to resolve with respect to *\/ member in struct:EncodedArrayIterator [all...] |
Reflect.cpp | 48 ClassObject* clazz; local 50 clazz = dvmFindClassNoInit(*ccp, NULL); 51 if (clazz == NULL) { 56 if (clazz->ifieldCount != 1) { 58 clazz->ifieldCount, *ccp); 77 ClassObject* clazz = NULL; local 94 clazz = dvmFindArrayClass(*pSignature, defClass->classLoader); 103 clazz = dvmFindClassNoInit(*pSignature, defClass->classLoader); 106 clazz = dvmFindPrimitiveClass(*signature++); 109 if (clazz == NULL) 160 ClassObject* clazz = convertSignaturePartToClass(&cp, defClass); local 252 fieldObj, &unused, clazz, type, nameObj, slot, field_idx); local 349 ClassObject* clazz = meth->clazz; local 1194 ClassObject* clazz; local 1214 ClassObject* clazz; local [all...] |
/external/proguard/src/proguard/optimize/ |
TailRecursionSimplifier.java | 86 public void visitAnyAttribute(Clazz clazz, Attribute attribute) {} 89 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 105 // clazz.getName().equals("abc/Def") && 106 // method.getName(clazz).equals("abc"); 113 copyCode(clazz, method, codeAttribute); 118 codeAttributeComposer.visitCodeAttribute(clazz, method, codeAttribute); 127 private void copyCode(Clazz clazz, Method method, CodeAttribute codeAttribute [all...] |
DuplicateInitializerInvocationFixer.java | 77 public void visitAnyAttribute(Clazz clazz, Attribute attribute) {} 80 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 87 codeAttribute.instructionsAccept(clazz, 92 codeAttributeEditor.visitCodeAttribute(clazz, method, codeAttribute); 98 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 101 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction [all...] |
/external/proguard/src/proguard/classfile/attribute/ |
Attribute.java | 66 public String getAttributeName(Clazz clazz) 68 return clazz.getString(u2attributeNameIndex); 77 public void accept(Clazz clazz, AttributeVisitor attributeVisitor) 85 public void accept(Clazz clazz, Field field, AttributeVisitor attributeVisitor) 90 accept(clazz, attributeVisitor); 101 public void accept(Clazz clazz, Method method, AttributeVisitor attributeVisitor [all...] |
InnerClassesAttribute.java | 23 import proguard.classfile.Clazz; 62 public void accept(Clazz clazz, AttributeVisitor attributeVisitor) 64 attributeVisitor.visitInnerClassesAttribute(clazz, this); 71 public void innerClassEntriesAccept(Clazz clazz, InnerClassesInfoVisitor innerClassesInfoVisitor) 77 innerClassesInfoVisitor.visitInnerClassesInfo(clazz, classes[index]);
|
/external/proguard/src/proguard/classfile/util/ |
InstructionSequenceMatcher.java | 185 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) 197 clazz, 205 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) 219 clazz, 227 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 234 matchingConstantIndices(clazz, 242 clazz, [all...] |
/external/android-mock/src/com/google/android/testing/mocking/ |
AndroidMockGenerator.java | 57 * Class specified by {@code clazz}. 78 * @param clazz the Class object to have all of its UsesMocks annotations 81 * required for mocking the classes requested by {@code clazz} 86 public List<GeneratedClassFile> createMocksForClass(Class<?> clazz) 88 return this.createMocksForClass(clazz, SdkVersion.UNKNOWN); 91 public List<GeneratedClassFile> createMocksForClass(Class<?> clazz, SdkVersion sdkVersion) 93 if (!classIsSupportedType(clazz)) { 94 reportReasonForUnsupportedType(clazz); 97 CtClass newInterfaceCtClass = generateInterface(clazz, sdkVersion); 100 CtClass mockDelegateCtClass = generateSubClass(clazz, newInterfaceCtClass, sdkVersion) 293 clazz.addMethod(CtMethod.make(getSetDelegateMethodSource(newInterface), clazz)); local [all...] |
/external/mockito/src/org/mockito/internal/configuration/injection/scanner/ |
InjectMocksScanner.java | 22 private final Class<?> clazz; field in class:InjectMocksScanner 25 * Create a new InjectMocksScanner for the given clazz on the given instance 27 * @param clazz Current class in the hierarchy of the test 29 public InjectMocksScanner(Class<?> clazz) { 30 this.clazz = clazz; 50 Field[] fields = clazz.getDeclaredFields();
|
/external/proguard/src/proguard/classfile/ |
LibraryMember.java | 81 public String getName(Clazz clazz) 86 public String getDescriptor(Clazz clazz) 91 public void accept(Clazz clazz, MemberVisitor memberVisitor) 93 accept((LibraryClass)clazz, memberVisitor);
|
ProgramClass.java | 31 * This Clazz is a complete representation of the data in a Java class. 35 public class ProgramClass implements Clazz 57 public Clazz[] subClasses; 80 // Implementations for Clazz. 174 public void addSubClass(Clazz clazz) 178 subClasses = new Clazz[1]; 183 Clazz[] temp = new Clazz[subClasses.length+1]; 188 subClasses[subClasses.length-1] = clazz; [all...] |
/external/proguard/src/proguard/classfile/attribute/annotation/visitor/ |
AnnotatedClassVisitor.java | 23 import proguard.classfile.Clazz; 42 private Clazz lastVisitedClass; 53 public void visitAnnotation(Clazz clazz, Annotation annotation) 55 if (!clazz.equals(lastVisitedClass)) 57 clazz.accept(classVisitor); 59 lastVisitedClass = clazz;
|
/external/proguard/src/proguard/shrink/ |
ClassShrinker.java | 140 public void visitAnyAttribute(Clazz clazz, Attribute attribute) {} 143 public void visitInnerClassesAttribute(Clazz clazz, InnerClassesAttribute innerClassesAttribute) 152 public void visitEnclosingMethodAttribute(Clazz clazz, EnclosingMethodAttribute enclosingMethodAttribute) 170 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 179 public void visitAnyAnnotationsAttribute(Clazz clazz, AnnotationsAttribute annotationsAttribute [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/ |
ShadowWrangler.java | 87 public Object methodInvoked(Class clazz, String methodName, Object instance, String[] paramTypes, Object[] params) throws Throwable { 88 InvocationPlan invocationPlan = new InvocationPlan(clazz, methodName, instance, paramTypes); 90 reportNoShadowMethodFound(clazz, methodName, paramTypes); 95 throw new I18nException("Method " + methodName + " on class " + clazz.getName() + " is not i18n-safe."); 124 private void reportNoShadowMethodFound(Class clazz, String methodName, String[] paramTypes) { 126 System.out.println("No Shadow method found for " + clazz.getSimpleName() + "." + methodName + "(" + 141 Class<?> clazz = Type.findPrimitiveClass(paramType); local 142 if (clazz == null) { 144 clazz = classLoader.loadClass(paramType); 151 clazz = Array.newInstance(clazz, 0).getClass() 227 Class clazz = instance.getClass(); local 241 Class clazz = instance.getClass(); local 287 private Class clazz; field in class:ShadowWrangler.InvocationPlan [all...] |
/external/proguard/src/proguard/classfile/editor/ |
ElementValueAdder.java | 100 public void visitConstantElementValue(Clazz clazz, Annotation annotation, ConstantElementValue constantElementValue) 106 constantAdder.addConstant(clazz, constantElementValue.u2elementNameIndex), 107 constantAdder.addConstant(clazz, constantElementValue.u2constantValueIndex)); 117 public void visitEnumConstantElementValue(Clazz clazz, Annotation annotation, EnumConstantElementValue enumConstantElementValue) 122 constantAdder.addConstant(clazz, enumConstantElementValue.u2elementNameIndex), 123 constantAdder.addConstant(clazz, enumConstantElementValue.u2typeNameIndex), 124 constantAdder.addConstant(clazz, enumConstantElementValue.u2constantNameIndex)); 137 public void visitClassElementValue(Clazz clazz, Annotation annotation, ClassElementValue classElementValue [all...] |
VariableRemapper.java | 60 public void visitAnyAttribute(Clazz clazz, Attribute attribute) {} 63 public void visitCodeAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute) 69 codeAttribute.instructionsAccept(clazz, method, this); 72 codeAttributeEditor.visitCodeAttribute(clazz, method, codeAttribute); 75 codeAttribute.attributesAccept(clazz, method, this); 79 public void visitLocalVariableTableAttribute(Clazz clazz, Method method, CodeAttribute codeAttribute, LocalVariableTableAttribute localVariableTableAttribute) 82 localVariableTableAttribute.localVariablesAccept(clazz, method, codeAttribute, this) [all...] |
/frameworks/base/core/jni/android/graphics/ |
Path.cpp | 37 static void finalizer(JNIEnv* env, jobject clazz, SkPath* obj) { 47 static SkPath* init1(JNIEnv* env, jobject clazz) { 51 static SkPath* init2(JNIEnv* env, jobject clazz, SkPath* val) { 55 static void reset(JNIEnv* env, jobject clazz, SkPath* obj) { 59 static void rewind(JNIEnv* env, jobject clazz, SkPath* obj) { 63 static void assign(JNIEnv* env, jobject clazz, SkPath* dst, const SkPath* src) { 67 static jint getFillType(JNIEnv* env, jobject clazz, SkPath* obj) { 71 static void setFillType(JNIEnv* env, jobject clazz, SkPath* path, SkPath::FillType ft) { 75 static jboolean isEmpty(JNIEnv* env, jobject clazz, SkPath* obj) { 79 static jboolean isRect(JNIEnv* env, jobject clazz, SkPath* obj, jobject rect) [all...] |