HomeSort by relevance Sort by last modified time
    Searched refs:Singleton (Results 26 - 50 of 179) sorted by null

12 3 4 5 6 7 8

  /external/caliper/caliper/src/main/java/com/google/caliper/worker/
WorkerComponent.java 23 import javax.inject.Singleton;
28 @Singleton
  /external/guice/extensions/spring/test/com/google/inject/spring/
SpringIntegrationTest.java 38 RootBeanDefinition singleton = new RootBeanDefinition(Singleton.class); local
39 beanFactory.registerBeanDefinition("singleton", singleton);
50 bind(Singleton.class).toProvider(fromSpring(Singleton.class, "singleton"));
55 assertNotNull(injector.getInstance(Singleton.class));
56 assertSame(injector.getInstance(Singleton.class), injector.getInstance(Singleton.class))
65 RootBeanDefinition singleton = new RootBeanDefinition(Singleton.class); local
    [all...]
  /external/guice/extensions/grapher/test/com/google/inject/grapher/demo/
BackToTheFutureModule.java 20 import com.google.inject.Singleton;
41 bind(Person.class).annotatedWith(Driver.class).to(MartyMcFly.class).in(Singleton.class);
42 bind(Person.class).annotatedWith(Inventor.class).to(DocBrown.class).in(Singleton.class);
  /frameworks/av/media/libaudiohal/include/media/audiohal/hidl/
HalDeathHandler.h 25 #include <utils/Singleton.h>
32 class HalDeathHandler : public hidl_death_recipient, private Singleton<HalDeathHandler> {
49 friend class Singleton<HalDeathHandler>;
55 sp<HalDeathHandler> mSelf; // Allows the singleton instance to live forever.
  /external/testng/src/test/java/test/guice/
GuiceParentModule.java 5 import com.google.inject.Singleton;
20 bind(MyContext.class).to(MyContextImpl.class).in(Singleton.class);
  /external/guice/core/src/com/google/inject/
Singleton.java 34 public @interface Singleton {}
  /external/caliper/caliper/src/main/java/com/google/caliper/options/
OptionsModule.java 26 import javax.inject.Singleton;
75 @Singleton
  /external/caliper/caliper/src/main/java/com/google/caliper/runner/
BenchmarkClassModule.java 26 import javax.inject.Singleton;
36 @Singleton
MainModule.java 24 import javax.inject.Singleton;
47 @Singleton
BenchmarkClassChecker.java 30 import javax.inject.Singleton;
87 @Singleton
MainComponent.java 30 import javax.inject.Singleton;
35 @Singleton
  /external/dagger2/examples/android-simple/src/main/java/com/example/dagger/simple/
DemoApplication.java 25 import javax.inject.Singleton;
29 @Singleton
  /external/guice/extensions/persist/src/com/google/inject/persist/
PersistFilter.java 20 import com.google.inject.Singleton;
64 @Singleton
  /external/guice/extensions/struts2/example/src/com/google/inject/struts2/example/
ExampleListener.java 21 import com.google.inject.Singleton;
41 bind(StrutsPrepareAndExecuteFilter.class).in(Singleton.class);
  /external/dagger2/examples/android-activity-graphs/src/main/java/com/example/dagger/activitygraphs/
DemoApplication.java 20 import javax.inject.Singleton;
  /external/dagger2/lib/
javax-inject.jar 
  /external/guice/lib/
javax.inject.jar 
  /device/google/contexthub/sensorhal/
directchannel.h 25 #include <utils/Singleton.h>
57 class GrallocHalWrapper : public Singleton<GrallocHalWrapper> {
66 friend class Singleton<GrallocHalWrapper>;
  /frameworks/av/media/utils/include/mediautils/
BatteryNotifier.h 21 #include <utils/Singleton.h>
32 class BatteryNotifier : public Singleton<BatteryNotifier> {
34 friend class Singleton<BatteryNotifier>;
  /external/guice/extensions/mini/test/com/google/inject/mini/
MiniGuiceTest.java 24 import javax.inject.Singleton;
64 @Singleton
70 @Singleton
120 @Singleton
129 @Singleton
190 @Singleton
205 @Singleton
220 @Singleton
298 @Singleton
309 @Singleton
    [all...]
  /external/libchrome/base/memory/
singleton_unittest.cc 8 #include "base/memory/singleton.h"
30 return Singleton<IntSingleton>::get();
41 return Singleton<Init5Singleton, Trait>::get();
85 return Singleton<CallbackSingletonWithNoLeakTrait, Trait>::get();
98 return Singleton<CallbackSingletonWithLeakTrait, Trait>::get();
109 return Singleton<CallbackSingletonWithStaticTrait, Trait>::get();
129 return Singleton<AlignedTestSingleton,
248 // Delete the leaky singleton.
251 // The static singleton can't be acquired post-atexit.
266 // Resurrect the static singleton, and assert that i
    [all...]
  /development/tools/axl/
singletonmixin.py 2 A Python Singleton mixin class that makes use of some of the ideas
4 from it and you have a singleton. No code is required in
5 subclasses to create singleton behavior -- inheritance from
6 Singleton is all that is needed.
8 Assume S is a class that inherits from Singleton. Useful behaviors
11 1) Getting the singleton:
22 who didn't happen notice the inheritance from Singleton might think he
25 Singleton. An attempt to instantiate via S() will restult in an SingletonException
33 from Singleton may not have their own __new__
35 an exception is raised if a Singleton subclass inclu
    [all...]
  /external/dagger2/core/src/main/java/dagger/
Component.java 25 import javax.inject.Singleton;
149 * {@literal @}Singleton {@literal @}Component
151 * // this component can only inject types using unscoped or {@literal @}Singleton bindings
156 * responsibility to instantiate new component instances when appropriate. A {@link Singleton}
184 * request-scoped subcomponent from a singleton-scoped parent: <pre><code>
185 * {@literal @}Singleton {@literal @}Component
  /external/tensorflow/tensorflow/core/platform/
logger.h 29 // The singleton is supposed to be used in the following steps:
32 // * At some point in the program execution, Singleton() is called for the
34 // * Succeeding calls to Singleton() return the initiailized logger.
41 static Logger* Singleton() {
  /external/guice/core/test/com/google/inject/example/
ClientServiceWithGuiceDefaults.java 24 import com.google.inject.Singleton;
37 @Singleton

Completed in 1773 milliseconds

12 3 4 5 6 7 8