/frameworks/base/core/tests/coretests/src/android/text/format/ |
D | TimeMigrationUtilsTest.java | 52 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()
|
D | DateUtilsTest.java | 54 TimeZone.setDefault(TimeZone.getTimeZone("GMT")); in setup() 60 TimeZone.setDefault(mOriginalTimeZone); in teardown()
|
/frameworks/base/core/java/android/net/http/ |
D | HttpResponseCache.java | 200 ResponseCache.setDefault(responseCache); in install() 282 ResponseCache.setDefault(null); in close() 292 ResponseCache.setDefault(null); in delete()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | LocaleListTest.java | 89 LocaleList.setDefault(LocaleList.forLanguageTags("ae,en,ja"), 1 /* en */); in testGetDefault_localeSetDefaultCalledButNoChangeNecessary() 96 Locale.setDefault(Locale.forLanguageTag("ae")); in testGetDefault_localeSetDefaultCalledButNoChangeNecessary() 100 LocaleList.setDefault(originalLocaleList, originalLocaleIndex); in testGetDefault_localeSetDefaultCalledButNoChangeNecessary()
|
/frameworks/base/core/tests/coretests/src/android/text/util/ |
D | LinkifyTest.java | 59 LocaleList.setDefault(LOCALE_LIST_US); in setup() 64 LocaleList.setDefault(mOriginalLocales); in teardown()
|
/frameworks/base/core/java/android/os/ |
D | LocaleList.java | 567 public static void setDefault(@NonNull @Size(min=1) LocaleList locales) { in setDefault() method in LocaleList 568 setDefault(locales, 0); in setDefault() 580 public static void setDefault(@NonNull @Size(min=1) LocaleList locales, int localeIndex) { in setDefault() method in LocaleList 589 Locale.setDefault(sLastDefaultLocale); in setDefault()
|
/frameworks/base/libs/hwui/hwui/ |
D | Typeface.h | 84 static void setDefault(const Typeface* face);
|
D | Typeface.cpp | 176 void Typeface::setDefault(const Typeface* face) { in setDefault() function in android::Typeface 210 Typeface::setDefault(hwTypeface); in setRobotoTypefaceForTest()
|
/frameworks/base/core/java/android/net/ |
D | Proxy.java | 244 ProxySelector.setDefault(new PacProxySelector()); in setHttpProxyConfiguration() 246 ProxySelector.setDefault(sDefaultProxySelector); in setHttpProxyConfiguration()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/flags/ |
D | FakeFeatureFlags.kt | 88 fun setDefault(flag: BooleanFlag) = booleanFlags.putIfAbsent(flag.name, flag.default) in <lambda>() method in com.android.systemui.flags.FakeFeatureFlags 100 fun setDefault(flag: SysPropBooleanFlag) = booleanFlags.putIfAbsent(flag.name, flag.default) in <lambda>() method in com.android.systemui.flags.FakeFeatureFlags
|
/frameworks/base/core/java/android/app/ |
D | ConfigurationController.java | 290 LocaleList.setDefault(newLocaleList, i); in updateLocaleListFromAppContext() 298 LocaleList.setDefault(new LocaleList(bestLocale, newLocaleList)); in updateLocaleListFromAppContext()
|
/frameworks/base/media/java/android/media/ |
D | MediaHTTPService.java | 53 CookieHandler.setDefault(cookieHandler); in makeHTTPConnection()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | InCallAdapter.java | 332 boolean setDefault) { in phoneAccountSelected() argument 334 mAdapter.phoneAccountSelected(callId, accountHandle, setDefault); in phoneAccountSelected()
|
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/ |
D | ShutdownCheckPointsTest.java | 66 Locale.setDefault(Locale.UK); in setUp() 67 TimeZone.setDefault(TimeZone.getTimeZone("UTC")); in setUp()
|
/frameworks/base/telecomm/java/com/android/internal/telecom/ |
D | IInCallAdapter.aidl | 68 boolean setDefault); in phoneAccountSelected() argument
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioPolicyConfig.h | 141 void setDefault();
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/utils/ |
D | ZoneGetterTest.java | 49 Locale.setDefault(mLocaleEnUs); in setUp()
|
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/ |
D | ThemeResolverTest.java | 39 ThemeResolver.setDefault(null); in resetDefaultThemeResolver() 213 ThemeResolver.setDefault(themeResolver); in setDefault_shouldSetDefaultResolver()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPolicyConfig.cpp | 183 config->setDefault(); in createDefault() 293 void AudioPolicyConfig::setDefault() { in setDefault() function in android::AudioPolicyConfig
|
/frameworks/compile/libbcc/lib/ |
D | Compiler.cpp | 206 llvm::RegisterRegAlloc::setDefault(llvm::createFastRegisterAllocator); in config() 208 llvm::RegisterRegAlloc::setDefault(llvm::createGreedyRegisterAllocator); in config()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
D | ThemeResolver.java | 27 public static void setDefault(@Nullable ThemeResolver resolver) { in setDefault() method in ThemeResolver
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | PowerStatsSchedulerTest.java | 74 TimeZone.setDefault(TimeZone.getTimeZone("UTC")); in setup()
|
/frameworks/base/tests/Internal/src/com/android/internal/app/ |
D | AppLocaleCollectorTest.java | 80 LocaleList.setDefault( in testGetSystemCurrentLocales()
|
/frameworks/base/core/tests/coretests/src/android/database/ |
D | DatabaseGeneralTest.java | 868 Locale.setDefault(englishLocale); in testCollateLocalizedForJapanese() 869 Locale.setDefault(japaneseLocale); in testCollateLocalizedForJapanese() 882 Locale.setDefault(originalLocale); in testCollateLocalizedForJapanese()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Typeface.java | 243 private static void setDefault(Typeface t) { in setDefault() method in Typeface 1405 setDefault(sSystemFontMap.get(DEFAULT_FAMILY)); 1454 setDefault(defaults.get(0));
|