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.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()
4770 final ContactLocaleUtils localeUtils = ContactLocaleUtils.getInstance(); in updateRawContactDisplayName() local
4772 ? localeUtils.getNumberBucketIndex() in updateRawContactDisplayName()
4773 : localeUtils.getBucketIndex(sortKeyPrimary); in updateRawContactDisplayName()
4774 String phonebookLabelPrimary = localeUtils.getBucketLabel(phonebookBucketPrimary); in updateRawContactDisplayName()
4777 ? localeUtils.getNumberBucketIndex() in updateRawContactDisplayName()
4778 : localeUtils.getBucketIndex(sortKeyAlternative); in updateRawContactDisplayName()
4779 String phonebookLabelAlternative = localeUtils.getBucketLabel(phonebookBucketAlternative); in updateRawContactDisplayName()