Searched refs:nlf (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Settings/tests/unit/src/com/android/settings/applications/specialaccess/notificationaccess/ |
D | TypeFilterPreferenceControllerTest.java | 113 NotificationListenerFilter nlf = new NotificationListenerFilter(); in testAvailable_lowTargetSdk_customizations() local 114 nlf.setTypes(FLAG_FILTER_TYPE_CONVERSATIONS); in testAvailable_lowTargetSdk_customizations() 115 when(mNm.getListenerFilter(mCn, 0)).thenReturn(nlf); in testAvailable_lowTargetSdk_customizations() 205 NotificationListenerFilter nlf = new NotificationListenerFilter(mController.getType(), in updateState_checked() local 208 when(mNm.getListenerFilter(mCn, 0)).thenReturn(nlf); in updateState_checked() 218 NotificationListenerFilter nlf = new NotificationListenerFilter(mController.getType() - 1, in updateState_unchecked() local 221 when(mNm.getListenerFilter(mCn, 0)).thenReturn(nlf); in updateState_unchecked() 231 NotificationListenerFilter nlf = new NotificationListenerFilter(FLAG_FILTER_TYPE_ONGOING in onPreferenceChange_true() local 234 when(mNm.getListenerFilter(mCn, 0)).thenReturn(nlf); in onPreferenceChange_true() 249 NotificationListenerFilter nlf = new NotificationListenerFilter(FLAG_FILTER_TYPE_ONGOING in onPreferenceChange_false() local [all …]
|
D | PreUpgradePreferenceControllerTest.java | 86 NotificationListenerFilter nlf = new NotificationListenerFilter(); in testAvailable_lowTargetSdk_customizations() local 87 nlf.setTypes(FLAG_FILTER_TYPE_CONVERSATIONS); in testAvailable_lowTargetSdk_customizations() 88 when(mNm.getListenerFilter(mCn, 0)).thenReturn(nlf); in testAvailable_lowTargetSdk_customizations()
|
D | BridgedAppsLinkPreferenceControllerTest.java | 86 NotificationListenerFilter nlf = new NotificationListenerFilter(); in testAvailable_lowTargetSdk_customizations() local 87 nlf.setTypes(FLAG_FILTER_TYPE_CONVERSATIONS); in testAvailable_lowTargetSdk_customizations() 88 when(mNm.getListenerFilter(mCn, 0)).thenReturn(nlf); in testAvailable_lowTargetSdk_customizations()
|
D | BridgedAppsPreferenceControllerTest.java | 178 NotificationListenerFilter nlf = new NotificationListenerFilter(FLAG_FILTER_TYPE_ONGOING in onPreferenceChange_false() local 181 when(mNm.getListenerFilter(mCn, 0)).thenReturn(nlf); in onPreferenceChange_false() 204 NotificationListenerFilter nlf = new NotificationListenerFilter(FLAG_FILTER_TYPE_ONGOING in onPreferenceChange_true() local 207 when(mNm.getListenerFilter(mCn, 0)).thenReturn(nlf); in onPreferenceChange_true()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationBackend.java | 648 NotificationListenerFilter nlf = null; in getListenerFilter() local 650 nlf = sINM.getListenerFilter(cn, userId); in getListenerFilter() 654 return nlf != null ? nlf : new NotificationListenerFilter(); in getListenerFilter() 657 public void setListenerFilter(ComponentName cn, int userId, NotificationListenerFilter nlf) { in setListenerFilter() argument 659 sINM.setListenerFilter(cn, userId, nlf); in setListenerFilter()
|