Home
last modified time | relevance | path

Searched refs:signals (Results 1 – 9 of 9) 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.java511 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 …]
DNotificationManagerServiceTest.java3631 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/
DAdjustment.java152 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/
DNotificationRecord.java633 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 …]
DNotificationManagerService.java5140 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/
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
/frameworks/base/cmds/statsd/src/
Datom_field_options.proto86 // A reset state signals all states go to default value. For example, BLE reset means all active