/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
H A D | PorterDuffUtility.java | 64 return AlphaComposite.getInstance(AlphaComposite.CLEAR, alpha1); 66 return AlphaComposite.getInstance(AlphaComposite.SRC, alpha1); 68 return AlphaComposite.getInstance(AlphaComposite.DST, alpha1); 70 return AlphaComposite.getInstance(AlphaComposite.SRC_OVER, alpha1); 72 return AlphaComposite.getInstance(AlphaComposite.DST_OVER, alpha1); 74 return AlphaComposite.getInstance(AlphaComposite.SRC_IN, alpha1); 76 return AlphaComposite.getInstance(AlphaComposite.DST_IN, alpha1); 78 return AlphaComposite.getInstance(AlphaComposite.SRC_OUT, alpha1); 80 return AlphaComposite.getInstance(AlphaComposite.DST_OUT, alpha1); 82 return AlphaComposite.getInstance(AlphaComposit [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | CallManagerTest.java | 94 CallManager.getInstance().registerPhone(mPhone); 124 CallManager.getInstance().unregisterPhone(mPhone); 131 assertEquals(mPhone, CallManager.getInstance().getDefaultPhone()); 132 assertFalse(CallManager.getInstance().hasActiveBgCall()); 133 assertFalse(CallManager.getInstance().hasActiveRingingCall()); 134 assertFalse(CallManager.getInstance().hasActiveFgCall()); 136 assertEquals(mPhone, CallManager.getInstance().getRingingPhone()); 137 assertEquals(mPhone, CallManager.getInstance().getBgPhone()); 138 assertEquals(mPhone, CallManager.getInstance().getFgPhone()); 144 CallManager.getInstance() [all...] |
/frameworks/base/core/java/android/webkit/ |
H A D | CookieSyncManager.java | 35 * <pre class="prettyprint">CookieSyncManager.getInstance().startSync()</pre><p> 41 * CookieSyncManager.getInstance().stopSync() 49 * <pre class="prettyprint">CookieSyncManager.getInstance().sync()</pre><p> 81 public static CookieSyncManager getInstance() { method in class:CookieSyncManager 102 return getInstance(); 112 CookieManager.getInstance().flush(); 120 CookieManager.getInstance().flush(); 157 // a hard pre-condition for calling getInstance(). We retain that contract to aid 162 + "before CookieSyncManager::getInstance()");
|
H A D | ServiceWorkerController.java | 27 * ServiceWorkerController swController = ServiceWorkerController.getInstance(); 48 public static ServiceWorkerController getInstance() { method in class:ServiceWorkerController
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | BinderCallsStatsService.java | 46 BinderCallsStats.getInstance().setDetailedTracking(true); 52 BinderCallsStats.getInstance().reset(); 68 BinderCallsStats.getInstance().setDetailedTracking(true); 73 BinderCallsStats.getInstance().setDetailedTracking(false); 87 BinderCallsStats.getInstance().dump(pw);
|
/frameworks/minikin/libs/minikin/ |
H A D | HyphenatorMap.h | 35 getInstance().addInternal(localeStr, hyphenator); 39 getInstance().addAliasInternal(fromLocaleStr, toLocaleStr); 43 static void clear() { getInstance().clearInternal(); } 56 return getInstance().lookupInternal(locale); 61 HyphenatorMap(); // Use getInstance() instead. 67 static HyphenatorMap& getInstance() { // Singleton. function in class:minikin::HyphenatorMap
|
H A D | LocaleListCache.h | 42 return getInstance().getIdInternal(locales); 47 return getInstance().getByIdInternal(id); 58 static LocaleListCache& getInstance() { function in class:minikin::LocaleListCache
|
/frameworks/base/core/java/android/security/ |
H A D | NetworkSecurityPolicy.java | 45 public static NetworkSecurityPolicy getInstance() { method in class:NetworkSecurityPolicy 69 return libcore.net.NetworkSecurityPolicy.getInstance().isCleartextTrafficPermitted(); 79 return libcore.net.NetworkSecurityPolicy.getInstance()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | CertificateVerifier.java | 46 CertificateFactory factory = CertificateFactory.getInstance("X.509"); 48 CertPathValidator.getInstance(CertPathValidator.getDefaultType()); 51 KeyStore ks = KeyStore.getInstance("AndroidCAStore");
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/ |
H A D | TypeUtil.java | 51 public static TypeUtil getInstance() { method in class:TypeUtil 53 sInstance = ModelAnalyzer.getInstance().createTypeUtil();
|
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/utils/taskexecutor/ |
H A D | InstantTaskExecutorRule.java | 32 WorkManagerTaskExecutor.getInstance().setTaskExecutor(new TaskExecutor() { 48 WorkManagerTaskExecutor.getInstance().setTaskExecutor(null);
|
/frameworks/support/work/workmanager-firebase/src/androidTest/java/androidx/work/impl/utils/taskexecutor/ |
H A D | InstantTaskExecutorRule.java | 32 WorkManagerTaskExecutor.getInstance().setTaskExecutor(new TaskExecutor() { 48 WorkManagerTaskExecutor.getInstance().setTaskExecutor(null);
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
H A D | ConfigurationBoundResourceCacheTest.java | 45 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 D | EngineInstance.cpp | 30 EngineInstance *EngineInstance::getInstance() function in class:android::audio_policy::EngineInstance
|
/frameworks/base/core/java/android/os/ |
H A D | NullVibrator.java | 32 public static NullVibrator getInstance() { method in class:NullVibrator
|
/frameworks/base/core/java/android/text/method/ |
H A D | HideReturnsTransformationMethod.java | 43 public static HideReturnsTransformationMethod getInstance() { method in class:HideReturnsTransformationMethod
|
H A D | SingleLineTransformationMethod.java | 44 public static SingleLineTransformationMethod getInstance() { method in class:SingleLineTransformationMethod
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | LinearLayoutGridTest.java | 48 FocusFinder.getInstance().findNextFocus( 57 FocusFinder.getInstance().findNextFocus( 66 FocusFinder.getInstance().findNextFocus( 75 FocusFinder.getInstance().findNextFocus(
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | LeakCheckTests.cpp | 42 Caches& caches = Caches::getInstance(); 45 Caches::getInstance()); 58 Caches& caches = Caches::getInstance(); 61 Caches::getInstance());
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/ |
H A D | PipUI.java | 50 final int processUser = SystemServicesProxy.getInstance(mContext).getProcessUser(); 51 if (!SystemServicesProxy.getInstance(mContext).isSystemUser(processUser)) { 56 ? com.android.systemui.pip.tv.PipManager.getInstance() 57 : com.android.systemui.pip.phone.PipManager.getInstance();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | SysUiTaskStackChangeListener.java | 32 int currentUserId = SystemServicesProxy.getInstance(context).getCurrentUser();
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/ |
H A D | SdkVersionTest.java | 36 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/rs/rsov/compiler/unit_tests/ |
H A D | TestRunner.h | 35 static TestRunnerContext &getInstance() { function in class:rs2spirv::TestRunnerContext 40 static void addTest(TestCase TC) { getInstance().tests.push_back(TC); } 41 static size_t &getCheckSuccessNum() { return getInstance().checkSuccessNum; } 42 static size_t &getTotalCheckNum() { return getInstance().totalCheckNum; } 46 for (auto &TC : getInstance().tests) {
|
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/widget/ |
H A D | EmojiEditableFactoryTest.java | 46 final Editable.Factory instance = EmojiEditableFactory.getInstance(); 49 final Editable.Factory instance2 = EmojiEditableFactory.getInstance(); 55 final Editable editable = EmojiEditableFactory.getInstance().newEditable("abc"); 68 final Editable editable = EmojiEditableFactory.getInstance().newEditable(str); 88 final Editable editable = EmojiEditableFactory.getInstance().newEditable(""); 91 final Editable editable = EmojiEditableFactory.getInstance().newEditable("");
|
/frameworks/av/media/libaudiohal/ |
H A D | HalDeathHandlerHidl.cpp | 29 sp<HalDeathHandler> HalDeathHandler::getInstance() { function in class:android::HalDeathHandler 30 return &Singleton<HalDeathHandler>::getInstance();
|