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

1 2 3 45 6 7 8

  /external/guice/core/src/com/google/inject/internal/
ProviderInstanceBindingImpl.java 22 import com.google.inject.Binder;
108 public void applyTo(Binder binder) {
111 binder.withSource(getSource()).bind(getKey()).toProvider(getUserSuppliedProvider()));
ProvidesMethodScanner.java 20 import com.google.inject.Binder;
58 Binder binder, Annotation annotation, Key<T> key, InjectionPoint injectionPoint) {
60 AnnotationOrError mapKey = findMapKeyAnnotation(binder, method);
63 binder.addError("Found a MapKey annotation on non map binding at %s.", method);
70 binder.addError("Found a MapKey annotation on non map binding at %s.", method);
72 return RealMultibinder.newRealSetBinder(binder, key).getKeyForNewItem();
80 binder.addError("No MapKey found for map binding at %s.", method);
84 return RealMapBinder.newRealMapBinder(binder, typeAndValue.type, key)
88 binder.addError("Found a MapKey annotation on non map binding at %s.", method)
    [all...]
InjectorShell.java 24 import com.google.inject.Binder;
80 /** null unless this exists in a {@link Binder#newPrivateBinder private environment} */
119 * returned if any modules contain {@link Binder#newPrivateBinder private environments}. The
310 public void configure(Binder binder) {
311 binder = binder.withSource(SourceProvider.UNKNOWN_SOURCE);
312 binder.bindScope(Singleton.class, SINGLETON);
313 binder.bindScope(javax.inject.Singleton.class, SINGLETON);
325 public void configure(Binder binder)
    [all...]
  /external/guice/core/test/com/google/inject/spi/
ElementSourceTest.java 7 import com.google.inject.Binder;
159 public void configure(Binder binder) {
160 binder.install(new C());
  /external/guice/extensions/struts2/src/com/google/inject/struts2/
Struts2Factory.java 20 import com.google.inject.Binder;
138 interceptor.validate(binder());
201 void validate(Binder binder) {
204 binder.addError(
213 binder.addError(
  /external/guice/extensions/throwingproviders/src/com/google/inject/throwingproviders/
CheckedProviderMethod.java 20 import com.google.inject.Binder;
26 import com.google.inject.binder.ScopedBindingBuilder;
78 void configure(Binder binder) {
79 binder = binder.withSource(method);
82 ThrowingProviderBinder.create(binder).bind(checkedProvider, key.getTypeLiteral());
95 // the cast is safe 'cause the only binder we have implements PrivateBinder. If there's a
96 // misplaced @Exposed, calling this will add an error to the binder's error queue
97 ((PrivateBinder) binder).expose(sbinder.getKey())
    [all...]
ThrowingProviderBinder.java 25 import com.google.inject.Binder;
32 import com.google.inject.binder.ScopedBindingBuilder;
53 * <pre><code>ThrowingProviderBinder.create(binder())
77 * <pre><code>ThrowingProviderBinder.create(binder())
95 private final Binder binder; field in class:ThrowingProviderBinder
97 private ThrowingProviderBinder(Binder binder) {
98 this.binder = binder;
    [all...]
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/service/
TriggerService.java 26 import android.os.Binder;
68 public class LocalBinder extends Binder {
  /external/turbine/javatests/com/google/turbine/binder/
BinderErrorTest.java 17 package com.google.turbine.binder;
587 Binder.bind(
  /frameworks/av/media/libmedia/include/media/omx/1.0/
WOmxBufferSource.h 23 #include <binder/Binder.h>
63 ::android::binder::Status onOmxExecuting() override;
64 ::android::binder::Status onOmxIdle() override;
65 ::android::binder::Status onOmxLoaded() override;
66 ::android::binder::Status onInputBufferAdded(int32_t bufferID) override;
67 ::android::binder::Status onInputBufferEmptied(
WGraphicBufferSource.h 23 #include <binder/Binder.h>
62 typedef ::android::binder::Status BnStatus;
  /frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
WOmxBufferSource.h 23 #include <binder/Binder.h>
63 ::android::binder::Status onOmxExecuting() override;
64 ::android::binder::Status onOmxIdle() override;
65 ::android::binder::Status onOmxLoaded() override;
66 ::android::binder::Status onInputBufferAdded(int32_t bufferID) override;
67 ::android::binder::Status onInputBufferEmptied(
  /art/tools/ahat/src/test-dump/
DumpedStuff.java 128 public static class Stub extends android.os.Binder implements IDumpedManager {
211 Object binderToken = new android.os.Binder();
212 Object namedBinderToken = new android.os.Binder("awesomeToken");
  /external/guice/extensions/testlib/src/com/google/inject/testing/fieldbinder/
BoundFieldModule.java 21 import com.google.inject.Binder;
26 import com.google.inject.binder.AnnotatedBindingBuilder;
27 import com.google.inject.binder.LinkedBindingBuilder;
99 // Note that binder is not initialized until configure() is called.
100 private Binder binder; field in class:BoundFieldModule
262 // has multiple BindingAnnotations, relying on the binder to throw an error in this case.
274 * {@link Binder#bind}.
301 AnnotatedBindingBuilder<?> annotatedBinder = binder.bind(fieldInfo.boundType);
302 LinkedBindingBuilder<?> binder = verifyBindingAnnotations(fieldInfo.field, annotatedBinder) local
    [all...]
  /cts/hostsidetests/devicepolicy/app/ContactDirectoryProvider/src/com/android/cts/contactdirectoryprovider/
DirectoryProvider.java 31 import android.os.Binder;
214 final long token = Binder.clearCallingIdentity();
217 Binder.restoreCallingIdentity(token);
  /cts/tests/framework/base/windowmanager/src/android/server/wm/
WindowManager_LayoutParamsTest.java 26 import android.os.Binder;
83 IBinder binder = new Binder(); local
85 mLayoutParams.token = binder;
218 IBinder binder = new Binder(); local
227 mLayoutParams.token = binder;
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowAppOpsManagerTest.java 26 import android.os.Binder;
112 appOps.setMode(OP_GPS, Binder.getCallingUid(), PACKAGE_NAME1, MODE_DEFAULT);
120 appOps.setMode(OP_GPS, Binder.getCallingUid(), PACKAGE_NAME1, MODE_ERRORED);
  /external/turbine/java/com/google/turbine/main/
Main.java 25 import com.google.turbine.binder.Binder;
26 import com.google.turbine.binder.Binder.BindingResult;
27 import com.google.turbine.binder.ClassPath;
28 import com.google.turbine.binder.ClassPathBinder;
29 import com.google.turbine.binder.CtSymClassBinder;
30 import com.google.turbine.binder.JimageClassBinder;
107 Binder.bind(units, classpath, bootclasspath, /* moduleVersion=*/ Optional.empty());
  /development/samples/ApiDemos/src/com/example/android/apis/app/
MessengerService.java 24 import android.os.Binder;
  /cts/tests/tests/content/src/android/content/cts/
ContextTest.java 42 import android.os.Binder;
726 mContext.enforceUriPermission(uri, Binder.getCallingPid(),
727 Binder.getCallingUid(), Intent.FLAG_GRANT_WRITE_URI_PERMISSION,
740 NOT_GRANTED_PERMISSION, Binder.getCallingPid(), Binder.getCallingUid(),
    [all...]
  /cts/tests/apppredictionservice/src/android/apppredictionservice/cts/
ServiceReporter.java 29 import android.os.Binder;
41 public class ServiceReporter extends Binder {
  /cts/tests/tests/media/src/android/media/cts/
RemoteVirtualDisplayService.java 26 import android.os.Binder;
54 mBinder = new Binder() {
72 Log.e(TAG, "unrecognized binder command " + code);
  /cts/tests/tests/os/src/android/os/cts/
MessengerTest.java 24 import android.os.Binder;
53 private final IBinder mIBinder = new Binder();
  /cts/tests/tests/telephony/current/EmbmsMiddlewareTestApp/src/android/telephony/cts/embmstestapp/
CtsGroupCallService.java 23 import android.os.Binder;
75 int packageUid = Binder.getCallingUid();
201 IBinder binder = super.onBind(intent); local
204 return binder;
210 return binder;
CtsStreamingService.java 23 import android.os.Binder;
115 int packageUid = Binder.getCallingUid();

Completed in 2412 milliseconds

1 2 3 45 6 7 8