Home
last modified time | relevance | path

Searched refs:isCurrentLocale (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/text/src/android/text/format/cts/
DDateUtilsTest.java58 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testGetDayOfWeekString()
79 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testGetMonthString()
96 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testGetAMPMString()
108 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in test_getRelativeTimeSpanString()
134 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in test_getRelativeTimeSpanString_withContext()
172 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in test_formatElapsedTime()
195 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testFormatDateRange()
208 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testFormatDateRange_withFormatter()
224 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testFormatDateRange_withFormatterAndTimezone()
240 if (!LocaleUtils.isCurrentLocale(mContext, Locale.US)) { in testFormatDateTime()
[all …]
DLocaleUtils.java26 public static boolean isCurrentLocale(Context context, Locale locale) { in isCurrentLocale() method in LocaleUtils