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.java355 final ContactLocaleUtils localeUtils = ContactLocaleUtils.getInstance(); in testUpgradeToVersion111_SetPrimaryPhonebookBucketToNumberBucket() local
356 final int numberBucket = localeUtils.getNumberBucketIndex(); in testUpgradeToVersion111_SetPrimaryPhonebookBucketToNumberBucket()
357 final String numberLabel = localeUtils.getBucketLabel(numberBucket); in testUpgradeToVersion111_SetPrimaryPhonebookBucketToNumberBucket()
372 final ContactLocaleUtils localeUtils = ContactLocaleUtils.getInstance(); in testUpgradeToVersion111_SetAltPhonebookBucketToNumberBucket() local
373 final int numberBucket = localeUtils.getNumberBucketIndex(); in testUpgradeToVersion111_SetAltPhonebookBucketToNumberBucket()
374 final String numberLabel = localeUtils.getBucketLabel(numberBucket); in testUpgradeToVersion111_SetAltPhonebookBucketToNumberBucket()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsDatabaseHelper.java3391 final ContactLocaleUtils localeUtils = ContactLocaleUtils.getInstance(); in upgradeToVersion1111() local
3392 final int index = localeUtils.getNumberBucketIndex(); in upgradeToVersion1111()
3393 final String label = localeUtils.getBucketLabel(index); in upgradeToVersion1111()
4757 final ContactLocaleUtils localeUtils = ContactLocaleUtils.getInstance(); in updateRawContactDisplayName() local
4759 ? localeUtils.getNumberBucketIndex() in updateRawContactDisplayName()
4760 : localeUtils.getBucketIndex(sortKeyPrimary); in updateRawContactDisplayName()
4761 String phonebookLabelPrimary = localeUtils.getBucketLabel(phonebookBucketPrimary); in updateRawContactDisplayName()
4764 ? localeUtils.getNumberBucketIndex() in updateRawContactDisplayName()
4765 : localeUtils.getBucketIndex(sortKeyAlternative); in updateRawContactDisplayName()
4766 String phonebookLabelAlternative = localeUtils.getBucketLabel(phonebookBucketAlternative); in updateRawContactDisplayName()