HomeSort by relevance Sort by last modified time
    Searched defs:class (Results 26 - 50 of 301) sorted by null

12 3 4 5 6 7 8 91011>>

  /frameworks/opt/datetimepicker/src/com/android/datetimepicker/
AccessibleTextView.java 27 * Fake Button class, used so TextViews can announce themselves as Buttons, for accessibility.
29 public class AccessibleTextView extends TextView {
38 event.setClassName(Button.class.getName());
44 info.setClassName(Button.class.getName());
  /frameworks/volley/src/test/java/com/android/volley/toolbox/
RequestQueueTest.java 26 @RunWith(RobolectricTestRunner.class)
27 public class RequestQueueTest {
32 assertNotNull(RequestQueue.class.getConstructor(Cache.class, Network.class, int.class,
33 ResponseDelivery.class));
34 assertNotNull(RequestQueue.class.getConstructor(Cache.class, Network.class, int.class))
    [all...]
RequestTest.java 26 @RunWith(RobolectricTestRunner.class)
27 public class RequestTest {
32 assertNotNull(Request.class.getConstructor(int.class, String.class,
33 Response.ErrorListener.class));
35 assertNotNull(Request.class.getMethod("getMethod"));
36 assertNotNull(Request.class.getMethod("setTag", Object.class));
37 assertNotNull(Request.class.getMethod("getTag"))
    [all...]
ResponseTest.java 31 @RunWith(RobolectricTestRunner.class)
32 public class ResponseTest {
37 assertNotNull(Response.class.getMethod("success", Object.class, Cache.Entry.class));
38 assertNotNull(Response.class.getMethod("error", VolleyError.class));
39 assertNotNull(Response.class.getMethod("isSuccess"));
41 assertNotNull(Response.Listener.class.getDeclaredMethod("onResponse", Object.class));
    [all...]
StringRequestTest.java 26 @RunWith(RobolectricTestRunner.class)
27 public class StringRequestTest {
32 assertNotNull(StringRequest.class.getConstructor(String.class, Response.Listener.class,
33 Response.ErrorListener.class));
34 assertNotNull(StringRequest.class.getConstructor(int.class, String.class,
35 Response.Listener.class, Response.ErrorListener.class))
    [all...]
  /cts/tests/tests/app/src/android/app/cts/
FragmentTest.java 22 public class FragmentTest extends AndroidTestCase {
24 public static class TestFragment extends Fragment {
28 public static class TestNotFragment {
35 assertNotNull(Fragment.instantiate(getContext(), TestFragment.class.getName()));
40 Fragment.instantiate(getContext(), TestNotFragment.class.getName());
SearchManagerTest.java 22 public class SearchManagerTest extends CTSActivityTestCaseBase {
28 intent.setClass(getInstrumentation().getTargetContext(), SearchManagerStubActivity.class);
  /external/android-mock/tests/com/google/android/testing/mocking/
FileUtilsTest.java 26 public class FileUtilsTest extends TestCase {
28 assertEquals(convertPathToNative("java/lang/Object.class"),
29 FileUtils.getFilenameFor(Object.class.getName()));
31 "com/google/android/testing/mocking/FileUtilsTest$InnerClass.class"),
32 FileUtils.getFilenameFor(InnerClass.class.getName()));
36 assertEquals(convertPathToNative("java/lang/Object.class"),
37 FileUtils.getFilenameFor(Object.class.getName()));
39 "com/google/android/testing/mocking/FileUtilsTest$InnerClass.class"),
40 FileUtils.getFilenameFor(InnerClass.class.getName()));
45 FileUtils.getInterfaceNameFor(Vector.class, SdkVersion.CUPCAKE))
    [all...]
  /frameworks/base/core/java/android/nfc/
Tag.java 47 * returned by this class are <em>not</em> cloned, so be careful not to modify them.
112 public final class Tag implements Parcelable {
163 strings[i] = IsoDep.class.getName();
166 strings[i] = MifareClassic.class.getName();
169 strings[i] = MifareUltralight.class.getName();
172 strings[i] = Ndef.class.getName();
175 strings[i] = NdefFormatable.class.getName();
178 strings[i] = NfcA.class.getName();
181 strings[i] = NfcB.class.getName();
184 strings[i] = NfcF.class.getName()
    [all...]
  /frameworks/base/test-runner/tests/src/android/test/
AndroidTestRunnerTest.java 37 public class AndroidTestRunnerTest extends TestCase {
51 mAndroidTestRunner.setTestClassName(TestSuite.class.getName(), null);
57 assertEquals(TestSuite.class.getSimpleName(), mAndroidTestRunner.getTestClassName());
61 mAndroidTestRunner.setTestClassName(OneTestTestCase.class.getName(), null);
67 assertEquals(OneTestTestCase.class.getSimpleName(), mAndroidTestRunner.getTestClassName());
71 mAndroidTestRunner.setTestClassName(OneTestTestCase.class.getName(), null);
83 OneAndroidTestTestCase.class.getName(), "testOneAndroid");
98 mAndroidTestRunner.setTestClassName(OneAndroidTestTestCase.class.getName(), null);
114 mAndroidTestRunner.setTestClassName(AndroidTestCaseTestSuite.class.getName(), null);
130 mAndroidTestRunner.setTestClassName(OneTestTestCase.class.getName(), null)
    [all...]
  /libcore/luni/src/test/java/libcore/java/lang/reflect/
AnnotationsTest.java 37 public final class AnnotationsTest extends TestCase {
40 assertAnnotatedElement(Type.class, AnnotationA.class, AnnotationB.class);
44 assertAnnotatedElement(ExtendsType.class, AnnotationB.class);
48 Constructor<Type> constructor = Type.class.getConstructor();
49 assertAnnotatedElement(constructor, AnnotationA.class, AnnotationC.class);
53 Field field = Type.class.getField("field")
    [all...]
  /cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityEndToEndTest.java 42 * This class performs end-to-end testing of the accessibility feature by
46 public class AccessibilityEndToEndTest extends
55 super(AccessibilityEndToEndActivity.class);
63 expected.setClassName(ListView.class.getName());
104 expected.setClassName(Button.class.getName());
140 expected.setClassName(Button.class.getName());
176 expected.setClassName(Button.class.getName());
244 expected.setClassName(EditText.class.getName());
282 expected.setClassName(AlertDialog.class.getName());
340 expected.setClassName(Notification.class.getName())
    [all...]
  /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...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
CorrectionSettingsFragment.java 54 public final class CorrectionSettingsFragment extends SubScreenFragment
75 intent.setClassName(context.getPackageName(), DictionarySettingsActivity.class.getName());
103 userDictionaryPreference.setFragment(UserDictionarySettings.class.getName());
105 // extras. This will be interpreted by the UserDictionarySettings class as
115 userDictionaryPreference.setFragment(UserDictionaryList.class.getName());
  /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(ManifestDetector.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...]
  /art/test/005-annotations/src/android/test/anno/
AnnoFancyMethod.java 13 Class someClass() default SomeClass.class;
  /art/test/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/glide/library/src/main/java/com/bumptech/glide/
BitmapTypeRequest.java 17 * A class for creating a load request that either loads an {@link Bitmap} directly or that adds an
21 * @param <ModelType> The type of model to load the {@link Bitmap} or transcoded class from.
23 public class BitmapTypeRequest<ModelType> extends BitmapRequestBuilder<ModelType, Bitmap> {
32 Class<R> transcodedClass, ResourceTranscoder<Bitmap, R> transcoder) {
38 transcoder = glide.buildTranscoder(Bitmap.class, transcodedClass);
40 DataLoadProvider<ImageVideoWrapper, Bitmap> loadProvider = glide.buildDataProvider(ImageVideoWrapper.class,
41 Bitmap.class);
52 super(buildProvider(other.glide, streamModelLoader, fileDescriptorModelLoader, Bitmap.class, null),
53 Bitmap.class, other);
64 * @param transcodeClass The {@link Class} of the resource the {@link Bitmap} will be transcoded to
    [all...]
GifTypeRequest.java 13 * A class for creating a load request that either loads an {@link com.bumptech.glide.load.resource.gif.GifDrawable}
18 * transcoded class from.
20 public class GifTypeRequest<ModelType> extends GifRequestBuilder<ModelType> {
25 ModelLoader<A, InputStream> streamModelLoader, Class<R> transcodeClass,
32 transcoder = glide.buildTranscoder(GifDrawable.class, transcodeClass);
34 DataLoadProvider<InputStream, GifDrawable> dataLoadProvider = glide.buildDataProvider(InputStream.class,
35 GifDrawable.class);
41 super(buildProvider(other.glide, streamModelLoader, GifDrawable.class, null), GifDrawable.class, other);
54 * @param transcodeClass The {@link Class} of the resource th
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
ClassLoaderUtil.java 14 * This utility class is used for resolving a right ClassLoader from
15 * a given class. getClassLoader always returns a non-null ClassLoader
16 * even a class is loaded through the bootstrap class loader of JRE.
18 public class ClassLoaderUtil {
20 private static class BootstrapClassLoader extends ClassLoader {
22 // Object.class.getClassLoader() may return null.
25 // but Object.class.getClassLoader() actually returns the
26 // bootstrap class loader. Note that we probably do not reach
32 // Object.class.getClassLoader() returns null, bu
    [all...]
  /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/slf4j/osgi-over-slf4j/src/main/java/org/slf4j/osgi/logservice/impl/
Activator.java 49 public class Activator implements BundleActivator {
63 bundleContext.registerService(LogService.class.getName(), factory, props);
  /external/toybox/toys/posix/
uudecode.c 31 *class[] = {"begin%*[ ]%15s%*[ ]%n", "begin-base64%*[ ]%15s%*[ ]%n"}; local
39 sscanf(line, class[m], mode, &idx);

Completed in 536 milliseconds

12 3 4 5 6 7 8 91011>>