HomeSort by relevance Sort by last modified time
    Searched defs:Singleton (Results 1 - 25 of 59) sorted by null

1 2 3

  /external/guice/core/src/com/google/inject/
Singleton.java 34 public @interface Singleton {}
  /external/jsr330/src/javax/inject/
Singleton.java 31 public @interface Singleton {}
  /external/valgrind/drd/tests/
local_static.cpp 7 class Singleton
10 Singleton()
19 static Singleton singleton; local
21 fprintf(stderr, "%d\n", singleton.value);
22 fprintf(stderr, "%d\n", singleton.value);
23 fprintf(stderr, "%d\n", singleton.value);
24 fprintf(stderr, "%d\n", singleton.value);
25 fprintf(stderr, "%d\n", singleton.value);
  /frameworks/base/core/java/android/util/
Singleton.java 20 * Singleton helper class for lazily initialization.
22 * Modeled after frameworks/base/include/utils/Singleton.h
26 public abstract class Singleton<T> {
  /system/core/include/utils/
Singleton.h 29 class ANDROID_API Singleton
48 ~Singleton() { };
49 Singleton() { };
52 Singleton(const Singleton&);
53 Singleton& operator = (const Singleton&);
60 * (eg: <TYPE>.cpp) to create the static instance of Singleton<>'s attributes,
61 * and avoid to have a copy of them in each compilation units Singleton<TYPE>
69 (::android::Singleton< TYPE >::sLock)(::android::Mutex::PRIVATE);
    [all...]
  /packages/apps/Camera2/src_pd/com/android/camera/debug/
LogHelper.java 19 private static class Singleton {
24 return Singleton.INSTANCE;
  /prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/stubs/
singleton.h 41 class Singleton {
44 GoogleOnceInit(&once_, &Singleton<T>::Init);
60 ProtobufOnceType Singleton<T>::once_;
63 T* Singleton<T>::instance_ = NULL;
  /packages/apps/Camera2/src/com/android/camera/one/v2/autofocus/
GlobalMeteringParameters.java 31 private static class Singleton {
36 return Singleton.INSTANCE;
  /external/guice/extensions/spring/test/com/google/inject/spring/
SpringIntegrationTest.java 43 RootBeanDefinition singleton local
44 = new RootBeanDefinition(Singleton.class);
45 beanFactory.registerBeanDefinition("singleton", singleton);
54 bind(Singleton.class)
55 .toProvider(fromSpring(Singleton.class, "singleton"));
61 assertNotNull(injector.getInstance(Singleton.class));
62 assertSame(injector.getInstance(Singleton.class),
63 injector.getInstance(Singleton.class))
74 RootBeanDefinition singleton local
    [all...]
  /external/libchrome/base/memory/
singleton.h 5 // PLEASE READ: Do you really need a singleton?
10 // Instead of adding another singleton into the mix, try to identify either:
11 // a) An existing singleton that can manage your object's lifetime
15 // If you absolutely need a singleton, please keep them as trivial as possible
45 // Default traits for Singleton<Type>. Calls operator new and operator delete on
75 // Alternate traits for use with the Singleton<Type>. Identical to
76 // DefaultSingletonTraits except that the Singleton will not be cleaned up
87 // Alternate traits for use with the Singleton<Type>. Allocates memory
88 // for the singleton instance from a static buffer. The singleton wil
    [all...]
  /packages/apps/Camera2/src/com/android/camera/device/
ActiveCameraDeviceTracker.java 35 * Singleton instance.
37 private static class Singleton {
42 return Singleton.INSTANCE;
MultiCameraDeviceLifecycle.java 64 private static class Singleton {
74 return Singleton.INSTANCE;
  /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...]
  /packages/apps/Camera2/src/com/android/camera/app/
CameraServicesImpl.java 42 * Fast, thread safe singleton initialization.
44 private static class Singleton {
53 return Singleton.INSTANCE;
FirstRunDetector.java 32 private static class Singleton {
38 return Singleton.INSTANCE;
  /packages/apps/Camera2/src/com/android/camera/processing/
ProcessingServiceManager.java 39 private static class Singleton {
45 return Singleton.INSTANCE;
  /external/dagger2/lib/
javax-inject.jar 
  /external/jetty/src/java/org/eclipse/jetty/util/
IO.java 41 * singleton Threadpool implementation accessed by static members.
59 // TODO get rid of this singleton!
60 private static class Singleton {
129 if (!Singleton.__pool.dispatch(job))
156 if (!Singleton.__pool.dispatch(job))
  /packages/apps/Camera2/src/com/android/camera/util/
AndroidServices.java 41 * Initializable singleton set of android service providers.
51 private static class Singleton {
57 return Singleton.INSTANCE;
  /packages/apps/Nfc/src/com/android/nfc/
NfcUnlockManager.java 12 * Singleton for handling NFC Unlock related logic and state.
32 return Singleton.INSTANCE;
90 private static class Singleton {
ForegroundUtils.java 43 private static class Singleton {
62 return Singleton.INSTANCE;
  /packages/apps/Nfc/src/com/android/nfc/beam/
BeamManager.java 48 private static final class Singleton {
59 return Singleton.INSTANCE;
  /external/autotest/server/
site_utils.py 53 class Singleton(type):
60 cls._instances[cls] = super(Singleton, cls).__call__(
  /external/guice/lib/
javax.inject.jar 
  /packages/apps/Camera2/src/com/android/camera/stats/profiler/
Profilers.java 35 private static class Singleton {
47 return Singleton.INSTANCE;

Completed in 330 milliseconds

1 2 3