Home
last modified time | relevance | path

Searched refs:sInstance (Results 1 – 25 of 30) sorted by relevance

12

/cts/tests/autofillservice/src/android/autofillservice/cts/
DOutOfProcessLoginActivity.java36 private static OutOfProcessLoginActivity sInstance; field in OutOfProcessLoginActivity
47 sInstance = this; in onCreate()
92 sInstance = null; in onDestroy()
126 Log.v(TAG, "Finishing " + sInstance); in finishIt()
127 if (sInstance != null) { in finishIt()
128 sInstance.finish(); in finishIt()
133 return sInstance != null; in hasInstance()
DWelcomeActivity.java37 private static WelcomeActivity sInstance; field in WelcomeActivity
50 sInstance = this; in WelcomeActivity()
76 sInstance = null; in onDestroy()
91 if (sInstance != null) { in finishIt()
92 sInstance.finish(); in finishIt()
DMyDrawable.java34 private static MyDrawable sInstance; field in MyDrawable
39 if (sInstance != null) { in MyDrawable()
42 sInstance = this; in MyDrawable()
DPreSimpleSaveActivity.java32 private static PreSimpleSaveActivity sInstance; field in PreSimpleSaveActivity
39 return sInstance; in getInstance()
43 sInstance = this; in PreSimpleSaveActivity()
DSimpleSaveActivity.java38 private static SimpleSaveActivity sInstance; field in SimpleSaveActivity
50 return sInstance; in getInstance()
54 sInstance = this; in SimpleSaveActivity()
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DSecondaryConditionProviderService.java21 private static PollableConditionProviderService sInstance = null; field in SecondaryConditionProviderService
29 return sInstance; in getInstance()
35 sInstance = this; in onConnected()
40 sInstance = null; in onDestroy()
DLegacyConditionProviderService.java22 private static PollableConditionProviderService sInstance = null; field in LegacyConditionProviderService
30 return sInstance; in getInstance()
36 sInstance = this; in onConnected()
41 sInstance = null; in onDestroy()
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/
DNotAlwaysSyncableSyncService.java25 private static SyncAdapter sInstance; field in NotAlwaysSyncableSyncService
29 if (sInstance == null) { in getInstance()
30 sInstance = new SyncAdapter(context.getApplicationContext(), false); in getInstance()
34 return sInstance; in getInstance()
DAlwaysSyncableSyncService.java25 private static SyncAdapter sInstance; field in AlwaysSyncableSyncService
29 if (sInstance == null) { in getInstance()
30 sInstance = new SyncAdapter(context.getApplicationContext(), false); in getInstance()
34 return sInstance; in getInstance()
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStoreAudioTestHelper.java81 private static Audio1 sInstance = new Audio1(); field in MediaStoreAudioTestHelper.Audio1
84 return sInstance; in getInstance()
142 private static Audio2 sInstance = new Audio2(); field in MediaStoreAudioTestHelper.Audio2
145 return sInstance; in getInstance()
204 private static Audio3 sInstance = new Audio3(); field in MediaStoreAudioTestHelper.Audio3
207 return sInstance; in getInstance()
222 private static Audio4 sInstance = new Audio4(); field in MediaStoreAudioTestHelper.Audio4
225 return sInstance; in getInstance()
240 private static Audio5 sInstance = new Audio5(); field in MediaStoreAudioTestHelper.Audio5
243 return sInstance; in getInstance()
/cts/tests/tests/media/src/android/media/cts/
DStubMediaSession2Service.java41 private static StubMediaSession2Service sInstance; field in StubMediaSession2Service
53 return sInstance; in getInstance()
67 sInstance = this; in onCreate()
81 sInstance = null; in onDestroy()
92 sInstance = null; in onUpdateNotification()
DStubMediaBrowserService.java49 static StubMediaBrowserService sInstance; field in StubMediaBrowserService
66 sInstance = this; in onCreate()
75 sInstance = null; in onDestroy()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DNavigationBarInfo.java68 private static NavigationBarInfo sInstance; field in NavigationBarInfo
83 if (sInstance != null) { in getInstance()
84 return sInstance; in getInstance()
119 sInstance = new NavigationBarInfo(false, 0, false, false, false); in getInstance()
120 return sInstance; in getInstance()
142 sInstance = new NavigationBarInfo( in getInstance()
144 return sInstance; in getInstance()
/cts/tests/tests/telecom/src/android/telecom/cts/carmodetestapp/
DCtsCarModeInCallService.java34 private static CtsCarModeInCallService sInstance = null; field in CtsCarModeInCallService
42 sInstance = this; in onBind()
51 sInstance = null; in onUnbind()
79 return sInstance; in getInstance()
/cts/hostsidetests/statsd/apps/statsdapp/src/com/android/server/cts/device/statsd/
DStatsdAuthenticator.java40 private static Authenticator sInstance; field in StatsdAuthenticator
44 if (sInstance == null) { in onBind()
45 sInstance = new Authenticator(getApplicationContext()); in onBind()
48 return sInstance.getIBinder(); in onBind()
/cts/hostsidetests/devicepolicy/app/AccountCheck/Auth/src/com/android/cts/devicepolicy/accountcheck/
DTestAuthenticator.java38 private static Authenticator sInstance; field in TestAuthenticator
42 if (sInstance == null) { in onBind()
43 sInstance = new Authenticator(getApplicationContext()); in onBind()
46 return sInstance.getIBinder(); in onBind()
/cts/hostsidetests/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/
DBatteryStatsAuthenticator.java41 private static Authenticator sInstance; field in BatteryStatsAuthenticator
45 if (sInstance == null) { in onBind()
46 sInstance = new Authenticator(getApplicationContext()); in onBind()
49 return sInstance.getIBinder(); in onBind()
/cts/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/
DSyncManagerCtsAuthenticator.java42 private static Authenticator sInstance; field in SyncManagerCtsAuthenticator
46 if (sInstance == null) { in onBind()
47 sInstance = new Authenticator(getApplicationContext()); in onBind()
50 return sInstance.getIBinder(); in onBind()
/cts/hostsidetests/devicepolicy/app/AccountCheck/Tester/src/com/android/cts/devicepolicy/accountcheck/tester/
DTestAuthenticator.java41 private static Authenticator sInstance; field in TestAuthenticator
45 if (sInstance == null) { in onBind()
46 sInstance = new Authenticator(getApplicationContext()); in onBind()
49 return sInstance.getIBinder(); in onBind()
/cts/libs/midi/src/com/android/midi/
DMidiEchoTestService.java65 private static MidiEchoTestService sInstance; field in MidiEchoTestService
116 sInstance = this; in onCreate()
145 return sInstance; in getInstance()
/cts/tests/tests/drm/src/android/drm/cts/configs/
DFwdLockConfig.java24 private static FwdLockConfig sInstance = new FwdLockConfig(); field in FwdLockConfig
27 return sInstance; in getInstance()
DPassthruConfig.java24 private static PassthruConfig sInstance = new PassthruConfig(); field in PassthruConfig
27 return sInstance; in getInstance()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DAsyncSmsMessageListener.java25 private static final AsyncSmsMessageListener sInstance = new AsyncSmsMessageListener(); field in AsyncSmsMessageListener
28 return sInstance; in getInstance()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testinfrastructure/
DResourceModifier.java37 private static ResourceModifier sInstance = null; field in ResourceModifier
128 return sInstance; in instance()
132 sInstance = new ResourceModifier(resources); in init()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DTestJournalProvider.java257 private static TestJournalContainer sInstance; field in TestJournalProvider.TestJournalContainer
309 if (sInstance == null) { in getInstance()
310 sInstance = new TestJournalContainer(); in getInstance()
312 return sInstance; in getInstance()

12