Home
last modified time | relevance | path

Searched refs:signals (Results 1 – 11 of 11) 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.java463 Bundle signals = new Bundle(); in testLogMakerImportanceAsst() local
464 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testLogMakerImportanceAsst()
465 record.addAdjustment(new Adjustment(PKG_O, KEY_IMPORTANCE, signals, "", uid)); in testLogMakerImportanceAsst()
540 Bundle signals = new Bundle(); in testLogMakerImportanceMulti() local
541 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testLogMakerImportanceMulti()
542 record.addAdjustment(new Adjustment(PKG_O, KEY_IMPORTANCE, signals, "", uid)); in testLogMakerImportanceMulti()
614 Bundle signals = new Bundle(); in testUserSentiment() local
615 signals.putInt(Adjustment.KEY_USER_SENTIMENT, USER_SENTIMENT_NEGATIVE); in testUserSentiment()
616 record.addAdjustment(new Adjustment(pkg, record.getKey(), signals, null, sbn.getUserId())); in testUserSentiment()
643 Bundle signals = new Bundle(); in testUserSentiment_appImportanceBlocksNegativeSentimentUpdate() local
[all …]
DNotificationManagerServiceTest.java2892 Bundle signals = new Bundle(); in testApplyAdjustmentMultiUser() local
2893 signals.putInt(Adjustment.KEY_USER_SENTIMENT, in testApplyAdjustmentMultiUser()
2896 r.sbn.getPackageName(), r.getKey(), signals, "", r.getUser().getIdentifier()); in testApplyAdjustmentMultiUser()
2912 Bundle signals = new Bundle(); in testAssistantBlockingTriggersCancel() local
2913 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_NONE); in testAssistantBlockingTriggersCancel()
2915 r.sbn.getPackageName(), r.getKey(), signals, "", r.getUser().getIdentifier()); in testAssistantBlockingTriggersCancel()
2934 Bundle signals = new Bundle(); in testApplyEnqueuedAdjustmentFromAssistant_singleUser() local
2935 signals.putInt(Adjustment.KEY_USER_SENTIMENT, in testApplyEnqueuedAdjustmentFromAssistant_singleUser()
2938 r.sbn.getPackageName(), r.getKey(), signals, "", r.getUser().getIdentifier()); in testApplyEnqueuedAdjustmentFromAssistant_singleUser()
2953 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.java649 Bundle signals = adjustment.getSignals(); in applyAdjustments() local
650 if (signals.containsKey(Adjustment.KEY_PEOPLE)) { in applyAdjustments()
655 if (signals.containsKey(Adjustment.KEY_SNOOZE_CRITERIA)) { in applyAdjustments()
661 if (signals.containsKey(Adjustment.KEY_GROUP_KEY)) { in applyAdjustments()
666 if (signals.containsKey(Adjustment.KEY_USER_SENTIMENT)) { in applyAdjustments()
675 if (signals.containsKey(Adjustment.KEY_CONTEXTUAL_ACTIONS)) { in applyAdjustments()
677 signals.getParcelableArrayList(Adjustment.KEY_CONTEXTUAL_ACTIONS)); in applyAdjustments()
679 if (signals.containsKey(Adjustment.KEY_TEXT_REPLIES)) { in applyAdjustments()
680 setSmartReplies(signals.getCharSequenceArrayList(Adjustment.KEY_TEXT_REPLIES)); in applyAdjustments()
682 if (signals.containsKey(Adjustment.KEY_IMPORTANCE)) { in applyAdjustments()
[all …]
DNotificationManagerService.java4230 Bundle signals = new Bundle();
4231 signals.putString(Adjustment.KEY_GROUP_KEY, overrideGroupKey);
4233 new Adjustment(r.sbn.getPackageName(), r.getKey(), signals, "", r.sbn.getUserId());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierSignalAgent.java251 String[] signals = splitStr[1].split(CARRIER_SIGNAL_DELIMITER); in parseAndCache() local
252 for (String s : signals) { in parseAndCache()
/frameworks/base/cmds/hid/
DREADME.md18 signals before returning. However, this is not sufficient. These signals
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/
Dapi.proto69 // non-breaking change. Both version numbers are signals to users
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/
DGPBMessage.m2349 // zero signals EOF / limit reached
DGPBDictionary.m477 // zero signals EOF / limit reached