Searched refs:controller1 (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/render/ |
D | ShadeViewDifferTest.kt | 41 private val controller1 = FakeController(mContext, "Controller1") constant in com.android.systemui.statusbar.notification.collection.render.ShadeViewDifferTest 60 node(controller1), in testAddInitialViews() 70 node(controller1), in testDetachViews() 84 node(controller1), in testReparentChildren() 92 node(controller1), in testReparentChildren() 102 node(controller1), in testReorderChildren() 114 node(controller1) in testReorderChildren() 122 node(controller1), in testRemovedGroupsAreBrokenApart() 127 applySpecAndCheck(node(controller1)) in testRemovedGroupsAreBrokenApart() 143 node(controller1), in testRemovedGroupsWithKeepInParentAreKeptTogether() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/ |
D | MediaSessionBasedFilterTest.kt | 73 @Mock private lateinit var controller1: MediaController variable in com.android.systemui.media.controls.domain.pipeline.MediaSessionBasedFilterTest 115 whenever(controller1.getSessionToken()).thenReturn(token1) in setUp() 120 whenever(controller1.getPackageName()).thenReturn(PACKAGE) in setUp() 133 whenever(controller1.getPlaybackInfo()).thenReturn(localPlaybackInfo) in setUp() 177 val controllers = listOf(controller1) in matchingMediaSession_loadedEventNotFiltered() 192 val controllers = listOf(controller1) in matchingMediaSession_removedEventNotFiltered() 206 whenever(controller1.getPlaybackInfo()).thenReturn(remotePlaybackInfo) in remoteSession_loadedEventNotFiltered() 207 val controllers = listOf(controller1) in remoteSession_loadedEventNotFiltered() 222 whenever(controller1.getPlaybackInfo()).thenReturn(remotePlaybackInfo) in remoteAndLocalSessions_localLoadedEventFiltered() 223 val controllers = listOf(controller1, controller2) in remoteAndLocalSessions_localLoadedEventFiltered() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | RowAppearanceCoordinatorTest.kt | 60 @Mock private lateinit var controller1: NotifRowController variable in com.android.systemui.statusbar.notification.collection.coordinator.RowAppearanceCoordinatorTest 88 afterRenderEntryListener.onAfterRenderEntry(entry1, controller1) in testSetSystemExpandedOnlyOnFirst() 89 verify(controller1).setSystemExpanded(eq(true)) in testSetSystemExpandedOnlyOnFirst() 99 afterRenderEntryListener.onAfterRenderEntry(entry1, controller1) in testSetSystemExpandedNeverIfMinimized() 100 verify(controller1).setSystemExpanded(eq(false)) in testSetSystemExpandedNeverIfMinimized() 107 afterRenderEntryListener.onAfterRenderEntry(entry1, controller1) in testSetFeedbackIcon() 108 verify(controller1).setFeedbackIcon(eq(FeedbackIcon(1, 2))) in testSetFeedbackIcon()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/drawer/ |
D | SwitchesProviderTest.java | 100 final TestSwitchController controller1 = new TestSwitchController(); in attachInfo_duplicateSwitchKey_shouldThrowIllegalArgumentException() local 102 controller1.setKey("123"); in attachInfo_duplicateSwitchKey_shouldThrowIllegalArgumentException() 104 controller1.setMetaData(new MetaData("category")); in attachInfo_duplicateSwitchKey_shouldThrowIllegalArgumentException() 106 mSwitchesProvider.addSwitchController(controller1); in attachInfo_duplicateSwitchKey_shouldThrowIllegalArgumentException() 114 final TestSwitchController controller1 = new TestSwitchController(); in attachInfo_hasDifferentControllers_shouldNotThrowException() local 116 controller1.setKey("123"); in attachInfo_hasDifferentControllers_shouldNotThrowException() 118 controller1.setMetaData(new MetaData("category")); in attachInfo_hasDifferentControllers_shouldNotThrowException() 120 mSwitchesProvider.addSwitchController(controller1); in attachInfo_hasDifferentControllers_shouldNotThrowException()
|
D | EntriesProviderTest.java | 106 final TestEntryController controller1 = new TestEntryController(); in attachInfo_duplicateKey_shouldThrowIllegalArgumentException() local 108 controller1.setKey("123"); in attachInfo_duplicateKey_shouldThrowIllegalArgumentException() 110 controller1.setMetaData(new MetaData("category")); in attachInfo_duplicateKey_shouldThrowIllegalArgumentException() 112 mEntriesProvider.addController(controller1); in attachInfo_duplicateKey_shouldThrowIllegalArgumentException() 120 final TestEntryController controller1 = new TestEntryController(); in attachInfo_hasDifferentControllers_shouldNotThrowException() local 122 controller1.setKey("123"); in attachInfo_hasDifferentControllers_shouldNotThrowException() 124 controller1.setMetaData(new MetaData("category")); in attachInfo_hasDifferentControllers_shouldNotThrowException() 126 mEntriesProvider.addController(controller1); in attachInfo_hasDifferentControllers_shouldNotThrowException()
|
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/ |
D | VibratorControlServiceTest.java | 121 FakeVibratorController controller1 = new FakeVibratorController(mTestLooper.getLooper()); in testUnregisterVibratorController_providingAnInvalidController_ignoresRequest() local 123 mVibratorControlService.registerVibratorController(controller1); in testUnregisterVibratorController_providingAnInvalidController_ignoresRequest() 127 assertThat(controller1.isLinkedToDeath).isTrue(); in testUnregisterVibratorController_providingAnInvalidController_ignoresRequest()
|