Home
last modified time | relevance | path

Searched refs:signals (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAdjustmentExtractorTest.java52 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()
DNotificationRecordTest.java489 Bundle signals = new Bundle(); in testLogMakerImportanceAsst() local
490 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testLogMakerImportanceAsst()
491 record.addAdjustment(new Adjustment(PKG_O, KEY_IMPORTANCE, signals, "", uid)); in testLogMakerImportanceAsst()
566 Bundle signals = new Bundle(); in testLogMakerImportanceMulti() local
567 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testLogMakerImportanceMulti()
568 record.addAdjustment(new Adjustment(PKG_O, KEY_IMPORTANCE, signals, "", uid)); in testLogMakerImportanceMulti()
640 Bundle signals = new Bundle(); in testUserSentiment() local
641 signals.putInt(Adjustment.KEY_USER_SENTIMENT, USER_SENTIMENT_NEGATIVE); in testUserSentiment()
642 record.addAdjustment(new Adjustment(pkg, record.getKey(), signals, null, sbn.getUserId())); in testUserSentiment()
669 Bundle signals = new Bundle(); in testUserSentiment_appImportanceBlocksNegativeSentimentUpdate() local
[all …]
DNotificationManagerServiceTest.java2970 Bundle signals = new Bundle(); in testApplyAdjustmentMultiUser() local
2971 signals.putInt(Adjustment.KEY_USER_SENTIMENT, in testApplyAdjustmentMultiUser()
2974 r.sbn.getPackageName(), r.getKey(), signals, "", r.getUser().getIdentifier()); in testApplyAdjustmentMultiUser()
2990 Bundle signals = new Bundle(); in testAssistantBlockingTriggersCancel() local
2991 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_NONE); in testAssistantBlockingTriggersCancel()
2993 r.sbn.getPackageName(), r.getKey(), signals, "", r.getUser().getIdentifier()); in testAssistantBlockingTriggersCancel()
3012 Bundle signals = new Bundle(); in testApplyEnqueuedAdjustmentFromAssistant_singleUser() local
3013 signals.putInt(Adjustment.KEY_USER_SENTIMENT, in testApplyEnqueuedAdjustmentFromAssistant_singleUser()
3016 r.sbn.getPackageName(), r.getKey(), signals, "", r.getUser().getIdentifier()); in testApplyEnqueuedAdjustmentFromAssistant_singleUser()
3031 Bundle signals = new Bundle(); in testApplyEnqueuedAdjustmentFromAssistant_importance() local
[all …]
/frameworks/base/core/java/android/service/notification/
DAdjustment.java138 public Adjustment(String pkg, String key, Bundle signals, CharSequence explanation, int user) { in Adjustment() argument
141 mSignals = signals; in Adjustment()
156 public Adjustment(@NonNull String pkg, @NonNull String key, @NonNull Bundle signals, in Adjustment() argument
161 mSignals = signals; in Adjustment()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java619 Bundle signals = adjustment.getSignals(); in applyAdjustments() local
620 if (signals.containsKey(Adjustment.KEY_PEOPLE)) { in applyAdjustments()
625 if (signals.containsKey(Adjustment.KEY_SNOOZE_CRITERIA)) { in applyAdjustments()
631 if (signals.containsKey(Adjustment.KEY_GROUP_KEY)) { in applyAdjustments()
636 if (signals.containsKey(Adjustment.KEY_USER_SENTIMENT)) { in applyAdjustments()
645 if (signals.containsKey(Adjustment.KEY_CONTEXTUAL_ACTIONS)) { in applyAdjustments()
647 signals.getParcelableArrayList(Adjustment.KEY_CONTEXTUAL_ACTIONS)); in applyAdjustments()
649 if (signals.containsKey(Adjustment.KEY_TEXT_REPLIES)) { in applyAdjustments()
650 setSmartReplies(signals.getCharSequenceArrayList(Adjustment.KEY_TEXT_REPLIES)); in applyAdjustments()
652 if (signals.containsKey(Adjustment.KEY_IMPORTANCE)) { in applyAdjustments()
[all …]
DNotificationManagerService.java4354 Bundle signals = new Bundle();
4355 signals.putString(Adjustment.KEY_GROUP_KEY, overrideGroupKey);
4357 new Adjustment(r.sbn.getPackageName(), r.getKey(), signals, "", r.sbn.getUserId());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierSignalAgent.java252 String[] signals = splitStr[1].split(CARRIER_SIGNAL_DELIMITER); in parseAndCache() local
253 for (String s : signals) { in parseAndCache()
/frameworks/base/cmds/hid/
DREADME.md18 signals before returning. However, this is not sufficient. These signals