Home
last modified time | relevance | path

Searched refs:controller2 (Results 1 – 6 of 6) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/render/
H A DShadeViewDifferTest.kt42 private val controller2 = FakeController(mContext, "Controller2") regex
61 node(controller2, node(controller3), node(controller4)),
71 node(controller2, node(controller3), node(controller4)),
85 node(controller2, node(controller3), node(controller4)),
94 node(controller3, node(controller2))
103 node(controller2),
112 node(controller2),
154 Assert.assertEquals(controller2.view, controller3.view.parent)
178 node(controller2),
198 node(controller2, node(controller3), node(controller4)),
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/pipeline/
H A DMediaSessionBasedFilterTest.kt74 @Mock private lateinit var controller2: MediaController
116 whenever(controller2.getSessionToken()).thenReturn(token2)
121 whenever(controller2.getPackageName()).thenReturn(PACKAGE)
223 val controllers = listOf(controller1, controller2)
253 val controllers = listOf(controller1, controller2)
272 val controllers = listOf(controller1, controller2)
306 val controllers = listOf(controller1, controller2)
330 val controllers = listOf(controller1, controller2)
354 whenever(controller2.getPackageName()).thenReturn("PKG_2")
379 val controllers = listOf(controller1, controller2)
[all …]
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DRowAppearanceCoordinatorTest.kt61 @Mock private lateinit var controller2: NotifRowController
90 afterRenderEntryListener.onAfterRenderEntry(entry2, controller2)
91 verify(controller2).setSystemExpanded(eq(false))
101 afterRenderEntryListener.onAfterRenderEntry(entry2, controller2)
102 verify(controller2).setSystemExpanded(eq(false))
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/
H A DSwitchesProviderTest.java101 final TestSwitchController controller2 = new TestSwitchController(); in attachInfo_duplicateSwitchKey_shouldThrowIllegalArgumentException() local
103 controller2.setKey("123"); in attachInfo_duplicateSwitchKey_shouldThrowIllegalArgumentException()
105 controller2.setMetaData(new MetaData("category")); in attachInfo_duplicateSwitchKey_shouldThrowIllegalArgumentException()
107 mSwitchesProvider.addSwitchController(controller2); in attachInfo_duplicateSwitchKey_shouldThrowIllegalArgumentException()
115 final TestSwitchController controller2 = new TestSwitchController(); in attachInfo_hasDifferentControllers_shouldNotThrowException() local
117 controller2.setKey("456"); in attachInfo_hasDifferentControllers_shouldNotThrowException()
119 controller2.setMetaData(new MetaData("category")); in attachInfo_hasDifferentControllers_shouldNotThrowException()
121 mSwitchesProvider.addSwitchController(controller2); in attachInfo_hasDifferentControllers_shouldNotThrowException()
H A DEntriesProviderTest.java107 final TestEntryController controller2 = new TestEntryController(); in attachInfo_duplicateKey_shouldThrowIllegalArgumentException() local
109 controller2.setKey("123"); in attachInfo_duplicateKey_shouldThrowIllegalArgumentException()
111 controller2.setMetaData(new MetaData("category")); in attachInfo_duplicateKey_shouldThrowIllegalArgumentException()
113 mEntriesProvider.addController(controller2); in attachInfo_duplicateKey_shouldThrowIllegalArgumentException()
121 final TestEntryController controller2 = new TestEntryController(); in attachInfo_hasDifferentControllers_shouldNotThrowException() local
123 controller2.setKey("456"); in attachInfo_hasDifferentControllers_shouldNotThrowException()
125 controller2.setMetaData(new MetaData("category")); in attachInfo_hasDifferentControllers_shouldNotThrowException()
127 mEntriesProvider.addController(controller2); in attachInfo_hasDifferentControllers_shouldNotThrowException()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/models/player/
H A DSeekBarViewModelTest.kt123 val controller2 = mock(MediaController::class.java) regex
124 whenever(controller2.sessionToken).thenReturn(token2)
125 viewModel.updateController(controller2)
126 verify(controller2).registerCallback(any())