HomeSort by relevance Sort by last modified time
    Searched refs:Binder (Results 1 - 25 of 182) sorted by null

1 2 3 4 5 6 7 8

  /art/tools/ahat/src/test-dump/android/os/
Binder.java 21 /** Fake android.os.Binder class that just holds a descriptor.
27 * program class android.os.Binder
30 * framework jars, which contain Stub classes that extend android.os.Binder,
36 public class Binder implements IBinder {
37 public Binder() {
41 public Binder(String descriptor) {
  /external/guice/core/src/com/google/inject/
Module.java 34 * Contributes bindings and other configurations for this module to {@code binder}.
37 * {@link Binder#install(Module)}, which ensures that {@link Provides provider methods} are
40 void configure(Binder binder);
PrivateBinder.java 19 import com.google.inject.binder.AnnotatedElementBuilder;
22 * Returns a binder whose configuration information is hidden from its environment by default. See
28 public interface PrivateBinder extends Binder {
35 * com.google.inject.binder.AnnotatedElementBuilder#annotatedWith(Class) annotatedWith()} to
  /external/guice/core/src/com/google/inject/spi/
Element.java 19 import com.google.inject.Binder;
56 * Writes this module element to the given binder (optional operation).
58 * @param binder to apply configuration element to
62 void applyTo(Binder binder);
ExposedBinding.java 19 import com.google.inject.Binder;
35 void applyTo(Binder binder);
ModuleAnnotatedMethodScanner.java 19 import com.google.inject.Binder;
52 Binder binder, Annotation annotation, Key<T> key, InjectionPoint injectionPoint);
DisableCircularProxiesOption.java 21 import com.google.inject.Binder;
42 public void applyTo(Binder binder) {
43 binder.withSource(getSource()).disableCircularProxies();
RequireAtInjectOnConstructorsOption.java 21 import com.google.inject.Binder;
43 public void applyTo(Binder binder) {
44 binder.withSource(getSource()).requireAtInjectOnConstructors();
RequireExactBindingAnnotationsOption.java 21 import com.google.inject.Binder;
42 public void applyTo(Binder binder) {
43 binder.withSource(getSource()).requireExactBindingAnnotations();
RequireExplicitBindingsOption.java 21 import com.google.inject.Binder;
42 public void applyTo(Binder binder) {
43 binder.withSource(getSource()).requireExplicitBindings();
ModuleAnnotatedMethodScannerBinding.java 21 import com.google.inject.Binder;
25 * Represents a call to {@link Binder#scanModulesForAnnotatedMethods} in a module.
54 public void applyTo(Binder binder) {
55 binder.withSource(getSource()).scanModulesForAnnotatedMethods(scanner);
ScopeBinding.java 21 import com.google.inject.Binder;
27 * explicitly in a module using {@link com.google.inject.Binder#bindScope(Class, Scope) bindScope()}
67 public void applyTo(Binder binder) {
68 binder.withSource(getSource()).bindScope(annotationType, scope);
StaticInjectionRequest.java 21 import com.google.inject.Binder;
27 * module using {@link com.google.inject.Binder#requestStaticInjection(Class[])
71 public void applyTo(Binder binder) {
72 binder.withSource(getSource()).requestStaticInjection(type);
TypeListenerBinding.java 19 import com.google.inject.Binder;
25 * a module using {@link com.google.inject.Binder#bindListener(Matcher, TypeListener)} statements:
67 public void applyTo(Binder binder) {
68 binder.withSource(getSource()).bindListener(typeMatcher, listener);
  /cts/tests/tests/os/src/android/os/cts/
EmptyService.java 21 import android.os.Binder;
26 private final Binder mToken = new Binder();;
ParcelExceptionService.java 21 import android.os.Binder;
32 private final IBinder mBinder = new Binder();
  /external/testng/src/test/java/test/guice/
GuiceExampleModule.java 3 import com.google.inject.Binder;
10 public void configure(Binder binder) {
11 binder.bind(ISingleton.class).to(ExampleSingleton.class).in(Singleton.class);
  /art/test/636-arm64-veneer-pool/src/
Main.java 17 class C0 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } }
18 class C1 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } }
19 class C2 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } }
20 class C3 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } }
21 class C4 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } }
23 public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } }
24 public static void mImpl(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } }
26 class C6 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } }
27 class C7 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } } }
28 class C8 { public static void m(Context c, Binder b) { /* Defeat inlining. */ if (Main.doThrow) { throw new Error(); } }
    [all...]
  /external/guice/core/test/com/google/inject/
ModuleTest.java 16 public void configure(Binder binder) {
17 binder.bind(X.class);
18 binder.install(new B());
19 binder.install(new C());
25 public void configure(Binder binder) {
26 binder.bind(Y.class);
27 binder.install(new D());
33 public void configure(Binder binder)
    [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowBinderTest.java 7 import android.os.Binder;
31 static class TestBinder extends Binder {
64 static class TestThrowingBinder extends Binder {
75 assertThat(Binder.getCallingUid()).isEqualTo(37);
81 assertThat(Binder.getCallingPid()).isEqualTo(25);
86 assertThat(Binder.getCallingUid()).isEqualTo(android.os.Process.myUid());
91 assertThat(Binder.getCallingPid()).isEqualTo(android.os.Process.myPid());
99 assertThat(Binder.getCallingPid()).isEqualTo(android.os.Process.myPid());
100 assertThat(Binder.getCallingUid()).isEqualTo(android.os.Process.myUid());
  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowBinderBridge.java 3 import android.os.Binder;
11 * Bridge between shadow and {@link android.os.Binder}.
15 private Binder realBinder;
17 public ShadowBinderBridge(Binder realBinder) {
  /cts/tests/tests/content/src/android/content/cts/
MockService.java 21 import android.os.Binder;
28 public class MockBinder extends Binder {
  /external/guice/core/src/com/google/inject/multibindings/
Multibinder.java 21 import com.google.inject.Binder;
24 import com.google.inject.binder.LinkedBindingBuilder;
38 * = Multibinder.newSetBinder(binder(), Snack.class);
90 public static <T> Multibinder<T> newSetBinder(Binder binder, TypeLiteral<T> type) {
91 return newSetBinder(binder, Key.get(type));
98 public static <T> Multibinder<T> newSetBinder(Binder binder, Class<T> type) {
99 return newSetBinder(binder, Key.get(type));
107 Binder binder, TypeLiteral<T> type, Annotation annotation)
    [all...]
OptionalBinder.java 22 import com.google.inject.Binder;
25 import com.google.inject.binder.LinkedBindingBuilder;
65 * OptionalBinder.newOptionalBinder(binder(), Renamer.class);
86 * OptionalBinder.newOptionalBinder(binder(), Renamer.class)
98 * OptionalBinder.newOptionalBinder(binder(), Key.get(String.class, LookupUrl.class))
109 * OptionalBinder.newOptionalBinder(binder(), Key.get(String.class, LookupUrl.class))
123 * OptionalBinder.newOptionalBinder(binder(), Key.get(String.class, LookupUrl.class))
142 public static <T> OptionalBinder<T> newOptionalBinder(Binder binder, Class<T> type) {
144 newRealOptionalBinder(binder.skipSources(OptionalBinder.class), Key.get(type)))
    [all...]
MultibindingsScanner.java 20 import com.google.inject.Binder;
46 * binder().scanModulesForAnnotatedMethods(MultibindingsScanner.scanner())}.
70 Binder binder, Annotation annotation, Key<T> key, InjectionPoint injectionPoint) {

Completed in 1656 milliseconds

1 2 3 4 5 6 7 8