/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
RecyclerViewAccessibilityDelegate.java | 28 * This class handles basic accessibility actions and delegates them to LayoutManager. 30 public class RecyclerViewAccessibilityDelegate extends AccessibilityDelegateCompat { 57 info.setClassName(RecyclerView.class.getName()); 66 event.setClassName(RecyclerView.class.getName());
|
/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);
|
/external/guice/core/test/com/google/inject/ |
DuplicateBindingsTest.java | 44 public class DuplicateBindingsTest extends TestCase { 48 private Class<? extends Provider<? extends Foo>> pclFoo = FooProvider.class; 49 private Class<? extends Foo> clFoo = FooImpl.class; 61 assertTrue(bindings.remove(Key.get(Foo.class, named("instance")))); 62 assertTrue(bindings.remove(Key.get(Foo.class, named("pInstance")))); 63 assertTrue(bindings.remove(Key.get(Foo.class, named("pKey")))); 64 assertTrue(bindings.remove(Key.get(Foo.class, named("linkedKey")))); 65 assertTrue(bindings.remove(Key.get(FooImpl.class))); [all...] |
PrivateModuleTest.java | 41 public class PrivateModuleTest extends TestCase { 46 bind(String.class).annotatedWith(named("a")).toInstance("public"); 50 bind(String.class).annotatedWith(named("b")).toInstance("i"); 52 bind(AB.class).annotatedWith(named("one")).to(AB.class); 53 expose(AB.class).annotatedWith(named("one")); 59 bind(String.class).annotatedWith(named("b")).toInstance("ii"); 61 bind(AB.class).annotatedWith(named("two")).to(AB.class); 62 expose(AB.class).annotatedWith(named("two")) [all...] |
ParentInjectorTest.java | 39 public class ParentInjectorTest extends TestCase { 47 assertContains(e.getMessage(), "A binding to ", A.class.getName(), " was already configured", 57 parent.getInstance(A.class); 61 "Unable to create binding for " + A.class.getName(), 65 "while locating " + A.class.getName()); 71 parent.getInstance(A.class); 77 "A just-in-time binding to " + A.class.getName() + " was already configured on a parent injector."); 84 assertSame(child.getInstance(A.class), parent.getInstance(A.class)); 87 assertSame(anotherChild.getInstance(A.class), parent.getInstance(A.class)) [all...] |
ProvisionListenerTest.java | 49 public class ProvisionListenerTest extends TestCase { 59 injector.getInstance(Foo.class); 64 "1) Error notifying ProvisionListener " + FailBeforeProvision.class.getName() 65 + " of " + Foo.class.getName(), 67 "while locating " + Foo.class.getName()); 80 injector.getInstance(Foo.class); 85 "1) Error notifying ProvisionListener " + FailAfterProvision.class.getName() 86 + " of " + Foo.class.getName(), 88 "while locating " + Foo.class.getName()); 101 injector.getInstance(FooBomb.class); [all...] |
RequireAtInjectOnConstructorsTest.java | 27 public class RequireAtInjectOnConstructorsTest extends TestCase { 34 bind(NoCxtors.class); 43 + NoCxtors.class.getName() + " has no constructors annotated with @Inject", 44 "at " + RequireAtInjectOnConstructorsTest.class.getName() + "$", "configure"); 56 injector.getInstance(NoCxtors.class); 61 + NoCxtors.class.getName() + " has no constructors annotated with @Inject", 62 "while locating " + NoCxtors.class.getName()); 71 bind(Interface.class).to(NoCxtors.class); 80 + NoCxtors.class.getName() + " has no constructors annotated with @Inject" [all...] |
/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...] |
/external/guava/guava-tests/test/com/google/common/reflect/ |
ClassPathTest.java | 57 public class ClassPathTest extends TestCase { 72 "com/google/common/reflect/ClassPath.class", 73 "com/google/common/reflect/ClassPathTest.class", 74 "com/google/common/reflect/ClassPathTest$Nested.class", 88 Set<Class<?>> classes = Sets.newHashSet(); 93 if (!classInfo.getPackageName().equals(ClassPathTest.class.getPackage().getName())) { 102 class LocalClass {} 103 Class<?> anonymousClass = new Object() {}.getClass(); 104 assertThat(names).has().allOf(anonymousClass.getName(), LocalClass.class.getName(), 105 ClassPath.class.getName(), ClassPathTest.class.getName()) [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...] |
/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...] |
/art/test/542-unresolved-access-check/src/ |
Main.java | 24 // Custom class loader to prevent loading while verifying. 25 class MyClassLoader extends ClassLoader { 27 super(MyClassLoader.class.getClassLoader()); 31 Class<?> baseDexClassLoader = loader.getClass().getSuperclass(); 47 protected Class<?> loadClass(String className, boolean resolve) throws ClassNotFoundException { 58 "loadClassBinaryName", String.class, ClassLoader.class, List.class); 61 Class clazz = (Class)method.invoke(dex, className, this, null) [all...] |
/developers/build/prebuilts/gradle/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/ |
AlarmIntentService.java | 33 public class AlarmIntentService extends IntentService { 35 public static final String ALARM_WENT_OFF_ACTION = AlarmIntentService.class.getName() 40 super(AlarmIntentService.class.getName()); 49 .getSystemService(NotificationManager.class);
|
/developers/build/prebuilts/gradle/LNotifications/Application/src/main/java/com/example/android/lnotifications/ |
HeadsUpNotificationFragment.java | 36 public class HeadsUpNotificationFragment extends Fragment { 124 push.setClass(getActivity(), LNotificationActivity.class);
|
/developers/build/prebuilts/gradle/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/ |
QuizReportActionService.java | 41 public class QuizReportActionService extends IntentService { 49 super(QuizReportActionService.class.getSimpleName());
|
/developers/samples/android/notification/LNotifications/Application/src/main/java/com/example/android/lnotifications/ |
HeadsUpNotificationFragment.java | 36 public class HeadsUpNotificationFragment extends Fragment { 124 push.setClass(getActivity(), LNotificationActivity.class);
|
/developers/samples/android/security/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/ |
AlarmIntentService.java | 33 public class AlarmIntentService extends IntentService { 35 public static final String ALARM_WENT_OFF_ACTION = AlarmIntentService.class.getName() 40 super(AlarmIntentService.class.getName()); 49 .getSystemService(NotificationManager.class);
|
/developers/samples/android/wearable/wear/Quiz/Wearable/src/main/java/com/example/android/wearable/quiz/ |
QuizReportActionService.java | 41 public class QuizReportActionService extends IntentService { 49 super(QuizReportActionService.class.getSimpleName());
|
/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);
|
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/ |
AlarmIntentService.java | 33 public class AlarmIntentService extends IntentService { 35 public static final String ALARM_WENT_OFF_ACTION = AlarmIntentService.class.getName() 40 super(AlarmIntentService.class.getName()); 49 .getSystemService(NotificationManager.class);
|
/development/samples/browseable/LNotifications/src/com.example.android.lnotifications/ |
HeadsUpNotificationFragment.java | 36 public class HeadsUpNotificationFragment extends Fragment { 124 push.setClass(getActivity(), LNotificationActivity.class);
|
/development/samples/browseable/Quiz/Wearable/src/com.example.android.wearable.quiz/ |
QuizReportActionService.java | 41 public class QuizReportActionService extends IntentService { 49 super(QuizReportActionService.class.getSimpleName());
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/ |
TargetLoader.java | 21 * Loads a single class from a byte array. 23 public class TargetLoader extends ClassLoader { 28 super(TargetLoader.class.getClassLoader()); 32 public Class<?> add(final String name, final byte[] bytes) { 37 public Class<?> add(final Class<?> name, final byte[] bytes) { 41 public Class<?> add(final Class<?> source) throws IOException { 45 private Class<?> load(final String sourcename) { 54 public static InputStream getClassData(Class<?> clazz) [all...] |
/external/libgdx/backends/gdx-backend-robovm/src/com/badlogic/gdx/backends/iosrobovm/objectal/ |
OALAudioTrack.java | 31 public class OALAudioTrack extends NSObject { 34 ObjCRuntime.bind(OALAudioTrack.class);
|