Home
last modified time | relevance | path

Searched refs:getLabels (Results 1 – 17 of 17) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactLocaleUtilsTest.java126 private ArrayList<String> getLabels() { in getLabels() method in ContactLocaleUtilsTest
127 return mTargetUtils.getLabels(); in getLabels()
146 verifyLabels(getLabels(), LABELS_EN_US); in testEnglishContactLocaleUtils()
162 verifyLabels(getLabels(), LABELS_JA_JP); in testJapaneseContactLocaleUtils()
173 verifyLabels(getLabels(), LABELS_EN_US); in testChineseContactLocaleUtils()
195 verifyLabels(getLabels(), LABELS_ZH_TW); in testChineseContactLocaleUtils()
256 verifyLabels(getLabels(), LABELS_KO); in testKoreanContactLocaleUtils()
263 verifyLabels(getLabels(), LABELS_AR); in testArabicContactLocaleUtils()
287 verifyLabels(getLabels(), LABELS_EN_US); in testGermanContactLocaleUtils()
/packages/modules/AdServices/adservices/tests/unittest/service-core/topics/src/com/android/adservices/service/topics/classifier/
DClassifierManagerTest.java376 when(mOnDeviceClassifier.getLabels()).thenReturn(onDeviceTaxonomy); in testGetTopicsTaxonomy_onDeviceClassifier()
385 verify(mOnDeviceClassifier, times(1)).getLabels(); in testGetTopicsTaxonomy_onDeviceClassifier()
394 when(mPrecomputedClassifier.getLabels()).thenReturn(precomputedTaxonomy); in testGetTopicsTaxonomy_precomputedClassifier()
403 verify(mPrecomputedClassifier, times(1)).getLabels(); in testGetTopicsTaxonomy_precomputedClassifier()
414 verify(mPrecomputedClassifier, times(1)).getLabels(); in testGetTopicsTaxonomy_defaultBehaviour()
425 verify(mPrecomputedClassifier, times(1)).getLabels(); in testGetTopicsTaxonomy_invalidFlagValue()
438 verify(mPrecomputedClassifier, times(1)).getLabels(); in testGetTopicsTaxonomy_onDeviceClassifierKillSwitch_fallbackToPrecomputedClassifier()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/classifier/
DClassifierManager.java195 return mPrecomputedClassifier.get().getLabels(); in getTopicsTaxonomy()
202 return mOnDeviceClassifier.get().getLabels(); in getTopicsTaxonomy()
205 return mPrecomputedClassifier.get().getLabels(); in getTopicsTaxonomy()
DPrecomputedClassifier.java151 List<Integer> getLabels() { in getLabels() method in PrecomputedClassifier
DOnDeviceClassifier.java236 List<Integer> getLabels() { in getLabels() method in OnDeviceClassifier
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/folder/
DFolderNameProviderTest.java76 assertEquals("Work", nameInfos.getLabels()[0]); in getSuggestedFolderName_workAssignedToEnd()
83 assertEquals("Work", nameInfos.getLabels()[3]); in getSuggestedFolderName_workAssignedToEnd()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactLocaleUtils.java277 public ArrayList<String> getLabels() { in getLabels() method in ContactLocaleUtils.ContactLocaleUtilsBase
527 + getLabels().toString()); in ContactLocaleUtils()
584 public ArrayList<String> getLabels() { in getLabels() method in ContactLocaleUtils
585 return mUtils.getLabels(); in getLabels()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderNameProvider.java171 CharSequence[] labels = nameInfos.getLabels(); in setAsFirstSuggestion()
187 CharSequence[] labels = nameInfos.getLabels(); in setAsLastSuggestion()
DFolderNameInfos.java102 public CharSequence[] getLabels() { in getLabels() method in FolderNameInfos
DFolder.java567 mFolderName.setText(mInfo.suggestedFolderNames.getLabels()[0]); in showLabelSuggestions()
573 Stream.of(mInfo.suggestedFolderNames.getLabels()) in showLabelSuggestions()
DFolderIcon.java442 CharSequence newTitle = nameInfos.getLabels()[0]; in setLabelSuggestion()
/packages/apps/TV/src/com/android/tv/data/
DGenreItems.java51 public static String[] getLabels(Context context) { in getLabels() method in GenreItems
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowAuthenticationHelper.java78 public static String[] getLabels() { in getLabels() method in ShadowAuthenticationHelper
/packages/apps/TV/src/com/android/tv/guide/
DGenreListAdapter.java48 mGenreLabels = GenreItems.getLabels(mContext); in GenreListAdapter()
/packages/apps/TV/tests/robotests/src/com/android/tv/data/
DGenreItemTest.java41 GenreItems.getLabels(RuntimeEnvironment.application); in testGetLabels()
/packages/apps/Launcher3/src/com/android/launcher3/model/data/
DFolderInfo.java246 CharSequence[] labels = suggestedFolderNames.getLabels(); in getAcceptedSuggestionIndex()
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDvrBrowseFragment.java224 mGenreLabels = new ArrayList<>(Arrays.asList(GenreItems.getLabels(context))); in onCreate()