Home
last modified time | relevance | path

Searched refs:getEntryType (Results 1 – 8 of 8) sorted by relevance

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
H A DPeopleBackupHelperTest.java23 import static com.android.systemui.people.widget.PeopleBackupHelper.getEntryType;
133 assertThat(getEntryType(entry)).isEqualTo(SharedFileEntryType.WIDGET_ID); in testGetKeyType_widgetId()
140 assertThat(getEntryType(entry)).isEqualTo(SharedFileEntryType.WIDGET_ID); in testGetKeyType_widgetId_twoDigits()
147 assertThat(getEntryType(entry)).isEqualTo(SharedFileEntryType.PEOPLE_TILE_KEY); in testGetKeyType_peopleTileKey_valid()
154 assertThat(getEntryType(entry)).isEqualTo(SharedFileEntryType.PEOPLE_TILE_KEY); in testGetKeyType_peopleTileKey_validWithSlashes()
168 assertThat(getEntryType(entry)).isEqualTo(SharedFileEntryType.CONTACT_URI); in testGetKeyType_contactUri()
175 assertThat(getEntryType(entry)).isEqualTo(SharedFileEntryType.CONTACT_URI); in testGetKeyType_contactUri_valid()
182 assertThat(getEntryType(entry)).isEqualTo(SharedFileEntryType.CONTACT_URI); in testGetKeyType_contactUri_invalidPackageName()
189 assertThat(getEntryType(entry)).isEqualTo(SharedFileEntryType.UNKNOWN); in testGetKeyType_unknown_unexpectedValueForPeopleTileKey()
196 assertThat(getEntryType(entry)).isEqualTo(SharedFileEntryType.UNKNOWN); in testGetKeyType_unknown_unexpectedValueForContactUri()
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
H A DPeopleBackupHelper.java202 SharedFileEntryType entryType = getEntryType(entry); in backupKey()
228 SharedFileEntryType keyType = getEntryType(entry); in restoreKey()
455 public static SharedFileEntryType getEntryType(Map.Entry<String, ?> entry) { in getEntryType() method in PeopleBackupHelper
H A DPeopleSpaceWidgetManager.java43 import static com.android.systemui.people.widget.PeopleBackupHelper.getEntryType;
1291 PeopleBackupHelper.SharedFileEntryType keyType = getEntryType(entry); in remapSharedFile()
/aosp12/frameworks/base/rs/java/android/renderscript/
H A DFileA3D.java107 public EntryType getEntryType() { in getEntryType() method in FileA3D.IndexEntry
/aosp12/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEntry.java250 public int getEntryType() { in getEntryType() method in RecipientEntry
H A DDropdownChipLayouter.java185 final int entryType = entry.getEntryType(); in bindView()
H A DBaseRecipientAdapter.java997 return getEntries().get(position).getEntryType(); in getItemViewType()
H A DRecipientEditTextView.java659 && (entries.get(0).getEntryType() == in setAdapter()
1732 return getAdapter().getItem(position).getEntryType() == RecipientEntry.ENTRY_TYPE_PERSON; in isEntryAtPositionTypePerson()
2251 if (entry.getEntryType() == RecipientEntry.ENTRY_TYPE_PERMISSION_REQUEST) { in onItemClick()