/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/ |
D | TestApis.java | 36 return Users.sInstance; in users() 41 return Packages.sInstance; in packages() 46 return DevicePolicy.sInstance; in devicePolicy() 51 return Permissions.sInstance; in permissions() 56 return Context.sInstance; in context() 61 return Settings.sInstance; in settings() 66 return SystemProperties.sInstance; in systemProperties() 72 return Activities.sInstance; in activities() 77 return Notifications.sInstance; in notifications()
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | SecondaryConditionProviderService.java | 21 private static PollableConditionProviderService sInstance = null; field in SecondaryConditionProviderService 29 return sInstance; in getInstance() 35 sInstance = this; in onConnected() 40 sInstance = null; in onDestroy()
|
D | LegacyConditionProviderService.java | 22 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/autofillservice/src/android/autofillservice/cts/testcore/ |
D | MyDrawable.java | 34 private static MyDrawable sInstance; field in MyDrawable 39 if (sInstance != null) { in MyDrawable() 42 sInstance = this; in MyDrawable() 47 if (sInstance != null && sAutofilledBounds == null) { in draw() 80 sInstance = null; in initStatus() 86 sInstance = null; in clearStatus()
|
/cts/tests/tests/content/lib/accountaccess/src/com.android.cts.content/ |
D | NotAlwaysSyncableSyncService.java | 25 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()
|
D | AlwaysSyncableSyncService.java | 25 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/autofillservice/src/android/autofillservice/cts/activities/ |
D | OutOfProcessLoginActivity.java | 37 private static OutOfProcessLoginActivity sInstance; field in OutOfProcessLoginActivity 48 sInstance = this; in onCreate() 93 sInstance = null; in onDestroy() 127 Log.v(TAG, "Finishing " + sInstance); in finishIt() 128 if (sInstance != null) { in finishIt() 129 sInstance.finish(); in finishIt() 134 return sInstance != null; in hasInstance()
|
D | SecondActivity.java | 36 private static SecondActivity sInstance; field in SecondActivity 43 sInstance = this; in SecondActivity() 61 sInstance = null; in onDestroy() 65 if (sInstance != null) { in finishIt() 66 sInstance.finish(); in finishIt()
|
D | ViewActionActivity.java | 34 private static ViewActionActivity sInstance; field in ViewActionActivity 48 sInstance = this; in ViewActionActivity() 81 sInstance = null; in onDestroy() 100 if (sInstance != null) { in finishIt() 101 sInstance.finish(); in finishIt()
|
D | WelcomeActivity.java | 39 private static WelcomeActivity sInstance; field in WelcomeActivity 52 sInstance = this; in WelcomeActivity() 78 sInstance = null; in onDestroy() 93 if (sInstance != null) { in finishIt() 94 sInstance.finish(); in finishIt()
|
D | PreSimpleSaveActivity.java | 34 private static PreSimpleSaveActivity sInstance; field in PreSimpleSaveActivity 41 return sInstance; in getInstance() 45 sInstance = this; in PreSimpleSaveActivity()
|
/cts/tests/tests/telephony/current/src/android/telephony/gba/cts/ |
D | TestGbaConfig.java | 33 private static TestGbaConfig sInstance; field in TestGbaConfig 39 if (sInstance == null) { in getInstance() 40 sInstance = new TestGbaConfig(); in getInstance() 42 return sInstance; in getInstance()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/settings/ |
D | Settings.java | 22 public static final Settings sInstance = new Settings(); field in Settings 30 return SecureSettings.sInstance; in secure() 35 return GlobalSettings.sInstance; in global()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | NestedShellPermission.java | 30 private static NestedShellPermission sInstance; field in NestedShellPermission 37 if (sInstance == null) { in getInstance() 38 sInstance = new NestedShellPermission(); in getInstance() 40 return sInstance; in getInstance()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/notifications/ |
D | NeneNotificationListenerService.java | 37 private static AtomicReference<NeneNotificationListenerService> sInstance = field in NeneNotificationListenerService 44 sInstance.set(this); in onListenerConnected() 51 sInstance.set(null); in onListenerDisconnected() 57 Notifications.sInstance.onNotificationPosted(sbn); in onNotificationPosted()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | StubMediaSession2Service.java | 41 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()
|
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/ |
D | TestAcsClient.java | 35 private static TestAcsClient sInstance; field in TestAcsClient 40 if (sInstance == null) { in getInstance() 41 sInstance = new TestAcsClient(); in getInstance() 43 return sInstance; in getInstance()
|
/cts/tests/tests/provider/src/android/provider/cts/media/ |
D | MediaStoreAudioTestHelper.java | 85 private static Audio1 sInstance = new Audio1(); field in MediaStoreAudioTestHelper.Audio1 88 return sInstance; in getInstance() 148 private static Audio2 sInstance = new Audio2(); field in MediaStoreAudioTestHelper.Audio2 151 return sInstance; in getInstance() 210 private static Audio3 sInstance = new Audio3(); field in MediaStoreAudioTestHelper.Audio3 213 return sInstance; in getInstance() 228 private static Audio4 sInstance = new Audio4(); field in MediaStoreAudioTestHelper.Audio4 231 return sInstance; in getInstance() 246 private static Audio5 sInstance = new Audio5(); field in MediaStoreAudioTestHelper.Audio5 249 return sInstance; in getInstance() [all …]
|
/cts/tests/filesystem/src/android/filesystem/cts/ |
D | CarTestUtil.java | 44 private static CarTestUtil sInstance; field in CarTestUtil 57 if (sInstance == null) { in getInstance() 58 sInstance = new CarTestUtil(); in getInstance() 60 return sInstance; in getInstance()
|
/cts/tests/tests/telecom/src/android/telecom/cts/carmodetestapp/ |
D | CtsCarModeInCallService.java | 37 private static CtsCarModeInCallService sInstance = null; field in CtsCarModeInCallService 47 sInstance = this; in onBind() 57 sInstance = null; in onUnbind() 86 return sInstance; in getInstance()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/ |
D | NavigationBarInfo.java | 66 private static NavigationBarInfo sInstance; field in NavigationBarInfo 81 if (sInstance != null) { in getInstance() 82 return sInstance; in getInstance() 117 sInstance = new NavigationBarInfo(false, 0, false, false, false); in getInstance() 118 return sInstance; in getInstance() 140 sInstance = new NavigationBarInfo( in getInstance() 142 return sInstance; in getInstance()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | StatsdAuthenticator.java | 40 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/incident/apps/batterystatsapp/src/com/android/server/cts/device/batterystats/ |
D | BatteryStatsAuthenticator.java | 41 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/hostsidetests/devicepolicy/app/AccountCheck/Auth/src/com/android/cts/devicepolicy/accountcheck/ |
D | TestAuthenticator.java | 38 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/tests/tests/syncmanager/apps/app1/src/android/content/syncmanager/cts/app/ |
D | SyncManagerCtsAuthenticator.java | 42 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()
|