Home
last modified time | relevance | path

Searched refs:setImportance (Results 1 – 22 of 22) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DImportancePreferenceTest.java77 preference.setImportance(IMPORTANCE_DEFAULT); in onBindViewHolder_nonConfigurable()
88 preference.setImportance(IMPORTANCE_LOW); in onBindViewHolder_nonConfigurable()
109 preference.setImportance(IMPORTANCE_DEFAULT); in onBindViewHolder_selectButtonAndText()
132 preference.setImportance(IMPORTANCE_DEFAULT); in onClick_changesUICallsListener()
153 preference.setImportance(IMPORTANCE_DEFAULT); in setImportanceSummary()
175 preference.setImportance(IMPORTANCE_DEFAULT); in setImportanceSummary_default()
DConversationPriorityPreferenceTest.java72 preference.setImportance(IMPORTANCE_DEFAULT); in onBindViewHolder_nonConfigurable()
90 preference.setImportance(IMPORTANCE_LOW); in onBindViewHolder_selectButtonAndText()
109 preference.setImportance(IMPORTANCE_DEFAULT); in onClick_changesUICallsListener()
DImportancePreferenceControllerTest.java222 verify(pref, times(1)).setImportance(IMPORTANCE_HIGH); in testUpdateState()
DConversationPriorityPreferenceControllerTest.java187 verify(pref, times(1)).setImportance(IMPORTANCE_HIGH); in testUpdateState()
/packages/apps/Settings/src/com/android/settings/notification/app/
DConversationPriorityPreferenceController.java68 pref.setImportance(mChannel.getImportance()); in updateState()
82 mChannel.setImportance(value.first); in onPreferenceChange()
DImportancePreferenceController.java72 pref.setImportance(mChannel.getImportance()); in updateState()
96 mChannel.setImportance(importance); in onPreferenceChange()
DMinImportancePreferenceController.java83 mChannel.setImportance(checked ? IMPORTANCE_MIN : IMPORTANCE_LOW); in onPreferenceChange()
DHighImportancePreferenceController.java83 mChannel.setImportance(checked ? IMPORTANCE_HIGH : IMPORTANCE_DEFAULT); in onPreferenceChange()
DAllowSoundPreferenceController.java82 mChannel.setImportance(importance); in onPreferenceChange()
DBlockPreferenceController.java120 mChannel.setImportance(importance); in onCheckedChanged()
DConversationPriorityPreference.java80 public void setImportance(int importance) { in setImportance() method in ConversationPriorityPreference
DImportancePreference.java87 public void setImportance(int importance) { in setImportance() method in ImportancePreference
DChannelListPreferenceController.java381 channel.setImportance(importance); in updateSingleChannelPrefs()
/packages/apps/Car/Settings/src/com/android/car/settings/notifications/
DBaseNotificationsPreferenceController.java79 defaultChannel.setImportance(enabled ? IMPORTANCE_UNSPECIFIED : IMPORTANCE_NONE); in toggleNotificationsSetting()
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/notification/
DChannelNotificationSettingsTest.java95 blocked.setImportance(IMPORTANCE_NONE); in launchNotificationSettings_blockedChannel()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertService.java1008 highPriorityEmergency.setImportance(NotificationManager.IMPORTANCE_MAX); in createNotificationChannels()
1013 emergency.setImportance(NotificationManager.IMPORTANCE_HIGH); in createNotificationChannels()
1018 nonEmergency.setImportance(NotificationManager.IMPORTANCE_HIGH); in createNotificationChannels()
1022 emergencyAlertInVoiceCall.setImportance(NotificationManager.IMPORTANCE_HIGH); in createNotificationChannels()
/packages/apps/Settings/tests/unit/src/com/android/settings/notification/app/
DChannelListPreferenceControllerTest.java372 channelA.setImportance(IMPORTANCE_NONE); in testUpdateFullList_channelUpdates()
373 channelB.setImportance(IMPORTANCE_DEFAULT); in testUpdateFullList_channelUpdates()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DScanRequestProxyTest.java193 verify(mScanMetrics, times(timesDataSet)).setImportance(anyInt()); in verifyScanMetricsDataWasSet()
875 verify(mScanMetrics, times(SCAN_REQUEST_THROTTLE_MAX_IN_TIME_WINDOW_FG_APPS)).setImportance( in testSuccessiveScanRequestFromSameAppAfterRemovalOnAnotherUserThrottled()
DWifiMetricsTest.java6772 scanMetrics.setImportance(ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND); in testWifiScanEmittedOnSuccess()
6845 scanMetrics.setImportance(ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND); in testWifiScanStatePreservedAfterStart()
6847 scanMetrics.setImportance(ActivityManager.RunningAppProcessInfo.IMPORTANCE_GONE); in testWifiScanStatePreservedAfterStart()
6863 scanMetrics.setImportance(ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND); in testWifiScanOverlappingRequestsOverwriteStateForSameType()
6866 scanMetrics.setImportance(ActivityManager.RunningAppProcessInfo.IMPORTANCE_GONE); in testWifiScanOverlappingRequestsOverwriteStateForSameType()
6885 scanMetrics.setImportance(ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND); in testWifiScanOverlappingRequestsSeparateStatesForDifferentTypes()
6888 scanMetrics.setImportance(ActivityManager.RunningAppProcessInfo.IMPORTANCE_GONE); in testWifiScanOverlappingRequestsSeparateStatesForDifferentTypes()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DScanRequestProxy.java536 mWifiMetrics.getScanMetrics().setImportance(packageImportance); in startScan()
DWifiMetrics.java8992 public void setImportance(int packageImportance) {
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationBackend.java188 defaultChannel.setImportance(enabled ? IMPORTANCE_UNSPECIFIED : IMPORTANCE_NONE); in setNotificationsEnabledForPackage()