Home
last modified time | relevance | path

Searched refs:getLabel (Results 1 – 25 of 290) sorted by relevance

12345678910>>...12

/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DContactLocaleUtilsTest.java116 private String getLabel(String name) { in getLabel() method in ContactLocaleUtilsTest
133 assertEquals("J", getLabel(LATIN_NAME)); in testEnglishContactLocaleUtils()
153 assertEquals("J", getLabel(LATIN_NAME)); in testJapaneseContactLocaleUtils()
168 assertEquals("J", getLabel(LATIN_NAME)); in testChineseContactLocaleUtils()
281 assertEquals("S", getLabel("Sacher")); in testGermanContactLocaleUtils()
285 assertEquals("S", getLabel("Steiff")); in testGermanContactLocaleUtils()
292 assertEquals("N", getLabel("n")); in testOtherLocales()
293 assertEquals("N", getLabel("ñ")); in testOtherLocales()
297 assertEquals("N", getLabel("n")); in testOtherLocales()
298 assertEquals("Ñ", getLabel("ñ")); in testOtherLocales()
[all …]
/aosp12/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DMimeIconUtilsTest.java27 MimeIconUtils.getTypeInfo("image/png").getLabel()); in testSimple()
29 MimeIconUtils.getTypeInfo("image/x-custom").getLabel()); in testSimple()
32 MimeIconUtils.getTypeInfo("chemical/x-alchemy").getLabel()); in testSimple()
34 MimeIconUtils.getTypeInfo("x-custom/x-custom").getLabel()); in testSimple()
37 MimeIconUtils.getTypeInfo("inode/directory").getLabel()); in testSimple()
40 MimeIconUtils.getTypeInfo("application/zip").getLabel()); in testSimple()
42 MimeIconUtils.getTypeInfo("application/rar").getLabel()); in testSimple()
45 MimeIconUtils.getTypeInfo("text/plain").getLabel()); in testSimple()
47 MimeIconUtils.getTypeInfo("text/x-custom").getLabel()); in testSimple()
50 MimeIconUtils.getTypeInfo("audio/flac").getLabel()); in testSimple()
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/print/
H A DPrintJobPreferenceController.java53 R.string.print_configuring_state_title_template, info.getLabel())); in updateUi()
60 R.string.print_printing_state_title_template, info.getLabel())); in updateUi()
63 R.string.print_cancelling_state_title_template, info.getLabel())); in updateUi()
70 R.string.print_failed_state_title_template, info.getLabel())); in updateUi()
77 R.string.print_blocked_state_title_template, info.getLabel())); in updateUi()
80 R.string.print_cancelling_state_title_template, info.getLabel())); in updateUi()
/aosp12/packages/apps/Settings/src/com/android/settings/notification/app/
H A DConversationListPreferenceController.java126 ? si.getLabel() in getTitle()
164 if (o1.getShortcutInfo().getLabel() == null
165 && o2.getShortcutInfo().getLabel() != null) {
168 if (o1.getShortcutInfo().getLabel() != null
169 && o2.getShortcutInfo().getLabel() == null) {
172 return sCollator.compare(o1.getShortcutInfo().getLabel().toString(),
173 o2.getShortcutInfo().getLabel().toString());
H A DRecentConversationsPreferenceController.java208 return si.getLabel(); in getTitle()
237 if (o1.getShortcutInfo().getLabel() != null
238 && o2.getShortcutInfo().getLabel() != null) {
240 o1.getShortcutInfo().getLabel().toString(),
241 o2.getShortcutInfo().getLabel().toString());
H A DConversationHeaderPreferenceController.java85 .setLabel(getLabel()) in updateState()
128 CharSequence getLabel() { in getLabel() method in ConversationHeaderPreferenceController
130 ? mConversationInfo.getLabel() in getLabel()
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
H A DExpectedKeyVisual.java41 public abstract String getLabel(); in getLabel() method in ExpectedKeyVisual
66 public String getLabel() { in getLabel() method in ExpectedKeyVisual.Icon
89 return mIconId == key.getIconId() && key.getLabel() == null; in hasSameKeyVisual()
132 public String getLabel() { in getLabel() method in ExpectedKeyVisual.Label
155 return mLabel.equals(key.getLabel()) in hasSameKeyVisual()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/icons/
H A DComponentWithLabel.java31 CharSequence getLabel(PackageManager pm); in getLabel() method
55 public CharSequence getLabel(T object) { in getLabel() method in ComponentWithLabel.ComponentCachingLogic
56 return object.getLabel(mPackageManager); in getLabel()
H A DLauncherActivityCachingLogic.java53 public CharSequence getLabel(LauncherActivityInfo object) { in getLabel() method in LauncherActivityCachingLogic
54 return object.getLabel(); in getLabel()
/aosp12/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
H A DEventDataItem.java38 public String getLabel() { in getLabel() method in EventDataItem
56 && !TextUtils.equals(getLabel(), that.getLabel())) { in shouldCollapseWith()
H A DRelationDataItem.java38 public String getLabel() { in getLabel() method in RelationDataItem
56 && !TextUtils.equals(getLabel(), that.getLabel())) { in shouldCollapseWith()
/aosp12/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
H A DEventDataItem.java39 public String getLabel() { in getLabel() method in EventDataItem
57 !TextUtils.equals(getLabel(), that.getLabel())) { in shouldCollapseWith()
H A DRelationDataItem.java39 public String getLabel() { in getLabel() method in RelationDataItem
57 !TextUtils.equals(getLabel(), that.getLabel())) { in shouldCollapseWith()
/aosp12/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
H A DRecentTasksListTest.java82 assertNull(taskList.get(0).task1.taskDescription.getLabel()); in loadTasksInBackground_onlyKeys_noValidTaskDescription()
83 assertNull(taskList.get(0).task2.taskDescription.getLabel()); in loadTasksInBackground_onlyKeys_noValidTaskDescription()
102 assertEquals(taskDescription, taskList.get(0).task1.taskDescription.getLabel()); in loadTasksInBackground_moreThanKeys_hasValidTaskDescription()
103 assertNull(taskList.get(0).task2.taskDescription.getLabel()); in loadTasksInBackground_moreThanKeys_hasValidTaskDescription()
/aosp12/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/util/
H A DMediaSizeUtils.java131 public @NonNull String getLabel(@NonNull Context context, @NonNull MediaSize mediaSize) { in getLabel() method in MediaSizeUtils.MediaSizeComparator
135 label = mediaSize.getLabel(context.getPackageManager()); in getLabel()
161 return getLabel(mContext, lhs).compareTo(getLabel(mContext, rhs)); in compare()
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
H A DActionTestsBase.java69 public String getLabel() { return mVisual.getLabel(); } in getLabel() method in ActionTestsBase.ExpectedActionKey
85 assertEquals(tag + " label " + expectedKey, expectedKey.getLabel(), actualKey.getLabel()); in assertActionKey()
/aosp12/frameworks/base/telecomm/java/android/telecom/
H A DStatusHints.java69 public CharSequence getLabel() { in getLabel() method in StatusHints
143 return Objects.equals(otherHints.getLabel(), getLabel()) && in equals()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
H A DConversationHeaderPreferenceControllerTest.java116 when(si.getLabel()).thenReturn("hello"); in testGetLabel()
119 assertEquals(si.getLabel(), mController.getLabel()); in testGetLabel()
123 assertEquals(channel.getName(), mController.getLabel()); in testGetLabel()
H A DRecentConversationsPreferenceControllerTest.java157 when(si.getLabel()).thenReturn("person"); in getSummary_withGroup()
172 when(si.getLabel()).thenReturn("person"); in getSummary_noGroup()
185 when(si.getLabel()).thenReturn("person"); in getTitle_withShortcut()
191 assertThat(mController.getTitle(ccw).toString()).isEqualTo(si.getLabel()); in getTitle_withShortcut()
346 when(si.getLabel()).thenReturn(new SpannedString("hello")); in testSpans()
352 when(si2.getLabel()).thenReturn("hello"); in testSpans()
H A DHeaderPreferenceControllerTest.java117 assertEquals(appRow.label, mController.getLabel()); in testGetLabel()
121 assertEquals(appRow.label, mController.getLabel()); in testGetLabel()
125 assertEquals(channel.getName(), mController.getLabel()); in testGetLabel()
130 assertEquals(appRow.label, mController.getLabel()); in testGetLabel()
/aosp12/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
H A DPhoneAccountRegistrarTest.java654 assertEquals(TEST_LABEL, registeredAccount.getLabel()); in testSelfManagedPhoneAccount()
711 assertTrue(accounts.get(0).getLabel().toString().equals("2")); in testSortSimFirst()
712 assertTrue(accounts.get(1).getLabel().toString().equals("1")); in testSortSimFirst()
754 assertTrue(accounts.get(0).getLabel().toString().equals("c")); in testSortBySortOrder()
755 assertTrue(accounts.get(1).getLabel().toString().equals("b")); in testSortBySortOrder()
756 assertTrue(accounts.get(2).getLabel().toString().equals("a")); in testSortBySortOrder()
792 assertTrue(accounts.get(0).getLabel().toString().equals("a")); in testSortByLabel()
793 assertTrue(accounts.get(1).getLabel().toString().equals("b")); in testSortByLabel()
794 assertTrue(accounts.get(2).getLabel().toString().equals("c")); in testSortByLabel()
871 assertTrue(accounts.get(0).getLabel().toString().equals("z")); in testSortAll()
[all …]
/aosp12/system/vold/model/
H A DEmulatedVolume.cpp69 std::string EmulatedVolume::getLabel() { in getLabel() function in android::vold::EmulatedVolume
94 std::string label = getLabel(); in mountFuseBindMounts()
158 std::string label = getLabel(); in unmountFuseBindMounts()
248 std::string label = getLabel(); in doMount()
417 std::string label = getLabel(); in doUnmount()
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/testcomponent/
H A DListViewService.java58 views.setTextViewText(android.R.id.text1, getLabel(i)); in getViewAt()
62 public String getLabel(int i) { in getLabel() method in ListViewService.SimpleViewsFactory
/aosp12/packages/apps/Dialer/java/com/android/dialer/calllogutils/
H A DPhoneAccountUtils.java33 if (account != null && account.getLabel() != null) { in getAccountLabel()
34 return account.getLabel().toString(); in getAccountLabel()
/aosp12/packages/apps/Settings/src/com/android/settings/
H A DAppWidgetLoader.java42 CharSequence getLabel(); in getLabel() method
164 return mCollator.compare(lhs.getLabel(), rhs.getLabel()); in getItems()

12345678910>>...12