/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/ |
RobolectricClassLoader.java | 12 public class RobolectricClassLoader extends javassist.Loader { 21 super(RobolectricClassLoader.class.getClassLoader(), null); 23 delegateLoadingOf(AndroidTranslator.class.getName()); 24 delegateLoadingOf(ClassHandler.class.getName()); 37 classPool.appendClassPath(new LoaderClassPath(RobolectricClassLoader.class.getClassLoader())); 53 public Class loadClass(String name) throws ClassNotFoundException { 57 Class<?> theClass; 67 public Class<?> bootstrap(Class testClass) { 78 protected Class findClass(String name) throws ClassNotFoundException [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/lint/ |
LintFix.java | 59 abstract class LintFix implements ICompletionProposal { 147 private static final Map<String, Class<? extends LintFix>> sFixes = 148 new HashMap<String, Class<? extends LintFix>>(); 152 LinearLayoutWeightFix.class); 153 sFixes.put(AccessibilityDetector.ISSUE.getId(), SetAttributeFix.class); 154 sFixes.put(InefficientWeightDetector.BASELINE_WEIGHTS.getId(), SetAttributeFix.class); 155 sFixes.put(ManifestOrderDetector.ALLOW_BACKUP.getId(), SetAttributeFix.class); 156 sFixes.put(MissingIdDetector.ISSUE.getId(), SetAttributeFix.class); 157 sFixes.put(HardcodedValuesDetector.ISSUE.getId(), ExtractStringFix.class); 158 sFixes.put(UselessViewDetector.USELESS_LEAF.getId(), RemoveUselessViewFix.class); [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
AnnotatedElementBenchmark.java | 26 public class AnnotatedElementBenchmark extends SimpleBenchmark { 28 private Class<?> type; 33 type = Type.class; 34 field = Type.class.getField("field"); 35 method = Type.class.getMethod("method", String.class); 67 type.getAnnotation(Marker.class); 73 field.getAnnotation(Marker.class); 79 method.getAnnotation(Marker.class); 85 type.isAnnotationPresent(Marker.class); [all...] |
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
SSLSocketFactoryTest.java | 31 public class SSLSocketFactoryTest extends TestCase { 35 assertTrue(SSLSocketFactory.class.isAssignableFrom(sf.getClass())); 75 assertTrue(SSLSocket.class.isAssignableFrom(ssl.getClass()));
|
/cts/tests/tests/app/src/android/app/cts/ |
AliasActivityTest.java | 23 public class AliasActivityTest extends AndroidTestCase { 31 intent.setClass(getContext(), AliasActivityStub.class);
|
SearchManagerTest.java | 21 public class SearchManagerTest extends CTSActivityTestCaseBase { 27 intent.setClass(getInstrumentation().getTargetContext(), SearchManagerStubActivity.class);
|
/dalvik/tests/004-annotations/src/android/test/anno/ |
AnnoFancyMethod.java | 13 Class someClass() default SomeClass.class;
|
/dalvik/tests/044-proxy/src/ |
Clash.java | 23 * Try to instantiate a proxy class with interfaces that have conflicting 26 public class Clash { 32 Proxy.newProxyInstance(Clash.class.getClassLoader(), 33 new Class[] { Interface1A.class, Interface1A.class }, 41 Proxy.newProxyInstance(Clash.class.getClassLoader(), 42 new Class[] { Interface1A.class, Interface1B.class }, [all...] |
Clash2.java | 23 * Try to instantiate a proxy class with interfaces that have conflicting 26 public class Clash2 { 31 Proxy.newProxyInstance(Clash.class.getClassLoader(), 32 new Class[] { Interface2A.class, Interface2B.class }, 53 class Clash2InvocationHandler implements InvocationHandler {
|
/external/mockito/src/org/mockito/internal/configuration/injection/scanner/ |
InjectMocksScanner.java | 21 public class InjectMocksScanner { 22 private final Class<?> clazz; 27 * @param clazz Current class in the hierarchy of the test 29 public InjectMocksScanner(Class<?> clazz) { 52 if (null != field.getAnnotation(InjectMocks.class)) { 53 assertNoAnnotations(field, Mock.class, MockitoAnnotations.Mock.class, Captor.class); 61 void assertNoAnnotations(final Field field, final Class... annotations) { 62 for (Class annotation : annotations) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/loadso/macos/ |
SDL_sysloadso.c | 81 CFragSymbolClass class; local 87 (char **)&symbol, &class) != noErr ) {
|
/frameworks/base/core/java/android/widget/ |
ImageSwitcher.java | 27 public class ImageSwitcher extends ViewSwitcher 62 event.setClassName(ImageSwitcher.class.getName()); 68 info.setClassName(ImageSwitcher.class.getName());
|
RadioButton.java | 52 public class RadioButton extends CompoundButton { 83 event.setClassName(RadioButton.class.getName()); 89 info.setClassName(RadioButton.class.getName());
|
TextSwitcher.java | 35 public class TextSwitcher extends ViewSwitcher { 97 event.setClassName(TextSwitcher.class.getName()); 103 info.setClassName(TextSwitcher.class.getName());
|
/frameworks/testing/androidtestlib/tests/src/com/android/test/runner/ |
TestRequestBuilderTest.java | 40 public class TestRequestBuilderTest { 42 public static class SampleTest { 55 public static class SampleClassSize { 66 public static class SampleNoSize extends TestCase { 88 b.addTestClass(SampleTest.class.getName()); 101 b.addTestClass(SampleTest.class.getName()); 110 * Test that size annotation filtering by class works 115 b.addTestClass(SampleTest.class.getName()); 116 b.addTestClass(SampleClassSize.class.getName()); 125 * Test case where entire JUnit3 test class has been filtered ou [all...] |
/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/ |
TestAnnotation3.java | 12 * only primitive type, String, Class, annotation, 26 Class aClazz() default Void.class;
|
TestAnnotation3b.java | 12 * only primitive type, String, Class, annotation, 26 Class aClazz() default Void.class;
|
/packages/apps/VoiceDialer/tests/src/com/android/voicedialer/ |
VoiceDialerLaunchPerformance.java | 24 * Instrumentation class for DeskClock launch performance testing. 26 public class VoiceDialerLaunchPerformance extends LaunchPerformanceBase { 32 mIntent.setClass(getTargetContext(), VoiceDialerActivity.class);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/ |
SpellCheckerSettingsFragment.java | 29 public final class SpellCheckerSettingsFragment extends PreferenceFragment { 43 getActivity(), SpellCheckerSettingsActivity.class));
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/ |
ReplayerService.java | 33 public class ReplayerService extends IntentService { 34 private static final String TAG = ReplayerService.class.getSimpleName(); 39 super(ReplayerService.class.getSimpleName());
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/ |
DatabaseConfigTest.java | 15 @RunWith(WithTestDefaultsRunner.class) 16 public class DatabaseConfigTest { 25 assertThat(DatabaseConfig.getDatabaseMap().getClass().getName(), equalTo(H2Map.class.getName())); 37 assertThat(DatabaseConfig.getDatabaseMap().getClass().getName(), equalTo(H2Map_TypeForwardOnly.class.getName())); 52 @Test(expected = NullDatabaseMapException.class) 58 @Test(expected = NullDatabaseMapException.class) 64 @Test(expected = NullDatabaseMapException.class) 70 @Test(expected = NullDatabaseMapException.class)
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/ |
SwitchPreview.java | 38 * -e class com.android.camera.stress.SwitchPreview \ 42 public class SwitchPreview extends ActivityInstrumentationTestCase2 <VideoCamera>{ 53 super(VideoCamera.class); 102 VideoCamera.class); 108 Camera.class);
|
/cts/tests/tests/media/src/android/media/cts/ |
FaceDetectorTest.java | 28 public class FaceDetectorTest extends InstrumentationTestCase { 36 intent.setClass(getInstrumentation().getTargetContext(), FaceDetectorStub.class);
|
/development/samples/ApiDemos/tests/src/com/example/android/apis/app/ |
LocalServiceTest.java | 36 * -e class com.example.android.apis.app.LocalServiceTest \ 39 public class LocalServiceTest extends ServiceTestCase<LocalService> { 42 super(LocalService.class); 66 startIntent.setClass(getContext(), LocalService.class); 76 startIntent.setClass(getContext(), LocalService.class);
|
/external/elfutils/tests/ |
sectiondump.c | 173 int class = gelf_getclass (elf); local 174 size_t nsym = data->d_size / (class == ELFCLASS32 185 class == ELFCLASS32 ? 8 : 16,
|