Home
last modified time | relevance | path

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

123456789

/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DParticipantData.java176 PhoneUtils.getDefault().getCanonicalBySystemLocale(pd.mSendDestination); in getFromRecipientEntry()
179 PhoneUtils.getDefault().formatForDisplay(pd.mNormalizedDestination); in getFromRecipientEntry()
233 PhoneUtils.getDefault().getCanonicalBySystemLocale(pd.mSendDestination); in getFromRawPhoneBySystemLocale()
236 PhoneUtils.getDefault().formatForDisplay(pd.mNormalizedDestination); in getFromRawPhoneBySystemLocale()
259 PhoneUtils.getDefault().formatForDisplay(pd.mNormalizedDestination); in getFromRawPhoneBySimLocale()
368 PhoneUtils.getDefault().formatForDisplay(phoneNumber); in updatePhoneNumberForSelfIfChanged()
/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()
191 int subId = PhoneUtils.getDefault().getEffectiveIncomingSubIdFromSystem( in deliverSmsIntent()
232 if (PhoneUtils.getDefault().isSmsEnabled()) { in onReceive()
/packages/apps/TV/src/com/android/tv/data/
DChannelLogoFetcher.java143 .setDisplayName(c.getString(1).toUpperCase(Locale.getDefault())) in doInBackground()
298 data[INDEX_NAME].toUpperCase(Locale.getDefault()), in readTmsFile()
301 data[INDEX_SHORT_NAME].toUpperCase(Locale.getDefault()), in readTmsFile()
304 data[INDEX_CALL_SIGN].toUpperCase(Locale.getDefault()), in readTmsFile()
/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/apps/DeskClock/src/com/android/deskclock/uidata/
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/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()
DUserDictionaryAddWordContents.java116 mLocale = null == locale ? Locale.getDefault().toString() : locale; in updateLocale()
259 final String systemLocale = Locale.getDefault().toString(); in getLocalesList()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionaryList.java128 if (!localeSet.contains(Locale.getDefault().getLanguage().toString())) { in getUserDictionaryLocalesSet()
129 localeSet.add(Locale.getDefault().toString()); in getUserDictionaryLocalesSet()
173 newPref.setTitle(Locale.getDefault().getDisplayName()); in createUserDictionaryPreference()
DUserDictionaryAddWordContents.java96 mLocale = null == locale ? Locale.getDefault().toString() : locale; in updateLocale()
236 final String systemLocale = Locale.getDefault().toString(); in getLocalesList()
/packages/apps/UnifiedEmail/src/com/android/mail/photomanager/
DLetterTileProvider.java122 private Bitmap getBitmap(final Dimensions d, boolean getDefault) { in getBitmap() argument
138 final Bitmap[] cache = (getDefault) ? mDefaultBitmapCache : mBitmapBackgroundCache; in getBitmap()
145 if (getDefault) { in getBitmap()
/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/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/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/apps/Messaging/src/com/android/messaging/sms/
DSmsStorageStatusManager.java39 if (!PhoneUtils.getDefault().isSmsEnabled()) { in handleStorageLow()
53 if (!PhoneUtils.getDefault().isSmsEnabled()) { in handleStorageOk()
DMmsConfig.java112 final int realSubId = PhoneUtils.getDefault().getEffectiveSubId(subId); in get()
153 PhoneUtils.getDefault().toLMr1().getActiveSubscriptionInfoList(); in load()
/packages/services/Telephony/src/com/android/services/telephony/
DEmergencyCallHelper.java57 for (int i = 0; i < TelephonyManager.getDefault().getPhoneCount(); i++) { in setupListeners()
80 for (int i = 0; i < TelephonyManager.getDefault().getPhoneCount(); i++) { in enableEmergencyCalling()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DProcessPendingMessagesAction.java78 final boolean isDefaultSmsApp = PhoneUtils.getDefault().isDefaultSmsApp(); in scheduleProcessPendingMessagesAction()
284 if (PhoneUtils.getDefault().isDefaultSmsApp()) { in executeAction()
346 .getOrCreateSelf(db, PhoneUtils.getDefault() in findNextMessageToSend()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DRtlCompatibleViewPagerTest.java65 assertThat(TextUtils.getLayoutDirectionFromLocale(Locale.getDefault())) in testRtlCompatibleInner()
74 assertThat(TextUtils.getLayoutDirectionFromLocale(Locale.getDefault())) in testRtlCompatibleInner()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DSettingsModel.java72 return SettingsDAO.getHomeTimeZone(mContext, mPrefs, TimeZone.getDefault()); in getHomeTimeZone()
102 final TimeZone defaultTZ = TimeZone.getDefault(); in getShowHomeClock()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DCalendarInteractionUtils.java59 Formatter f = new Formatter(new StringBuilder(50), Locale.getDefault()); in getDisplayedDatetime()
186 Formatter f = new Formatter(sb, Locale.getDefault()); in formatDateRange()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DRatingSystemsFragment.java89 && s.getCountries().contains(Locale.getDefault().getCountry())) { in getItemList()
140 && s.getCountries().contains(Locale.getDefault().getCountry())) { in setDefaultRatingSystemsIfNeeded()
/packages/apps/DeskClock/src/com/android/deskclock/
DUtils.java365 final Locale l = Locale.getDefault(); in updateDate()
398 String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), in get12ModeFormat()
424 return DateFormat.getBestDateTimePattern(Locale.getDefault(), in get24ModeFormat()
/packages/apps/DeskClock/src/com/android/alarmclock/
DDigitalAppWidgetCityViewsFactory.java191 final Calendar localCal = Calendar.getInstance(TimeZone.getDefault());
197 final Locale locale = Locale.getDefault();
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DLocaleSetTest.java26 final Locale previousDefault = Locale.getDefault(); in testPrimaryLocale()
33 assertEquals(Locale.getDefault(), LocaleSet.newDefault().getPrimaryLocale()); in testPrimaryLocale()

123456789