Home
last modified time | relevance | path

Searched refs:getPersons (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/pm/
DAppSearchShortcutInfoTest.java66 assertThat(shortcut.getPersons().length).isEqualTo(1); in testBuildShortcutAndGetValue()
67 final Person target = shortcut.getPersons()[0]; in testBuildShortcutAndGetValue()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java299 assertEquals("person", si.getPersons()[0].getName()); in testShortcutInfoParcel()
300 assertEquals("personKey", si.getPersons()[0].getKey()); in testShortcutInfoParcel()
301 assertEquals("personUri", si.getPersons()[0].getUri()); in testShortcutInfoParcel()
422 assertEquals("person", si.getPersons()[0].getName()); in testShortcutInfoClone()
423 assertEquals("personKey", si.getPersons()[0].getKey()); in testShortcutInfoClone()
424 assertEquals("personUri", si.getPersons()[0].getUri()); in testShortcutInfoClone()
446 assertEquals("person", si.getPersons()[0].getName()); in testShortcutInfoClone()
447 assertEquals("personKey", si.getPersons()[0].getKey()); in testShortcutInfoClone()
448 assertEquals("personUri", si.getPersons()[0].getUri()); in testShortcutInfoClone()
470 assertEquals(null, si.getPersons()); in testShortcutInfoClone()
[all …]
DShortcutManagerTest1.java2175 getCallingUser()).get(0).getPersons()); in testGetShortcuts_personsFlag()
2180 getCallingUser()).get(0).getPersons()); in testGetShortcuts_personsFlag()
2197 getCallingUser()).get(0).getPersons()[0].getName()); in testGetShortcuts_personsFlag()
2203 getCallingUser()).get(0).getPersons()); in testGetShortcuts_personsFlag()
/frameworks/base/core/java/android/app/people/
DPeopleSpaceTile.java319 if (info.getPersons() == null || info.getPersons().length != 1) { in getContactUri()
323 Person person = info.getPersons()[0]; in getContactUri()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DShortcutHelperTest.java312 when(si.getPersons()).thenReturn(new Person[]{PERSON}); in testGetValidShortcutInfo_isValid()
333 when(si.getPersons()).thenReturn(new Person[]{PERSON}); in testGetValidShortcutInfo_isValidButUserLocked()
DNotificationRecordTest.java1374 when(shortcutMock.getPersons()).thenReturn(new Person[]{ in testIsConversation_shortcutHasOneBot_targetsR()
1387 when(shortcutMock.getPersons()).thenReturn(new Person[]{ in testIsConversation_shortcutHasOnePerson_targetsR()
1401 when(shortcutMock.getPersons()).thenReturn(new Person[]{ in testIsConversation_shortcutHasOneBotOnePerson_targetsR()
/frameworks/base/services/people/java/com/android/server/people/data/
DDataManager.java914 if (shortcutInfo.getPersons() != null && shortcutInfo.getPersons().length != 0) { in addOrUpdateConversationInfo()
915 Person person = shortcutInfo.getPersons()[0]; in addOrUpdateConversationInfo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManager.java736 if (info.getPersons() != null && info.getPersons().length > 0) { in updateStorageAndViewWithConversationData()
737 Person person = info.getPersons()[0]; in updateStorageAndViewWithConversationData()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DDataManagerTest.java682 assertEquals(1, result.getShortcutInfo().getPersons().length); in testGetConversation()
683 assertEquals(CONTACT_URI, result.getShortcutInfo().getPersons()[0].getUri()); in testGetConversation()
1338 assertEquals(1, result.get(0).getShortcutInfo().getPersons().length); in testGetRecentConversations()
1339 assertEquals(CONTACT_URI, result.get(0).getShortcutInfo().getPersons()[0].getUri()); in testGetRecentConversations()
/frameworks/base/core/java/android/content/pm/
DAppSearchShortcutInfo.java350 .setPersons(shortcutInfo.getPersons()) in instance()
DShortcutInfo.java1757 public Person[] getPersons() { in getPersons() method in ShortcutInfo
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java1616 && (mShortcutInfo == null || isOnlyBots(mShortcutInfo.getPersons()))) { in isConversation()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java1956 final Person[] persons = si.getPersons(); in saveShortcut()
/frameworks/base/core/api/
Dsystem-current.txt4433 method @Nullable public android.app.Person[] getPersons();
/frameworks/base/boot/
Dboot-image-profile.txt4736 HSPLandroid/content/pm/ShortcutInfo;->getPersons()[Landroid/app/Person;
/frameworks/base/config/
Dboot-image-profile.txt4739 HSPLandroid/content/pm/ShortcutInfo;->getPersons()[Landroid/app/Person;