HomeSort by relevance Sort by last modified time
    Searched defs:class (Results 51 - 75 of 282) sorted by null

1 23 4 5 6 7 8 91011>>

  /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/Email/src/com/android/email/mail/
Store.java 41 * Store is the legacy equivalent of the Account class
43 public abstract class Store {
58 static final HashMap<String, Class<? extends Store>> sStoreClasses =
59 new HashMap<String, Class<? extends Store>>();
62 * Static named constructor. It should be overrode by extending class.
80 * @return an initialized store of the appropriate class
86 sStoreClasses.put(context.getString(R.string.protocol_pop3), Pop3Store.class);
87 sStoreClasses.put(context.getString(R.string.protocol_legacy_imap), ImapStore.class);
95 Class<? extends Store> klass = sStoreClasses.get(hostAuth.mProtocol);
97 klass = ServiceStore.class;
    [all...]
  /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);
  /art/test/100-reflect2/src/
Main.java 20 class Main {
33 f = Main.class.getDeclaredField("z");
35 f = Main.class.getDeclaredField("b");
37 f = Main.class.getDeclaredField("c");
39 f = Main.class.getDeclaredField("d");
41 f = Main.class.getDeclaredField("f");
43 f = Main.class.getDeclaredField("i");
45 f = Main.class.getDeclaredField("j");
47 f = Main.class.getDeclaredField("s");
50 f = Main.class.getDeclaredField("z")
    [all...]
  /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,
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
SQLiteDatabaseTest.java 18 @DatabaseConfig.UsingDatabaseMap(SQLiteMap.class)
19 @RunWith(WithTestDefaultsRunner.class)
20 public class SQLiteDatabaseTest extends DatabaseTestBase {
25 equalTo(SQLiteMap.class.getName()));
  /frameworks/base/core/java/android/widget/
TwoLineListItem.java 41 * @deprecated This class can be implemented easily by apps using a {@link RelativeLayout}
46 public class TwoLineListItem extends RelativeLayout {
95 event.setClassName(TwoLineListItem.class.getName());
101 info.setClassName(TwoLineListItem.class.getName());
DigitalClock.java 37 public class DigitalClock extends TextView {
107 private class FormatChangeObserver extends ContentObserver {
122 event.setClassName(DigitalClock.class.getName());
129 info.setClassName(DigitalClock.class.getName());
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
ClassLoaderReflectionTest.java 33 * This class creates another class loader to load multiple copies of various
35 * class names using the correct class loader.
37 public final class ClassLoaderReflectionTest extends TestCase {
40 * Each of these class instances points to a different copy of the class
41 * than the one in the application class loader!
43 private Class<?> aClass;
44 private Class<?> aListClass
    [all...]
AnnotationsTest.java 32 public final class AnnotationsTest extends TestCase {
35 assertAnnotatedElement(Type.class, AnnotationA.class, AnnotationB.class);
39 assertAnnotatedElement(ExtendsType.class, AnnotationB.class);
43 Constructor<Type> constructor = Type.class.getConstructor();
44 assertAnnotatedElement(constructor, AnnotationA.class, AnnotationC.class);
48 Field field = Type.class.getField("field")
    [all...]
ReflectionTest.java 35 public final class ReflectionTest extends TestCase {
45 AList.class.getGenericSuperclass().toString());
49 assertEquals("int", int.class.getName());
50 assertEquals("[I", int[].class.getName());
51 assertEquals("java.lang.String", String.class.getName());
52 assertEquals("[Ljava.lang.String;", String[].class.getName());
54 assertEquals(getClass().getName() + "$A", A.class.getName());
55 assertEquals(getClass().getName() + "$B", B.class.getName());
56 assertEquals(getClass().getName() + "$DefinesMember", DefinesMember.class.getName());
60 assertEquals("int", int.class.getCanonicalName())
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/contact/
ContactUpdateService.java 28 public class ContactUpdateService extends IntentService {
33 super(ContactUpdateService.class.getSimpleName());
39 Intent serviceIntent = new Intent(context, ContactUpdateService.class);
  /packages/services/Telephony/src/com/android/phone/
ClearMissedCallsService.java 27 public class ClearMissedCallsService extends IntentService {
35 super(ClearMissedCallsService.class.getSimpleName());
  /external/chromium_org/content/public/android/java/src/org/chromium/content/app/
Linker.java 23 * The point of this class is to provide an alternative to System.loadLibrary()
92 * Here's an explanation of how this class is supposed to be used:
118 * LinkerParams.java for a helper class to do so).
151 public class Linker {
153 // Log tag for this class. This must match the name of the linker's native library.
222 assert Thread.holdsLock(Linker.class);
293 // The name of a class that implements TestRunner.
297 * Set the TestRunner by its class name. It will be instantiated at
299 * @param testRunnerClassName null or a String for the class name of the
310 synchronized (Linker.class) {
    [all...]
  /external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/
Serializer.java 54 * The main serializer class, which will serialize objects such that
60 public abstract class Serializer {
61 protected static final Logger log = Logger.getLogger(Serializer.class.getName());
63 private static final SerializerRegistration NULL_CLASS = new SerializerRegistration( null, Void.class, (short)-1 );
66 private static final Map<Class, SerializerRegistration> classRegistrations = new HashMap<Class, SerializerRegistration>();
100 registerClass(boolean.class, new BooleanSerializer());
101 registerClass(byte.class, new ByteSerializer());
102 registerClass(char.class, new CharSerializer());
103 registerClass(short.class, new ShortSerializer())
    [all...]
  /art/test/044-proxy/src/
Clash3.java 23 * Try to instantiate a proxy class with interfaces that have conflicting
26 public class Clash3 {
31 Proxy.newProxyInstance(Clash.class.getClassLoader(),
32 new Class[] {
33 Interface3a.class,
34 Interface3base.class,
35 Interface3aa.class,
36 Interface3b.class },
45 class R3base implements I3 { int mBlah; public void x() {} }
46 class R3a extends R3base { int mBlah_a;
    [all...]
Clash4.java 23 * Try to instantiate a proxy class with interfaces that have conflicting
26 public class Clash4 {
31 Proxy.newProxyInstance(Clash.class.getClassLoader(),
32 new Class[] {
33 Interface4a.class,
34 Interface4aa.class,
35 Interface4base.class,
36 Interface4b.class,
37 Interface4bb.class },
47 class R4base { int mBlah;
    [all...]
  /dalvik/tests/044-proxy/src/
Clash3.java 23 * Try to instantiate a proxy class with interfaces that have conflicting
26 public class Clash3 {
31 Proxy.newProxyInstance(Clash.class.getClassLoader(),
32 new Class[] {
33 Interface3a.class,
34 Interface3base.class,
35 Interface3aa.class,
36 Interface3b.class },
45 class R3base implements I3 { int mBlah; public void x() {} }
46 class R3a extends R3base { int mBlah_a;
    [all...]
Clash4.java 23 * Try to instantiate a proxy class with interfaces that have conflicting
26 public class Clash4 {
31 Proxy.newProxyInstance(Clash.class.getClassLoader(),
32 new Class[] {
33 Interface4a.class,
34 Interface4aa.class,
35 Interface4base.class,
36 Interface4b.class,
37 Interface4bb.class },
47 class R4base { int mBlah;
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/app/
LocalSampleInstrumentation.java 28 * class demonstrating instrumentation against one of this application's sample
31 public class LocalSampleInstrumentation extends Instrumentation {
32 public abstract static class ActivityRunnable implements Runnable {
57 intent.setClass(getTargetContext(), SaveRestoreState.class);
  /external/apache-harmony/auth/src/test/java/common/org/ietf/jgss/
GSSManagerTest.java 31 * Tests GSSManager class
33 public class GSSManagerTest extends TestCase {
35 * Tests loading of a default provider with valid class references.
40 Security.setProperty(GSSManager.MANAGER, TestManager.class
44 assertEquals(TestManager.class.getName(), m.getClass().getName());
52 * Tests loading of a default provider with invalid class references.
75 public static class TestManager extends GSSManager {
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/bytecode/
CustomRobolectricTestRunnerTest.java 18 @RunWith(CustomRobolectricTestRunnerTest.CustomRobolectricTestRunner.class)
19 public class CustomRobolectricTestRunnerTest {
33 assertEquals(CustomApplication.class, Robolectric.application.getClass());
39 assertEquals(RobolectricClassLoader.class.getName(), preparedTest.getClass().getClassLoader().getClass().getName());
53 public static class CustomRobolectricTestRunner extends WithTestDefaultsRunner {
54 public CustomRobolectricTestRunner(Class<?> testClass) throws InitializationError {
75 public static class CustomApplication extends Application {

Completed in 3689 milliseconds

1 23 4 5 6 7 8 91011>>