OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sInstance
(Results
26 - 50
of
551
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/packages/apps/Launcher3/src/com/android/launcher3/compat/
UserManagerCompat.java
30
private static UserManagerCompat
sInstance
;
34
if (
sInstance
== null) {
36
sInstance
= new UserManagerCompatVNMr1(context.getApplicationContext());
38
sInstance
= new UserManagerCompatVN(context.getApplicationContext());
40
sInstance
= new UserManagerCompatVM(context.getApplicationContext());
42
sInstance
= new UserManagerCompatVL(context.getApplicationContext());
44
sInstance
= new UserManagerCompatV17(context.getApplicationContext());
46
sInstance
= new UserManagerCompatV16();
49
return
sInstance
;
PackageInstallerCompat.java
32
private static PackageInstallerCompat
sInstance
;
36
if (
sInstance
== null) {
38
sInstance
= new PackageInstallerCompatVL(context);
40
sInstance
= new PackageInstallerCompatV16();
43
return
sInstance
;
/frameworks/base/core/java/android/text/
Spannable.java
53
private static Spannable.Factory
sInstance
= new Spannable.Factory();
59
return
sInstance
;
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/typing/
typing_suggest_policy.h
34
static const TypingSuggestPolicy *getInstance() { return &
sInstance
; }
52
static const TypingSuggestPolicy
sInstance
;
/system/core/include/utils/
Singleton.h
34
TYPE* instance =
sInstance
;
37
sInstance
= instance;
44
return
sInstance
!= 0;
55
static TYPE*
sInstance
;
70
template<> TYPE* ::android::Singleton< TYPE >::
sInstance
(0); \
/developers/build/prebuilts/gradle/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/mock/
MockDatabase.java
35
private static BigTextStyleReminderAppData
sInstance
= null;
48
if (
sInstance
== null) {
49
sInstance
= getSync();
52
return
sInstance
;
56
if (
sInstance
== null) {
57
sInstance
= new BigTextStyleReminderAppData();
60
return
sInstance
;
106
private static BigPictureStyleSocialAppData
sInstance
= null;
123
if (
sInstance
== null) {
124
sInstance
= getSync()
[
all
...]
/developers/build/prebuilts/gradle/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/mock/
MockDatabase.java
35
private static BigTextStyleReminderAppData
sInstance
= null;
48
if (
sInstance
== null) {
49
sInstance
= getSync();
52
return
sInstance
;
56
if (
sInstance
== null) {
57
sInstance
= new BigTextStyleReminderAppData();
60
return
sInstance
;
106
private static BigPictureStyleSocialAppData
sInstance
= null;
123
if (
sInstance
== null) {
124
sInstance
= getSync()
[
all
...]
/developers/samples/android/wearable/wear/WearNotifications/Application/src/main/java/com/example/android/wearable/wear/wearnotifications/mock/
MockDatabase.java
35
private static BigTextStyleReminderAppData
sInstance
= null;
48
if (
sInstance
== null) {
49
sInstance
= getSync();
52
return
sInstance
;
56
if (
sInstance
== null) {
57
sInstance
= new BigTextStyleReminderAppData();
60
return
sInstance
;
106
private static BigPictureStyleSocialAppData
sInstance
= null;
123
if (
sInstance
== null) {
124
sInstance
= getSync()
[
all
...]
/developers/samples/android/wearable/wear/WearNotifications/Wearable/src/main/java/com/example/android/wearable/wear/wearnotifications/mock/
MockDatabase.java
35
private static BigTextStyleReminderAppData
sInstance
= null;
48
if (
sInstance
== null) {
49
sInstance
= getSync();
52
return
sInstance
;
56
if (
sInstance
== null) {
57
sInstance
= new BigTextStyleReminderAppData();
60
return
sInstance
;
106
private static BigPictureStyleSocialAppData
sInstance
= null;
123
if (
sInstance
== null) {
124
sInstance
= getSync()
[
all
...]
/development/samples/browseable/WearNotifications/Application/src/com.example.android.wearable.wear.wearnotifications/mock/
MockDatabase.java
35
private static BigTextStyleReminderAppData
sInstance
= null;
48
if (
sInstance
== null) {
49
sInstance
= getSync();
52
return
sInstance
;
56
if (
sInstance
== null) {
57
sInstance
= new BigTextStyleReminderAppData();
60
return
sInstance
;
106
private static BigPictureStyleSocialAppData
sInstance
= null;
123
if (
sInstance
== null) {
124
sInstance
= getSync()
[
all
...]
/development/samples/browseable/WearNotifications/Wearable/src/com.example.android.wearable.wear.wearnotifications/mock/
MockDatabase.java
35
private static BigTextStyleReminderAppData
sInstance
= null;
48
if (
sInstance
== null) {
49
sInstance
= getSync();
52
return
sInstance
;
56
if (
sInstance
== null) {
57
sInstance
= new BigTextStyleReminderAppData();
60
return
sInstance
;
106
private static BigPictureStyleSocialAppData
sInstance
= null;
123
if (
sInstance
== null) {
124
sInstance
= getSync()
[
all
...]
/development/samples/BusinessCard/src/com/example/android/businesscard/
ContactAccessor.java
37
private static ContactAccessor
sInstance
;
40
if (
sInstance
== null) {
68
sInstance
= clazz.newInstance();
74
return
sInstance
;
/hardware/qcom/display/msm8960/libqdutils/
idle_invalidator.cpp
37
android::sp<IdleInvalidator> IdleInvalidator::
sInstance
(0);
85
if(
sInstance
.get() == NULL)
86
sInstance
= new IdleInvalidator();
87
return
sInstance
.get();
/packages/apps/Messaging/src/com/android/messaging/util/
VersionUtil.java
27
private static VersionUtil
sInstance
;
33
if (
sInstance
== null) {
34
sInstance
= new VersionUtil(context);
37
return
sInstance
;
ImeUtil.java
37
private static volatile ImeUtil
sInstance
;
42
sInstance
= null;
45
if (
sInstance
== null) {
47
if (
sInstance
== null) {
48
sInstance
= new ImeUtil();
52
return
sInstance
;
57
sInstance
= imeUtil;
/packages/services/Telephony/src/com/android/services/telephony/
TelephonyGlobals.java
37
private static TelephonyGlobals
sInstance
;
55
if (
sInstance
== null) {
56
sInstance
= new TelephonyGlobals(context);
58
return
sInstance
;
/frameworks/base/core/java/android/os/
NullVibrator.java
27
private static final NullVibrator
sInstance
= new NullVibrator();
33
return
sInstance
;
/packages/apps/ContactsCommon/src/com/android/contacts/common/interactions/
TouchPointManager.java
13
private static TouchPointManager
sInstance
= new TouchPointManager();
24
return
sInstance
;
/frameworks/base/libs/hwui/
Caches.h
66
LOG_ALWAYS_FATAL_IF(
sInstance
, "double create of Caches attempted");
67
sInstance
= new Caches(renderState);
68
return *
sInstance
;
72
LOG_ALWAYS_FATAL_IF(!
sInstance
, "instance not yet created");
73
return *
sInstance
;
77
return
sInstance
!= nullptr;
81
static Caches*
sInstance
;
/development/samples/training/threadsample/src/com/example/android/threadsample/
PhotoManager.java
110
private static PhotoManager
sInstance
= null;
119
sInstance
= new PhotoManager();
265
return
sInstance
;
317
PhotoTask[] taskArray = new PhotoTask[
sInstance
.mDownloadWorkQueue.size()];
320
sInstance
.mDownloadWorkQueue.toArray(taskArray);
329
synchronized (
sInstance
) {
359
synchronized (
sInstance
) {
372
sInstance
.mDownloadThreadPool.remove(downloaderTask.getHTTPDownloadRunnable());
390
PhotoTask downloadTask =
sInstance
.mPhotoTaskWorkQueue.poll();
398
downloadTask.initializeDownloaderTask(PhotoManager.
sInstance
, imageView, cacheFlag)
[
all
...]
/frameworks/base/core/java/android/text/method/
DialerKeyListener.java
40
if (
sInstance
!= null)
41
return
sInstance
;
43
sInstance
= new DialerKeyListener();
44
return
sInstance
;
116
private static DialerKeyListener
sInstance
;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
LocalBluetoothManager.java
32
private static LocalBluetoothManager
sInstance
;
51
if (
sInstance
== null) {
58
sInstance
= new LocalBluetoothManager(adapter, appContext);
60
onInitCallback.onBluetoothManagerInitialized(appContext,
sInstance
);
64
return
sInstance
;
/packages/apps/Dialer/src/com/android/dialer/voicemail/
VoicemailArchivePlaybackPresenter.java
36
private static VoicemailPlaybackPresenter
sInstance
;
44
if (
sInstance
== null) {
45
sInstance
= new VoicemailArchivePlaybackPresenter(activity);
48
sInstance
.init(activity, savedInstanceState);
49
return
sInstance
;
/packages/apps/Gallery2/src_pd/com/android/gallery3d/filtershow/filters/
FiltersManager.java
30
private static FiltersManager
sInstance
= null;
46
if (
sInstance
== null) {
47
sInstance
= new FiltersManager();
49
return
sInstance
;
60
sInstance
= null;
/packages/apps/UnifiedEmail/src/com/android/mail/analytics/
Analytics.java
84
private static Tracker
sInstance
;
91
if (
sInstance
== null) {
92
sInstance
= new StubTracker();
95
return
sInstance
;
100
sInstance
= t;
Completed in 1855 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>