/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/ |
D | AppAdapterTest.kt | 28 import com.android.systemui.controls.ControlsServiceInfo in <lambda>() 57 @Mock lateinit var onAppSelected: (ControlsServiceInfo) -> Unit in <lambda>() 71 val controlsServiceInfo = mock<ControlsServiceInfo>() in <lambda>() 88 ControlsServiceInfo("no panel", null), in <lambda>() 89 ControlsServiceInfo("panel", mock()) in <lambda>() 106 ControlsServiceInfo("no panel", null), in <lambda>() 107 ControlsServiceInfo("panel", ComponentName(TEST_PACKAGE, "cls")) in <lambda>() 124 ControlsServiceInfo("no panel", null), in <lambda>() 125 ControlsServiceInfo("panel", ComponentName(TEST_PACKAGE, "cls")) in <lambda>() 165 private fun ControlsServiceInfo( in <lambda>() method [all …]
|
D | ControlsProviderSelectorActivityTest.kt | 34 import com.android.systemui.controls.ControlsServiceInfo 135 val info = ControlsServiceInfo(ComponentName("test_pkg", "service"), "", null) in testOnAppSelectedForNonPanelStartsFavoritingActivity() 150 ControlsServiceInfo( in testOnAppSelectedForPanelTriggersDialog() 170 ControlsServiceInfo( in dialogAcceptAddsPackage() 200 ControlsServiceInfo( in dialogCancelDoesntAddPackage() 266 private fun ControlsServiceInfo( in ControlsServiceInfo() method 270 ): ControlsServiceInfo { in ControlsServiceInfo() 277 return Mockito.spy(ControlsServiceInfo(mock(), serviceInfo)).apply { in ControlsServiceInfo()
|
D | ControlsListingControllerImplTest.kt | 36 import com.android.systemui.controls.ControlsServiceInfo 203 val captor: ArgumentCaptor<List<ControlsServiceInfo>> = in testCallbackGetsList() 205 as ArgumentCaptor<List<ControlsServiceInfo>> in testCallbackGetsList() 244 val captor: ArgumentCaptor<List<ControlsServiceInfo>> = in testChangeUserSendsCorrectServiceUpdate() 246 as ArgumentCaptor<List<ControlsServiceInfo>> in testChangeUserSendsCorrectServiceUpdate() 556 val captor: ArgumentCaptor<List<ControlsServiceInfo>> = in testForceReloadCallsListeners() 558 as ArgumentCaptor<List<ControlsServiceInfo>> in testForceReloadCallsListeners()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/start/ |
D | ControlsStartableTest.kt | 36 import com.android.systemui.controls.ControlsServiceInfo 128 val listings = listOf(ControlsServiceInfo(TEST_COMPONENT_PANEL, "panel", hasPanel = true)) in testNoPreferredPackagesNoDefaultSelected_noNewSelection() 155 val listings = listOf(ControlsServiceInfo(TEST_COMPONENT, "not panel", hasPanel = false)) in testPreferredPackageNotPanel_noNewSelection() 170 val listings = listOf(ControlsServiceInfo(TEST_COMPONENT_PANEL, "panel", hasPanel = true)) in testExistingSelection_noNewSelection() 184 val listings = listOf(ControlsServiceInfo(TEST_COMPONENT_PANEL, "panel", hasPanel = true)) in testPanelAdded() 200 ControlsServiceInfo(TEST_COMPONENT_PANEL, "panel", hasPanel = true), in testMultiplePreferredOnlyOnePanel_panelAdded() 201 ControlsServiceInfo(ComponentName("other_package", "cls"), "non panel", false) in testMultiplePreferredOnlyOnePanel_panelAdded() 218 ControlsServiceInfo(ComponentName("other_package", "cls"), "panel", true), in testMultiplePreferredMultiplePanels_firstPreferredAdded() 219 ControlsServiceInfo(TEST_COMPONENT_PANEL, "panel", hasPanel = true) in testMultiplePreferredMultiplePanels_firstPreferredAdded() 231 val listings = listOf(ControlsServiceInfo(TEST_COMPONENT_PANEL, "panel", hasPanel = true)) in testPreferredSelectionIsPanel_bindOnBoot() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | AppAdapter.kt | 30 import com.android.systemui.controls.ControlsServiceInfo 53 private val onAppSelected: (ControlsServiceInfo) -> Unit = {}, in <lambda>() 59 private var listOfServices = emptyList<ControlsServiceInfo>() 62 override fun onServicesUpdated(serviceInfos: List<ControlsServiceInfo>) { in onServicesUpdated() 65 val localeComparator = compareBy<ControlsServiceInfo, CharSequence>(collator) { in onServicesUpdated() 111 fun bindData(data: ControlsServiceInfo) { in bindData()
|
D | ControlsListingController.kt | 21 import com.android.systemui.controls.ControlsServiceInfo 35 fun getCurrentServices(): List<ControlsServiceInfo> in getCurrentServices() 52 fun onServicesUpdated(serviceInfos: List<ControlsServiceInfo>) in getCurrentServices()
|
D | ControlsListingControllerImpl.kt | 31 import com.android.systemui.controls.ControlsServiceInfo in <lambda>() 101 private var availableServices = emptyList<ControlsServiceInfo>() 109 val newServices = list.map { ControlsServiceInfo(userTracker.userContext, it) } in list() 125 private fun updateServices(newServices: List<ControlsServiceInfo>) { in updateServices() 194 override fun getCurrentServices(): List<ControlsServiceInfo> = in getCurrentServices() 195 availableServices.map(ControlsServiceInfo::copy) in getCurrentServices() 210 ).map { ControlsServiceInfo(userTracker.userContext, it.serviceInfo) } in getCurrentServices()
|
D | ControlsRequestDialog.kt | 36 import com.android.systemui.controls.ControlsServiceInfo 61 override fun onServicesUpdated(serviceInfos: List<ControlsServiceInfo>) {} in onServicesUpdated()
|
D | ControlsProviderSelectorActivity.kt | 39 import com.android.systemui.controls.ControlsServiceInfo in <lambda>() 181 fun onAppSelected(serviceInfo: ControlsServiceInfo) { in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/dreams/homecontrols/ |
D | HomeControlsComponentInteractorTest.kt | 31 import com.android.systemui.controls.ControlsServiceInfo 101 listOf(ControlsServiceInfo(TEST_COMPONENT, "panel", hasPanel = true)) in testPanelComponentReturnsComponentNameAsInitialValueWithoutServiceUpdate() 184 listOf(ControlsServiceInfo(TEST_COMPONENT, "panel", hasPanel = true)) in testMonitoringUpdatesAndRestart() 228 listOf(ControlsServiceInfo(TEST_COMPONENT, "panel", hasPanel = true)) in testMonitoringUpdatesAndRestart_dreamEndsAfterDelay() 284 listOf(ControlsServiceInfo(TEST_COMPONENT, "panel", hasPanel = hasPanelBoolean)) in runServicesUpdate() 297 private fun ControlsServiceInfo( in ControlsServiceInfo() method in com.android.systemui.dreams.homecontrols.HomeControlsComponentInteractorTest 301 ): ControlsServiceInfo { in ControlsServiceInfo() 316 ) : ControlsServiceInfo(context, serviceInfo) {
|
D | HomeControlsDreamStartableTest.kt | 30 import com.android.systemui.controls.ControlsServiceInfo 91 .thenReturn(listOf(ControlsServiceInfo(TEST_COMPONENT_PANEL, "panel", hasPanel = true))) in setUp() 150 private fun ControlsServiceInfo( in ControlsServiceInfo() method in com.android.systemui.dreams.homecontrols.HomeControlsDreamStartableTest 154 ): ControlsServiceInfo { in ControlsServiceInfo() 169 ) : ControlsServiceInfo(context, serviceInfo) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ |
D | ControlsServiceInfo.kt | 38 open class ControlsServiceInfo( class 139 return other is ControlsServiceInfo && in equals() 149 fun copy(): ControlsServiceInfo { in copy() 150 return ControlsServiceInfo(context, serviceInfo).also { in copy()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/complication/ |
D | DreamHomeControlsComplicationTest.java | 42 import com.android.systemui.controls.ControlsServiceInfo; 267 final List<ControlsServiceInfo> serviceInfos = mock(List.class); in setServiceAvailable() 274 final List<ControlsServiceInfo> serviceInfos = new ArrayList<>(); in setServiceWithPanel() 275 ControlsServiceInfo csi = mock(ControlsServiceInfo.class); in setServiceWithPanel() 288 private void triggerControlsListingCallback(List<ControlsServiceInfo> serviceInfos) { in triggerControlsListingCallback()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DeviceControlsControllerImpl.kt | 25 import com.android.systemui.controls.ControlsServiceInfo in <lambda>() 56 override fun onServicesUpdated(serviceInfos: List<ControlsServiceInfo>) { in <lambda>() 125 private fun seedFavorites(serviceInfos: List<ControlsServiceInfo>) { in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | HomeControlsKeyguardQuickAffordanceConfigParameterizedStateTest.kt | 22 import com.android.systemui.controls.ControlsServiceInfo in <lambda>() 80 @Mock private lateinit var controlsServiceInfo: ControlsServiceInfo in <lambda>() 149 val serviceInfoMock: ControlsServiceInfo = mock { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/homecontrols/domain/interactor/ |
D | HomeControlsComponentInteractor.kt | 26 import com.android.systemui.controls.ControlsServiceInfo in <lambda>() 92 private fun allAvailableServices(): Flow<List<ControlsServiceInfo>> { in <lambda>() 99 override fun onServicesUpdated(serviceInfos: List<ControlsServiceInfo>) { in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | DeviceControlsControllerImplTest.kt | 29 import com.android.systemui.controls.ControlsServiceInfo 87 private lateinit var controlsServiceInfo: ControlsServiceInfo 118 controlsServiceInfo = ControlsServiceInfo(mContext, serviceInfo) in capture()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/ |
D | ControlsUiControllerImplTest.kt | 39 import com.android.systemui.controls.ControlsServiceInfo 435 val csi = ControlsServiceInfo(panel.componentName, panel.appName, activity) in testResolveActivityNotSeedingNoDefaultNoFavoritesPanel_ControlsActivity() 568 private fun setUpPanel(panel: SelectedItem.PanelItem): ControlsServiceInfo { in setUpPanel() 573 return ControlsServiceInfo(panel.componentName, panel.appName, activity) in setUpPanel() 598 private fun ControlsServiceInfo( in ControlsServiceInfo() method 602 ): ControlsServiceInfo { in ControlsServiceInfo() 609 return spy(ControlsServiceInfo(mContext, serviceInfo)).apply { in ControlsServiceInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | DeviceControlsTile.kt | 30 import com.android.systemui.controls.ControlsServiceInfo 79 override fun onServicesUpdated(serviceInfos: List<ControlsServiceInfo>) { in onServicesUpdated()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | HomeControlsKeyguardQuickAffordanceConfig.kt | 30 import com.android.systemui.controls.ControlsServiceInfo in <lambda>() 150 override fun onServicesUpdated(serviceInfos: List<ControlsServiceInfo>) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/complication/ |
D | DreamHomeControlsComplication.java | 41 import com.android.systemui.controls.ControlsServiceInfo; 147 private boolean isHomeControlsAvailable(List<ControlsServiceInfo> controlsServices) { in isHomeControlsAvailable()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/ |
D | ControlsControllerImplTest.kt | 34 import com.android.systemui.controls.ControlsServiceInfo in <lambda>() 706 val info = ControlsServiceInfo(mContext, serviceInfo) in <lambda>() 729 val info = ControlsServiceInfo(mContext, serviceInfo) in <lambda>() 755 val info = ControlsServiceInfo(mContext, serviceInfo) in <lambda>() 770 val info = ControlsServiceInfo(mContext, serviceInfo) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/ |
D | DeviceControlsTileTest.kt | 34 import com.android.systemui.controls.ControlsServiceInfo 96 private lateinit var serviceInfo: ControlsServiceInfo
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/controller/ |
D | ControlsControllerImpl.kt | 37 import com.android.systemui.controls.ControlsServiceInfo in <lambda>() 175 override fun onServicesUpdated(serviceInfos: List<ControlsServiceInfo>) { in <lambda>() 177 val serviceInfoSet = serviceInfos.map(ControlsServiceInfo::componentName).toSet() in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | ControlsUiControllerImpl.kt | 57 import com.android.systemui.controls.ControlsServiceInfo in <lambda>() 177 override fun onServicesUpdated(serviceInfos: List<ControlsServiceInfo>) { in <lambda>()
|