Searched refs:sInstance (Results 76 - 100 of 133) sorted by relevance

123456

/frameworks/hardware/interfaces/sensorservice/libsensorndkbridge/
H A DASensorManager.h60 static ASensorManager *sInstance; member in struct:ASensorManager
/frameworks/opt/telephony/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/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DCatService.java86 private static CatService[] sInstance = null; field in class:CatService
205 if (sInstance == null) {
207 sInstance = new CatService[simCount];
209 sInstance[i] = null;
212 if (sInstance[slotId] == null) {
218 sInstance[slotId] = new CatService(ci, ca, ir, context, fh, ic, slotId);
221 mIccRecords.unregisterForRecordsLoaded(sInstance[slotId]);
227 mIccRecords.registerForRecordsLoaded(sInstance[slotId],
229 CatLog.d(sInstance[slotId], "registerForRecordsLoaded slotid=" + slotId
230 + " instance:" + sInstance[slotI
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyboardShortcuts.java82 private static KeyboardShortcuts sInstance; field in class:KeyboardShortcuts
136 if (sInstance == null) {
137 sInstance = new KeyboardShortcuts(context);
139 return sInstance;
146 if (sInstance != null && !sInstance.mContext.equals(context)) {
165 if (sInstance != null) {
166 MetricsLogger.hidden(sInstance.mContext,
168 sInstance.dismissKeyboardShortcuts();
169 sInstance
[all...]
/frameworks/support/media-compat/tests/src/android/support/v4/media/
H A DStubMediaBrowserServiceCompat.java56 static StubMediaBrowserServiceCompat sInstance; field in class:StubMediaBrowserServiceCompat
70 sInstance = this;
/frameworks/base/core/java/android/ddm/
H A DDdmHandleViewDebug.java90 private static final DdmHandleViewDebug sInstance = new DdmHandleViewDebug(); field in class:DdmHandleViewDebug
96 DdmServer.registerHandler(CHUNK_VULW, sInstance);
97 DdmServer.registerHandler(CHUNK_VURT, sInstance);
98 DdmServer.registerHandler(CHUNK_VUOP, sInstance);
/frameworks/base/core/java/android/text/method/
H A DArrowKeyMovementMethod.java328 if (sInstance == null) {
329 sInstance = new ArrowKeyMovementMethod();
332 return sInstance;
336 private static ArrowKeyMovementMethod sInstance; field in class:ArrowKeyMovementMethod
H A DQwertyKeyListener.java41 private static QwertyKeyListener[] sInstance = field in class:QwertyKeyListener
66 if (sInstance[off] == null) {
67 sInstance[off] = new QwertyKeyListener(cap, autoText);
70 return sInstance[off];
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/
H A DDataCollector.java74 private static DataCollector sInstance = null; field in class:DataCollector
105 if (sInstance == null) {
106 sInstance = new DataCollector(context);
108 return sInstance;
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
H A DFalsingManager.java72 private static FalsingManager sInstance = null; field in class:FalsingManager
107 if (sInstance == null) {
108 sInstance = new FalsingManager(context);
110 return sInstance;
/frameworks/base/core/java/android/text/
H A DAutoText.java57 private static AutoText sInstance = new AutoText(Resources.getSystem()); field in class:AutoText
92 instance = sInstance;
96 sInstance = instance;
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DResourceModifiers.java58 private static ResourceModifiers sInstance = null; field in class:ResourceModifiers
59 public static ResourceModifiers instance() { return sInstance; }
61 sInstance = new ResourceModifiers(resources);
/frameworks/av/camera/ndk/impl/
H A DACameraManager.cpp37 CameraManagerGlobal* CameraManagerGlobal::sInstance = nullptr; member in class:android::CameraManagerGlobal
42 CameraManagerGlobal* instance = sInstance;
45 sInstance = instance;
51 // clear sInstance so next getInstance call knows to create a new one
53 sInstance = nullptr;
H A DACameraManager.h148 static CameraManagerGlobal* sInstance; member in class:android::final
/frameworks/base/core/java/android/hardware/display/
H A DDisplayManagerGlobal.java65 private static DisplayManagerGlobal sInstance; field in class:DisplayManagerGlobal
92 if (sInstance == null) {
95 sInstance = new DisplayManagerGlobal(IDisplayManager.Stub.asInterface(b));
98 return sInstance;
/frameworks/base/packages/Osu/src/com/android/hotspot2/
H A DOMADMAdapter.java47 private static OMADMAdapter sInstance; field in class:OMADMAdapter
115 if (sInstance == null) {
116 sInstance = new OMADMAdapter(context);
118 return sInstance;
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/dream/
H A DDreamBackend.java90 private static DreamBackend sInstance; field in class:DreamBackend
93 if (sInstance == null) {
94 sInstance = new DreamBackend(context);
96 return sInstance;
/frameworks/base/core/java/com/android/internal/app/
H A DMediaRouteChooserDialog.java205 sort(RouteComparator.sInstance);
274 public static final RouteComparator sInstance = new RouteComparator(); field in class:MediaRouteChooserDialog.RouteComparator
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
H A DWindowManagerProxy.java40 private static final WindowManagerProxy sInstance = new WindowManagerProxy(); field in class:WindowManagerProxy
153 return sInstance;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
H A DEuiccController.java67 private static EuiccController sInstance; field in class:EuiccController
78 if (sInstance == null) {
79 sInstance = new EuiccController(context);
81 Log.wtf(TAG, "init() called multiple times! sInstance = " + sInstance);
84 return sInstance;
89 if (sInstance == null) {
91 if (sInstance == null) {
96 return sInstance;
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DBackgroundHelper.java53 static BitmapCache sInstance = new BitmapCache(); field in class:BackgroundHelper.BitmapCache
82 return sInstance;
/frameworks/support/media-compat-test-service/tests/src/android/support/mediacompat/service/
H A DStubMediaBrowserServiceCompat.java48 public static StubMediaBrowserServiceCompat sInstance; field in class:StubMediaBrowserServiceCompat
62 sInstance = this;
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DBackgroundHelper.java53 static BitmapCache sInstance = new BitmapCache(); field in class:BackgroundHelper.BitmapCache
82 return sInstance;
/frameworks/av/media/libmedia/
H A DMediaProfiles.cpp37 MediaProfiles *MediaProfiles::sInstance = NULL; member in class:android::MediaProfiles
608 sInstance = createDefaultInstance();
610 sInstance = createInstanceFromXmlFile(xmlFile);
613 sInstance = createInstanceFromXmlFile(value);
615 CHECK(sInstance != NULL);
616 sInstance->checkAndAddRequiredProfilesIfNecessary();
620 return sInstance;
/frameworks/base/core/java/android/hardware/input/
H A DInputManager.java68 private static InputManager sInstance; field in class:InputManager
227 if (sInstance == null) {
229 sInstance = new InputManager(IInputManager.Stub
235 return sInstance;

Completed in 783 milliseconds

123456