OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sInstance
(Results
51 - 75
of
270
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
/packages/apps/Launcher3/src/com/android/launcher3/compat/
LauncherAppsCompat.java
48
private static LauncherAppsCompat
sInstance
;
53
if (
sInstance
== null) {
55
sInstance
= new LauncherAppsCompatVL(context.getApplicationContext());
57
sInstance
= new LauncherAppsCompatV16(context.getApplicationContext());
60
return
sInstance
;
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/
BrowserStartupController.java
60
private static BrowserStartupController
sInstance
;
77
if (
sInstance
!= null) {
78
sInstance
.executeEnqueuedCallbacks(result, NOT_ALREADY_STARTED);
124
if (
sInstance
== null) {
125
sInstance
= new BrowserStartupController(context.getApplicationContext());
127
return
sInstance
;
132
if (
sInstance
== null) {
133
sInstance
= controller;
135
return
sInstance
;
/cts/tests/tests/drm/src/android/drm/cts/configs/
FwdLockConfig.java
24
private static FwdLockConfig
sInstance
= new FwdLockConfig();
27
return
sInstance
;
PassthruConfig.java
24
private static PassthruConfig
sInstance
= new PassthruConfig();
27
return
sInstance
;
/frameworks/base/core/java/android/animation/
ArgbEvaluator.java
24
private static final ArgbEvaluator
sInstance
= new ArgbEvaluator();
35
return
sInstance
;
/frameworks/base/core/java/android/text/
Editable.java
124
private static Editable.Factory
sInstance
= new Editable.Factory();
130
return
sInstance
;
/frameworks/base/services/tests/servicestests/src/com/android/server/
AccessibilityManagerServiceTest.java
191
MockAccessibilityService service = MyFirstMockAccessibilityService.
sInstance
;
221
MockAccessibilityService service = MyFirstMockAccessibilityService.
sInstance
;
251
MockAccessibilityService service = MyFirstMockAccessibilityService.
sInstance
;
281
MockAccessibilityService service = MyFirstMockAccessibilityService.
sInstance
;
332
MockAccessibilityService firstService = MyFirstMockAccessibilityService.
sInstance
;
338
MockAccessibilityService secondService = MySecondMockAccessibilityService.
sInstance
;
376
MockAccessibilityService firstService = MyFirstMockAccessibilityService.
sInstance
;
380
MockAccessibilityService secondService = MySecondMockAccessibilityService.
sInstance
;
415
MockAccessibilityService firstService = MyFirstMockAccessibilityService.
sInstance
;
421
MockAccessibilityService secondService = MySecondMockAccessibilityService.
sInstance
;
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
UnlockMethodCache.java
34
private static UnlockMethodCache
sInstance
;
51
if (
sInstance
== null) {
52
sInstance
= new UnlockMethodCache(context);
54
return
sInstance
;
/frameworks/base/tools/layoutlib/bridge/src/android/view/inputmethod/
InputMethodManager_Delegate.java
44
InputMethodManager.
sInstance
= imm;
/frameworks/opt/bitmap/src/com/android/bitmap/
ReusableBitmap.java
124
private static NullReusableBitmap
sInstance
;
130
if (
sInstance
== null) {
131
sInstance
= new NullReusableBitmap();
133
return
sInstance
;
/frameworks/opt/telephony/src/java/android/telephony/gsm/
SmsManager.java
30
private static SmsManager
sInstance
;
40
if (
sInstance
== null) {
41
sInstance
= new SmsManager();
43
return
sInstance
;
/hardware/qcom/display/msm8084/libqdutils/
idle_invalidator.cpp
43
android::sp<IdleInvalidator> IdleInvalidator::
sInstance
(0);
125
if(
sInstance
.get() == NULL)
126
sInstance
= new IdleInvalidator();
127
return
sInstance
.get();
idle_invalidator.h
43
static android::sp<IdleInvalidator>
sInstance
;
/hardware/qcom/display/msm8226/libqdutils/
idle_invalidator.cpp
43
android::sp<IdleInvalidator> IdleInvalidator::
sInstance
(0);
125
if(
sInstance
.get() == NULL)
126
sInstance
= new IdleInvalidator();
127
return
sInstance
.get();
idle_invalidator.h
43
static android::sp<IdleInvalidator>
sInstance
;
/hardware/qcom/display/msm8960/libqdutils/
idle_invalidator.h
43
static android::sp<IdleInvalidator>
sInstance
;
/hardware/qcom/display/msm8974/libqdutils/
idle_invalidator.h
44
static android::sp<IdleInvalidator>
sInstance
;
/frameworks/base/core/java/android/view/
AccessibilityIterators.java
69
private static CharacterTextSegmentIterator
sInstance
;
76
if (
sInstance
== null) {
77
sInstance
= new CharacterTextSegmentIterator(locale);
79
return
sInstance
;
166
private static WordTextSegmentIterator
sInstance
;
169
if (
sInstance
== null) {
170
sInstance
= new WordTextSegmentIterator(locale);
172
return
sInstance
;
256
private static ParagraphTextSegmentIterator
sInstance
;
259
if (
sInstance
== null)
[
all
...]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
MeasureHelper.java
24
private static MeasureHelper
sInstance
= new MeasureHelper(null);
35
sInstance
.mComponent = component;
36
return
sInstance
;
/frameworks/base/core/java/android/text/method/
DigitsKeyListener.java
103
if (
sInstance
[kind] != null)
104
return
sInstance
[kind];
106
sInstance
[kind] = new DigitsKeyListener(sign, decimal);
107
return
sInstance
[kind];
230
private static DigitsKeyListener[]
sInstance
= new DigitsKeyListener[4];
/packages/apps/Mms/src/com/android/mms/util/
RateController.java
50
private static RateController
sInstance
;
82
if (
sInstance
!= null) {
86
sInstance
= new RateController(context);
90
if (
sInstance
== null) {
93
return
sInstance
;
/frameworks/base/services/core/java/com/android/server/power/
ShutdownThread.java
80
private static final ShutdownThread
sInstance
= new ShutdownThread();
231
sInstance
.mContext = context;
232
sInstance
.mPowerManager = (PowerManager)context.getSystemService(Context.POWER_SERVICE);
235
sInstance
.mCpuWakeLock = null;
237
sInstance
.mCpuWakeLock =
sInstance
.mPowerManager.newWakeLock(
239
sInstance
.mCpuWakeLock.setReferenceCounted(false);
240
sInstance
.mCpuWakeLock.acquire();
243
sInstance
.mCpuWakeLock = null;
247
sInstance
.mScreenWakeLock = null
[
all
...]
/cts/tests/tests/provider/src/android/provider/cts/
MediaStoreAudioTestHelper.java
73
private static Audio1
sInstance
= new Audio1();
76
return
sInstance
;
149
private static Audio2
sInstance
= new Audio2();
152
return
sInstance
;
228
private static Audio3
sInstance
= new Audio3();
231
return
sInstance
;
246
private static Audio4
sInstance
= new Audio4();
249
return
sInstance
;
264
private static Audio5
sInstance
= new Audio5();
267
return
sInstance
;
[
all
...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
CdmaSubscriptionSourceManager.java
49
private static CdmaSubscriptionSourceManager
sInstance
;
80
if (null ==
sInstance
) {
81
sInstance
= new CdmaSubscriptionSourceManager(context, ci);
85
sInstance
.registerForCdmaSubscriptionSourceChanged(h, what, obj);
86
return
sInstance
;
100
sInstance
= null;
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
ResolveCache.java
66
private static ResolveCache
sInstance
;
73
if (
sInstance
== null) {
75
sInstance
= new ResolveCache(applicationContext);
83
applicationContext.registerReceiver(
sInstance
.mPackageIntentReceiver, filter);
85
return
sInstance
;
89
sInstance
= null;
Completed in 929 milliseconds
1
2
3
4
5
6
7
8
9
10
11