/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
FragmentUtils.java | 39 public class FragmentUtils { 42 sLatinImeFragments.add(DictionarySettingsFragment.class.getName()); 43 sLatinImeFragments.add(AboutPreferences.class.getName()); 44 sLatinImeFragments.add(PreferencesSettingsFragment.class.getName()); 45 sLatinImeFragments.add(AccountsSettingsFragment.class.getName()); 46 sLatinImeFragments.add(AppearanceSettingsFragment.class.getName()); 47 sLatinImeFragments.add(ThemeSettingsFragment.class.getName()); 48 sLatinImeFragments.add(CustomInputStyleSettingsFragment.class.getName()); 49 sLatinImeFragments.add(GestureSettingsFragment.class.getName()); 50 sLatinImeFragments.add(CorrectionSettingsFragment.class.getName()) [all...] |
/packages/apps/Settings/src/com/android/settings/search/ |
Ranking.java | 59 * Utility class for dealing with Search Ranking. 61 public final class Ranking { 97 sRankMap.put(WifiSettings.class.getName(), RANK_WIFI); 98 sRankMap.put(AdvancedWifiSettings.class.getName(), RANK_WIFI); 99 sRankMap.put(SavedAccessPointsWifiSettings.class.getName(), RANK_WIFI); 102 sRankMap.put(BluetoothSettings.class.getName(), RANK_BT); 105 sRankMap.put(SimSettings.class.getName(), RANK_SIM); 108 sRankMap.put(DataUsageSummary.class.getName(), RANK_DATA_USAGE); 109 sRankMap.put(DataUsageMeteredSettings.class.getName(), RANK_DATA_USAGE); 112 sRankMap.put(WirelessSettings.class.getName(), RANK_WIRELESS) [all...] |
SearchIndexableResources.java | 60 public final class SearchIndexableResources { 68 sResMap.put(WifiSettings.class.getName(), 70 Ranking.getRankForClassName(WifiSettings.class.getName()), 72 WifiSettings.class.getName(), 75 sResMap.put(AdvancedWifiSettings.class.getName(), 77 Ranking.getRankForClassName(AdvancedWifiSettings.class.getName()), 79 AdvancedWifiSettings.class.getName(), 82 sResMap.put(SavedAccessPointsWifiSettings.class.getName(), 84 Ranking.getRankForClassName(SavedAccessPointsWifiSettings.class.getName()), 86 SavedAccessPointsWifiSettings.class.getName() [all...] |
/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
JsonRequestTest.java | 28 @RunWith(RobolectricTestRunner.class) 29 public class JsonRequestTest { 34 assertNotNull(JsonRequest.class.getConstructor(String.class, String.class, 35 Response.Listener.class, Response.ErrorListener.class)); 36 assertNotNull(JsonRequest.class.getConstructor(int.class, String.class, String.class [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
ClassTest.java | 20 public class ClassTest extends TestCase { 40 assertNull(Foo.class.getGenericSuperclass()); 41 assertNull(ParameterizedFoo.class.getGenericSuperclass()); 42 assertNull(ParameterizedBar.class.getGenericSuperclass()); 43 assertNull(ParameterizedBaz.class.getGenericSuperclass()); 45 assertNull(Object.class.getGenericSuperclass()); 46 assertNull(void.class.getGenericSuperclass()); 47 assertNull(int.class.getGenericSuperclass()); 51 assertSame(Object.class, (new Integer[0]).getClass().getGenericSuperclass());
|
OldClassTest.java | 42 public class OldClassTest extends junit.framework.TestCase { 55 public static class TestClass1C { 63 public static class TestClass2 { 70 public static class TestClass3 { 81 static class StaticMember$Class { 82 class Member2$A { 86 class Member$Class { 87 class Member3$B [all...] |
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
ParserFactory.java | 39 * A factory class that does a name lookup on a registered parser and 49 public class ParserFactory { 51 private static Hashtable<String,Class<? extends HeaderParser>> parserTable; 52 private static Class[] constructorArgs; 56 parserTable = new Hashtable<String,Class<? extends HeaderParser>>(); 58 constructorArgs = new Class[1]; 59 constructorArgs[0] = String.class; 60 parserTable.put(ReplyToHeader.NAME.toLowerCase(), ReplyToParser.class); 64 InReplyToParser.class); 68 AcceptEncodingParser.class); [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
ObjectDescriptorFactory.java | 31 /* class tag values of 14496-1
122 public class ObjectDescriptorFactory {
123 protected static Logger log = Logger.getLogger(ObjectDescriptorFactory.class.getName());
125 protected static Map<Integer, Map<Integer, Class<? extends BaseDescriptor>>> descriptorRegistry = new HashMap<Integer, Map<Integer, Class<? extends BaseDescriptor>>>();
128 Set<Class<? extends BaseDescriptor>> annotated = new HashSet<Class<? extends BaseDescriptor>>();
130 annotated.add(DecoderSpecificInfo.class);
131 annotated.add(SLConfigDescriptor.class);
132 annotated.add(BaseDescriptor.class);
[all...] |
/art/test/124-missing-classes/src/ |
Main.java | 17 public final class Main { 28 private static class ClassWithMissingFieldType { 34 ClassWithMissingFieldType.class.getDeclaredFields(); 41 private static class ClassWithMissingMethodReturnType { 49 ClassWithMissingMethodReturnType.class.getDeclaredMethods(); 56 private static class ClassWithMissingMethodParameterType { 62 ClassWithMissingMethodParameterType.class.getDeclaredMethods(); 69 private static final class MissingInnerClass { 74 Main.class.getDeclaredClasses();
|
/external/elfutils/src/libelf/ |
elf_update.c | 45 int class = elf->class; local 81 if ((class == ELFCLASS32 90 if ((class == ELFCLASS32 170 size = (elf->class == ELFCLASS32
|
/external/jsr305/ri/src/main/java/javax/annotation/meta/ |
TypeQualifier.java | 21 * numeric class is provided (e.g., Number.class or Integer.class) then the 25 Class<?> applicableTo() default Object.class;
|
/external/vogar/src/org/junit/ |
Test.java | 19 //Note: this class was written without inspecting the org.junit code 29 public static class None extends Throwable { 32 Class<? extends Throwable> expected() default None.class;
|
/libcore/dalvik/src/main/java/dalvik/annotation/ |
TestTargetNew.java | 37 * class rather than a concrete API method. 45 Class<?>[] args() default {}; 48 * Specifies the class to which the tested method belongs. If this value is 49 * not provided, the class identified in @TestTargetClass is used by the 52 Class<?> clazz() default void.class;
|
/external/jmonkeyengine/engine/src/test/jme3test/asset/ |
TestAbsoluteLocators.java | 43 public class TestAbsoluteLocators { 47 am.registerLoader(AWTLoader.class.getName(), "jpg"); 48 am.registerLoader(WAVLoader.class.getName(), "wav"); 51 am.registerLocator("/", ClasspathLocator.class.getName());
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/ |
TemporaryBindingsTest.java | 13 @RunWith(WithTestDefaultsRunner.class) 14 public class TemporaryBindingsTest { 18 assertThat(shadowOf(new View(null)).getClass().getSimpleName(), equalTo(ShadowView.class.getSimpleName())); 20 Robolectric.bindShadowClass(TemporaryShadowView.class); 23 equalTo(TemporaryShadowView.class.getSimpleName())); 28 assertThat(shadowOf(new View(null)).getClass().getSimpleName(), equalTo(ShadowView.class.getSimpleName())); 30 Robolectric.bindShadowClass(TemporaryShadowView.class); 33 equalTo(TemporaryShadowView.class.getSimpleName())); 36 @Implements(View.class) 37 public static class TemporaryShadowView [all...] |
RobolectricTestRunnerClassLoaderSetup.java | 10 @RunWith(WithTestDefaultsRunner.class) 11 public class RobolectricTestRunnerClassLoaderSetup { 16 Assert.assertEquals(classLoader.getClass().getName(), RobolectricClassLoader.class.getName());
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/ |
RobolectricTestRunner.java | 47 public class RobolectricTestRunner extends BlockJUnit4ClassRunner implements RobolectricTestRunnerInterface { 57 Logger.getLogger(RobolectricTestRunner.class.getSimpleName()); 97 * @param classOrPackageToBeInstrumented fully-qualified class or package name 109 * @param testClass the test class to be run 112 public RobolectricTestRunner(final Class<?> testClass) throws InitializationError { 123 * @param testClass the test class to be run 127 public RobolectricTestRunner(final Class<?> testClass, RobolectricClassLoader classLoader) 142 * @param testClass the test class to be run 146 protected RobolectricTestRunner(final Class<?> testClass, final RobolectricConfig robolectricConfig) 158 * @param testClass the test class to be ru [all...] |
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
ReflectionTest.java | 37 public final class ReflectionTest extends TestCase { 43 assertEquals(AbstractList.class, ArrayList.class.getSuperclass()); 44 assertEquals(AbstractCollection.class, AbstractList.class.getSuperclass()); 45 assertEquals(AbstractCollection.class, AbstractList.class.getSuperclass()); 46 assertEquals(Object.class, AbstractCollection.class.getSuperclass()); 47 assertNull(Object.class.getSuperclass()) [all...] |
/art/test/031-class-attributes/src/ |
ClassAttrs.java | 16 public class ClassAttrs { 19 class ConsInnerNamed { 29 public class PublicInnerClass { 32 protected class ProtectedInnerClass { 35 private class PrivateInnerClass { 38 class PackagePrivateInnerClass { 53 private static void showModifiers(Class<?> c) { 60 showModifiers(int.class); 61 showModifiers(int[].class); 64 showModifiers(Object.class); [all...] |
/external/elfutils/src/libasm/ |
asm_begin.c | 88 int class = ebl_get_elfclass (ebl); local 89 if (gelf_newehdr (result->out.elf, class) == 0) 101 /* Use the machine, class, and endianess values from the Ebl descriptor. */ 103 ehdr->e_ident[EI_CLASS] = class;
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/ |
Serializable.java | 40 * Use this annotation when a class is going to be transferred 47 Class serializer() default FieldSerializer.class;
|
/external/junit/src/org/junit/ |
Test.java | 11 * JUnit first constructs a fresh instance of the class then invokes the 18 * public class Example { 32 * @Test(<b>expected=IndexOutOfBoundsException.class</b>) public void outOfBounds() { 52 static class None extends Throwable { 60 * an exception of the specified class is thrown by the method. 62 Class<? extends Throwable> expected() default None.class;
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
H2DatabaseTest.java | 12 @DatabaseConfig.UsingDatabaseMap(H2Map.class) 13 @RunWith(WithTestDefaultsRunner.class) 14 public class H2DatabaseTest extends DatabaseTestBase { 18 equalTo(H2Map.class.getName()));
|
/frameworks/base/tools/layoutlib/bridge/src/dalvik/system/ |
VMRuntime_Delegate.java | 25 * by calls to methods of the same name in this delegate class. 27 public class VMRuntime_Delegate { 31 /*package*/ static Object newUnpaddedArray(VMRuntime runtime, Class<?> componentType, 38 } else if (componentType == char.class) { 44 } else if (componentType == int.class) { 47 } else if (componentType == byte.class) { 53 } else if (componentType == boolean.class) { 59 } else if (componentType == short.class) { 65 } else if (componentType == float.class) { 68 } else if (componentType == long.class) { [all...] |
/frameworks/opt/datetimepicker/src/com/android/datetimepicker/ |
AccessibleLinearLayout.java | 27 * Fake Button class, used so TextViews can announce themselves as Buttons, for accessibility. 29 public class AccessibleLinearLayout extends LinearLayout { 38 event.setClassName(Button.class.getName()); 44 info.setClassName(Button.class.getName());
|