Home
last modified time | relevance | path

Searched refs:GROUP_ID_1 (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/service/notification/
DStatusBarNotificationTest.java68 private static final String GROUP_ID_1 = "group1"; field in StatusBarNotificationTest
90 final LogMaker logMaker = getNotification(PKG, GROUP_ID_1, CHANNEL_ID).getLogMaker(); in testLogMaker()
96 assertEquals(GROUP_ID_1, in testLogMaker()
110 StatusBarNotification sbn = getNotification(PKG, GROUP_ID_1, CHANNEL_ID); in testLogMakerNoStaleData()
119 Notification.Builder builder = getNotificationBuilder(GROUP_ID_1, CHANNEL_ID) in testLogMakerWithCategory()
128 final LogMaker logMaker = getNotification(PKG, GROUP_ID_1, null).getLogMaker(); in testLogMakerNoChannel()
163 StatusBarNotification sbn = getNotification(PKG, GROUP_ID_1, CHANNEL_ID); in testLogMakerOverrideGroup()
164 assertEquals(GROUP_ID_1, in testLogMakerOverrideGroup()
172 assertEquals(GROUP_ID_1, in testLogMakerOverrideGroup()
178 Notification.Builder builder = getNotificationBuilder(GROUP_ID_1, CHANNEL_ID) in testLogMakerWithPerson()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/bluetooth/
DHearingAidDeviceManagerTest.java77 private static final int GROUP_ID_1 = 20; field in HearingAidDeviceManagerTest
693 when(mCachedDevice1.getGroupId()).thenReturn(GROUP_ID_1); in onProfileConnectionStateChanged_connect_member_mainDisconnected_switch()
694 when(mCachedDevice2.getGroupId()).thenReturn(GROUP_ID_1); in onProfileConnectionStateChanged_connect_member_mainDisconnected_switch()
716 when(mCachedDevice1.getGroupId()).thenReturn(GROUP_ID_1); in onProfileConnectionStateChanged_disconnect_main_subDeviceConnected_switch()
717 when(mCachedDevice2.getGroupId()).thenReturn(GROUP_ID_1); in onProfileConnectionStateChanged_disconnect_main_subDeviceConnected_switch()
773 when(mCachedDevice1.getGroupId()).thenReturn(GROUP_ID_1); in findMainDevice_sameGroupId()
788 when(mCachedDevice1.getGroupId()).thenReturn(GROUP_ID_1); in syncDeviceWithinSet_synchronized_differentPresetIndex_shouldNotSync()
804 when(mCachedDevice1.getGroupId()).thenReturn(GROUP_ID_1); in syncDeviceWithinSet_unsynchronized_samePresetIndex_shouldNotSync()
820 when(mCachedDevice1.getGroupId()).thenReturn(GROUP_ID_1); in syncDeviceWithinSet_unsynchronized_differentPresetIndex_shouldSync()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/
DDeviceItemActionInteractorTest.kt403 if (device == bluetoothDevice) GROUP_ID_1 else GROUP_ID_2 in testOnClick_hasTwoConnectedLeDevice_clickedNotConnectedLe_shouldNotLaunchSettings()
438 if (device == bluetoothDevice) GROUP_ID_1 else GROUP_ID_2 in testOnClick_hasTwoConnectedLeDevice_clickedConnectedLe_shouldLaunchSettings()
456 const val GROUP_ID_1 = 1 constant