Searched refs:getPersons (Results 1 – 16 of 16) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | AppSearchShortcutInfoTest.java | 66 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/ |
D | ShortcutManagerTest2.java | 299 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 …]
|
D | ShortcutManagerTest1.java | 2175 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/ |
D | PeopleSpaceTile.java | 319 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/ |
D | ShortcutHelperTest.java | 312 when(si.getPersons()).thenReturn(new Person[]{PERSON}); in testGetValidShortcutInfo_isValid() 333 when(si.getPersons()).thenReturn(new Person[]{PERSON}); in testGetValidShortcutInfo_isValidButUserLocked()
|
D | NotificationRecordTest.java | 1374 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/ |
D | DataManager.java | 914 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/ |
D | PeopleSpaceWidgetManager.java | 736 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/ |
D | DataManagerTest.java | 682 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/ |
D | AppSearchShortcutInfo.java | 350 .setPersons(shortcutInfo.getPersons()) in instance()
|
D | ShortcutInfo.java | 1757 public Person[] getPersons() { in getPersons() method in ShortcutInfo
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 1616 && (mShortcutInfo == null || isOnlyBots(mShortcutInfo.getPersons()))) { in isConversation()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackage.java | 1956 final Person[] persons = si.getPersons(); in saveShortcut()
|
/frameworks/base/core/api/ |
D | system-current.txt | 4433 method @Nullable public android.app.Person[] getPersons();
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 4736 HSPLandroid/content/pm/ShortcutInfo;->getPersons()[Landroid/app/Person;
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 4739 HSPLandroid/content/pm/ShortcutInfo;->getPersons()[Landroid/app/Person;
|