Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsDatabaseHelperTest.java354 final ContactLocaleUtils localeUtils = ContactLocaleUtils.getInstance(); in testUpgradeToVersion111_SetPrimaryPhonebookBucketToNumberBucket() local
355 final int numberBucket = localeUtils.getNumberBucketIndex(); in testUpgradeToVersion111_SetPrimaryPhonebookBucketToNumberBucket()
356 final String numberLabel = localeUtils.getBucketLabel(numberBucket); in testUpgradeToVersion111_SetPrimaryPhonebookBucketToNumberBucket()
371 final ContactLocaleUtils localeUtils = ContactLocaleUtils.getInstance(); in testUpgradeToVersion111_SetAltPhonebookBucketToNumberBucket() local
372 final int numberBucket = localeUtils.getNumberBucketIndex(); in testUpgradeToVersion111_SetAltPhonebookBucketToNumberBucket()
373 final String numberLabel = localeUtils.getBucketLabel(numberBucket); in testUpgradeToVersion111_SetAltPhonebookBucketToNumberBucket()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java3319 final ContactLocaleUtils localeUtils = ContactLocaleUtils.getInstance(); in upgradeToVersion1111() local
3320 final int index = localeUtils.getNumberBucketIndex(); in upgradeToVersion1111()
3321 final String label = localeUtils.getBucketLabel(index); in upgradeToVersion1111()
4794 final ContactLocaleUtils localeUtils = ContactLocaleUtils.getInstance(); in updateRawContactDisplayName() local
4796 ? localeUtils.getNumberBucketIndex() in updateRawContactDisplayName()
4797 : localeUtils.getBucketIndex(sortKeyPrimary); in updateRawContactDisplayName()
4798 String phonebookLabelPrimary = localeUtils.getBucketLabel(phonebookBucketPrimary); in updateRawContactDisplayName()
4801 ? localeUtils.getNumberBucketIndex() in updateRawContactDisplayName()
4802 : localeUtils.getBucketIndex(sortKeyAlternative); in updateRawContactDisplayName()
4803 String phonebookLabelAlternative = localeUtils.getBucketLabel(phonebookBucketAlternative); in updateRawContactDisplayName()