/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationAdjustmentExtractorTest.java | 33 import android.service.notification.Adjustment; 53 signals.putString(Adjustment.KEY_GROUP_KEY, GroupHelper.AUTOGROUP_KEY); in testExtractsAdjustment() 56 signals.putParcelableArrayList(Adjustment.KEY_SNOOZE_CRITERIA, snoozeCriteria); in testExtractsAdjustment() 59 signals.putStringArrayList(Adjustment.KEY_PEOPLE, people); in testExtractsAdjustment() 62 signals.putParcelableArrayList(Adjustment.KEY_CONTEXTUAL_ACTIONS, smartActions); in testExtractsAdjustment() 63 Adjustment adjustment = new Adjustment("pkg", r.getKey(), signals, "", 0); in testExtractsAdjustment() 87 pSignals.putStringArrayList(Adjustment.KEY_PEOPLE, people); in testExtractsAdjustments() 88 Adjustment pAdjustment = new Adjustment("pkg", r.getKey(), pSignals, "", 0); in testExtractsAdjustments() 94 sSignals.putParcelableArrayList(Adjustment.KEY_SNOOZE_CRITERIA, snoozeCriteria); in testExtractsAdjustments() 95 Adjustment sAdjustment = new Adjustment("pkg", r.getKey(), sSignals, "", 0); in testExtractsAdjustments() [all …]
|
D | NotificationRecordExtractorDataTest.java | 29 import android.service.notification.Adjustment; 91 signals.putInt(Adjustment.KEY_IMPORTANCE_PROPOSAL, IMPORTANCE_HIGH); in testHasDiffs_proposedImportanceChange() 92 Adjustment adjustment = new Adjustment("pkg", r.getKey(), signals, "", 0); in testHasDiffs_proposedImportanceChange() 125 signals.putString(Adjustment.KEY_GROUP_KEY, "ranker_group"); in testHasDiffs_autoBundled() 126 Adjustment adjustment = new Adjustment("pkg", r.getKey(), signals, "", 0); in testHasDiffs_autoBundled() 160 signals.putBoolean(Adjustment.KEY_SENSITIVE_CONTENT, true); in testHasDiffs_sensitiveContentChange() 161 Adjustment adjustment = new Adjustment("pkg", r.getKey(), signals, "", 0); in testHasDiffs_sensitiveContentChange()
|
D | NotificationRecordTest.java | 24 import static android.service.notification.Adjustment.KEY_IMPORTANCE; 25 import static android.service.notification.Adjustment.KEY_NOT_CONVERSATION; 75 import android.service.notification.Adjustment; 689 record.addAdjustment(new Adjustment(PKG_O, KEY_IMPORTANCE, signals, "", uid)); in testLogMakerImportanceAsst() 766 record.addAdjustment(new Adjustment(PKG_O, KEY_IMPORTANCE, signals, "", uid)); in testLogMakerImportanceMulti() 871 signals.putInt(Adjustment.KEY_USER_SENTIMENT, USER_SENTIMENT_NEGATIVE); in testUserSentiment() 872 record.addAdjustment(new Adjustment(mPkg, record.getKey(), signals, null, sbn.getUserId())); in testUserSentiment() 900 signals.putInt(Adjustment.KEY_USER_SENTIMENT, USER_SENTIMENT_NEGATIVE); in testUserSentiment_appImportanceBlocksNegativeSentimentUpdate() 901 record.addAdjustment(new Adjustment(mPkg, record.getKey(), signals, null, sbn.getUserId())); in testUserSentiment_appImportanceBlocksNegativeSentimentUpdate() 918 signals.putInt(Adjustment.KEY_USER_SENTIMENT, USER_SENTIMENT_NEGATIVE); in testUserSentiment_userLocked() [all …]
|
D | NotificationManagerServiceTest.java | 91 import static android.service.notification.Adjustment.KEY_CONTEXTUAL_ACTIONS; 92 import static android.service.notification.Adjustment.KEY_IMPORTANCE; 93 import static android.service.notification.Adjustment.KEY_TEXT_REPLIES; 94 import static android.service.notification.Adjustment.KEY_USER_SENTIMENT; 251 import android.service.notification.Adjustment; 1882 Adjustment adjustment = new Adjustment( in testBlockedNotifications_blockedByAssistant() 6284 signals.putInt(Adjustment.KEY_USER_SENTIMENT, in testApplyAdjustmentMultiUser() 6286 Adjustment adjustment = new Adjustment( in testApplyAdjustmentMultiUser() 6305 Adjustment adjustment = new Adjustment( in testAssistantBlockingTriggersCancel() 6326 signals.putInt(Adjustment.KEY_USER_SENTIMENT, in testApplyEnqueuedAdjustmentFromAssistant_singleUser() [all …]
|
/frameworks/base/core/java/android/service/notification/ |
D | Adjustment.java | 45 public final class Adjustment implements Parcelable { class 185 public Adjustment(String pkg, String key, Bundle signals, CharSequence explanation, int user) { in Adjustment() method in Adjustment 203 public Adjustment(@NonNull String pkg, @NonNull String key, @NonNull Bundle signals, in Adjustment() method in Adjustment 217 protected Adjustment(Parcel in) { in Adjustment() method in Adjustment 238 …blic static final @android.annotation.NonNull Creator<Adjustment> CREATOR = new Creator<Adjustment… 240 public Adjustment createFromParcel(Parcel in) { 241 return new Adjustment(in); 245 public Adjustment[] newArray(int size) { 246 return new Adjustment[size];
|
D | NotificationAssistantService.java | 154 abstract public @Nullable Adjustment onNotificationEnqueued(@NonNull StatusBarNotification sbn); in onNotificationEnqueued() 166 public @Nullable Adjustment onNotificationEnqueued(@NonNull StatusBarNotification sbn, in onNotificationEnqueued() 180 public @Nullable Adjustment onNotificationEnqueued(@NonNull StatusBarNotification sbn, in onNotificationEnqueued() 321 public final void adjustNotification(@NonNull Adjustment adjustment) { in adjustNotification() 339 public final void adjustNotifications(@NonNull List<Adjustment> adjustments) { in adjustNotifications() 342 for (Adjustment adjustment : adjustments) { in adjustNotifications() 512 private void setAdjustmentIssuer(@Nullable Adjustment adjustment) { in setAdjustmentIssuer() 546 Adjustment adjustment = onNotificationEnqueued(sbn, channel, ranking); in handleMessage()
|
D | Adjustment.aidl | 19 parcelable Adjustment;
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 60 import android.service.notification.Adjustment; 191 private final List<Adjustment> mAdjustments; 683 for (Adjustment adjustment : mAdjustments) { in hasAdjustment() 692 public void addAdjustment(Adjustment adjustment) { in addAdjustment() 701 for (Adjustment adjustment: mAdjustments) { in applyAdjustments() 703 if (signals.containsKey(Adjustment.KEY_PEOPLE)) { in applyAdjustments() 705 adjustment.getSignals().getStringArrayList(Adjustment.KEY_PEOPLE); in applyAdjustments() 708 getKey(), Adjustment.KEY_PEOPLE, people.toString()); in applyAdjustments() 710 if (signals.containsKey(Adjustment.KEY_SNOOZE_CRITERIA)) { in applyAdjustments() 713 … Adjustment.KEY_SNOOZE_CRITERIA, android.service.notification.SnoozeCriterion.class); in applyAdjustments() [all …]
|
D | NotificationManagerService.java | 273 import android.service.notification.Adjustment; 452 Adjustment.KEY_PEOPLE, 453 Adjustment.KEY_SNOOZE_CRITERIA, 454 Adjustment.KEY_USER_SENTIMENT, 455 Adjustment.KEY_CONTEXTUAL_ACTIONS, 456 Adjustment.KEY_TEXT_REPLIES, 457 Adjustment.KEY_IMPORTANCE, 458 Adjustment.KEY_IMPORTANCE_PROPOSAL, 459 Adjustment.KEY_SENSITIVE_CONTENT, 460 Adjustment.KEY_RANKING_SCORE, [all …]
|
/frameworks/base/core/java/android/app/ |
D | INotificationManager.aidl | 35 import android.service.notification.Adjustment; 181 …void applyEnqueuedAdjustmentFromAssistant(in INotificationListener token, in Adjustment adjustment… in applyEnqueuedAdjustmentFromAssistant() 182 void applyAdjustmentFromAssistant(in INotificationListener token, in Adjustment adjustment); in applyAdjustmentFromAssistant() 183 …void applyAdjustmentsFromAssistant(in INotificationListener token, in List<Adjustment> adjustments… in applyAdjustmentsFromAssistant()
|
D | NotificationManager.java | 57 import android.service.notification.Adjustment; 1724 public @NonNull @Adjustment.Keys List<String> getAllowedAssistantAdjustments() { in getAllowedAssistantAdjustments()
|
/frameworks/libs/systemui/weathereffects/graphics/assets/shaders/ |
D | snow.agsl | 134 // Adjustment so the shape is not skewed.
|
/frameworks/proto_logging/stats/atoms/framework/ |
D | framework_extension_atoms.proto | 512 * Reports a notification got an Adjustment with the KEY_SENSITIVE_CONTENT value set, and whether
|
/frameworks/base/core/api/ |
D | system-current.txt | 12867 public final class Adjustment implements android.os.Parcelable { 12868 ctor public Adjustment(String, String, android.os.Bundle, CharSequence, int); 12869 …ctor public Adjustment(@NonNull String, @NonNull String, @NonNull android.os.Bundle, @NonNull Char… 12870 ctor protected Adjustment(android.os.Parcel); 12879 …public static final android.os.Parcelable.Creator<android.service.notification.Adjustment> CREATOR; 12894 method public final void adjustNotification(@NonNull android.service.notification.Adjustment); 12895 …c final void adjustNotifications(@NonNull java.util.List<android.service.notification.Adjustment>); 12901 …method @Nullable public abstract android.service.notification.Adjustment onNotificationEnqueued(@N… 12902 …method @Nullable public android.service.notification.Adjustment onNotificationEnqueued(@NonNull an… 12903 …method @Nullable public android.service.notification.Adjustment onNotificationEnqueued(@NonNull an…
|
/frameworks/base/services/ |
D | art-profile | 2020 …ndroid/service/notification/Adjustment;)V+]Landroid/service/notification/Adjustment;Landroid/servi… 2070 …;Landroid/os/Bundle;]Landroid/service/notification/Adjustment;Landroid/service/notification/Adjust…
|
D | art-wear-profile | 15871 …ant(Landroid/service/notification/INotificationListener;Landroid/service/notification/Adjustment;)V 16077 …ice;Lcom/android/server/notification/NotificationRecord;Landroid/service/notification/Adjustment;)V 16106 …ent(Lcom/android/server/notification/NotificationRecord;Landroid/service/notification/Adjustment;)V 16223 …/server/notification/NotificationRecord;->addAdjustment(Landroid/service/notification/Adjustment;)V
|
/frameworks/base/boot/ |
D | preloaded-classes | 7061 android.service.notification.Adjustment$1 7062 android.service.notification.Adjustment
|
D | boot-image-profile.txt | 29465 Landroid/service/notification/Adjustment$1; 29466 Landroid/service/notification/Adjustment;
|
/frameworks/base/config/ |
D | preloaded-classes | 7065 android.service.notification.Adjustment$1 7066 android.service.notification.Adjustment
|
D | boot-image-profile.txt | 39599 Landroid/service/notification/Adjustment$1; 39600 Landroid/service/notification/Adjustment;
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 6411 …ant(Landroid/service/notification/INotificationListener;Landroid/service/notification/Adjustment;)V 6413 …ant(Landroid/service/notification/INotificationListener;Landroid/service/notification/Adjustment;)V 6608 …ant(Landroid/service/notification/INotificationListener;Landroid/service/notification/Adjustment;)V 6610 …ant(Landroid/service/notification/INotificationListener;Landroid/service/notification/Adjustment;)V 48890 Landroid/service/notification/Adjustment;->KEY_GROUP_KEY:Ljava/lang/String; 48891 Landroid/service/notification/Adjustment;->mExplanation:Ljava/lang/CharSequence; 48892 Landroid/service/notification/Adjustment;->mKey:Ljava/lang/String; 48893 Landroid/service/notification/Adjustment;->mPackage:Ljava/lang/String; 48894 Landroid/service/notification/Adjustment;->mSignals:Landroid/os/Bundle; 48895 Landroid/service/notification/Adjustment;->mUser:I
|