Home
last modified time | relevance | path

Searched refs:getNotificationPolicyState (Results 1 – 5 of 5) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/android/app/people/
H A DPeopleSpaceTileTest.java213 assertThat(tile.getNotificationPolicyState()).isEqualTo(SHOW_CONVERSATIONS); in testNotificationPolicyState()
219 assertThat(tile.getNotificationPolicyState()).isEqualTo(SHOW_IMPORTANT_CONVERSATIONS); in testNotificationPolicyState()
339 assertThat(readTile.getNotificationPolicyState()).isEqualTo( in testWriteThenReadFromParcel()
340 tile.getNotificationPolicyState()); in testWriteThenReadFromParcel()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/widget/
H A DPeopleSpaceWidgetManagerTest.java1305 assertThat(tile.getNotificationPolicyState()).isEqualTo(SHOW_CONVERSATIONS); in testUpdateWidgetsFromBroadcastInBackground()
1319 assertThat(tile.getNotificationPolicyState()).isEqualTo(SHOW_CONVERSATIONS); in testUpdateWidgetsFromBroadcastInBackgroundWithUserQuieted()
1331 assertThat(tile.getNotificationPolicyState()).isEqualTo(SHOW_CONVERSATIONS); in testUpdateWidgetsFromBroadcastInBackgroundWithPackageSuspended()
1341 assertThat(tile.getNotificationPolicyState()).isEqualTo(expected | SHOW_CONVERSATIONS); in testUpdateWidgetsFromBroadcastInBackgroundNotInDnd()
1356 assertThat(tile.getNotificationPolicyState()).isEqualTo(expected | SHOW_CONVERSATIONS); in testUpdateWidgetsFromBroadcastInBackgroundAllConversations()
1372 assertThat(tile.getNotificationPolicyState()).isEqualTo( in testUpdateWidgetsFromBroadcastInBackgroundAllowOnlyImportantConversations()
1387 assertThat(tile.getNotificationPolicyState()).isEqualTo(expected | BLOCK_CONVERSATIONS); in testUpdateWidgetsFromBroadcastInBackgroundAllowNoConversations()
1402 assertThat(tile.getNotificationPolicyState()).isEqualTo(expected | SHOW_CONTACTS); in testUpdateWidgetsFromBroadcastInBackgroundAllowNoConversationsAllowContactMessages()
1424 assertThat(tile.getNotificationPolicyState()).isEqualTo(expected | SHOW_CONVERSATIONS); in testUpdateWidgetsFromBroadcastInBackgroundAllowNoConversationsAllowStarredContactMessages()
1437 assertThat(tile.getNotificationPolicyState()).isEqualTo(expected | BLOCK_CONVERSATIONS); in testUpdateWidgetsFromBroadcastInBackgroundAllowAlarmsOnly()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
H A DPeopleSpaceWidgetManager.java1122 updatedTile.setNotificationPolicyState(getNotificationPolicyState()); in getTileWithCurrentState()
1139 getNotificationPolicyState()); in getTileWithCurrentState()
1166 private int getNotificationPolicyState() { in getNotificationPolicyState() method in PeopleSpaceWidgetManager
/aosp14/frameworks/base/core/java/android/app/people/
H A DPeopleSpaceTile.java216 public int getNotificationPolicyState() { in getNotificationPolicyState() method in PeopleSpaceTile
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/people/
H A DPeopleTileViewHelper.java307 int notificationPolicyState = tile.getNotificationPolicyState(); in isDndBlockingTileData()