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

1 23 4 5 6 7 8

  /external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowServiceManager.java 42 import android.os.Binder;
203 * Returns the binder associated with the given system service. If the given service is set to
214 private static Binder createBinder(String className, String descriptor) {
221 Binder binder = new Binder(); local
222 binder.attachInterface(ReflectionHelpers.createNullProxy(clazz), descriptor);
223 return binder;
226 private static Binder createBinder(Class<? extends IInterface> clazz, String descriptor) {
227 Binder binder = new Binder() local
233 Binder binder = new Binder(); local
    [all...]
  /developers/build/prebuilts/gradle/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
RecipeService.java 23 import android.os.Binder;
32 private Binder mBinder = new LocalBinder();
35 public class LocalBinder extends Binder {
  /developers/samples/android/deprecated/wearable/wear/RecipeAssistant/Application/src/main/java/com/example/android/wearable/recipeassistant/
RecipeService.java 23 import android.os.Binder;
32 private Binder mBinder = new LocalBinder();
35 public class LocalBinder extends Binder {
  /development/samples/browseable/RecipeAssistant/Application/src/com.example.android.wearable.recipeassistant/
RecipeService.java 23 import android.os.Binder;
32 private Binder mBinder = new LocalBinder();
35 public class LocalBinder extends Binder {
  /external/guice/core/src/com/google/inject/
Binder.java 19 import com.google.inject.binder.AnnotatedBindingBuilder;
20 import com.google.inject.binder.AnnotatedConstantBindingBuilder;
21 import com.google.inject.binder.LinkedBindingBuilder;
43 * examples omit the opening {@code binder}, just as you will if your module extends {@link
175 * <p>The other methods of Binder such as {@link #bindScope}, {@link #bindInterceptor}, {@link
184 public interface Binder {
212 /** See the EDSL examples at {@link Binder}. */
215 /** See the EDSL examples at {@link Binder}. */
218 /** See the EDSL examples at {@link Binder}. */
221 /** See the EDSL examples at {@link Binder}. *
    [all...]
  /external/guice/core/src/com/google/inject/internal/
AbstractBindingBuilder.java 21 import com.google.inject.Binder;
51 protected final Binder binder; field in class:AbstractBindingBuilder
54 public AbstractBindingBuilder(Binder binder, List<Element> elements, Object source, Key<T> key) {
55 this.binder = binder;
110 binder.addError(IMPLEMENTATION_ALREADY_SET);
116 binder.addError(ANNOTATION_ALREADY_SPECIFIED);
123 binder.addError(SINGLE_INSTANCE_AND_SCOPE)
    [all...]
UntargettedBindingImpl.java 21 import com.google.inject.Binder;
63 public void applyTo(Binder binder) {
64 getScoping().applyTo(binder.withSource(getSource()).bind(getKey()));
  /external/guice/extensions/dagger-adapter/src/com/google/inject/daggeradapter/
DaggerMethodScanner.java 19 import com.google.inject.Binder;
51 Binder binder, Annotation rawAnnotation, Key<T> key, InjectionPoint injectionPoint) {
55 return processSetBinding(binder, key);
57 binder.addError("@ElementsIntoSet contributions are not suppored by Guice.", providesMethod);
61 binder.addError("Map bindings are not yet supported.");
69 return processSetBinding(binder, key);
71 binder.addError(
75 binder.addError("Unknown @Provides type " + annotation.type() + ".", providesMethod);
80 private static <T> Key<T> processSetBinding(Binder binder, Key<T> key)
    [all...]
  /external/guice/extensions/servlet/src/com/google/inject/servlet/
FiltersModuleBuilder.java 18 import com.google.inject.Binder;
35 private final Binder binder; field in class:FiltersModuleBuilder
37 public FiltersModuleBuilder(Binder binder) {
38 this.binder = binder;
56 binder
105 binder
115 binder.bind(filterKey).toInstance(filter)
    [all...]
  /external/guice/extensions/spring/src/com/google/inject/spring/
SpringIntegration.java 21 import com.google.inject.Binder;
56 public static void bindAll(Binder binder, ListableBeanFactory beanFactory) {
57 binder = binder.skipSources(SpringIntegration.class);
61 bindBean(binder, beanFactory, name, type);
66 Binder binder, ListableBeanFactory beanFactory, String name, Class<T> type) {
71 binder.addError(e);
75 binder.bind(type).annotatedWith(Names.named(name)).toProvider(provider)
    [all...]
  /external/guice/core/src/com/google/inject/spi/
DependencyAndSource.java 19 import com.google.inject.Binder;
48 * null) for types initialized with {@link Binder#requestInjection} or {@link
ProviderLookup.java 23 import com.google.inject.Binder;
31 * com.google.inject.Binder#getProvider(Class) getProvider()} statements:
85 public void applyTo(Binder binder) {
86 initializeDelegate(binder.withSource(getSource()).getProvider(dependency));
  /frameworks/av/media/libaudioclient/
RecordingActivityTracker.cpp 19 #include <binder/Binder.h>
20 #include <binder/IServiceManager.h>
29 sp<IBinder> binder = defaultServiceManager()->checkService(String16("audio")); local
30 if (binder != 0) {
31 mAudioManager = interface_cast<IAudioManager>(binder);
  /cts/tests/app/app/src/android/app/stubs/
MockService.java 22 import android.os.Binder;
37 public class MockBinder extends Binder {
  /cts/tests/tests/media/src/android/media/cts/
LocalMediaProjectionService.java 28 import android.os.Binder;
39 public class LocalBinder extends Binder {
  /cts/tests/tests/os/src/android/os/cts/
LocalService.java 21 import android.os.Binder;
47 private final IBinder mBinder = new Binder() {
70 mReportObject = parcelable.binder;
  /cts/tests/tests/view/surfacevalidator/src/android/view/cts/surfacevalidator/
LocalMediaProjectionService.java 28 import android.os.Binder;
39 public class LocalBinder extends Binder {
  /development/samples/Alarm/src/com/example/android/newalarm/
AlarmService.java 24 import android.os.Binder;
38 * Runnable does a synchronized lock on the service's Binder object for 15 seconds, then issues
76 // A Binder, used as the lock object for the worker thread.
109 * Makes a full concrete subclass of Binder, rather than doing it in line, for readability.
111 public class AlarmBinder extends Binder {
168 // Returns the service's binder object to clients that issue onBind().
  /development/samples/ApiDemos/src/com/example/android/apis/app/
AlarmService_Service.java 28 import android.os.Binder;
125 private final IBinder mBinder = new Binder() {
LocalService.java 24 import android.os.Binder;
58 public class LocalBinder extends Binder {
NotifyingService.java 28 import android.os.Binder;
122 private final IBinder mBinder = new Binder() {
  /external/deqp/android/package/src/com/drawelements/deqp/execserver/
ExecService.java 31 import android.os.Binder;
53 public class LocalBinder extends Binder {
  /external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
AudioTestService.java 27 import android.os.Binder;
116 * This class is only used by AudioTestService to create a binder that passes the
119 public class AudioTestBinder extends Binder {
  /external/guice/core/src/com/google/inject/util/
Modules.java 26 import com.google.inject.Binder;
62 public void configure(Binder binder) {}
125 public void configure(Binder binder) {
126 binder = binder.skipSources(getClass());
128 binder.install(module);
172 Binder baseBinder = binder();
192 final Binder binder = baseBinder.skipSources(this.getClass()); local
    [all...]
  /external/turbine/javatests/com/google/turbine/binder/
BinderTest.java 17 package com.google.turbine.binder;
27 import com.google.turbine.binder.bound.SourceTypeBoundClass;
28 import com.google.turbine.binder.bound.TypeBoundClass.FieldInfo;
29 import com.google.turbine.binder.sym.ClassSymbol;
76 Binder.bind(
122 Binder.bind(
162 Binder.bind(
192 Binder.bind(
213 Binder.bind(
242 Binder.bind
    [all...]

Completed in 1448 milliseconds

1 23 4 5 6 7 8