Home
last modified time | relevance | path

Searched refs:importance (Results 1 – 25 of 28) sorted by relevance

12

/packages/services/Telecomm/src/com/android/server/telecom/ui/
DNotificationChannelManager.java71 int importance = NotificationManager.IMPORTANCE_DEFAULT; in createChannel() local
79 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()
/packages/apps/Settings/src/com/android/settings/notification/
DImportancePreference.java87 public void setImportance(int importance) { in setImportance() argument
88 mImportance = importance; in setImportance()
165 void setImportanceSummary(ViewGroup parent, int importance, boolean fromUser) { in setImportanceSummary() argument
175 if (importance >= IMPORTANCE_DEFAULT) { in setImportanceSummary()
DImportancePreferenceController.java76 final int importance = (Integer) newValue; in onPreferenceChange() local
84 && importance >= IMPORTANCE_DEFAULT) { in onPreferenceChange()
90 mChannel.setImportance(importance); in onPreferenceChange()
DNotificationPreferenceController.java102 int importance = mChannel.getImportance(); in checkCanBeVisible() local
103 if (importance == NotificationManager.IMPORTANCE_UNSPECIFIED) { in checkCanBeVisible()
106 return importance >= minImportanceVisible; in checkCanBeVisible()
DAllowSoundPreferenceController.java74 final int importance = in onPreferenceChange() local
76 mChannel.setImportance(importance); in onPreferenceChange()
DBlockPreferenceController.java108 final int importance = blocked ? IMPORTANCE_NONE in onSwitchChanged() local
110 mChannel.setImportance(importance); in onSwitchChanged()
DNotificationSettingsBase.java321 int importance = value ? IMPORTANCE_LOW : IMPORTANCE_NONE; in populateSingleChannelPrefs() local
322 channel.setImportance(importance); in populateSingleChannelPrefs()
331 importance != IMPORTANCE_NONE); in populateSingleChannelPrefs()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DImportancePreferenceController.java82 final int importance = (Integer) newValue; in onPreferenceChange() local
90 && importance >= IMPORTANCE_DEFAULT) { in onPreferenceChange()
96 mChannel.setImportance(importance); in onPreferenceChange()
DNotificationPreferenceController.java100 int importance = mChannel.getImportance(); in checkCanBeVisible() local
101 if (importance == NotificationManager.IMPORTANCE_UNSPECIFIED) { in checkCanBeVisible()
104 return importance >= minImportanceVisible; in checkCanBeVisible()
DAllowSoundPreferenceController.java74 final int importance = in onPreferenceChange() local
76 mChannel.setImportance(importance); in onPreferenceChange()
DBlockPreferenceController.java101 final int importance = blocked ? IMPORTANCE_NONE in onSwitchChanged() local
103 mChannel.setImportance(importance); in onSwitchChanged()
DImportancePreference.java77 public void setImportance(int importance) { in setImportance() argument
78 mImportance = importance; in setImportance()
DNotificationSettingsBase.java303 int importance = value ? IMPORTANCE_LOW : IMPORTANCE_NONE; in populateSingleChannelPrefs()
304 channel.setImportance(importance); in populateSingleChannelPrefs()
/packages/modules/ExtServices/src/android/ext/services/notification/
DNotificationEntry.java191 int importance = getChannel().getImportance(); in calculateInitialImportance() local
218 && (importance == IMPORTANCE_UNSPECIFIED in calculateInitialImportance()
224 importance = requestedImportance; in calculateInitialImportance()
227 return importance; in calculateInitialImportance()
DAssistant.java266 final int importance = entry.getImportance() < IMPORTANCE_LOW in createEnqueuedNotificationAdjustment() local
268 signals.putInt(KEY_IMPORTANCE, importance); in createEnqueuedNotificationAdjustment()
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DScanManager.java112 public int importance; field in ScanManager.UidImportance
114 UidImportance(int uid, int importance) { in UidImportance() argument
116 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() local
1370 if (importance <= ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND_SERVICE) { in handleImportanceChange()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DNotificationSettingsTests.java119 UiObject2 importance = mDevice.wait(Until.findObject(By.text("Importance")), TIMEOUT); in testNotificationsSettingsListForPhone() local
120 assertNotNull("Could not find importance toggle", importance); in testNotificationsSettingsListForPhone()
121 assertFalse(importance.isEnabled()); in testNotificationsSettingsListForPhone()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DRunningState.java170 final boolean lhsBg = lhsInfo.importance
172 final boolean rhsBg = rhsInfo.importance
849 && 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()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningState.java170 final boolean lhsBg = lhsInfo.importance
172 final boolean rhsBg = rhsInfo.importance
849 && 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()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DNotificationHelper.java77 @NotificationManager.Importance int importance) { in showPrivacyReminderNotification() argument
81 CHANNEL_ID, mContext.getString(R.string.app_label), importance); in showPrivacyReminderNotification()
/packages/apps/Car/Notification/src/com/android/car/notification/
DPreprocessingManager.java186 int importance = 0; in isLessImportantForegroundNotification() local
190 importance = ranking.getImportance(); in isLessImportantForegroundNotification()
192 return importance < NotificationManager.IMPORTANCE_DEFAULT in isLessImportantForegroundNotification()
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidDeviceService.java229 int importance = msg.arg1; in handleMessage() local
231 if (importance > FOREGROUND_IMPORTANCE_CUTOFF in handleMessage()
261 public void onUidImportance(final int uid, final int importance) {
263 message.arg1 = importance;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/slices/
DNotificationChannelSlice.java201 final int importance = newState ? IMPORTANCE_LOW : IMPORTANCE_NONE; in onNotifyChange() local
202 channel.setImportance(importance); in onNotifyChange()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DNotificationChannelSlice.java202 final int importance = newState ? IMPORTANCE_LOW : IMPORTANCE_NONE; in onNotifyChange() local
203 channel.setImportance(importance); in onNotifyChange()
/packages/inputmethods/LatinIME/dictionaries/
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...

12