Searched refs:hasUserDemotedInvalidMsgApp (Results 1 – 3 of 3) sorted by relevance
170 when(mBackend.hasUserDemotedInvalidMsgApp(anyString(), anyInt())).thenReturn(false); in testUpdateState_notChecked()183 when(mBackend.hasUserDemotedInvalidMsgApp(anyString(), anyInt())).thenReturn(true); in testUpdateState_checked()196 when(mBackend.hasUserDemotedInvalidMsgApp(anyString(), anyInt())).thenReturn(true); in testOnPreferenceChange_toggleEnabled()215 when(mBackend.hasUserDemotedInvalidMsgApp(anyString(), anyInt())).thenReturn(false); in testOnPreferenceChange_toggleDisabled()
69 pref.setChecked(!mBackend.hasUserDemotedInvalidMsgApp(mAppRow.pkg, mAppRow.uid)); in updateState()
325 public boolean hasUserDemotedInvalidMsgApp(String pkg, int uid) { in hasUserDemotedInvalidMsgApp() method in NotificationBackend327 return sINM.hasUserDemotedInvalidMsgApp(pkg, uid); in hasUserDemotedInvalidMsgApp()