Home
last modified time | relevance | path

Searched refs:getDefault (Results 1 – 25 of 245) sorted by relevance

12345678910

/packages/apps/Messaging/src/com/android/messaging/receiver/
DMmsWapPushReceiver.java39 if (PhoneUtils.getDefault().isSmsEnabled()) { in onReceive()
41 final int subId = PhoneUtils.getDefault().getEffectiveIncomingSubIdFromSystem( in onReceive()
50 if (!PhoneUtils.getDefault().isSmsEnabled()) { in mmsReceived()
DSmsReceiver.java95 final boolean carrierSmsEnabled = PhoneUtils.getDefault().isSmsEnabled(); in updateSmsReceiveHandler()
192 int subId = PhoneUtils.getDefault().getEffectiveIncomingSubIdFromSystem( in deliverSmsIntent()
233 if (PhoneUtils.getDefault().isSmsEnabled()) { in onReceive()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionaryListPreferenceController.java127 if (!localeSet.contains(Locale.getDefault().getLanguage())) { in getUserDictionaryLocalesSet()
128 localeSet.add(Locale.getDefault().toString()); in getUserDictionaryLocalesSet()
196 newPref.setTitle(Locale.getDefault().getDisplayName()); in createUserDictionaryPreference()
197 newPref.setKey(Locale.getDefault().toString()); in createUserDictionaryPreference()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DUserDictionaryListPreferenceController.java127 if (!localeSet.contains(Locale.getDefault().getLanguage())) { in getUserDictionaryLocalesSet()
128 localeSet.add(Locale.getDefault().toString()); in getUserDictionaryLocalesSet()
196 newPref.setTitle(Locale.getDefault().getDisplayName()); in createUserDictionaryPreference()
197 newPref.setKey(Locale.getDefault().toString()); in createUserDictionaryPreference()
/packages/apps/Car/libs/car-settings-lib/src/com/android/car/settingslib/language/
DLanguagePickerUtils.java46 Locale displayLocale = countryMode ? parent.getLocale() : Locale.getDefault(); in createSuggestedLocaleAdapter()
63 return configLocale != null ? configLocale : Locale.getDefault(); in getConfiguredLocale()
65 return Locale.getDefault(); in getConfiguredLocale()
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/
DDigitalWellBeingToast.java150 return MeasureFormat.getInstance(Locale.getDefault(), formatWidthHourAndMinute) in getReadableDuration()
159 Locale.getDefault(), in getReadableDuration()
167 Locale.getDefault() in getReadableDuration()
179 Locale.getDefault(), forceFormatWidth ? formatWidthHourAndMinute : FormatWidth.WIDE) in getReadableDuration()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DParticipantData.java182 PhoneUtils.getDefault().getCanonicalBySystemLocale(pd.mSendDestination); in getFromRecipientEntry()
185 PhoneUtils.getDefault().formatForDisplay(pd.mNormalizedDestination); in getFromRecipientEntry()
239 PhoneUtils.getDefault().getCanonicalBySystemLocale(pd.mSendDestination); in getFromRawPhoneBySystemLocale()
242 PhoneUtils.getDefault().formatForDisplay(pd.mNormalizedDestination); in getFromRawPhoneBySystemLocale()
265 PhoneUtils.getDefault().formatForDisplay(pd.mNormalizedDestination); in getFromRawPhoneBySimLocale()
402 PhoneUtils.getDefault().formatForDisplay(phoneNumber); in updatePhoneNumberForSelfIfChanged()
/packages/apps/DeskClock/src/com/android/deskclock/uidata/
DFormattedStringModel.kt115 formatted = String.format(Locale.getDefault(), sign + "%0" + length + "d", value) in getFormattedNumber()
139 val format = SimpleDateFormat("ccccc", Locale.getDefault()) in getShortWeekday()
168 val format = SimpleDateFormat("EEEE", Locale.getDefault()) in getLongWeekday()
DFormattedStringModel.java122 formatted = String.format(Locale.getDefault(), sign + "%0" + length + "d", value); in getFormattedNumber()
146 final SimpleDateFormat format = new SimpleDateFormat("ccccc", Locale.getDefault()); in getShortWeekday()
175 final SimpleDateFormat format = new SimpleDateFormat("EEEE", Locale.getDefault()); in getLongWeekday()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DLocaleSet.java42 return new LocaleSet(LocaleList.getDefault(), in newDefault()
107 return Locale.getDefault(); in getPrimaryLocale()
163 return Objects.equals(mLocaleList, LocaleList.getDefault()); in isCurrent()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionaryList.java102 if (!localeSet.contains(Locale.getDefault().getLanguage().toString())) { in getUserDictionaryLocalesSet()
103 localeSet.add(Locale.getDefault().toString()); in getUserDictionaryLocalesSet()
143 newPref.setTitle(Locale.getDefault().getDisplayName()); in createUserDictionaryPreference()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/
DLocalizedTextClock.java38 setFormat12Hour(DateFormat.getBestDateTimePattern(Locale.getDefault(), in onFinishInflate()
40 setFormat24Hour(DateFormat.getBestDateTimePattern(Locale.getDefault(), in onFinishInflate()
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/
DApplicationSettingsActivity.java194 PhoneUtils.getDefault().getDefaultSmsAppLabel()); in updateSmsEnabledPreferences()
197 if (PhoneUtils.getDefault().isDefaultSmsApp()) { in updateSmsEnabledPreferences()
225 || PhoneUtils.getDefault().isDefaultSmsApp(); in updateNotificationsPreferences()
/packages/apps/Contacts/src/com/android/contacts/datepicker/
DTwoDigitFormatter.java26 final Locale locale = Locale.getDefault(); in TwoDigitFormatter()
36 final Locale currentLocale = Locale.getDefault(); in format()
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/
DDownloadCompletionReceiver.java51 Path destination = FileSystems.getDefault() in getDestinationFile()
59 Path destination = FileSystems.getDefault() in getDestinationFile()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DRtlCompatibleViewPagerTest.java62 assertThat(TextUtils.getLayoutDirectionFromLocale(Locale.getDefault())) in testRtlCompatibleInner()
71 assertThat(TextUtils.getLayoutDirectionFromLocale(Locale.getDefault())) in testRtlCompatibleInner()
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/
DEchoingTextWatcher.java78 final String lowerCase = last.toLowerCase(Locale.getDefault()); in onTextChanged()
81 final String upperCase = last.toUpperCase(Locale.getDefault()); in onTextChanged()
/packages/apps/Messaging/src/com/android/messaging/sms/
DSmsStorageStatusManager.java39 if (!PhoneUtils.getDefault().isSmsEnabled()) { in handleStorageLow()
53 if (!PhoneUtils.getDefault().isSmsEnabled()) { in handleStorageOk()
/packages/apps/TV/src/com/android/tv/util/
DCaptionSettings.java65 LocaleList locales = LocaleList.getDefault(); in getSystemPreferenceLanguageList()
70 languageList.add(Locale.getDefault().getLanguage()); in getSystemPreferenceLanguageList()
/packages/apps/Settings/src/com/android/settings/deviceinfo/firmwareversion/
DMainlineModuleVersionPreferenceController.java113 Locale.getDefault()); in parseDateFromVersionName()
114 simpleDateFormat.setTimeZone(TimeZone.getDefault()); in parseDateFromVersionName()
/packages/apps/Messaging/src/com/android/messaging/util/
DPhoneUtils.java337 return SmsManager.getDefault(); in getSmsManager()
640 public static PhoneUtils getDefault() { in getDefault() method in PhoneUtils
688 final String country = Locale.getDefault().getCountry(); in getLocaleCountry()
992 getDefault().toLMr1().getActiveSubscriptionInfoList(); in forEachActiveSubscription()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DSlicesDatabaseHelper.java209 .putBoolean(Locale.getDefault().toString(), true /* value */) in setLocaleIndexed()
222 .getBoolean(Locale.getDefault().toString(), false /* default */); in isLocaleIndexed()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DSettingsModel.kt61 get() = SettingsDAO.getHomeTimeZone(mContext, mPrefs, TimeZone.getDefault())
86 val defaultTZ = TimeZone.getDefault()
DSettingsModel.java72 return SettingsDAO.getHomeTimeZone(mContext, mPrefs, TimeZone.getDefault()); in getHomeTimeZone()
102 final TimeZone defaultTZ = TimeZone.getDefault(); in getShowHomeClock()
/packages/apps/Settings/src/com/android/settings/slices/
DSlicesDatabaseHelper.java209 .putBoolean(Locale.getDefault().toString(), true /* value */) in setLocaleIndexed()
222 .getBoolean(Locale.getDefault().toString(), false /* default */); in isLocaleIndexed()

12345678910