Home
last modified time | relevance | path

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

12

/packages/services/Telecomm/src/com/android/server/telecom/ui/
DNotificationChannelManager.java77 int importance = NotificationManager.IMPORTANCE_DEFAULT; in createChannel() local
85 importance = NotificationManager.IMPORTANCE_MAX; in createChannel()
93 importance = NotificationManager.IMPORTANCE_DEFAULT; in createChannel()
101 importance = NotificationManager.IMPORTANCE_LOW; in createChannel()
109 importance = NotificationManager.IMPORTANCE_LOW; in createChannel()
117 importance = NotificationManager.IMPORTANCE_DEFAULT; in createChannel()
125 importance = NotificationManager.IMPORTANCE_DEFAULT; in createChannel()
132 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()
DChannelListPreferenceController.java207 int importance = value ? IMPORTANCE_LOW : IMPORTANCE_NONE; in populateSingleChannelPrefs() local
208 channel.setImportance(importance); in populateSingleChannelPrefs()
217 importance != IMPORTANCE_NONE); in populateSingleChannelPrefs()
DBlockPreferenceController.java108 final int importance = blocked ? IMPORTANCE_NONE in onSwitchChanged() local
110 mChannel.setImportance(importance); in onSwitchChanged()
/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/NetworkStack/tests/hostlib/src/com/android/testutils/host/
DDeflakeHostTestBase.kt59 importance = Option.Importance.ALWAYS) in <lambda>()
78 importance = Option.Importance.ALWAYS, in <lambda>()
91 importance = Option.Importance.ALWAYS) in <lambda>()
/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()
/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()
1341 public void onUidImportance(final int uid, final int importance) {
1345 message.obj = new UidImportance(uid, importance);
1372 int importance = imp.importance; in handleImportanceChange() local
1374 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/DeskClock/src/com/android/deskclock/
DNotificationUtils.java117 int importance = properties[1]; in createChannel() local
119 id, context.getString(nameId), importance); in createChannel()
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
DHidDeviceService.java233 int importance = msg.arg1; in handleMessage() local
235 if (importance > FOREGROUND_IMPORTANCE_CUTOFF in handleMessage()
265 public void onUidImportance(final int uid, final int importance) {
267 message.arg1 = importance;
/packages/apps/Car/Notification/src/com/android/car/notification/
DPreprocessingManager.java233 int importance = 0; in isLessImportantForegroundNotification() local
237 importance = ranking.getImportance(); in isLessImportantForegroundNotification()
239 return importance < NotificationManager.IMPORTANCE_DEFAULT in isLessImportantForegroundNotification()
/packages/modules/NetworkStack/src/com/android/networkstack/
DNetworkStackNotifier.java141 @StringRes int description, int importance) { in createNotificationChannel() argument
145 importance); in createNotificationChannel()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DNotificationChannelSlice.java197 final int importance = newState ? IMPORTANCE_LOW : IMPORTANCE_NONE; in onNotifyChange() local
198 channel.setImportance(importance); in onNotifyChange()

12