Home
last modified time | relevance | path

Searched refs:people (Results 1 – 25 of 98) sorted by relevance

1234

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAdjustmentExtractorTest.java57 ArrayList<String> people = new ArrayList<>(); in testExtractsAdjustment() local
58 people.add("you"); in testExtractsAdjustment()
59 signals.putStringArrayList(Adjustment.KEY_PEOPLE, people); in testExtractsAdjustment()
67 assertFalse(Objects.equals(people, r.getPeopleOverride())); in testExtractsAdjustment()
73 assertEquals(people, r.getPeopleOverride()); in testExtractsAdjustment()
85 ArrayList<String> people = new ArrayList<>(); in testExtractsAdjustments() local
86 people.add("you"); in testExtractsAdjustments()
87 pSignals.putStringArrayList(Adjustment.KEY_PEOPLE, people); in testExtractsAdjustments()
104 assertFalse(Objects.equals(people, r.getPeopleOverride())); in testExtractsAdjustments()
110 assertEquals(people, r.getPeopleOverride()); in testExtractsAdjustments()
/frameworks/base/services/core/java/com/android/server/notification/
DValidateNotificationPeople.java244 final Set<String> people = new ArraySet<>(peopleOverride); in validatePeople() local
247 people.addAll(Arrays.asList(notificationPeople)); in validatePeople()
253 for (String handle : people) { in validatePeople()
303 ArraySet<String> people = new ArraySet<>(first.length + second.length); in combineLists() local
305 people.add(person); in combineLists()
308 people.add(person); in combineLists()
310 return people.toArray(EmptyArray.STRING); in combineLists()
315 Object people = extras.get(key); in getExtraPeopleForKey() local
316 if (people instanceof String[]) { in getExtraPeopleForKey()
317 return (String[]) people; in getExtraPeopleForKey()
[all …]
DNotificationRecordLogger.java378 ArrayList<Person> people = extras.getParcelableArrayList( in getNumPeople() local
380 if (people != null && !people.isEmpty()) { in getNumPeople()
381 return people.size(); in getNumPeople()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/people/
DPeopleNotificationIdentifier.kt17 package com.android.systemui.statusbar.notification.people
22 import com.android.systemui.statusbar.notification.people.PeopleNotificationIdentifier.Companion.Pe…
23 import com.android.systemui.statusbar.notification.people.PeopleNotificationIdentifier.Companion.TY…
24 import com.android.systemui.statusbar.notification.people.PeopleNotificationIdentifier.Companion.TY…
25 import com.android.systemui.statusbar.notification.people.PeopleNotificationIdentifier.Companion.TY…
26 import com.android.systemui.statusbar.notification.people.PeopleNotificationIdentifier.Companion.TY…
DPeopleHub.kt17 package com.android.systemui.statusbar.notification.people
28 data class PeopleHubViewModel(val people: Sequence<PersonViewModel>, val isVisible: Boolean) constant in com.android.systemui.statusbar.notification.people.PeopleHubViewModel
42 data class PeopleHubModel(val people: Collection<PersonModel>) constant in com.android.systemui.statusbar.notification.people.PeopleHubModel
DPeopleHubViewController.kt17 package com.android.systemui.statusbar.notification.people in <lambda>()
89 val padded = viewModel.people + repeated(null) in bindView()
144 val personViewModels = model.people.asSequence().map { personModel -> in createWithAssociatedClickView()
150 return PeopleHubViewModel(personViewModels, model.people.isNotEmpty()) in createWithAssociatedClickView()
DPeopleHubNotificationListener.kt17 package com.android.systemui.statusbar.notification.people in <lambda>()
46 import com.android.systemui.statusbar.notification.people.PeopleNotificationIdentifier.Companion.TY… in <lambda>()
204 return model.copy(people = model.people.filter { person -> in extractPersonKey()
/frameworks/base/services/people/java/com/android/server/people/prediction/
DConversationData.java17 package com.android.server.people.prediction;
21 import com.android.server.people.data.ConversationInfo;
22 import com.android.server.people.data.EventHistory;
DShareTargetPredictor.java17 package com.android.server.people.prediction;
37 import com.android.server.people.data.ConversationInfo;
38 import com.android.server.people.data.DataManager;
39 import com.android.server.people.data.EventHistory;
40 import com.android.server.people.data.PackageData;
DAppTargetPredictor.java17 package com.android.server.people.prediction;
29 import com.android.server.people.data.DataManager;
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/people/
DPeopleHubViewControllerTest.kt17 package com.android.systemui.statusbar.notification.people
118 val people = viewModel.people.toList() in testViewModelDataSourceTransformsModel() constant
119 assertThat(people.size).isEqualTo(1) in testViewModelDataSourceTransformsModel()
120 assertThat(people[0].name).isEqualTo("name") in testViewModelDataSourceTransformsModel()
121 assertThat(people[0].icon).isSameAs(fakePerson.avatar) in testViewModelDataSourceTransformsModel()
123 people[0].onClick() in testViewModelDataSourceTransformsModel()
DPeopleFakes.kt17 package com.android.systemui.statusbar.notification.people
/frameworks/base/services/people/java/com/android/server/people/
DSessionInfo.java17 package com.android.server.people;
28 import com.android.server.people.data.DataManager;
29 import com.android.server.people.prediction.AppTargetPredictor;
/frameworks/base/services/people/java/com/android/server/people/data/
DPackageData.java17 package com.android.server.people.data;
19 import static com.android.server.people.data.EventStore.CATEGORY_CALL;
20 import static com.android.server.people.data.EventStore.CATEGORY_CLASS_BASED;
21 import static com.android.server.people.data.EventStore.CATEGORY_LOCUS_ID_BASED;
22 import static com.android.server.people.data.EventStore.CATEGORY_SHORTCUT_BASED;
23 import static com.android.server.people.data.EventStore.CATEGORY_SMS;
DDataMaintenanceService.java17 package com.android.server.people.data;
29 import com.android.server.people.PeopleServiceInternal;
DEventHistoryImpl.java17 package com.android.server.people.data;
33 import com.android.server.people.PeopleEventIndexesProto;
34 import com.android.server.people.PeopleEventsProto;
35 import com.android.server.people.TypedPeopleEventIndexProto;
DAppUsageStatsData.java17 package com.android.server.people.data;
DEventHistory.java17 package com.android.server.people.data;
/frameworks/base/core/proto/android/server/
Dpeopleservice.proto19 package com.android.server.people;
33 // Individual conversation info (com.android.server.people.data.ConversationInfo) for a user
64 // Individual event (com.android.server.people.data.Event).
88 // Index of events' time distributions (com.android.server.people.data.EventIndex).
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DPeopleHubView.kt28 import com.android.systemui.statusbar.notification.people.DataListener in <lambda>()
29 import com.android.systemui.statusbar.notification.people.PersonViewModel in <lambda>()
/frameworks/base/services/people/
DAndroid.bp2 name: "services.people",
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DHighPriorityProviderTest.java23 import static com.android.systemui.statusbar.notification.people.PeopleNotificationIdentifier.TYPE_…
24 import static com.android.systemui.statusbar.notification.people.PeopleNotificationIdentifier.TYPE_…
40 import com.android.systemui.statusbar.notification.people.PeopleNotificationIdentifier;
/frameworks/base/core/java/android/service/notification/
DStatusBarNotification.java477 ArrayList<Person> people = getNotification().extras.getParcelableArrayList( in getLogMaker() local
479 if (people != null && !people.isEmpty()) { in getLogMaker()
480 logMaker.addTaggedData(MetricsEvent.FIELD_NOTIFICATION_PEOPLE, people.size()); in getLogMaker()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DAggregateEventHistoryImplTest.java17 package com.android.server.people.data;
19 import static com.android.server.people.data.TestUtils.timestamp;
/frameworks/base/services/core/java/com/android/server/people/
DPeopleServiceInternal.java17 package com.android.server.people;

1234