Searched refs:person (Results 1 - 10 of 10) sorted by relevance

/frameworks/support/compat/src/androidTest/java/androidx/core/app/
H A DPersonTest.java46 Person person = new Person.Builder()
55 Bundle personBundle = person.toBundle();
68 Person person = new Person.Builder().build();
70 Bundle personBundle = person.toBundle();
83 Person person = new Person.Builder()
91 Person result = person.toBuilder().build();
103 Person person = new Person.Builder().setName(TEST_NAME).build();
104 assertEquals(TEST_NAME, person.getName());
109 Person person = new Person.Builder().setIcon(TEST_ICON).build();
110 assertEquals(TEST_ICON, person
[all...]
H A DNotificationCompatTest.java558 Person person = new Person.Builder().setName("test name").setKey("key").build();
561 messagingStyle.addMessage("text", 200, person);
/frameworks/base/core/java/android/app/
H A DPerson.java64 * @return the uri provided for this person or {@code null} if no Uri was provided.
72 * @return the name provided for this person or {@code null} if no name was provided.
80 * @return the icon provided for this person or {@code null} if no icon was provided.
88 * @return the key provided for this person or {@code null} if no key was provided.
110 * @return the URI associated with this person, or "name:mName" otherwise
156 private Builder(Person person) { argument
157 mName = person.mName;
158 mIcon = person.mIcon;
159 mUri = person.mUri;
160 mKey = person
[all...]
H A DNotification.java1157 * {@link #extras} key: the person to be displayed for all messages sent by the user including
3981 * Add a person that is relevant to this notification.
3991 * The person should be specified by the {@code String} representation of a
4000 * identify a person without an entry in the contacts database.
4003 * @param uri A URI for the person.
4013 * Add a person that is relevant to this notification.
4023 * A person should usually contain a uri in order to benefit from the ranking boost.
4029 * @param person the person to add.
4032 public Builder addPerson(Person person) { argument
[all...]
/frameworks/support/compat/src/main/java/androidx/core/app/
H A DPerson.java159 private Builder(Person person) { argument
160 mName = person.mName;
161 mIcon = person.mIcon;
162 mUri = person.mUri;
163 mKey = person.mKey;
164 mIsBot = person.mIsBot;
165 mIsImportant = person.mIsImportant;
211 * identification, but if it's not provided, the person's name will be used in its place.
230 * Sets whether this is an important person. Use this method to denote users who frequently
H A DNotificationCompatBuilder.java151 for (String person: b.mPeople) {
152 mBuilder.addPerson(person);
H A DNotificationCompat.java394 * Notification key: the person to display for all messages sent by the user, including direct
1208 * Add a person that is relevant to this notification.
1216 * The person should be specified by the {@code String} representation of a
1226 * @param uri A URI for the person.
2206 /** Returns the person to be used for any replies sent by the user. */
2273 public MessagingStyle addMessage(CharSequence text, long timestamp, Person person) { argument
2274 addMessage(new Message(text, timestamp, person));
2563 static final String KEY_PERSON = "person";
2578 * @param person A {@link Person} whose {@link Person#getName()} value is used as the
2584 public Message(CharSequence text, long timestamp, @Nullable Person person) { argument
[all...]
/frameworks/base/core/java/android/provider/
H A DContacts.java243 * The person's name.
251 * Phonetic equivalent of the person's name, in a locale-dependent
280 * Notes about the person.
288 * The number of times a person has been contacted
296 * The last time a person was contacted.
304 * A custom ringtone associated with a person. Not always present.
312 * Whether the person should always be sent to voicemail. Not always
399 public static final String CONTENT_TYPE = "vnd.android.cursor.dir/person";
403 * person.
407 public static final String CONTENT_ITEM_TYPE = "vnd.android.cursor.item/person";
571 queryGroups(ContentResolver resolver, long person) argument
584 setPhotoData(ContentResolver cr, Uri person, byte[] data) argument
598 openContactPhotoInputStream(ContentResolver cr, Uri person) argument
626 loadContactPhoto(Context context, Uri person, int placeholderImageResource, BitmapFactory.Options options) argument
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DValidateNotificationPeople.java87 // maps raw person handle to resolved person object
298 for (String person: first) {
299 people.add(person);
301 for (String person: second) {
302 people.add(person);
501 lookupResult = new LookupResult(); // invalid person for the cache
/frameworks/base/core/java/android/service/notification/
H A DNotificationListenerService.java1211 Person person = people.get(i);
1212 peopleArray[i] = person.resolveToLegacyUri();

Completed in 877 milliseconds