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

1 2 3 4 5 6 7 8 91011>>

  /external/guice/extensions/grapher/test/com/google/inject/grapher/demo/
Lightning.java 20 import com.google.inject.name.Named;
23 @Inject @Named("year") String yearOfStrike;
EnergySourceProvider.java 21 import com.google.inject.name.Named;
27 @Inject void setYear(@Named("year") int year) {}
  /system/libvintf/include/vintf/
Named.h 23 struct Named {
27 Named() = default;
28 Named(const std::string& n, const T& o) : name(n), object(o) {}
29 Named(std::string&& n, T&& o) : name(std::move(n)), object(std::move(o)) {}
  /external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/java8/
Named.java 17 public interface Named {
22 /** Base class defining {@link #name} without implementing {@link Named}. */
36 public static class ExplicitName extends ExplicitNameBase implements Named {
42 /** Class that explicitly defers to the default method in {@link Named}. */
43 public static class DefaultName extends ExplicitNameBase implements Named {
50 return Named.super.name() + "-once";
71 public abstract static class AbstractName extends AbstractNameBase implements Named {}
  /external/guice/core/src/com/google/inject/name/
NamedImpl.java 24 class NamedImpl implements Named, Serializable {
42 if (!(o instanceof Named)) {
46 Named other = (Named) o;
51 return "@" + Named.class.getName() + "(value=" + value + ")";
55 return Named.class;
Named.java 28 * Annotates named things.
35 public @interface Named {
  /external/dagger2/compiler/src/it/functional-tests/src/main/java/test/tck/
TireModule.java 22 import javax.inject.Named;
27 @Named("spare")
  /external/testng/src/test/java/test/dataprovider/
ConstructorInjectionProvider.java 4 import com.google.inject.name.Named;
13 public ConstructorInjectionProvider(@Named("test") String value) {
FieldInjectionProvider.java 4 import com.google.inject.name.Named;
10 @Inject @Named("test")
  /frameworks/base/core/tests/coretests/src/android/graphics/
ColorSpaceRendererTest.java 53 .add(ColorSpace.get(ColorSpace.Named.SRGB), 0xffffffff)
54 .add(ColorSpace.get(ColorSpace.Named.DCI_P3), 0xffffffff)
55 .add(ColorSpace.get(ColorSpace.Named.PRO_PHOTO_RGB), 0.1f, 0.5f, 0.1f, 0xff000000)
56 .add(ColorSpace.get(ColorSpace.Named.ADOBE_RGB), 0.1f, 0.5f, 0.1f, 0xff000000)
68 .add(ColorSpace.get(ColorSpace.Named.SRGB), 0xffffffff)
69 .add(ColorSpace.get(ColorSpace.Named.DCI_P3), 0xffffffff)
70 .add(ColorSpace.get(ColorSpace.Named.PRO_PHOTO_RGB), 0.1f, 0.5f, 0.1f, 0xff000000)
71 .add(ColorSpace.get(ColorSpace.Named.ADOBE_RGB), 0.1f, 0.5f, 0.1f, 0xff000000)
  /external/testng/src/test/java/test/hook/
HookSuccess862Test.java 7 import javax.inject.Named;
19 if (annotation instanceof Named) {
20 Named named = (Named) annotation; local
21 callBack.getParameters()[0] = callBack.getParameters()[0] + named.value();
36 public void verify(@Named("bar") String bar, String test) {
  /external/guice/core/test/com/google/inject/name/
NamedEquivalanceTest.java 38 * Tests that {@code javax.inject.Named} and {@code com.google.inject.name.Named} are completely
45 private static final Module GUICE_BINDING_MODULE = moduleWithAnnotation(Names.named("foo"));
52 assertEquals(keyForAnnotation(Names.named("foo")), keyForAnnotation(new GuiceNamed("foo")));
53 assertEquals(keyForAnnotation(Names.named("foo")), keyForAnnotation(new JsrNamed("foo")));
55 assertEquals(keyForAnnotationType(com.google.inject.name.Named.class),
56 keyForAnnotationType(javax.inject.Named.class));
122 "No implementation for java.lang.String annotated with @com.google.inject.name.Named(value=foo) was bound.");
135 "A binding to java.lang.String annotated with @com.google.inject.name.Named(value=foo) was already configured");
164 @SuppressWarnings("unused") @Provides @javax.inject.Named("foo") String provideFoo()
    [all...]
  /external/jsr330/tck/org/atinject/tck/auto/
V8Engine.java 22 import javax.inject.Named;
41 Tire tireA, @Named("spare") Tire tireB) {
Engine.java 22 import javax.inject.Named;
52 @Named("spare") Tire tireA, Tire tireB) {
  /external/jsr330/src/javax/inject/
Named.java 30 * &#064;Inject <b>@Named("driver")</b> Seat driverSeat;
31 * &#064;Inject <b>@Named("passenger")</b> Seat passengerSeat;
38 public @interface Named {
  /external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
ExtractGV.cpp 27 SetVector<GlobalValue *> Named;
37 : ModulePass(ID), Named(GVs.begin(), GVs.end()), deleteStuff(deleteS) {}
46 // referenced by the Named set, and which GlobalValues in the rest of
54 if (deleteStuff == (bool)Named.count(I) && !I->isDeclaration()) {
70 if (deleteStuff == (bool)Named.count(I) && !I->isDeclaration()) {
  /cts/tests/tests/graphics/src/android/graphics/cts/
ColorSpaceTest.java 74 for (ColorSpace.Named named : ColorSpace.Named.values()) {
75 ColorSpace colorSpace = ColorSpace.get(named);
78 assertEquals(named.ordinal(), colorSpace.getId());
144 ColorSpace cs = ColorSpace.get(ColorSpace.Named.SRGB);
162 cs = ColorSpace.get(ColorSpace.Named.CIE_LAB);
180 cs = ColorSpace.get(ColorSpace.Named.CIE_XYZ);
305 assertEquals(3, ColorSpace.get(ColorSpace.Named.SRGB).getComponentCount());
306 assertEquals(3, ColorSpace.get(ColorSpace.Named.LINEAR_SRGB).getComponentCount())
    [all...]
BitmapColorSpaceTest.java 70 ColorSpace sRGB = ColorSpace.get(ColorSpace.Named.SRGB);
80 ColorSpace.get(ColorSpace.Named.ADOBE_RGB));
83 assertSame(ColorSpace.get(ColorSpace.Named.ADOBE_RGB), cs);
88 assertSame(ColorSpace.get(ColorSpace.Named.LINEAR_EXTENDED_SRGB), cs);
91 ColorSpace.get(ColorSpace.Named.ADOBE_RGB));
94 assertSame(ColorSpace.get(ColorSpace.Named.LINEAR_EXTENDED_SRGB), cs);
102 ColorSpace.get(ColorSpace.Named.ADOBE_RGB));
113 ColorSpace.get(ColorSpace.Named.ADOBE_RGB));
124 ColorSpace.get(ColorSpace.Named.ADOBE_RGB));
132 ColorSpace sRGB = ColorSpace.get(ColorSpace.Named.SRGB)
    [all...]
  /external/dagger2/lib/
javax-inject.jar 
  /external/guice/lib/
javax.inject.jar 
  /prebuilts/tools/common/m2/repository/javax/inject/javax.inject/1/
javax.inject-1.jar 
  /external/guice/core/test/com/google/inject/
PrivateModuleTest.java 22 import static com.google.inject.name.Names.named;
25 import com.google.inject.name.Named;
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"));
68 AB ab1 = injector.getInstance(Key.get(AB.class, named("one")))
    [all...]
BoundInstanceInjectionTest.java 24 import com.google.inject.name.Named;
86 Named.class.getName() + " and " + Another.class.getName());
101 Named.class.getName() + " and " + Another.class.getName());
106 @Inject void doublyAnnotated(@Named("a") @Another String unused) {}
110 @Inject void doublyAnnotated(@Named("a") @Another String s) {}
ErrorHandlingTest.java 21 import com.google.inject.name.Named;
72 @Inject @Named("missing")
86 @Inject void setNumbers(@Named("numbers") List<Integer> numbers) {}
88 @Inject void bar(@Named("foo") String s) {}
126 bind(String.class).annotatedWith(Names.named("foo")).in(Named.class);
  /external/llvm/lib/Transforms/IPO/
ExtractGV.cpp 58 SetVector<GlobalValue *> Named;
68 : ModulePass(ID), Named(GVs.begin(), GVs.end()), deleteStuff(deleteS) {}
80 // referenced by the Named set, and which GlobalValues in the rest of
89 deleteStuff == (bool)Named.count(&*I) && !I->isDeclaration();
109 deleteStuff == (bool)Named.count(&F) && !F.isDeclaration();
130 bool Delete = deleteStuff == (bool)Named.count(&*CurI);

Completed in 3533 milliseconds

1 2 3 4 5 6 7 8 91011>>