Home
last modified time | relevance | path

Searched refs:setDefault (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/text/format/
DTimeMigrationUtilsTest.java52 Locale.setDefault(mDefaultLocale); in tearDown()
53 TimeZone.setDefault(mDefaultTimeZone); in tearDown()
58 Locale.setDefault(Locale.UK); in formatMillisWithFixedFormat_fixes2038Issue()
59 TimeZone.setDefault(TimeZone.getTimeZone("UTC")); in formatMillisWithFixedFormat_fixes2038Issue()
103 Locale.setDefault(locale); in formatMillisAsDateTime_matchesOldBehavior()
106 TimeZone.setDefault(timeZone); in formatMillisAsDateTime_matchesOldBehavior()
DDateUtilsTest.java54 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in setup()
60 TimeZone.setDefault(mOriginalTimeZone); in teardown()
DFormatterTest.java239 Locale.setDefault(locale); in setLocale()
/frameworks/base/core/tests/coretests/src/android/os/
DLocaleListTest.java71 LocaleList.setDefault(LocaleList.forLanguageTags("ae,en,ja"), 1 /* en */); in testGetDefault_localeSetDefaultCalledButNoChangeNecessary()
78 Locale.setDefault(Locale.forLanguageTag("ae")); in testGetDefault_localeSetDefaultCalledButNoChangeNecessary()
82 LocaleList.setDefault(originalLocaleList, originalLocaleIndex); in testGetDefault_localeSetDefaultCalledButNoChangeNecessary()
/frameworks/base/core/java/android/net/http/
DHttpResponseCache.java200 ResponseCache.setDefault(responseCache); in install()
282 ResponseCache.setDefault(null); in close()
292 ResponseCache.setDefault(null); in delete()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunking/
DSingleStreamDiffScriptWriterTest.java59 Locale.setDefault(mDefaultLocale); in tearDown()
102 Locale.setDefault(HINDI); in writeChunk_formatsByteIndexesUsingArabicNumbers()
/frameworks/base/core/java/android/os/
DLocaleList.java536 public static void setDefault(@NonNull @Size(min=1) LocaleList locales) { in setDefault() method in LocaleList
537 setDefault(locales, 0); in setDefault()
549 public static void setDefault(@NonNull @Size(min=1) LocaleList locales, int localeIndex) { in setDefault() method in LocaleList
558 Locale.setDefault(sLastDefaultLocale); in setDefault()
/frameworks/base/core/tests/coretests/src/android/text/util/
DLinkifyTest.java59 LocaleList.setDefault(LOCALE_LIST_US); in setup()
64 LocaleList.setDefault(mOriginalLocales); in teardown()
/frameworks/base/libs/hwui/hwui/
DTypeface.h80 static void setDefault(const Typeface* face);
DTypeface.cpp171 void Typeface::setDefault(const Typeface* face) { in setDefault() function in android::Typeface
203 Typeface::setDefault(hwTypeface); in setRobotoTypefaceForTest()
/frameworks/base/core/java/android/net/
DProxy.java286 ProxySelector.setDefault(new PacProxySelector()); in setHttpProxySystemProperty()
288 ProxySelector.setDefault(sDefaultProxySelector); in setHttpProxySystemProperty()
/frameworks/base/telecomm/java/android/telecom/
DInCallAdapter.java295 boolean setDefault) { in phoneAccountSelected() argument
297 mAdapter.phoneAccountSelected(callId, accountHandle, setDefault); in phoneAccountSelected()
/frameworks/base/media/java/android/media/
DMediaHTTPService.java49 CookieHandler.setDefault(cookieHandler); in makeHTTPConnection()
/frameworks/base/telecomm/java/com/android/internal/telecom/
DIInCallAdapter.aidl64 boolean setDefault); in phoneAccountSelected() argument
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DThemeResolverTest.java39 ThemeResolver.setDefault(null); in resetDefaultThemeResolver()
213 ThemeResolver.setDefault(themeResolver); in setDefault_shouldSetDefaultResolver()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/utils/
DZoneGetterTest.java49 Locale.setDefault(mLocaleEnUs); in setUp()
/frameworks/compile/libbcc/lib/
DCompiler.cpp206 llvm::RegisterRegAlloc::setDefault(llvm::createFastRegisterAllocator); in config()
208 llvm::RegisterRegAlloc::setDefault(llvm::createGreedyRegisterAllocator); in config()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyConfig.h126 void setDefault(void) in setDefault() function
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DThemeResolver.java27 public static void setDefault(@Nullable ThemeResolver resolver) { in setDefault() method in ThemeResolver
/frameworks/base/libs/hwui/jni/
DTypeface.cpp107 Typeface::setDefault(toTypeface(faceHandle)); in Typeface_setDefault()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsState.java1319 public boolean update(String value, boolean setDefault, String packageName, String tag, in update() argument
1321 return update(value, setDefault, packageName, tag, forceNonSystemPackage, in update()
1325 private boolean update(String value, boolean setDefault, String packageName, String tag, in update() argument
1336 setDefault = true; in update()
1341 if (setDefault) { in update()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiCountryCodeTest.java237 Locale.setDefault(new Locale("tr")); in useUSLocaleForConversionToUpperCase()
/frameworks/base/core/tests/coretests/src/android/database/
DDatabaseGeneralTest.java868 Locale.setDefault(englishLocale); in testCollateLocalizedForJapanese()
869 Locale.setDefault(japaneseLocale); in testCollateLocalizedForJapanese()
882 Locale.setDefault(originalLocale); in testCollateLocalizedForJapanese()
/frameworks/base/libs/hwui/tests/unit/
DTypefaceTests.cpp78 Typeface::setDefault(regular.get()); in TEST()
81 Typeface::setDefault(old); // Restore to the original. in TEST()
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp43 manager.getConfig().setDefault(); in TEST()
52 manager.getConfig().setDefault(); in TEST()
131 mManager->getConfig().setDefault(); in SetUpManagerConfig()

12