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.java3388 final ContactLocaleUtils localeUtils = ContactLocaleUtils.getInstance(); in upgradeToVersion1111() local
3389 final int index = localeUtils.getNumberBucketIndex(); in upgradeToVersion1111()
3390 final String label = localeUtils.getBucketLabel(index); in upgradeToVersion1111()
4763 final ContactLocaleUtils localeUtils = ContactLocaleUtils.getInstance(); in updateRawContactDisplayName() local
4765 ? localeUtils.getNumberBucketIndex() in updateRawContactDisplayName()
4766 : localeUtils.getBucketIndex(sortKeyPrimary); in updateRawContactDisplayName()
4767 String phonebookLabelPrimary = localeUtils.getBucketLabel(phonebookBucketPrimary); in updateRawContactDisplayName()
4770 ? localeUtils.getNumberBucketIndex() in updateRawContactDisplayName()
4771 : localeUtils.getBucketIndex(sortKeyAlternative); in updateRawContactDisplayName()
4772 String phonebookLabelAlternative = localeUtils.getBucketLabel(phonebookBucketAlternative); in updateRawContactDisplayName()