Searched refs:Panel (Results 1 – 12 of 12) sorted by relevance
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/list/ |
D | RroListPanelReducer.kt | 23 import com.android.car.customization.tool.domain.panel.Panel in <lambda>() 70 override fun build(): Panel { in <lambda>() 101 return Panel(headerItems = header, items = createUiItems()) in <lambda>() 104 override fun reduce(panel: Panel, action: PanelAction): Panel = when (action) { in <lambda>() 112 private fun toggleRro(action: PanelToggleRroAction): Panel { in <lambda>() 127 return Panel(headerItems = header, items = createUiItems()) in <lambda>() 130 private fun filterByTargetPackage(action: PanelSearchTargetPackageAction): Panel { in <lambda>() 132 return Panel(headerItems = header, items = createUiItems()) in <lambda>() 135 private fun filterByRroPackage(action: PanelSearchRroPackageAction): Panel { in <lambda>() 137 return Panel(headerItems = header, items = createUiItems()) in <lambda>() [all …]
|
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/features/rro/unbundled/apprro/ |
D | UnbundledRroPanelReducer.kt | 22 import com.android.car.customization.tool.domain.panel.Panel in <lambda>() 39 override fun build(): Panel { in <lambda>() 70 return Panel(items = items) in <lambda>() 74 panel: Panel, in <lambda>() 76 ): Panel = when (action) { in <lambda>() 82 panel: Panel, in <lambda>() 84 ): Panel { in <lambda>() 87 return Panel( in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/panel/ |
D | PanelFeatureProviderImpl.java | 46 case Settings.Panel.ACTION_INTERNET_CONNECTIVITY: in getPanel() 48 Intent intent = new Intent(Settings.Panel.ACTION_INTERNET_CONNECTIVITY); in getPanel() 53 case Settings.Panel.ACTION_NFC: in getPanel() 62 case Settings.Panel.ACTION_WIFI: in getPanel() 71 case Settings.Panel.ACTION_VOLUME: in getPanel() 75 Intent volumeIntent = new Intent(Settings.Panel.ACTION_VOLUME); in getPanel()
|
/packages/services/Car/tests/CustomizationTool/tests/src/com/android/car/customization/tool/domain/ |
D | TestData.kt | 26 import com.android.car.customization.tool.domain.panel.Panel in <lambda>() 104 override fun build(): Panel = Panel(items = emptyList()) in build() 105 override fun reduce(panel: Panel, action: PanelAction): Panel = Panel(items = emptyList()) in build()
|
D | CustomizationToolStateMachineTest.kt | 23 import com.android.car.customization.tool.domain.panel.Panel 134 Panel(emptyList()) in when_a_panel_action_is_received_then_it_is_forwarded_to_the_PanelController()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/panel/ |
D | PanelFeatureProviderImplTest.java | 64 mBundle.putString(KEY_PANEL_TYPE_ARGUMENT, Settings.Panel.ACTION_INTERNET_CONNECTIVITY); in getPanel_internetConnectivityKey_sendsCorrectBroadcast() 66 Intent intent = new Intent(Settings.Panel.ACTION_INTERNET_CONNECTIVITY); in getPanel_internetConnectivityKey_sendsCorrectBroadcast() 78 mBundle.putString(KEY_PANEL_TYPE_ARGUMENT, Settings.Panel.ACTION_VOLUME); in getPanel_volumePanel_returnsCorrectPanel() 89 mBundle.putString(KEY_PANEL_TYPE_ARGUMENT, Settings.Panel.ACTION_VOLUME); in getPanel_volumePanelFlagEnabled_sendRedirectIntent() 95 assertThat(intentCaptor.getValue().getAction()).isEqualTo(Settings.Panel.ACTION_VOLUME); in getPanel_volumePanelFlagEnabled_sendRedirectIntent()
|
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/domain/panel/ |
D | PanelActionReducer.kt | 38 fun build(): Panel 43 fun reduce(panel: Panel, action: PanelAction): Panel
|
D | PanelController.kt | 39 fun handleAction(panel: Panel?, action: PanelAction): Panel? = when (action) { in handleAction()
|
D | Panel.kt | 24 internal data class Panel( in <lambda>() class
|
/packages/services/Car/tests/CustomizationTool/tests/src/com/android/car/customization/tool/domain/panel/ |
D | PanelControllerTest.kt | 34 val expectedPanel = Panel(emptyList()) in openPanel_action_opens_a_panel_and_the_extras_are_collected_correctly() 54 assertNull(underTest.handleAction(Panel(emptyList()), ClosePanelAction)) in when_the_panel_is_closed_the_value_for_the_state_is_null() 65 underTest.handleAction(Panel(emptyList()), ReloadPanelAction) in when_the_panel_is_reloaded_the_reducer_builds_a_new_panel_from_scratch()
|
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/domain/ |
D | PageState.kt | 19 import com.android.car.customization.tool.domain.panel.Panel 31 val panel: Panel?,
|
/packages/apps/Car/Settings/src/com/android/car/settings/network/ |
D | NetworkAndInternetFragment.java | 44 Settings.Panel.ACTION_INTERNET_CONNECTIVITY) {
|