OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:sInstance
(Results
1 - 25
of
76
) sorted by null
1
2
3
4
/frameworks/av/media/libstagefright/
StagefrightPluginLoader.h
41
static std::unique_ptr<StagefrightPluginLoader>
sInstance
;
StagefrightPluginLoader.cpp
29
/* static */ std::unique_ptr<StagefrightPluginLoader> StagefrightPluginLoader::
sInstance
;
97
if (!
sInstance
) {
99
sInstance
.reset(new StagefrightPluginLoader(kCCodecPluginPath));
101
return
sInstance
;
/cts/tests/autofillservice/src/android/autofillservice/cts/
InstrumentedAutoFillServiceCompatMode.java
33
sInstance
.set(this);
OutOfProcessLoginActivity.java
36
private static OutOfProcessLoginActivity
sInstance
;
47
sInstance
= this;
92
sInstance
= null;
126
Log.v(TAG, "Finishing " +
sInstance
);
127
if (
sInstance
!= null) {
128
sInstance
.finish();
133
return
sInstance
!= null;
WelcomeActivity.java
37
private static WelcomeActivity
sInstance
;
50
sInstance
= this;
75
Log.v(TAG, "Setting
sInstance
to null onDestroy()");
76
sInstance
= null;
91
if (
sInstance
!= null) {
92
sInstance
.finish();
MyDrawable.java
34
private static MyDrawable
sInstance
;
39
if (
sInstance
!= null) {
42
sInstance
= this;
PreSimpleSaveActivity.java
32
private static PreSimpleSaveActivity
sInstance
;
39
return
sInstance
;
43
sInstance
= this;
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/
AlwaysSyncableSyncService.java
25
private static SyncAdapter
sInstance
;
29
if (
sInstance
== null) {
30
sInstance
= new SyncAdapter(context.getApplicationContext(), false);
34
return
sInstance
;
NotAlwaysSyncableSyncService.java
25
private static SyncAdapter
sInstance
;
29
if (
sInstance
== null) {
30
sInstance
= new SyncAdapter(context.getApplicationContext(), false);
34
return
sInstance
;
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/androidTest/java/com/example/android/autofill/service/util/
SingleExecutors.java
25
private static Executor
sInstance
= Runnable::run;
28
super(
sInstance
,
sInstance
,
sInstance
);
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/androidTest/java/com/example/android/autofill/service/util/
SingleExecutors.java
25
private static Executor
sInstance
= Runnable::run;
28
super(
sInstance
,
sInstance
,
sInstance
);
/frameworks/av/media/codec2/vndk/include/
C2PlatformStorePluginLoader.h
91
static std::unique_ptr<C2PlatformStorePluginLoader>
sInstance
;
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
SecondaryConditionProviderService.java
21
private static PollableConditionProviderService
sInstance
= null;
29
return
sInstance
;
35
sInstance
= this;
40
sInstance
= null;
LegacyConditionProviderService.java
22
private static PollableConditionProviderService
sInstance
= null;
30
return
sInstance
;
36
sInstance
= this;
41
sInstance
= null;
/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
;
/frameworks/av/media/bufferpool/1.0/include/bufferpool/
ClientManager.h
163
static sp<ClientManager>
sInstance
;
/frameworks/av/media/bufferpool/2.0/include/bufferpool/
ClientManager.h
175
static sp<ClientManager>
sInstance
;
/frameworks/av/media/codec2/vndk/
C2PlatformStorePluginLoader.cpp
27
/* static */ std::unique_ptr<C2PlatformStorePluginLoader> C2PlatformStorePluginLoader::
sInstance
;
96
if (!
sInstance
) {
98
sInstance
.reset(new C2PlatformStorePluginLoader(kStorePluginPath));
100
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
;
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/
DefaultFieldTypesLocalJsonSource.java
38
private static DefaultFieldTypesLocalJsonSource
sInstance
;
49
if (
sInstance
== null) {
50
sInstance
= new DefaultFieldTypesLocalJsonSource(resources, gson);
52
return
sInstance
;
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/source/local/
DefaultFieldTypesLocalJsonSource.java
38
private static DefaultFieldTypesLocalJsonSource
sInstance
;
49
if (
sInstance
== null) {
50
sInstance
= new DefaultFieldTypesLocalJsonSource(resources, gson);
52
return
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
...]
/cts/hostsidetests/devicepolicy/app/AccountCheck/Auth/src/com/android/cts/devicepolicy/accountcheck/
TestAuthenticator.java
38
private static Authenticator
sInstance
;
42
if (
sInstance
== null) {
43
sInstance
= new Authenticator(getApplicationContext());
46
return
sInstance
.getIBinder();
/cts/tests/tests/media/src/android/media/cts/
StubMediaSession2Service.java
41
private static StubMediaSession2Service
sInstance
;
53
return
sInstance
;
67
sInstance
= this;
81
sInstance
= null;
92
sInstance
= null;
Completed in 3714 milliseconds
1
2
3
4