/frameworks/base/core/java/android/app/ |
D | Person.java | 32 public final class Person implements Parcelable { class 41 private Person(Parcel in) { in Person() method in Person 52 private Person(Builder builder) { in Person() method in Person 142 if (obj instanceof Person) { in equals() 143 final Person other = (Person) obj; in equals() 193 private Builder(Person person) { in Builder() 208 public Person.Builder setName(@Nullable CharSequence name) { in setName() 221 public Person.Builder setIcon(@Nullable Icon icon) { in setIcon() 243 public Person.Builder setUri(@Nullable String uri) { in setUri() 259 public Person.Builder setKey(@Nullable String key) { in setKey() [all …]
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | ConversationActions.java | 24 import android.app.Person; 111 public static final Person PERSON_USER_SELF = 112 new Person.Builder() 126 public static final Person PERSON_USER_OTHERS = 127 new Person.Builder() 132 private final Person mAuthor; 141 @Nullable Person author, in Message() 193 public Person getAuthor() { in getAuthor() 225 private Person mAuthor; 241 public Builder(@NonNull Person author) { in Builder()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationTest.java | 31 import android.app.Person; 163 "a", 100, mock(Person.class)))); in testMessagingChange_text() 167 "a", 100, mock(Person.class))) in testMessagingChange_text() 169 "b", 100, mock(Person.class))) in testMessagingChange_text() 180 "a", 100, mock(Person.class)) in testMessagingChange_data() 185 "a", 100, mock(Person.class)))); in testMessagingChange_data() 192 Person a = mock(Person.class); in testMessagingChange_sender() 194 Person b = mock(Person.class); in testMessagingChange_sender() 208 Person a = mock(Person.class); in testMessagingChange_key() 210 Person b = mock(Person.class); in testMessagingChange_key() [all …]
|
D | ShortcutHelperTest.java | 30 import android.app.Person; 68 private static final Person PERSON = mock(Person.class); 312 when(si.getPersons()).thenReturn(new Person[]{PERSON}); in testGetValidShortcutInfo_isValid() 333 when(si.getPersons()).thenReturn(new Person[]{PERSON}); in testGetValidShortcutInfo_isValidButUserLocked()
|
D | ValidateNotificationPeopleTest.java | 28 import android.app.Person; 176 final ArrayList<Person> arrayList = in testPeopleArrayList() 178 arrayList.add(new Person.Builder().setName("test").build()); in testPeopleArrayList() 179 arrayList.add(new Person.Builder().setUri(expected[1]).build()); in testPeopleArrayList()
|
D | NotificationRecordTest.java | 51 import android.app.Person; 237 Person person = new Person.Builder().setName("Bob").build(); in getMessagingStyleNotification() 1176 when(shortcutMock.getPersons()).thenReturn(new Person[]{ in testIsConversation_shortcutHasOneBot_targetsR() 1177 new Person.Builder().setName("Bot").setBot(true).build() in testIsConversation_shortcutHasOneBot_targetsR() 1189 when(shortcutMock.getPersons()).thenReturn(new Person[]{ in testIsConversation_shortcutHasOnePerson_targetsR() 1190 new Person.Builder().setName("Person").setBot(false).build() in testIsConversation_shortcutHasOnePerson_targetsR() 1203 when(shortcutMock.getPersons()).thenReturn(new Person[]{ in testIsConversation_shortcutHasOneBotOnePerson_targetsR() 1204 new Person.Builder().setName("Bot").setBot(true).build(), in testIsConversation_shortcutHasOneBotOnePerson_targetsR() 1205 new Person.Builder().setName("Person").setBot(false).build() in testIsConversation_shortcutHasOneBotOnePerson_targetsR()
|
D | BubbleExtractorTest.java | 44 import android.app.Person; 115 Person person = new Person.Builder() in getNotificationRecord()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | AppSearchShortcutInfoTest.java | 21 import android.app.Person; 39 final Person person = new Person.Builder() in testBuildShortcutAndGetValue()
|
D | AppSearchPersonTest.java | 21 import android.app.Person; 33 final Person person = new AppSearchPerson.Builder(uri) in testBuildPersonAndGetValue()
|
/frameworks/base/core/java/android/content/pm/ |
D | AppSearchPerson.java | 21 import android.app.Person; 74 public static AppSearchPerson instance(@NonNull final Person person) { in instance() 90 public Person toPerson() { in toPerson() 99 return new Person.Builder().setName(getPropertyString(KEY_NAME)) in toPerson()
|
D | AppSearchShortcutInfo.java | 22 import android.app.Person; 408 final Person[] persons = parsePerson(getPropertyDocumentArray(KEY_PERSON)); in toShortcutInfo() 633 public Builder setPerson(@Nullable final Person person) { in setPerson() 637 return setPersons(new Person[]{person}); in setPerson() 644 public Builder setPersons(@Nullable final Person[] persons) { in setPersons() 650 final Person person = persons[i]; in setPersons() 924 private static Person[] parsePerson(@Nullable final GenericDocument[] persons) { in parsePerson() 925 if (persons == null) return new Person[0]; in parsePerson() 926 final Person[] ret = new Person[persons.length]; in parsePerson()
|
D | ShortcutInfo.java | 25 import android.app.Person; 408 private Person[] mPersons; 547 private static Person[] clonePersons(Person[] persons) { in clonePersons() 551 final Person[] ret = new Person[persons.length]; in clonePersons() 1016 private Person[] mPersons; 1329 public Builder setPerson(@NonNull Person person) { in setPerson() 1330 return setPersons(new Person[]{person}); in setPerson() 1340 public Builder setPersons(@NonNull Person[] persons) { in setPersons() 1343 for (Person person : persons) { in setPersons() 1636 public Person[] getPersons() { in getPersons() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | CallLayout.java | 24 import android.app.Person; 46 private Person mUser; 132 private void setUser(Person user) { in setUser()
|
D | MessagingLayout.java | 27 import android.app.Person; 87 private Person mUser; 192 historyMessage.getText(), 0, (Person) null, true /* remoteHistory */); in addRemoteInputHistoryToMessages() 382 public void setUser(Person user) { in setUser() 396 List<Person> senders = new ArrayList<>(); in addMessagesToGroups() 406 List<Person> senders, boolean showSpinner) { in createGroupViews() 429 Person sender = senders.get(groupIndex); in createGroupViews() 450 List<Person> senders) { in findGroups() 462 Person sender = message.getMessage().getSenderPerson(); in findGroups()
|
D | ConversationLayout.java | 31 import android.app.Person; 102 private Person mUser; 430 historyMessage.getText(), 0, (Person) null, true /* remoteHistory */); in addRemoteInputHistoryToMessages() 452 List<Person> senders = new ArrayList<>(); in bind() 489 Person messageSender = messagingGroup.getSender(); in updateConversationLayout() 577 Person messageSender = messagingGroup.getSender(); in bindFacePile() 846 private void setUser(Person user) { in setUser() 857 List<Person> senders, boolean showSpinner) { in createGroupViews() 881 Person sender = senders.get(groupIndex); in createGroupViews() 903 List<Person> senders) { in findGroups() [all …]
|
D | MessagingGroup.java | 24 import android.app.Person; 94 private Person mSender; 197 public void setSender(Person sender, CharSequence nameOverride) { in setSender() 652 public Person getSender() { in getSender()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/ |
D | NotificationHelper.java | 25 import android.app.Person; 167 ArrayList<Person> people = sbn.getNotification().extras.getParcelableArrayList( in getContactUri() 181 Person sender = message.getSenderPerson(); in getContactUri() 231 Person person = message.getSenderPerson(); in getSenderIfGroupConversation()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | HeadsUpManagerTest.java | 31 import android.app.Person; 124 Person person = new Person.Builder().setName("person").build(); in testAlertEntryCompareTo_incomingCallLessThanActiveRemoteInput()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
D | NotificationHelperTest.java | 33 import android.app.Person; 65 private static final Person PERSON = new Person.Builder() 245 NOTIFICATION_TEXT_3, 10, new Person.Builder().build()); in testGetSenderIfGroupConversation_groupNoName()
|
/frameworks/base/core/tests/coretests/src/android/service/notification/ |
D | StatusBarNotificationTest.java | 29 import android.app.Person; 171 .addPerson(new Person.Builder().build()); in testLogMakerWithPerson() 180 .setStyle(new Notification.MessagingStyle(new Person.Builder().build())); in testLogMakerWithStyle()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationEntryTest.java | 38 import android.app.Person; 202 Person.Builder person = new Person.Builder() in notificationDataEntry_testIsLastMessageFromReply()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/icon/ |
D | IconManagerTest.kt | 23 import android.app.Person 183 Person.Builder().setIcon(messageIc).build() in notificationEntry()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ValidateNotificationPeople.java | 21 import android.app.Person; 342 if (arrayList.get(0) instanceof Person) { in getExtraPeopleForKey() 343 ArrayList<Person> list = (ArrayList<Person>) arrayList; in getExtraPeopleForKey()
|
D | NotificationRecordLogger.java | 27 import android.app.Person; 378 ArrayList<Person> people = extras.getParcelableArrayList( in getNumPeople()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ |
D | IconManager.kt | 20 import android.app.Person in <lambda>() 263 val user = extras.getParcelable<Person>(Notification.EXTRA_MESSAGING_PERSON) in <lambda>()
|