/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/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/visitor/ |
DotClassClassVisitor.java | 64 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 67 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 75 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, 83 public void visitAnyConstant(Clazz clazz, Constant constant) {} 86 public void visitClassConstant(Clazz clazz, ClassConstant classConstant)
|
/external/proguard/src/proguard/io/ |
DataEntryObfuscator.java | 96 Clazz clazz = classPool.getClass(className); local 97 if (clazz != null) 100 String newClassName = clazz.getName();
|
/external/proguard/src/proguard/optimize/info/ |
SuperInvocationMarker.java | 47 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 50 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruction) 56 clazz.constantPoolEntryAccept(constantInstruction.constantIndex, this); 68 public void visitAnyMethodrefConstant(Clazz clazz, RefConstant refConstant) 71 !clazz.equals(refConstant.referencedClass) && 72 !refConstant.getName(clazz).equals(ClassConstants.INTERNAL_METHOD_NAME_INIT);
|
SideEffectInstructionChecker.java | 59 public boolean hasSideEffects(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) 63 instruction.accept(clazz, method, codeAttribute, offset, this); 71 public void visitAnyInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, Instruction instruction) {} 74 public void visitSimpleInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, SimpleInstruction simpleInstruction) 105 public void visitVariableInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, VariableInstruction variableInstruction) 118 public void visitConstantInstruction(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, ConstantInstruction constantInstruc (…) [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/internal/ |
AppSingletonizer.java | 11 private Class<T> clazz; field in class:AppSingletonizer 13 public AppSingletonizer(Class<T> clazz) { 14 this.clazz = clazz; 33 return newInstanceOf(clazz);
|
/frameworks/base/core/jni/ |
android_app_backup_FullBackup.cpp | 73 static int backupToTar(JNIEnv* env, jobject clazz, jstring packageNameObj, 121 jclass clazz = env->FindClass("android/app/backup/BackupDataOutput"); local 122 LOG_FATAL_IF(clazz == NULL, "Unable to find class android.app.backup.BackupDataOutput"); 124 sBackupDataOutput.mBackupWriter = env->GetFieldID(clazz, "mBackupWriter", "I");
|
android_database_SQLiteDebug.cpp | 39 static void nativeGetPagerStats(JNIEnv *env, jobject clazz, jobject statsObj) 69 #define GET_FIELD_ID(var, clazz, fieldName, fieldDescriptor) \ 70 var = env->GetFieldID(clazz, fieldName, fieldDescriptor); \ 75 jclass clazz; local 76 FIND_CLASS(clazz, "android/database/sqlite/SQLiteDebug$PagerStats"); 78 GET_FIELD_ID(gSQLiteDebugPagerStatsClassInfo.memoryUsed, clazz, 80 GET_FIELD_ID(gSQLiteDebugPagerStatsClassInfo.largestMemAlloc, clazz, 82 GET_FIELD_ID(gSQLiteDebugPagerStatsClassInfo.pageCacheOverflow, clazz,
|
android_debug_JNITest.cpp | 36 jclass clazz; local 45 clazz = env->GetObjectClass(object); 46 part2id = env->GetMethodID(clazz, 76 static jint android_debug_JNITest_part3(JNIEnv* env, jclass clazz,
|
android_hardware_SerialPort.cpp | 263 jclass clazz = env->FindClass("android/hardware/SerialPort"); local 264 if (clazz == NULL) { 268 field_context = env->GetFieldID(clazz, "mNativeContext", "I");
|
android_hardware_UsbRequest.cpp | 205 jclass clazz = env->FindClass("android/hardware/usb/UsbRequest"); local 206 if (clazz == NULL) { 210 field_context = env->GetFieldID(clazz, "mNativeContext", "I");
|
android_media_ToneGenerator.cpp | 137 jclass clazz; local 139 clazz = env->FindClass("android/media/ToneGenerator"); 140 if (clazz == NULL) { 145 fields.context = env->GetFieldID(clazz, "mNativeContext", "I");
|
android_util_FileObserver.cpp | 145 jclass clazz; local 147 clazz = env->FindClass("android/os/FileObserver$ObserverThread"); 149 if (clazz == NULL) 155 method_onEvent = env->GetMethodID(clazz, "onEvent", "(IILjava/lang/String;)V");
|
android_view_InputDevice.cpp | 31 jclass clazz; member in struct:android::__anon32773 58 ScopedLocalRef<jobject> inputDeviceObj(env, env->NewObject(gInputDeviceClassInfo.clazz, 84 #define GET_METHOD_ID(var, clazz, methodName, methodDescriptor) \ 85 var = env->GetMethodID(clazz, methodName, methodDescriptor); \ 90 FIND_CLASS(gInputDeviceClassInfo.clazz, "android/view/InputDevice"); 91 gInputDeviceClassInfo.clazz = jclass(env->NewGlobalRef(gInputDeviceClassInfo.clazz)); 93 GET_METHOD_ID(gInputDeviceClassInfo.ctor, gInputDeviceClassInfo.clazz, 97 GET_METHOD_ID(gInputDeviceClassInfo.addMotionRange, gInputDeviceClassInfo.clazz,
|
/frameworks/base/services/jni/ |
com_android_server_SerialService.cpp | 65 jclass clazz = env->FindClass("com/android/server/SerialService"); local 66 if (clazz == NULL) { 71 clazz = env->FindClass("android/os/ParcelFileDescriptor"); 72 LOG_FATAL_IF(clazz == NULL, "Unable to find class android.os.ParcelFileDescriptor"); 73 gParcelFileDescriptorOffsets.mClass = (jclass) env->NewGlobalRef(clazz); 74 gParcelFileDescriptorOffsets.mConstructor = env->GetMethodID(clazz, "<init>", "(Ljava/io/FileDescriptor;)V");
|
/frameworks/base/tools/preload/ |
PrintHtmlDiff.java | 64 LoadedClass clazz = root.loadedClasses.get(line); local 65 if (clazz != null) { 66 added.remove(clazz); 67 if (!clazz.preloaded) removed.add(clazz); 100 for (LoadedClass clazz : classes) { 102 out.println("<td>" + clazz.name + "</td>"); 103 out.println("<td>" + clazz.medianTimeMicros() + "</td>"); 107 for (Operation op : clazz.loads) procNames.add(op.process.name); 108 for (Operation op : clazz.initializations) [all...] |
/frameworks/opt/net/voip/src/jni/rtp/ |
RtpStream.cpp | 105 jclass clazz; local 106 if ((clazz = env->FindClass("android/net/rtp/RtpStream")) == NULL || 107 (gSocket = env->GetFieldID(clazz, "mSocket", "I")) == NULL || 108 env->RegisterNatives(clazz, gMethods, NELEM(gMethods)) < 0) {
|
/frameworks/support/v4/ics/android/support/v4/text/ |
ICUCompatIcs.java | 33 final Class<?> clazz = Class.forName("libcore.icu.ICU"); typedefs 34 if (clazz != null) { 35 sGetScriptMethod = clazz.getMethod("getScript", 37 sAddLikelySubtagsMethod = clazz.getMethod("addLikelySubtags",
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/ |
IncompleteAnnotationExceptionTest.java | 50 Class clazz = String.class; local 53 clazz, elementName); 55 assertSame("wrong annotation type", clazz, e.annotationType());
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/ |
TempStorage.java | 37 String clazz = System.getProperty("org.apache.james.mime4j.tempStorage");
typedefs 41 inst = (TempStorage) Class.forName(clazz).newInstance();
46 + clazz + "' using SimpleTempStorage instead", t);
|
/prebuilts/tools/common/m2/internal/net/sf/proguard/proguard-base/4.9/ |
proguard-base-4.9.jar | |
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
BoundedGenericMethodsTests.java | 41 private static Class<? extends BoundedGenericMethods> clazz = BoundedGenericMethodsTests.BoundedGenericMethods.class; field in class:BoundedGenericMethodsTests 105 assertLenghtOne(clazz.getTypeParameters()); 108 Method method = clazz.getMethod("noParamNoReturn"); 112 Method method = clazz.getMethod("paramNoReturn", BoundedGenericMethods.class); 117 Method method = clazz.getMethod("noParamReturn"); 123 Method method = clazz.getMethod("paramReturn", BoundedGenericMethods.class);
|
GenericMethodsTests.java | 42 private static Class<? extends GenericMethods> clazz = GenericMethodsTests.GenericMethods.class; field in class:GenericMethodsTests 48 assertLenghtZero(clazz.getTypeParameters()); 87 Method method = clazz.getMethod("noParamNoReturn"); 92 Method method = clazz.getMethod("paramNoReturn", Object.class); 98 Method method = clazz.getMethod("noParamReturn"); 104 Method method = clazz.getMethod("paramReturn", Object.class); 110 Method method0 = clazz.getMethod("paramNoReturn", Object.class); 113 Method method1 = clazz.getMethod("noParamNoReturn");
|
/dalvik/vm/hprof/ |
HprofClass.cpp | 40 static u4 computeClassHash(const ClassObject *clazz) 46 cp = clazz->descriptor; 47 hash = (u4)clazz->classLoader; 73 hprof_class_object_id hprofLookupClassId(const ClassObject *clazz) 77 if (clazz == NULL) { 89 val = dvmHashTableLookup(gClassHashTable, computeClassHash(clazz), 90 (void *)clazz, classCmp, true); 100 getPrettyClassNameId(clazz->descriptor); 102 return (hprof_class_object_id)clazz; 119 const ClassObject *clazz; local [all...] |