/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationAdjustmentExtractorTest.java | 52 Bundle signals = new Bundle(); in testExtractsAdjustment() local 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()
|
D | NotificationRecordTest.java | 511 Bundle signals = new Bundle(); in testLogMakerImportanceAsst() local 512 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testLogMakerImportanceAsst() 513 record.addAdjustment(new Adjustment(PKG_O, KEY_IMPORTANCE, signals, "", uid)); in testLogMakerImportanceAsst() 588 Bundle signals = new Bundle(); in testLogMakerImportanceMulti() local 589 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testLogMakerImportanceMulti() 590 record.addAdjustment(new Adjustment(PKG_O, KEY_IMPORTANCE, signals, "", uid)); in testLogMakerImportanceMulti() 662 Bundle signals = new Bundle(); in testUserSentiment() local 663 signals.putInt(Adjustment.KEY_USER_SENTIMENT, USER_SENTIMENT_NEGATIVE); in testUserSentiment() 664 record.addAdjustment(new Adjustment(mPkg, record.getKey(), signals, null, sbn.getUserId())); in testUserSentiment() 691 Bundle signals = new Bundle(); in testUserSentiment_appImportanceBlocksNegativeSentimentUpdate() local [all …]
|
D | NotificationManagerServiceTest.java | 3631 Bundle signals = new Bundle(); in testApplyAdjustmentMultiUser() local 3632 signals.putInt(Adjustment.KEY_USER_SENTIMENT, in testApplyAdjustmentMultiUser() 3635 r.getSbn().getPackageName(), r.getKey(), signals, "", r.getUser().getIdentifier()); in testApplyAdjustmentMultiUser() 3651 Bundle signals = new Bundle(); in testAssistantBlockingTriggersCancel() local 3652 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_NONE); in testAssistantBlockingTriggersCancel() 3654 r.getSbn().getPackageName(), r.getKey(), signals, "", r.getUser().getIdentifier()); in testAssistantBlockingTriggersCancel() 3673 Bundle signals = new Bundle(); in testApplyEnqueuedAdjustmentFromAssistant_singleUser() local 3674 signals.putInt(Adjustment.KEY_USER_SENTIMENT, in testApplyEnqueuedAdjustmentFromAssistant_singleUser() 3677 r.getSbn().getPackageName(), r.getKey(), signals, "", r.getUser().getIdentifier()); in testApplyEnqueuedAdjustmentFromAssistant_singleUser() 3692 Bundle signals = new Bundle(); in testApplyEnqueuedAdjustmentFromAssistant_importance() local [all …]
|
/frameworks/base/core/java/android/service/notification/ |
D | Adjustment.java | 152 public Adjustment(String pkg, String key, Bundle signals, CharSequence explanation, int user) { in Adjustment() argument 155 mSignals = signals; in Adjustment() 170 public Adjustment(@NonNull String pkg, @NonNull String key, @NonNull Bundle signals, in Adjustment() argument 175 mSignals = signals; in Adjustment()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 633 Bundle signals = adjustment.getSignals(); in applyAdjustments() local 634 if (signals.containsKey(Adjustment.KEY_PEOPLE)) { in applyAdjustments() 639 if (signals.containsKey(Adjustment.KEY_SNOOZE_CRITERIA)) { in applyAdjustments() 645 if (signals.containsKey(Adjustment.KEY_GROUP_KEY)) { in applyAdjustments() 650 if (signals.containsKey(Adjustment.KEY_USER_SENTIMENT)) { in applyAdjustments() 659 if (signals.containsKey(Adjustment.KEY_CONTEXTUAL_ACTIONS)) { in applyAdjustments() 661 signals.getParcelableArrayList(Adjustment.KEY_CONTEXTUAL_ACTIONS)); in applyAdjustments() 663 if (signals.containsKey(Adjustment.KEY_TEXT_REPLIES)) { in applyAdjustments() 664 setSmartReplies(signals.getCharSequenceArrayList(Adjustment.KEY_TEXT_REPLIES)); in applyAdjustments() 666 if (signals.containsKey(Adjustment.KEY_IMPORTANCE)) { in applyAdjustments() [all …]
|
D | NotificationManagerService.java | 5140 Bundle signals = new Bundle(); 5141 signals.putString(Adjustment.KEY_GROUP_KEY, overrideGroupKey); 5142 Adjustment adjustment = new Adjustment(r.getSbn().getPackageName(), r.getKey(), signals, "",
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierSignalAgent.java | 252 String[] signals = splitStr[1].split(CARRIER_SIGNAL_DELIMITER); in parseAndCache() local 253 for (String s : signals) { in parseAndCache()
|
/frameworks/base/cmds/hid/ |
D | README.md | 18 signals before returning. However, this is not sufficient. These signals
|
/frameworks/base/cmds/statsd/src/ |
D | atom_field_options.proto | 86 // A reset state signals all states go to default value. For example, BLE reset means all active
|