Searched refs:isTypeAllowed (Results 1 – 4 of 4) sorted by relevance
43 assertThat(nlf.isTypeAllowed(FLAG_FILTER_TYPE_CONVERSATIONS)).isTrue(); in testEmptyConstructor()44 assertThat(nlf.isTypeAllowed(FLAG_FILTER_TYPE_ALERTING)).isTrue(); in testEmptyConstructor()45 assertThat(nlf.isTypeAllowed(FLAG_FILTER_TYPE_SILENT)).isTrue(); in testEmptyConstructor()63 assertThat(nlf.isTypeAllowed(FLAG_FILTER_TYPE_CONVERSATIONS)).isFalse(); in testConstructor()64 assertThat(nlf.isTypeAllowed(FLAG_FILTER_TYPE_ALERTING)).isTrue(); in testConstructor()65 assertThat(nlf.isTypeAllowed(FLAG_FILTER_TYPE_SILENT)).isFalse(); in testConstructor()91 assertThat(nlf.isTypeAllowed(FLAG_FILTER_TYPE_CONVERSATIONS)).isFalse(); in testSetTypes()92 assertThat(nlf.isTypeAllowed(FLAG_FILTER_TYPE_ALERTING)).isTrue(); in testSetTypes()93 assertThat(nlf.isTypeAllowed(FLAG_FILTER_TYPE_SILENT)).isTrue(); in testSetTypes()122 assertThat(nlf1.isTypeAllowed(FLAG_FILTER_TYPE_CONVERSATIONS)).isFalse(); in testParceling()[all …]
81 public boolean isTypeAllowed(int type) { in isTypeAllowed() method in NotificationListenerFilter
490 when(mNlf.isTypeAllowed(anyInt())).thenReturn(true); in setUp()7855 when(mNlf.isTypeAllowed(anyInt())).thenReturn(false); in testIsVisibleToListener_mismatchedType()
9366 && (!nls.isTypeAllowed(notificationType)