/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/app/ |
D | ConversationPriorityPreference.java | 81 public void setImportance(int importance) { in setImportance() argument 82 mImportance = importance; in setImportance() 93 public void setOriginalImportance(int importance) { in setOriginalImportance() argument 94 mOriginalImportance = importance; in setOriginalImportance() 139 void updateToggles(ViewGroup parent, int importance, boolean isPriority, in updateToggles() argument 147 if (importance <= IMPORTANCE_LOW && importance > IMPORTANCE_UNSPECIFIED) { in updateToggles()
|
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 | 82 final int importance = (Integer) newValue; in onPreferenceChange() local 90 && importance >= IMPORTANCE_DEFAULT) { in onPreferenceChange() 96 mChannel.setImportance(importance); in onPreferenceChange()
|
D | NotificationPreferenceController.java | 123 int importance = mChannel.getImportance(); in checkCanBeVisible() local 124 if (importance == NotificationManager.IMPORTANCE_UNSPECIFIED) { in checkCanBeVisible() 127 return importance >= minImportanceVisible; in checkCanBeVisible()
|
D | AllowSoundPreferenceController.java | 80 final int importance = in onPreferenceChange() local 82 mChannel.setImportance(importance); in onPreferenceChange()
|
D | BlockPreferenceController.java | 116 final int importance = blocked in onSwitchChanged() local 121 mChannel.setImportance(importance); in onSwitchChanged()
|
D | ChannelListPreferenceController.java | 347 int importance = value in updateSingleChannelPrefs() local 350 channel.setImportance(importance); in updateSingleChannelPrefs()
|
/packages/services/Car/service/src/com/android/car/admin/ |
D | NotificationHelper.java | 60 @NotificationManager.Importance int importance) { in newNotificationBuilder() argument 64 switch (importance) { in newNotificationBuilder() 74 throw new IllegalArgumentException("Unsupported importance: " + importance); in newNotificationBuilder() 78 new NotificationChannel(channelId, importanceName, importance)); in newNotificationBuilder()
|
/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/Wifi/service/java/com/android/server/wifi/util/ |
D | WorkSourceHelper.java | 141 int importance = mActivityManager.getPackageImportance(requestorPackageName); in isForegroundService() local 142 return IMPORTANCE_FOREGROUND < importance in isForegroundService() 143 && importance <= IMPORTANCE_FOREGROUND_SERVICE; in isForegroundService()
|
/packages/modules/ExtServices/java/src/android/ext/services/notification/ |
D | NotificationEntry.java | 183 int importance = getChannel().getImportance(); in calculateInitialImportance() local 210 && (importance == IMPORTANCE_UNSPECIFIED in calculateInitialImportance() 215 importance = requestedImportance; in calculateInitialImportance() 218 return importance; in calculateInitialImportance()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | ScanManager.java | 114 public int importance; field in ScanManager.UidImportance 116 UidImportance(int uid, int importance) { in UidImportance() argument 118 this.importance = importance; in UidImportance() 1372 public void onUidImportance(final int uid, final int importance) { 1376 message.obj = new UidImportance(uid, importance); 1403 int importance = imp.importance; in handleImportanceChange() local 1405 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/carservice_unit_test/src/com/android/car/admin/ |
D | NotificationHelperInvalidImportanceTest.java | 52 public NotificationHelperInvalidImportanceTest(int importance) { in NotificationHelperInvalidImportanceTest() argument 53 mImportance = importance; in NotificationHelperInvalidImportanceTest()
|
D | NotificationHelperValidImportanceTest.java | 76 public NotificationHelperValidImportanceTest(int importance, String channelId, int resId) { in NotificationHelperValidImportanceTest() argument 77 mImportance = importance; in NotificationHelperValidImportanceTest()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | RunningState.java | 172 final boolean lhsBg = lhsInfo.importance 174 final boolean rhsBg = rhsInfo.importance 855 && pi.importance >= ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND in isInterestingProcess() 856 && pi.importance < ActivityManager.RunningAppProcessInfo.IMPORTANCE_CANT_SAVE_STATE in isInterestingProcess() 979 if (ainfo.info.importance in update() 1298 if (proc.mRunningProcessInfo.importance >= in update() 1302 } else if (proc.mRunningProcessInfo.importance <= in update() 1335 } else if (proc.mRunningProcessInfo.importance >= in update() 1364 } else if (proc.mRunningProcessInfo.importance <= in update()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | NotificationUtils.kt | 110 val importance = properties[1] in createChannel() constant 111 val channel = NotificationChannel(id, context.getString(nameId), importance) in createChannel()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
D | NotificationHelper.java | 82 @NotificationManager.Importance int importance) { in showPrivacyReminderNotification() argument 86 CHANNEL_ID, mContext.getString(R.string.app_label), importance); in showPrivacyReminderNotification()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | PreprocessingManager.java | 232 int importance = 0; in isLessImportantForegroundNotification() local 236 importance = ranking.getImportance(); in isLessImportantForegroundNotification() 239 return importance < NotificationManager.IMPORTANCE_DEFAULT in isLessImportantForegroundNotification()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hid/ |
D | HidDeviceService.java | 243 int importance = msg.arg1; in handleMessage() local 245 if (importance > FOREGROUND_IMPORTANCE_CUTOFF in handleMessage() 275 public void onUidImportance(final int uid, final int importance) { 277 message.arg1 = importance;
|
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/ |
D | CarNotificationListenerTest.java | 285 private void createMockRankingMap(int importance) { in createMockRankingMap() argument 293 /* importance= */ importance, in createMockRankingMap()
|
/packages/modules/NetworkStack/src/com/android/networkstack/ |
D | NetworkStackNotifier.java | 141 @StringRes int description, int importance) { in createNotificationChannel() argument 145 importance); in createNotificationChannel()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiLockManager.java | 177 public void onUidImportance(final int uid, final int importance) { in registerUidImportanceTransitions() 185 boolean newModeIsFg = (importance in registerUidImportanceTransitions()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | TranscodeHelperImpl.java | 1789 public void onUidImportance(int uid, int importance) { 1790 if (importance != IMPORTANCE_FOREGROUND) {
|