Searched refs:importance (Results 1 – 25 of 28) sorted by relevance
12
71 int importance = NotificationManager.IMPORTANCE_DEFAULT; in createChannel() local79 importance = NotificationManager.IMPORTANCE_MAX; in createChannel()87 importance = NotificationManager.IMPORTANCE_DEFAULT; in createChannel()95 importance = NotificationManager.IMPORTANCE_LOW; in createChannel()103 NotificationChannel channel = new NotificationChannel(channelId, name, importance); in createChannel()
87 public void setImportance(int importance) { in setImportance() argument88 mImportance = importance; in setImportance()165 void setImportanceSummary(ViewGroup parent, int importance, boolean fromUser) { in setImportanceSummary() argument175 if (importance >= IMPORTANCE_DEFAULT) { in setImportanceSummary()
76 final int importance = (Integer) newValue; in onPreferenceChange() local84 && importance >= IMPORTANCE_DEFAULT) { in onPreferenceChange()90 mChannel.setImportance(importance); in onPreferenceChange()
102 int importance = mChannel.getImportance(); in checkCanBeVisible() local103 if (importance == NotificationManager.IMPORTANCE_UNSPECIFIED) { in checkCanBeVisible()106 return importance >= minImportanceVisible; in checkCanBeVisible()
74 final int importance = in onPreferenceChange() local76 mChannel.setImportance(importance); in onPreferenceChange()
108 final int importance = blocked ? IMPORTANCE_NONE in onSwitchChanged() local110 mChannel.setImportance(importance); in onSwitchChanged()
321 int importance = value ? IMPORTANCE_LOW : IMPORTANCE_NONE; in populateSingleChannelPrefs() local322 channel.setImportance(importance); in populateSingleChannelPrefs()331 importance != IMPORTANCE_NONE); in populateSingleChannelPrefs()
82 final int importance = (Integer) newValue; in onPreferenceChange() local90 && importance >= IMPORTANCE_DEFAULT) { in onPreferenceChange()96 mChannel.setImportance(importance); in onPreferenceChange()
100 int importance = mChannel.getImportance(); in checkCanBeVisible() local101 if (importance == NotificationManager.IMPORTANCE_UNSPECIFIED) { in checkCanBeVisible()104 return importance >= minImportanceVisible; in checkCanBeVisible()
101 final int importance = blocked ? IMPORTANCE_NONE in onSwitchChanged() local103 mChannel.setImportance(importance); in onSwitchChanged()
77 public void setImportance(int importance) { in setImportance() argument78 mImportance = importance; in setImportance()
303 int importance = value ? IMPORTANCE_LOW : IMPORTANCE_NONE; in populateSingleChannelPrefs()304 channel.setImportance(importance); in populateSingleChannelPrefs()
191 int importance = getChannel().getImportance(); in calculateInitialImportance() local218 && (importance == IMPORTANCE_UNSPECIFIED in calculateInitialImportance()224 importance = requestedImportance; in calculateInitialImportance()227 return importance; in calculateInitialImportance()
266 final int importance = entry.getImportance() < IMPORTANCE_LOW in createEnqueuedNotificationAdjustment() local268 signals.putInt(KEY_IMPORTANCE, importance); in createEnqueuedNotificationAdjustment()
112 public int importance; field in ScanManager.UidImportance114 UidImportance(int uid, int importance) { in UidImportance() argument116 this.importance = importance; in UidImportance()1337 public void onUidImportance(final int uid, final int importance) {1341 message.obj = new UidImportance(uid, importance);1368 int importance = imp.importance; in handleImportanceChange() local1370 if (importance <= ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND_SERVICE) { in handleImportanceChange()
119 UiObject2 importance = mDevice.wait(Until.findObject(By.text("Importance")), TIMEOUT); in testNotificationsSettingsListForPhone() local120 assertNotNull("Could not find importance toggle", importance); in testNotificationsSettingsListForPhone()121 assertFalse(importance.isEnabled()); in testNotificationsSettingsListForPhone()
170 final boolean lhsBg = lhsInfo.importance172 final boolean rhsBg = rhsInfo.importance849 && pi.importance >= ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND in isInterestingProcess()850 && pi.importance < ActivityManager.RunningAppProcessInfo.IMPORTANCE_CANT_SAVE_STATE in isInterestingProcess()973 if (ainfo.info.importance in update()1293 if (proc.mRunningProcessInfo.importance >= in update()1297 } else if (proc.mRunningProcessInfo.importance <= in update()1330 } else if (proc.mRunningProcessInfo.importance >= in update()1359 } else if (proc.mRunningProcessInfo.importance <= in update()
77 @NotificationManager.Importance int importance) { in showPrivacyReminderNotification() argument81 CHANNEL_ID, mContext.getString(R.string.app_label), importance); in showPrivacyReminderNotification()
186 int importance = 0; in isLessImportantForegroundNotification() local190 importance = ranking.getImportance(); in isLessImportantForegroundNotification()192 return importance < NotificationManager.IMPORTANCE_DEFAULT in isLessImportantForegroundNotification()
229 int importance = msg.arg1; in handleMessage() local231 if (importance > FOREGROUND_IMPORTANCE_CUTOFF in handleMessage()261 public void onUidImportance(final int uid, final int importance) {263 message.arg1 = importance;
201 final int importance = newState ? IMPORTANCE_LOW : IMPORTANCE_NONE; in onNotifyChange() local202 channel.setImportance(importance); in onNotifyChange()
202 final int importance = newState ? IMPORTANCE_LOW : IMPORTANCE_NONE; in onNotifyChange() local203 channel.setImportance(importance); in onNotifyChange()
1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...