HomeSort by relevance Sort by last modified time
    Searched refs:NotificationsSentState (Results 1 - 3 of 3) sorted by null

  /packages/apps/Settings/src/com/android/settings/applications/
AppStateNotificationBridge.java 76 final Map<String, NotificationsSentState> map = getAggregatedUsageEvents();
78 NotificationsSentState stats =
88 NotificationsSentState stats = getAggregatedUsageEvents(
95 public static CharSequence getSummary(Context context, NotificationsSentState state,
111 private void addBlockStatus(AppEntry entry, NotificationsSentState stats) {
119 private void calculateAvgSentCounts(NotificationsSentState stats) {
128 protected Map<String, NotificationsSentState> getAggregatedUsageEvents() {
129 ArrayMap<String, NotificationsSentState> aggregatedStats = new ArrayMap<>();
145 NotificationsSentState stats =
148 stats = new NotificationsSentState();
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
AppStateNotificationBridgeTest.java 58 import com.android.settings.applications.AppStateNotificationBridge.NotificationsSentState;
151 Map<String, NotificationsSentState> map = mBridge.getAggregatedUsageEvents();
173 Map<String, NotificationsSentState> map = mBridge.getAggregatedUsageEvents();
196 Map<String, NotificationsSentState> map
236 assertThat(((NotificationsSentState) apps.get(0).extraInfo).sentCount).isEqualTo(7);
237 assertThat(((NotificationsSentState) apps.get(0).extraInfo).lastSent).isEqualTo(6);
238 assertThat(((NotificationsSentState) apps.get(0).extraInfo).avgSentDaily).isEqualTo(1);
239 assertThat(((NotificationsSentState) apps.get(0).extraInfo).avgSentWeekly).isEqualTo(0);
240 assertThat(((NotificationsSentState) apps.get(0).extraInfo).blocked).isTrue();
241 assertThat(((NotificationsSentState) apps.get(0).extraInfo).systemApp).isTrue()
    [all...]
  /packages/apps/Settings/src/com/android/settings/applications/manageapplications/
ManageApplications.java 93 import com.android.settings.applications.AppStateNotificationBridge.NotificationsSentState;
    [all...]

Completed in 147 milliseconds