/packages/apps/Messaging/src/com/android/messaging/receiver/ |
D | MmsWapPushReceiver.java | 39 if (PhoneUtils.getDefault().isSmsEnabled()) { in onReceive() 41 final int subId = PhoneUtils.getDefault().getEffectiveIncomingSubIdFromSystem( in onReceive() 50 if (!PhoneUtils.getDefault().isSmsEnabled()) { in mmsReceived()
|
D | SmsReceiver.java | 95 final boolean carrierSmsEnabled = PhoneUtils.getDefault().isSmsEnabled(); in updateSmsReceiveHandler() 192 int subId = PhoneUtils.getDefault().getEffectiveIncomingSubIdFromSystem( in deliverSmsIntent() 233 if (PhoneUtils.getDefault().isSmsEnabled()) { in onReceive()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | OsuProviderInfoTest.java | 99 Locale defaultLocale = Locale.getDefault(); in getFriendlyNameMatchingDefaultLocale() 124 if (nonDefaultLocale.equals(Locale.getDefault())) { in getFriendlyNameNotMatchingDefaultLocale() 159 Locale defaultLocale = Locale.getDefault(); in getServiceDescriptionMatchingDefaultLocale() 185 if (nonDefaultLocale.equals(Locale.getDefault())) { in getServiceDescriptionNotMatchingDefaultLocale()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | UserDictionaryListPreferenceController.java | 127 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/DeskClock/src/com/android/deskclock/uidata/ |
D | FormattedStringModel.kt | 115 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()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | LocaleSet.java | 42 return new LocaleSet(LocaleList.getDefault(), in newDefault() 107 return Locale.getDefault(); in getPrimaryLocale() 163 return Objects.equals(mLocaleList, LocaleList.getDefault()); in isCurrent()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | ConvertUtils.java | 130 values.put(BatteryHistEntry.KEY_ZONE_ID, TimeZone.getDefault().getID()); in convert() 140 final String currentZoneId = TimeZone.getDefault().getID(); in utcToLocalTime() 156 final String currentZoneId = TimeZone.getDefault().getID(); in utcToLocalTimeHour() 368 return Locale.getDefault(); in getLocale() 373 : Locale.getDefault(); in getLocale()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | ParticipantData.java | 182 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/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
D | UserDictionaryList.java | 102 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/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | DigitalWellBeingToast.java | 149 return MeasureFormat.getInstance(Locale.getDefault(), formatWidthHourAndMinute) in getReadableDuration() 158 Locale.getDefault(), in getReadableDuration() 166 Locale.getDefault() in getReadableDuration() 178 Locale.getDefault(), forceFormatWidth ? formatWidthHourAndMinute : FormatWidth.WIDE) in getReadableDuration()
|
/packages/apps/Settings/src/com/android/settings/development/storage/ |
D | SharedDataUtils.java | 36 TimeZone.getDefault(), Locale.getDefault());
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | ConvertUtilsTest.java | 106 .isEqualTo(TimeZone.getDefault().getID()); in testConvert_returnsExpectedContentValues() 141 .isEqualTo(TimeZone.getDefault().getID()); in testConvert_nullBatteryEntry_returnsExpectedContentValues() 388 .isEqualTo(Locale.getDefault()); in getLocale_nullContext_returnDefaultLocale() 394 assertThat(ConvertUtils.getLocale(mContext)).isEqualTo(Locale.getDefault()); in getLocale_nullLocaleList_returnDefaultLocale() 400 assertThat(ConvertUtils.getLocale(mContext)).isEqualTo(Locale.getDefault()); in getLocale_emptyLocaleList_returnDefaultLocale()
|
/packages/apps/Contacts/src/com/android/contacts/datepicker/ |
D | TwoDigitFormatter.java | 26 final Locale locale = Locale.getDefault(); in TwoDigitFormatter() 36 final Locale currentLocale = Locale.getDefault(); in format()
|
/packages/apps/Car/Settings/src/com/android/car/settings/language/ |
D | LanguageSettingsEntryPreferenceController.java | 60 return configLocale != null ? configLocale : Locale.getDefault(); in getConfiguredLocale() 62 return Locale.getDefault(); in getConfiguredLocale()
|
/packages/apps/Messaging/src/com/android/messaging/ui/appsettings/ |
D | ApplicationSettingsActivity.java | 194 PhoneUtils.getDefault().getDefaultSmsAppLabel()); in updateSmsEnabledPreferences() 197 if (PhoneUtils.getDefault().isDefaultSmsApp()) { in updateSmsEnabledPreferences() 225 || PhoneUtils.getDefault().isDefaultSmsApp(); in updateNotificationsPreferences()
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeDurationPreferenceController.java | 61 Locale.getDefault()); in getSummary() 68 Locale.getDefault()); in getSummary()
|
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/ |
D | DownloadCompletionReceiver.java | 51 Path destination = FileSystems.getDefault() in getDestinationFile() 59 Path destination = FileSystems.getDefault() in getDestinationFile()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/widget/ |
D | RtlCompatibleViewPagerTest.java | 61 assertThat(TextUtils.getLayoutDirectionFromLocale(Locale.getDefault())) in testRtlCompatibleInner() 70 assertThat(TextUtils.getLayoutDirectionFromLocale(Locale.getDefault())) in testRtlCompatibleInner()
|
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/ |
D | EchoingTextWatcher.java | 78 final String lowerCase = last.toLowerCase(Locale.getDefault()); in onTextChanged() 81 final String upperCase = last.toUpperCase(Locale.getDefault()); in onTextChanged()
|
/packages/apps/TV/src/com/android/tv/util/ |
D | CaptionSettings.java | 65 LocaleList locales = LocaleList.getDefault(); in getSystemPreferenceLanguageList() 70 languageList.add(Locale.getDefault().getLanguage()); in getSystemPreferenceLanguageList()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | SmsStorageStatusManager.java | 39 if (!PhoneUtils.getDefault().isSmsEnabled()) { in handleStorageLow() 53 if (!PhoneUtils.getDefault().isSmsEnabled()) { in handleStorageOk()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | SettingsModel.kt | 61 get() = SettingsDAO.getHomeTimeZone(mContext, mPrefs, TimeZone.getDefault()) 86 val defaultTZ = TimeZone.getDefault()
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SlicesDatabaseHelper.java | 220 .putBoolean(Locale.getDefault().toString(), true /* value */) in setLocaleIndexed() 233 .getBoolean(Locale.getDefault().toString(), false /* default */); in isLocaleIndexed()
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/firmwareversion/ |
D | MainlineModuleVersionPreferenceController.java | 127 Locale.getDefault()); in parseDateFromVersionName() 128 simpleDateFormat.setTimeZone(TimeZone.getDefault()); in parseDateFromVersionName()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | PhoneUtils.java | 337 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()
|