/developers/build/prebuilts/gradle/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/ |
BluetoothLeService.java | 31 import android.os.Binder; 155 public class LocalBinder extends Binder {
|
/developers/samples/android/connectivity/bluetooth/BluetoothLeGatt/Application/src/main/java/com/example/android/bluetoothlegatt/ |
BluetoothLeService.java | 31 import android.os.Binder; 155 public class LocalBinder extends Binder {
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
RssService.java | 24 import android.os.Binder; 257 private final IBinder mBinder = new Binder() {
|
/development/samples/browseable/BluetoothLeGatt/src/com.example.android.bluetoothlegatt/ |
BluetoothLeService.java | 31 import android.os.Binder; 155 public class LocalBinder extends Binder {
|
/external/guice/core/src/com/google/inject/internal/ |
BindingBuilder.java | 22 import com.google.inject.Binder; 27 import com.google.inject.binder.AnnotatedBindingBuilder; 28 import com.google.inject.binder.ScopedBindingBuilder; 45 public BindingBuilder(Binder binder, List<Element> elements, Object source, Key<T> key) { 46 super(binder, elements, source, key); 85 // lookup the injection points, adding any errors to the binder's errors list 95 binder.addError(BINDING_TO_NULL); 115 // lookup the injection points, adding any errors to the binder's errors list 201 binder.addError(message) [all...] |
RealMultibinder.java | 14 import com.google.inject.Binder; 21 import com.google.inject.binder.LinkedBindingBuilder; 54 public static <T> RealMultibinder<T> newRealSetBinder(Binder binder, Key<T> key) { 55 binder = binder.skipSources(RealMultibinder.class); 56 RealMultibinder<T> result = new RealMultibinder<>(binder, key); 57 binder.install(result); 85 private final Binder binder; field in class:RealMultibinder [all...] |
RealOptionalBinder.java | 29 import com.google.inject.Binder; 36 import com.google.inject.binder.LinkedBindingBuilder; 60 public static <T> RealOptionalBinder<T> newRealOptionalBinder(Binder binder, Key<T> type) { 61 binder = binder.skipSources(RealOptionalBinder.class); 62 RealOptionalBinder<T> optionalBinder = new RealOptionalBinder<>(binder, type); 63 binder.install(optionalBinder); 185 private final Binder binder; field in class:RealOptionalBinder [all...] |
ConstructorBindingImpl.java | 25 import com.google.inject.Binder; 242 public void applyTo(Binder binder) { 246 binder
|
ProviderMethod.java | 21 import com.google.inject.Binder; 148 public void configure(Binder binder) { 149 binder = binder.withSource(method); 152 binder.bind(key).toProvider(this).in(scopeAnnotation); 154 binder.bind(key).toProvider(this); 158 // the cast is safe 'cause the only binder we have implements PrivateBinder. If there's a 159 // misplaced @Exposed, calling this will add an error to the binder's error queue 160 ((PrivateBinder) binder).expose(key) [all...] |
RealMapBinder.java | 23 import com.google.inject.Binder; 30 import com.google.inject.binder.LinkedBindingBuilder; 63 * <p>Rather than binding a single Map.Entry<K, V>, the map binder binds keys and values 73 Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType) { 74 binder = binder.skipSources(RealMapBinder.class); 76 binder, 80 RealMultibinder.newRealSetBinder(binder, Key.get(entryOfProviderOf(keyType, valueType)))); 88 Binder binder, TypeLiteral<K> keyType, TypeLiteral<V> valueType, Annotation annotation) 250 private final Binder binder; field in class:RealMapBinder [all...] |
/external/guice/extensions/struts2/src/com/google/inject/struts2/ |
GuiceObjectFactory.java | 20 import com.google.inject.Binder; 148 interceptor.validate(binder()); 202 void validate(Binder binder) { 205 binder.addError( 214 binder.addError(
|
/external/guice/core/src/com/google/inject/spi/ |
Elements.java | 27 import com.google.inject.Binder; 38 import com.google.inject.binder.AnnotatedBindingBuilder; 39 import com.google.inject.binder.AnnotatedConstantBindingBuilder; 40 import com.google.inject.binder.AnnotatedElementBuilder; 64 * Element#applyTo(Binder) rewritten}. 101 RecordingBinder binder = new RecordingBinder(stage); local 103 binder.install(module); 105 binder.scanForAnnotatedMethods(); 106 for (RecordingBinder child : binder.privateBinders) { 111 return Collections.unmodifiableList(binder.elements) 140 private final Binder binder; field in class:Elements.ModuleInfo 315 RecordingBinder binder = this; local 446 RecordingBinder binder = new RecordingBinder(this, privateElements); local [all...] |
/external/guice/core/test/com/google/inject/spi/ |
ModuleAnnotatedMethodScannerTest.java | 27 import com.google.inject.Binder; 85 binder() 107 binder() 171 binder().scanModulesForAnnotatedMethods(new NamedMunger()); 188 Binder binder, Annotation annotation, Key<T> key, InjectionPoint injectionPoint) { 224 binder().scanModulesForAnnotatedMethods(new FailingScanner()); 236 Binder binder, Annotation rawAnnotation, Key<T> key, InjectionPoint injectionPoint) { 309 binder() [all...] |
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/ |
ShadowAppOpsManager.java | 22 import android.os.Binder; 165 mStoredOps.put(getInternalKey(Binder.getCallingUid(), proxiedPackageName), op); 166 return checkOpNoThrow(op, Binder.getCallingUid(), proxiedPackageName);
|
/external/turbine/javatests/com/google/turbine/deps/ |
DependenciesTest.java | 26 import com.google.turbine.binder.Binder; 27 import com.google.turbine.binder.Binder.BindingResult; 28 import com.google.turbine.binder.ClassPathBinder; 105 Binder.bind(
|
/cts/tests/tests/os/src/android/os/cts/ |
ParcelTest.java | 38 import android.os.Binder; 451 Binder binder; local 452 Binder binder2 = new Binder(); 456 binder = (Binder) p.readValue(mcl); 457 assertEquals(binder2, binder); [all...] |
/device/google/cuttlefish_common/guest/monitoring/vsoc_service/java/com/android/google/gce/gceservice/ |
GceService.java | 24 import android.os.Binder;
|
/external/deqp/modules/gles3/functional/ |
es3fLifetimeTests.cpp | 177 class SamplerBinder : public Binder 180 SamplerBinder (lt::Context& ctx) : Binder(ctx) {} 193 class QueryBinder : public Binder 196 QueryBinder (lt::Context& ctx) : Binder(ctx) {}
|
/external/guice/core/src/com/google/inject/ |
PrivateModule.java | 21 import com.google.inject.binder.AnnotatedBindingBuilder; 22 import com.google.inject.binder.AnnotatedConstantBindingBuilder; 23 import com.google.inject.binder.AnnotatedElementBuilder; 24 import com.google.inject.binder.LinkedBindingBuilder; 39 * {@link Binder#install install()}. Its bindings live in a new environment that inherits bindings, 91 /** Like abstract module, the binder of the current private module */ 92 private PrivateBinder binder; field in class:PrivateModule 95 public final synchronized void configure(Binder binder) { 96 checkState(this.binder == null, "Re-entry is not allowed.") 139 protected final PrivateBinder binder() { method in class:PrivateModule [all...] |
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/ |
ShadowParcelTest.java | 10 import android.os.Binder; 104 IBinder binder = new Binder(); local 105 parcel.writeStrongBinder(binder); 107 assertThat(parcel.readStrongBinder()).isEqualTo(binder); 123 IBinder binder = new Binder(); local 124 binders.add(binder); 125 parcel.writeStrongBinder(binder); 533 parcel.writeStrongBinder(new Binder()); // 20 byte [all...] |
/external/turbine/java/com/google/turbine/deps/ |
Transitive.java | 22 import com.google.turbine.binder.Binder.BindingResult; 23 import com.google.turbine.binder.ClassPath; 24 import com.google.turbine.binder.bound.TypeBoundClass; 25 import com.google.turbine.binder.bytecode.BytecodeBoundClass; 26 import com.google.turbine.binder.env.CompoundEnv; 27 import com.google.turbine.binder.env.Env; 28 import com.google.turbine.binder.env.SimpleEnv; 29 import com.google.turbine.binder.sym.ClassSymbol;
|
/cts/tests/tests/content/src/android/content/cts/ |
ContentProviderTest.java | 28 import android.os.Binder; 248 assertEquals(android.os.Process.myUid(), Binder.getCallingUid());
|
/external/guice/core/test/com/googlecode/guice/ |
BytecodeGenTest.java | 24 import com.google.inject.Binder; 221 public void configure(Binder binder) { 222 binder.bind(ProxyTest.class).to(ProxyTestImpl.class);
|
/external/turbine/javatests/com/google/turbine/lower/ |
LowerTest.java | 28 import com.google.turbine.binder.Binder; 29 import com.google.turbine.binder.Binder.BindingResult; 30 import com.google.turbine.binder.ClassPathBinder; 31 import com.google.turbine.binder.bound.SourceTypeBoundClass; 32 import com.google.turbine.binder.env.SimpleEnv; 33 import com.google.turbine.binder.sym.ClassSymbol; 34 import com.google.turbine.binder.sym.FieldSymbol; 35 import com.google.turbine.binder.sym.MethodSymbol [all...] |
/cts/tests/app/app/src/android/app/stubs/ |
LaunchpadActivity.java | 25 import android.os.Binder; 83 // Also used as the Binder interface descriptor string in these tests 563 private final Binder mCallTarget = new Binder() {
|