/packages/services/Telecomm/src/com/android/server/telecom/ui/ |
D | NotificationChannelManager.java | 77 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/ |
D | ImportancePreference.java | 87 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()
|
D | ImportancePreferenceController.java | 76 final int importance = (Integer) newValue; in onPreferenceChange() local 84 && importance >= IMPORTANCE_DEFAULT) { in onPreferenceChange() 90 mChannel.setImportance(importance); in onPreferenceChange()
|
D | NotificationPreferenceController.java | 102 int importance = mChannel.getImportance(); in checkCanBeVisible() local 103 if (importance == NotificationManager.IMPORTANCE_UNSPECIFIED) { in checkCanBeVisible() 106 return importance >= minImportanceVisible; in checkCanBeVisible()
|
D | AllowSoundPreferenceController.java | 74 final int importance = in onPreferenceChange() local 76 mChannel.setImportance(importance); in onPreferenceChange()
|
D | ChannelListPreferenceController.java | 207 int importance = value ? IMPORTANCE_LOW : IMPORTANCE_NONE; in populateSingleChannelPrefs() local 208 channel.setImportance(importance); in populateSingleChannelPrefs() 217 importance != IMPORTANCE_NONE); in populateSingleChannelPrefs()
|
D | BlockPreferenceController.java | 108 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/ |
D | ImportancePreferenceController.java | 82 final int importance = (Integer) newValue; in onPreferenceChange() local 90 && importance >= IMPORTANCE_DEFAULT) { in onPreferenceChange() 96 mChannel.setImportance(importance); in onPreferenceChange()
|
D | NotificationPreferenceController.java | 100 int importance = mChannel.getImportance(); in checkCanBeVisible() local 101 if (importance == NotificationManager.IMPORTANCE_UNSPECIFIED) { in checkCanBeVisible() 104 return importance >= minImportanceVisible; in checkCanBeVisible()
|
D | AllowSoundPreferenceController.java | 74 final int importance = in onPreferenceChange() local 76 mChannel.setImportance(importance); in onPreferenceChange()
|
D | BlockPreferenceController.java | 101 final int importance = blocked ? IMPORTANCE_NONE in onSwitchChanged() local 103 mChannel.setImportance(importance); in onSwitchChanged()
|
D | ImportancePreference.java | 77 public void setImportance(int importance) { in setImportance() argument 78 mImportance = importance; in setImportance()
|
D | NotificationSettingsBase.java | 303 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/ |
D | DeflakeHostTestBase.kt | 59 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/ |
D | NotificationEntry.java | 191 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/ |
D | ScanManager.java | 112 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/ |
D | NotificationSettingsTests.java | 119 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/ |
D | RunningState.java | 170 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/ |
D | RunningState.java | 170 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/ |
D | NotificationHelper.java | 77 @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/ |
D | NotificationUtils.java | 117 int importance = properties[1]; in createChannel() local 119 id, context.getString(nameId), importance); in createChannel()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidDeviceService.java | 233 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/ |
D | PreprocessingManager.java | 233 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/ |
D | NetworkStackNotifier.java | 141 @StringRes int description, int importance) { in createNotificationChannel() argument 145 importance); in createNotificationChannel()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | NotificationChannelSlice.java | 197 final int importance = newState ? IMPORTANCE_LOW : IMPORTANCE_NONE; in onNotifyChange() local 198 channel.setImportance(importance); in onNotifyChange()
|