Searched refs:sInstance (Results 26 - 50 of 59) sorted by relevance

123

/frameworks/base/core/java/android/view/textservice/
H A DTextServicesManager.java68 private static TextServicesManager sInstance; field in class:TextServicesManager
84 if (sInstance != null) {
85 return sInstance;
87 sInstance = new TextServicesManager();
89 return sInstance;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DRilMessageDecoder.java38 private static RilMessageDecoder sInstance = null; field in class:RilMessageDecoder
55 if (sInstance == null) {
56 sInstance = new RilMessageDecoder(caller, fh);
57 sInstance.start();
59 return sInstance;
H A DCatService.java75 private static CatService sInstance; field in class:CatService
550 if (sInstance == null) {
557 sInstance = new CatService(ci, ca, ir, context, fh, ic);
558 CatLog.d(sInstance, "NEW sInstance");
561 mIccRecords.unregisterForRecordsLoaded(sInstance);
565 mUiccApplication.unregisterForReady(sInstance);
567 CatLog.d(sInstance,
573 mIccRecords.registerForRecordsLoaded(sInstance, MSG_ID_ICC_RECORDS_LOADED, null);
574 mUiccApplication.registerForReady(sInstance, MSG_ID_SIM_READ
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardTouchDelegate.java44 private static KeyguardTouchDelegate sInstance; field in class:KeyguardTouchDelegate
63 sInstance = null; // force reconnection if this goes away
80 KeyguardTouchDelegate instance = sInstance;
82 instance = sInstance = new KeyguardTouchDelegate(context);
/frameworks/base/core/java/com/android/internal/view/
H A DInputConnectionWrapper.java46 private static InputContextCallback sInstance = new InputContextCallback(); field in class:InputConnectionWrapper.InputContextCallback
57 // Return sInstance if it's non-null, otherwise construct a new callback
59 if (sInstance != null) {
60 callback = sInstance;
61 sInstance = null;
80 // If sInstance is non-null, just let this object be garbage-collected
81 if (sInstance == null) {
86 sInstance = this;
/frameworks/base/core/java/android/text/method/
H A DPasswordTransformationMethod.java64 if (sInstance != null)
65 return sInstance;
67 sInstance = new PasswordTransformationMethod();
68 return sInstance;
265 private static PasswordTransformationMethod sInstance; field in class:PasswordTransformationMethod
H A DLinkMovementMethod.java251 if (sInstance == null)
252 sInstance = new LinkMovementMethod();
254 return sInstance;
257 private static LinkMovementMethod sInstance; field in class:LinkMovementMethod
H A DMultiTapKeyListener.java38 private static MultiTapKeyListener[] sInstance = field in class:MultiTapKeyListener
74 if (sInstance[off] == null) {
75 sInstance[off] = new MultiTapKeyListener(cap, autotext);
78 return sInstance[off];
H A DArrowKeyMovementMethod.java318 if (sInstance == null) {
319 sInstance = new ArrowKeyMovementMethod();
322 return sInstance;
326 private static ArrowKeyMovementMethod sInstance; field in class:ArrowKeyMovementMethod
H A DQwertyKeyListener.java36 private static QwertyKeyListener[] sInstance = field in class:QwertyKeyListener
61 if (sInstance[off] == null) {
62 sInstance[off] = new QwertyKeyListener(cap, autoText);
65 return sInstance[off];
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DResourceModifiers.java49 private static ResourceModifiers sInstance = null; field in class:ResourceModifiers
50 public static ResourceModifiers instance() { return sInstance; }
52 sInstance = new ResourceModifiers(resources);
/frameworks/base/core/java/android/net/
H A DEthernetDataTracker.java57 private static EthernetDataTracker sInstance; field in class:EthernetDataTracker
185 if (sInstance == null) sInstance = new EthernetDataTracker();
186 return sInstance;
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityManager.java80 private static AccessibilityManager sInstance; field in class:AccessibilityManager
166 if (sInstance == null) {
181 sInstance = new AccessibilityManager(context, service, userId);
184 return sInstance;
/frameworks/opt/mms/src/java/com/google/android/mms/util/
H A DPduCache.java50 private static PduCache sInstance; field in class:PduCache
85 if (sInstance == null) {
89 sInstance = new PduCache();
91 return sInstance;
/frameworks/base/core/java/android/ddm/
H A DDdmHandleViewDebug.java91 private static final DdmHandleViewDebug sInstance = new DdmHandleViewDebug(); field in class:DdmHandleViewDebug
97 DdmServer.registerHandler(CHUNK_VUGL, sInstance);
98 DdmServer.registerHandler(CHUNK_VULW, sInstance);
99 DdmServer.registerHandler(CHUNK_VURT, sInstance);
100 DdmServer.registerHandler(CHUNK_VUOP, sInstance);
/frameworks/base/core/java/android/net/http/
H A DCertificateChainValidator.java46 private static final CertificateChainValidator sInstance field in class:CertificateChainValidator
56 return sInstance;
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothTetheringDataTracker.java76 private static BluetoothTetheringDataTracker sInstance; field in class:BluetoothTetheringDataTracker
90 if (sInstance == null) sInstance = new BluetoothTetheringDataTracker();
91 return sInstance;
/frameworks/base/core/java/android/hardware/display/
H A DDisplayManagerGlobal.java62 private static DisplayManagerGlobal sInstance; field in class:DisplayManagerGlobal
89 if (sInstance == null) {
92 sInstance = new DisplayManagerGlobal(IDisplayManager.Stub.asInterface(b));
95 return sInstance;
/frameworks/base/core/java/android/os/
H A DUserManager.java150 private static UserManager sInstance = null; field in class:UserManager
154 if (sInstance == null) {
155 sInstance = (UserManager) context.getSystemService(Context.USER_SERVICE);
157 return sInstance;
/frameworks/base/core/java/android/text/
H A DAutoText.java58 private static AutoText sInstance = new AutoText(Resources.getSystem()); field in class:AutoText
93 instance = sInstance;
97 sInstance = instance;
/frameworks/base/core/java/android/hardware/input/
H A DInputManager.java58 private static InputManager sInstance; field in class:InputManager
186 if (sInstance == null) {
188 sInstance = new InputManager(IInputManager.Stub.asInterface(b));
190 return sInstance;
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialog.java197 sort(RouteComparator.sInstance);
266 public static final RouteComparator sInstance = new RouteComparator(); field in class:MediaRouteChooserDialog.RouteComparator
/frameworks/opt/telephony/src/java/android/telephony/
H A DSmsManager.java49 private static final SmsManager sInstance = new SmsManager(); field in class:SmsManager
261 return sInstance;
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteChooserDialog.java181 sort(RouteComparator.sInstance);
250 public static final RouteComparator sInstance = new RouteComparator(); field in class:MediaRouteChooserDialog.RouteComparator
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareImpl.java44 private static GeofenceHardwareImpl sInstance; field in class:GeofenceHardwareImpl
91 if (sInstance == null) {
92 sInstance = new GeofenceHardwareImpl(context);
94 return sInstance;

Completed in 3210 milliseconds

123