Home
last modified time | relevance | path

Searched refs:importance (Results 1 – 25 of 30) 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/app/
DConversationPriorityPreference.java81 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()
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.java82 final int importance = (Integer) newValue; in onPreferenceChange() local
90 && importance >= IMPORTANCE_DEFAULT) { in onPreferenceChange()
96 mChannel.setImportance(importance); in onPreferenceChange()
DNotificationPreferenceController.java123 int importance = mChannel.getImportance(); in checkCanBeVisible() local
124 if (importance == NotificationManager.IMPORTANCE_UNSPECIFIED) { in checkCanBeVisible()
127 return importance >= minImportanceVisible; in checkCanBeVisible()
DAllowSoundPreferenceController.java80 final int importance = in onPreferenceChange() local
82 mChannel.setImportance(importance); in onPreferenceChange()
DBlockPreferenceController.java116 final int importance = blocked in onSwitchChanged() local
121 mChannel.setImportance(importance); in onSwitchChanged()
DChannelListPreferenceController.java347 int importance = value in updateSingleChannelPrefs() local
350 channel.setImportance(importance); in updateSingleChannelPrefs()
/packages/services/Car/service/src/com/android/car/admin/
DNotificationHelper.java60 @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/
DDeflakeHostTestBase.kt59 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/
DWorkSourceHelper.java141 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/
DNotificationEntry.java183 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/
DScanManager.java114 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/
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/carservice_unit_test/src/com/android/car/admin/
DNotificationHelperInvalidImportanceTest.java52 public NotificationHelperInvalidImportanceTest(int importance) { in NotificationHelperInvalidImportanceTest() argument
53 mImportance = importance; in NotificationHelperInvalidImportanceTest()
DNotificationHelperValidImportanceTest.java76 public NotificationHelperValidImportanceTest(int importance, String channelId, int resId) { in NotificationHelperValidImportanceTest() argument
77 mImportance = importance; in NotificationHelperValidImportanceTest()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningState.java172 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/
DNotificationUtils.kt110 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/
DNotificationHelper.java82 @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/
DPreprocessingManager.java232 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/
DHidDeviceService.java243 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/
DCarNotificationListenerTest.java285 private void createMockRankingMap(int importance) { in createMockRankingMap() argument
293 /* importance= */ importance, in createMockRankingMap()
/packages/modules/NetworkStack/src/com/android/networkstack/
DNetworkStackNotifier.java141 @StringRes int description, int importance) { in createNotificationChannel() argument
145 importance); in createNotificationChannel()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiLockManager.java177 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/
DTranscodeHelperImpl.java1789 public void onUidImportance(int uid, int importance) {
1790 if (importance != IMPORTANCE_FOREGROUND) {

12