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

1 2 3

  /frameworks/base/include/utils/
Singleton.h 28 class Singleton
42 ~Singleton() { };
43 Singleton() { };
46 Singleton(const Singleton&);
47 Singleton& operator = (const Singleton&);
54 * (eg: <TYPE>.cpp) to create the static instance of Singleton<>'s attributes,
55 * and avoid to have a copy of them in each compilation units Singleton<TYPE>
62 template class Singleton< TYPE >;
    [all...]
  /frameworks/base/include/ui/
GraphicBufferMapper.h 23 #include <utils/Singleton.h>
36 class GraphicBufferMapper : public Singleton<GraphicBufferMapper>
54 friend class Singleton<GraphicBufferMapper>;
GraphicLog.h 20 #include <utils/Singleton.h>
25 class GraphicLog : public Singleton<GraphicLog>
GraphicBufferAllocator.h 28 #include <utils/Singleton.h>
40 class GraphicBufferAllocator : public Singleton<GraphicBufferAllocator>
85 friend class Singleton<GraphicBufferAllocator>;
  /frameworks/base/services/sensorservice/
SensorDevice.h 24 #include <utils/Singleton.h>
36 class SensorDevice : public Singleton<SensorDevice> {
37 friend class Singleton<SensorDevice>;
SensorInterface.h 23 #include <utils/Singleton.h>
  /external/chromium/base/
singleton_unittest.cc 8 #include "base/singleton.h"
43 return Singleton<int>::get();
47 // Force to use a different singleton than SingletonInt1.
48 return Singleton<int, DefaultSingletonTraits<int> >::get();
55 // Force to use a different singleton than SingletonInt1 and SingletonInt2.
57 return Singleton<int, DefaultSingletonTraits<int>,
62 return Singleton<int, LockTrait<int> >::get();
66 return Singleton<int, Init5Trait>::get();
70 *Singleton<CallbackFunc, NoLeakTrait>::get() = CallOnQuit;
74 *Singleton<CallbackFunc, LeakTrait>::get() = CallOnQuit
    [all...]
singleton_objc.h 5 // Support for using the Singleton<T> pattern with Objective-C objects. A
6 // SingletonObjC is the same as a Singleton, except the default traits are
8 // NSExampleType can be maintained as a singleton and accessed with:
15 // -[NSExampleType release] when Singleton's atexit routines run
16 // (see singleton.h).
34 #include "base/singleton.h"
36 // Singleton traits usable to manage traditional Objective-C objects, which
51 // Exactly like Singleton, but without the DefaultSingletonObjCTraits as the
57 class SingletonObjC : public Singleton<Type, Traits, DifferentiatingType> {
trace_event.h 28 #include "base/singleton.h"
47 Singleton<base::TraceLog>::get()->Trace(name, \
57 Singleton<base::TraceLog>::get()->Trace(name, \
66 Singleton<base::TraceLog>::get()->Trace(name, \
111 // by the Singleton class.
singleton.h 13 // Default traits for Singleton<Type>. Calls operator new and operator delete on
36 // Alternate traits for use with the Singleton<Type>. Identical to
37 // DefaultSingletonTraits except that the Singleton will not be cleaned up
45 // The Singleton<Type, Traits, DifferentiatingType> class manages a single
55 // 1. FooClass* ptr = Singleton<FooClass>::get();
57 // 2. Singleton<FooClass>()->Bar();
58 // 3. Singleton<FooClass>::get()->Bar();
60 // Singleton<> has no non-static members and doesn't need to actually be
71 // On every platform, if Traits::RAE is true, the singleton will be destroyed at
77 // If Traits::RAE is false, the singleton will not be freed at process exit
    [all...]
trace_event.cc 48 TraceLog* trace = Singleton<TraceLog>::get();
54 TraceLog* trace = Singleton<TraceLog>::get();
72 TraceLog* trace = Singleton<TraceLog>::get();
mime_util_linux.cc 20 #include "base/singleton.h"
159 Singleton<MimeUtilConstants>::get()->icon_dirs_;
219 Singleton<MimeUtilConstants>::get()->icon_themes_;
236 &Singleton<MimeUtilConstants>::get()->icon_formats_;
384 (*Singleton<MimeUtilConstants>::get()->icon_dirs_)[dir] = 0;
397 Singleton<MimeUtilConstants>::get()->icon_dirs_->clear();
436 MimeUtilConstants* constants = Singleton<MimeUtilConstants>::get();
454 MimeUtilConstants* constants = Singleton<MimeUtilConstants>::get();
471 Singleton<MimeUtilConstants>::get()->default_themes_;
499 Singleton<MimeUtilConstants>::get()->gtk_theme_name_)
    [all...]
nss_util.cc 17 #include "base/singleton.h"
62 // A singleton to initialize/deinitialize NSPR.
63 // Separate from the NSS singleton because we initialize NSPR on the UI thread.
167 Singleton<NSPRInitSingleton>::get();
171 Singleton<NSSInitSingleton>::get();
  /frameworks/base/include/gui/
SensorManager.h 25 #include <utils/Singleton.h>
44 class SensorManager : public ASensorManager, public Singleton<SensorManager>
  /external/chromium/net/base/
winsock_init.cc 10 #include "base/singleton.h"
48 Singleton<WinsockInitSingleton>::get();
  /external/chromium/net/socket_stream/
socket_stream_throttle.cc 10 #include "base/singleton.h"
52 Singleton<DefaultSocketStreamThrottle>::get();
68 Singleton<SocketStreamThrottleRegistry>::get();
76 Singleton<SocketStreamThrottleRegistry>::get();
  /frameworks/base/opengl/libs/EGL/
Loader.h 25 #include <utils/Singleton.h>
37 class Loader : public Singleton<Loader>
39 friend class Singleton<Loader>;
  /frameworks/base/services/surfaceflinger/
GLExtensions.h 25 #include <utils/Singleton.h>
35 class GLExtensions : public Singleton<GLExtensions>
37 friend class Singleton<GLExtensions>;
  /external/chromium/base/i18n/
file_util_icu.cc 11 #include "base/singleton.h"
31 friend class Singleton<IllegalCharacters>;
51 // Also, consider wrapping the set with our Singleton class to create and
124 return Singleton<IllegalCharacters>()->containsNone(file_name);
131 DCHECK(!(Singleton<IllegalCharacters>()->contains(replace_char)));
136 IllegalCharacters* illegal = Singleton<IllegalCharacters>::get();
172 return Singleton<LocaleAwareComparator>()->Compare(a.value().c_str(),
182 return Singleton<LocaleAwareComparator>()->Compare(
number_formatting.cc 9 #include "base/singleton.h"
37 Singleton<icu::NumberFormat, NumberFormatSingletonTraits>::get();
  /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...]
log.py 22 class Log(singletonmixin.Singleton):
  /external/chromium/net/socket/
client_socket_factory.cc 7 #include "base/singleton.h"
60 return Singleton<DefaultClientSocketFactory>::get();
  /frameworks/base/include/surfaceflinger/
SurfaceComposerClient.h 26 #include <utils/Singleton.h>
47 class ComposerService : public Singleton<ComposerService>
54 friend class Singleton<ComposerService>;
  /external/chromium/base/crypto/
cssm_init.cc 7 #include "base/singleton.h"
66 Singleton<CSSMInitSingleton>::get();

Completed in 147 milliseconds

1 2 3