Searched refs:getInstance (Results 1 - 25 of 691) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/net/
H A DConnectivityThread.java36 private static synchronized ConnectivityThread getInstance() { method in class:ConnectivityThread
45 return getInstance();
49 return getInstance().getLooper();
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DPorterDuffUtility.java66 return AlphaComposite.getInstance(AlphaComposite.CLEAR, alpha1);
68 return AlphaComposite.getInstance(AlphaComposite.SRC, alpha1);
70 return AlphaComposite.getInstance(AlphaComposite.DST, alpha1);
72 return AlphaComposite.getInstance(AlphaComposite.SRC_OVER, alpha1);
74 return AlphaComposite.getInstance(AlphaComposite.DST_OVER, alpha1);
76 return AlphaComposite.getInstance(AlphaComposite.SRC_IN, alpha1);
78 return AlphaComposite.getInstance(AlphaComposite.DST_IN, alpha1);
80 return AlphaComposite.getInstance(AlphaComposite.SRC_OUT, alpha1);
82 return AlphaComposite.getInstance(AlphaComposite.DST_OUT, alpha1);
84 return AlphaComposite.getInstance(AlphaComposit
[all...]
/frameworks/base/core/java/android/webkit/
H A DCookieSyncManager.java35 * <pre class="prettyprint">CookieSyncManager.getInstance().startSync()</pre><p>
41 * CookieSyncManager.getInstance().stopSync()
49 * <pre class="prettyprint">CookieSyncManager.getInstance().sync()</pre><p>
80 public static synchronized CookieSyncManager getInstance() { method in class:CookieSyncManager
98 return getInstance();
107 CookieManager.getInstance().flush();
115 CookieManager.getInstance().flush();
152 // a hard pre-condition for calling getInstance(). We retain that contract to aid
157 + "before CookieSyncManager::getInstance()");
H A DServiceWorkerController.java27 * ServiceWorkerController swController = ServiceWorkerController.getInstance();
48 public static ServiceWorkerController getInstance() { method in class:ServiceWorkerController
H A DWebViewDatabase.java37 public static WebViewDatabase getInstance(Context context) { method in class:WebViewDatabase
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
H A DCallManagerTest.java94 CallManager.getInstance().registerPhone(mPhone);
124 CallManager.getInstance().unregisterPhone(mPhone);
130 assertEquals(mPhone, CallManager.getInstance().getDefaultPhone());
131 assertFalse(CallManager.getInstance().hasActiveBgCall());
132 assertFalse(CallManager.getInstance().hasActiveRingingCall());
133 assertFalse(CallManager.getInstance().hasActiveFgCall());
135 assertEquals(mPhone, CallManager.getInstance().getRingingPhone());
136 assertEquals(mPhone, CallManager.getInstance().getBgPhone());
137 assertEquals(mPhone, CallManager.getInstance().getFgPhone());
143 CallManager.getInstance()
[all...]
/frameworks/base/core/java/android/security/
H A DNetworkSecurityPolicy.java46 public static NetworkSecurityPolicy getInstance() { method in class:NetworkSecurityPolicy
69 return libcore.net.NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted();
79 return libcore.net.NetworkSecurityPolicy.getInstance()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
H A DTypeUtil.java51 public static TypeUtil getInstance() { method in class:TypeUtil
53 sInstance = ModelAnalyzer.getInstance().createTypeUtil();
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiInjector.java31 public static WifiInjector getInstance() { method in class:WifiInjector
41 private final KeyStore mKeyStore = KeyStore.getInstance();
/frameworks/base/core/tests/coretests/src/android/content/res/
H A DConfigurationBoundResourceCacheTest.java45 assertNull(mCache.getInstance(-1, res, null));
52 assertEquals(5f, mCache.getInstance(1, res, null));
53 assertNotSame(5f, mCache.getInstance(1, res, null));
54 assertEquals(null, mCache.getInstance(1, res, getActivity().getTheme()));
61 assertEquals(null, mCache.getInstance(1, res, null));
62 assertEquals(5f, mCache.getInstance(1, res, getActivity().getTheme()));
63 assertNotSame(5f, mCache.getInstance(1, res, getActivity().getTheme()));
71 assertEquals(10f, mCache.getInstance(1, res, null));
72 assertNotSame(10f, mCache.getInstance(1, res, null));
73 assertEquals(5f, mCache.getInstance(
[all...]
/frameworks/av/services/audiopolicy/enginedefault/src/
H A DEngineInstance.cpp30 EngineInstance *EngineInstance::getInstance() function in class:android::audio_policy::EngineInstance
/frameworks/base/core/java/android/text/
H A DSpannable.java58 public static Spannable.Factory getInstance() { method in class:Spannable.Factory
/frameworks/base/core/java/android/text/method/
H A DDateKeyListener.java42 public static DateKeyListener getInstance() { method in class:DateKeyListener
H A DDateTimeKeyListener.java42 public static DateTimeKeyListener getInstance() { method in class:DateTimeKeyListener
H A DHideReturnsTransformationMethod.java43 public static HideReturnsTransformationMethod getInstance() { method in class:HideReturnsTransformationMethod
H A DSingleLineTransformationMethod.java44 public static SingleLineTransformationMethod getInstance() { method in class:SingleLineTransformationMethod
H A DTimeKeyListener.java42 public static TimeKeyListener getInstance() { method in class:TimeKeyListener
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DLinearLayoutGridTest.java48 FocusFinder.getInstance().findNextFocus(
57 FocusFinder.getInstance().findNextFocus(
66 FocusFinder.getInstance().findNextFocus(
75 FocusFinder.getInstance().findNextFocus(
/frameworks/base/libs/hwui/tests/unit/
H A DLeakCheckTests.cpp43 Caches& caches = Caches::getInstance();
46 sLightGeometery, Caches::getInstance());
60 Caches& caches = Caches::getInstance();
63 sLightGeometery, Caches::getInstance());
H A DBakedOpRendererTests.cpp27 BakedOpRenderer renderer(Caches::getInstance(), renderThread.renderState(), true, sLightInfo);
28 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 200u, 200u);
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/
H A DSdkVersionTest.java36 ModelClass view = ModelAnalyzer.getInstance().findClass("android.widget.TextView", null);
47 ModelClass view = ModelAnalyzer.getInstance().findClass("android.view.View", null);
54 ModelClass view = ModelAnalyzer.getInstance()
62 ModelClass view = ModelAnalyzer.getInstance()
/frameworks/base/libs/hwui/
H A DImage.cpp40 Caches::getInstance().textureState().bindTexture(mTexture);
55 Caches::getInstance().textureState().deleteTexture(mTexture);
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
H A DUsbIntentReceiver.java34 MtpDocumentsProvider.getInstance().resumeRootScanner();
38 MtpDocumentsProvider.getInstance().closeDevice(device.getDeviceId());
/frameworks/base/packages/SystemUI/src/com/android/systemui/tv/pip/
H A DPipUI.java41 PipManager pipManager = PipManager.getInstance();
51 PipManager.getInstance().onConfigurationChanged();
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DDateUtils.java40 Calendar c = Calendar.getInstance(tz);
57 Calendar c = Calendar.getInstance();

Completed in 640 milliseconds

1234567891011>>