Home
last modified time | relevance | path

Searched refs:newDefault (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DPreferredServices.java136 ComponentName newDefault = name != null ? ComponentName.unflattenFromString(name) : null; in loadDefaultsFromSettings() local
147 mPaymentDefaults.settingsDefault = newDefault; in loadDefaultsFromSettings()
148 if (newDefault != null && !newDefault.equals(mPaymentDefaults.currentPreferred)) { in loadDefaultsFromSettings()
150 mPaymentDefaults.currentPreferred = newDefault; in loadDefaultsFromSettings()
151 } else if (newDefault == null && mPaymentDefaults.currentPreferred != null) { in loadDefaultsFromSettings()
153 mPaymentDefaults.currentPreferred = newDefault; in loadDefaultsFromSettings()
160 mCallback.onPreferredPaymentServiceChanged(newDefault); in loadDefaultsFromSettings()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DLocaleSetTest.java33 assertEquals(Locale.getDefault(), LocaleSet.newDefault().getPrimaryLocale()); in testPrimaryLocale()
37 assertEquals(Locale.JAPANESE, LocaleSet.newDefault().getPrimaryLocale()); in testPrimaryLocale()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactLocaleUtils.java515 mLocales = LocaleSet.newDefault(); in ContactLocaleUtils()
536 sSingleton = new ContactLocaleUtils(LocaleSet.newDefault()); in getInstance()
DLocaleSet.java41 public static LocaleSet newDefault() { in newDefault() method in LocaleSet
DContactsDatabaseHelper.java2748 final LocaleSet locales = LocaleSet.newDefault(); in upgradeLocaleData()
DContactsProvider2.java1600 mCurrentLocales = LocaleSet.newDefault(); in initForDefaultLocale()
1856 final LocaleSet currentLocales = LocaleSet.newDefault(); in updateLocaleOffline()