/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationAdjustmentExtractorTest.java | 57 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/ |
D | ValidateNotificationPeople.java | 244 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 …]
|
D | NotificationRecordLogger.java | 378 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/ |
D | PeopleNotificationIdentifier.kt | 17 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…
|
D | PeopleHub.kt | 17 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
|
D | PeopleHubViewController.kt | 17 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()
|
D | PeopleHubNotificationListener.kt | 17 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/ |
D | ConversationData.java | 17 package com.android.server.people.prediction; 21 import com.android.server.people.data.ConversationInfo; 22 import com.android.server.people.data.EventHistory;
|
D | ShareTargetPredictor.java | 17 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;
|
D | AppTargetPredictor.java | 17 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/ |
D | PeopleHubViewControllerTest.kt | 17 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()
|
D | PeopleFakes.kt | 17 package com.android.systemui.statusbar.notification.people
|
/frameworks/base/services/people/java/com/android/server/people/ |
D | SessionInfo.java | 17 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/ |
D | PackageData.java | 17 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;
|
D | DataMaintenanceService.java | 17 package com.android.server.people.data; 29 import com.android.server.people.PeopleServiceInternal;
|
D | EventHistoryImpl.java | 17 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;
|
D | AppUsageStatsData.java | 17 package com.android.server.people.data;
|
D | EventHistory.java | 17 package com.android.server.people.data;
|
/frameworks/base/core/proto/android/server/ |
D | peopleservice.proto | 19 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/ |
D | PeopleHubView.kt | 28 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/ |
D | Android.bp | 2 name: "services.people",
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | HighPriorityProviderTest.java | 23 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/ |
D | StatusBarNotification.java | 477 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/ |
D | AggregateEventHistoryImplTest.java | 17 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/ |
D | PeopleServiceInternal.java | 17 package com.android.server.people;
|