/packages/services/Car/tests/CustomizationTool/tests/src/com/android/car/customization/tool/domain/ |
D | CustomizationToolStateMachineTest.kt | 69 underTest.handleAction(ToggleUiAction) in when_the_action_toggle_is_received_the_page_state_is_updated() 86 mockMenuController.handleAction( in when_a_menu_action_is_received_then_it_is_forwarded_to_the_MenuController() 94 underTest.handleAction(OpenSubMenuAction(firstLevelSubNavigation.displayTextRes)) in when_a_menu_action_is_received_then_it_is_forwarded_to_the_MenuController() 97 verify(mockMenuController, times(/*wantedNumberOfInvocations=*/1)).handleAction( in when_a_menu_action_is_received_then_it_is_forwarded_to_the_MenuController() 121 underTest.handleAction(OpenPanelAction(EmptyPanelReducer::class)) in when_a_panel_action_is_received_then_it_is_forwarded_to_the_PanelController() 124 verify(spyPanelController, times(/*wantedNumberOfInvocations=*/1)).handleAction( in when_a_panel_action_is_received_then_it_is_forwarded_to_the_PanelController() 145 underTest.handleAction(FakeAction) in expect_exception_when_action_is_not_implemented_in_the_state_machine()
|
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/notifications/ |
D | ConsentNotificationFragment.java | 73 ConsentNotificationActivity.handleAction(LANDING_PAGE_DISPLAYED, getContext()); in onViewCreated() 81 ConsentNotificationActivity.handleAction(LANDING_PAGE_DISMISSED, getContext()); in onSaveInstanceState() 108 ConsentNotificationActivity.handleAction( in setupListeners() 116 ConsentNotificationActivity.handleAction( in setupListeners() 130 ConsentNotificationActivity.handleAction( in setupListeners() 247 ConsentNotificationActivity.handleAction( in onMoreOrAcceptClicked() 260 ConsentNotificationActivity.handleAction( in onMoreOrAcceptClicked() 267 ConsentNotificationActivity.handleAction( in onMoreOrAcceptClicked() 280 ConsentNotificationActivity.handleAction(LANDING_PAGE_SCROLLED, getContext()); in onScrollChange() 286 ConsentNotificationActivity.handleAction( in updateButtonsIfHasScrolledToBottom()
|
D | ConsentNotificationConfirmationFragment.java | 69 ConsentNotificationActivity.handleAction(CONFIRMATION_PAGE_DISPLAYED, getContext()); in onViewCreated() 76 ConsentNotificationActivity.handleAction(CONFIRMATION_PAGE_DISMISSED, getContext()); in onSaveInstanceState() 85 ConsentNotificationActivity.handleAction( in setupListeners() 88 ConsentNotificationActivity.handleAction( in setupListeners() 104 ConsentNotificationActivity.handleAction( in setupListeners() 107 ConsentNotificationActivity.handleAction( in setupListeners()
|
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/ui/menu/ |
D | DropDownPopup.kt | 38 handleAction: (Action) -> Unit, in showDropDownPopupWindow() 54 adapter = DropDownAdapter(items, handleAction, popupWindow) in showDropDownPopupWindow() 73 private val handleAction: (Action) -> Unit, constant in com.android.car.customization.tool.ui.menu.DropDownAdapter 82 handleAction: (Action) -> Unit, in bindTo() 91 handleAction(model.action) in bindTo() 107 holder.bindTo(items[position], handleAction, popupWindow) in onCreateViewHolder()
|
D | UpNavigationViewHolder.kt | 29 override fun bindTo(model: MenuItem, handleAction: (Action) -> Unit) { in bindTo() 33 handleAction(model.action) in bindTo()
|
D | SubMenuNavigationItemViewHolder.kt | 29 override fun bindTo(model: MenuItem, handleAction: (Action) -> Unit) { in bindTo() 35 handleAction(model.action) in bindTo()
|
D | PanelLauncherItemViewHolder.kt | 29 override fun bindTo(model: MenuItem, handleAction: (Action) -> Unit) { in bindTo() 36 handleAction(model.action) in bindTo()
|
D | DropDownItemViewHolder.kt | 29 override fun bindTo(model: MenuItem, handleAction: (Action) -> Unit) { in bindTo() 36 showDropDownPopupWindow(itemView, model.items, handleAction) in bindTo()
|
D | SwitchItemViewHolder.kt | 29 override fun bindTo(model: MenuItem, handleAction: (Action) -> Unit) { in bindTo() 39 handleAction(model.action) in bindTo()
|
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/ganotifications/ |
D | ConsentNotificationGaFragment.java | 76 ConsentNotificationActivity.handleAction(LANDING_PAGE_DISPLAYED, getContext()); in onViewCreated() 83 ConsentNotificationActivity.handleAction(LANDING_PAGE_DISMISSED, getContext()); in onSaveInstanceState() 114 ConsentNotificationActivity.handleAction( in setupListeners() 127 ConsentNotificationActivity.handleAction( in setupListeners() 142 ConsentNotificationActivity.handleAction( in setupListeners() 259 ConsentNotificationActivity.handleAction( in onMoreOrAcceptClicked() 273 ConsentNotificationActivity.handleAction( in onMoreOrAcceptClicked() 285 ConsentNotificationActivity.handleAction( in onMoreOrAcceptClicked() 298 ConsentNotificationActivity.handleAction(LANDING_PAGE_SCROLLED, getContext()); in onScrollChange() 304 ConsentNotificationActivity.handleAction( in updateButtonsIfHasScrolledToBottom()
|
D | ConsentNotificationGaV2Screen2Fragment.java | 70 ConsentNotificationActivity.handleAction(LANDING_PAGE_DISPLAYED, getContext()); in onViewCreated() 77 ConsentNotificationActivity.handleAction(LANDING_PAGE_DISMISSED, getContext()); in onSaveInstanceState() 99 ConsentNotificationActivity.handleAction( in setupListeners() 109 ConsentNotificationActivity.handleAction( in setupListeners() 217 ConsentNotificationActivity.handleAction( in onMoreOrAcceptClicked() 229 ConsentNotificationActivity.handleAction( in onMoreOrAcceptClicked() 242 ConsentNotificationActivity.handleAction(LANDING_PAGE_SCROLLED, getContext()); in onScrollChange() 248 ConsentNotificationActivity.handleAction( in updateButtonsIfHasScrolledToBottom()
|
D | ConsentNotificationConfirmationGaFragment.java | 104 ConsentNotificationActivity.handleAction(CONFIRMATION_PAGE_DISPLAYED, getContext()); in onViewCreated() 113 ConsentNotificationActivity.handleAction(CONFIRMATION_PAGE_DISMISSED, getContext()); in onSaveInstanceState() 127 ConsentNotificationActivity.handleAction( in setupListeners() 130 ConsentNotificationActivity.handleAction( in setupListeners() 142 ConsentNotificationActivity.handleAction( in setupListeners() 145 ConsentNotificationActivity.handleAction( in setupListeners() 162 ConsentNotificationActivity.handleAction( in setupListeners() 165 ConsentNotificationActivity.handleAction( in setupListeners()
|
D | ConsentNotificationPasFragment.java | 117 ConsentNotificationActivity.handleAction(CONFIRMATION_PAGE_DISPLAYED, getContext()); in onViewCreated() 126 ConsentNotificationActivity.handleAction(CONFIRMATION_PAGE_DISMISSED, getContext()); in onSaveInstanceState() 136 ConsentNotificationActivity.handleAction( in setupListeners() 152 ConsentNotificationActivity.handleAction( in setupListeners() 163 ConsentNotificationActivity.handleAction( in setupListeners()
|
D | ConsentNotificationGaV2Screen1Fragment.java | 80 ConsentNotificationActivity.handleAction(CONFIRMATION_PAGE_DISPLAYED, getContext()); in onViewCreated() 94 ConsentNotificationActivity.handleAction(CONFIRMATION_PAGE_DISMISSED, getContext()); in onSaveInstanceState() 107 ConsentNotificationActivity.handleAction( in setupListeners() 122 ConsentNotificationActivity.handleAction( in setupListeners()
|
/packages/services/Car/tests/CustomizationTool/tests/src/com/android/car/customization/tool/domain/menu/ |
D | MenuControllerTest.kt | 83 val menuAfterAction = underTest.handleAction( in when_opening_submenu_the_currentParent_is_updated_correctly() 96 underTest.handleAction( in expect_exception_if_the_submenu_is_not_a_direct_child_of_the_current_parent() 109 underTest.handleAction( in when_navigating_up_then_the_currentParent_is_updated_correctly() 123 underTest.handleAction(Menu(rootNode, firstLevelSubNavigation), ReloadMenuAction) in when_the_menu_is_reloaded_then_the_menu_is_updated_and_the_currentParent_preserved() 135 underTest.handleAction(Menu(rootNode, currentParentNode = rootNode), FakeMenuAction()) in expect_exception_when_action_is_not_supported() 151 underTest.handleAction(Menu(rootNode, currentParentNode = rootNode), fakeAction) in when_an_additional_reducer_is_provided_the_menuController_uses_it()
|
/packages/apps/Stk/src/com/android/stk/ |
D | StkCmdReceiver.java | 44 handleAction(context, intent, StkAppService.OP_CMD); in onReceive() 46 handleAction(context, intent, StkAppService.OP_END_SESSION); in onReceive() 48 handleAction(context, intent, StkAppService.OP_CARD_STATUS_CHANGED); in onReceive() 50 handleAction(context, intent, StkAppService.OP_ALPHA_NOTIFY); in onReceive() 54 private void handleAction(Context context, Intent intent, int op) { in handleAction() method in StkCmdReceiver
|
/packages/services/Car/tests/CustomizationTool/tests/src/com/android/car/customization/tool/domain/panel/ |
D | PanelControllerTest.kt | 41 val actualPanel = underTest.handleAction( 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() 64 underTest.handleAction(panel = null, OpenPanelAction(EmptyPanelReducer::class)) in when_the_panel_is_reloaded_the_reducer_builds_a_new_panel_from_scratch() 65 underTest.handleAction(Panel(emptyList()), ReloadPanelAction) in when_the_panel_is_reloaded_the_reducer_builds_a_new_panel_from_scratch()
|
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/u18notifications/ |
D | ConsentNotificationU18Fragment.java | 70 ConsentNotificationActivity.handleAction(LANDING_PAGE_DISPLAYED, getContext()); in onViewCreated() 82 ConsentNotificationActivity.handleAction(LANDING_PAGE_DISMISSED, getContext()); in onSaveInstanceState() 101 ConsentNotificationActivity.handleAction( in setupListeners() 186 ConsentNotificationActivity.handleAction(LANDING_PAGE_GOT_IT_CLICKED, getContext()); in onMoreOrAcceptClicked() 197 ConsentNotificationActivity.handleAction( in onMoreOrAcceptClicked() 210 ConsentNotificationActivity.handleAction(LANDING_PAGE_SCROLLED, getContext()); in onScrollChange() 216 ConsentNotificationActivity.handleAction( in updateButtonsIfHasScrolledToBottom()
|
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/domain/ |
D | CustomizationToolStateMachine.kt | 53 menu = menuController.handleAction(state.menu, ReloadMenuAction), in reducer() 54 panel = panelController.handleAction(state.panel, ReloadPanelAction) in reducer() 60 menu = menuController.handleAction(state.menu, action) in reducer() 66 panel = panelController.handleAction(state.panel, action) in reducer()
|
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/ |
D | CustomizationToolService.kt | 46 customizationToolUI.handleAction = customizationToolStateMachine::handleAction in onServiceConnected() 54 customizationToolStateMachine.handleAction(ReloadStateAction) in onServiceConnected()
|
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/ui/ |
D | CustomizationToolUI.kt | 55 lateinit var handleAction: (action: Action) -> Unit in <lambda>() variable 87 handleAction(ToggleUiAction) in <lambda>() 141 if (adapter == null) adapter = MenuAdapter(handleAction) in <lambda>() 147 mControlPanelItems.adapter = PanelItemsAdapter(handleAction) in <lambda>() 150 mControlPanelHeader.adapter = PanelHeaderAdapter(handleAction) in <lambda>()
|
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/ui/panel/header/ |
D | PanelHeaderCloseViewHolder.kt | 29 override fun bindTo(model: PanelHeaderItem, handleAction: (Action) -> Unit) { in bindTo() 32 handleAction(model.action) in bindTo()
|
D | PanelHeaderSearchBoxViewHolder.kt | 31 override fun bindTo(model: PanelHeaderItem, handleAction: (Action) -> Unit) { in <lambda>() 37 runnable = Runnable { handleAction(model.searchAction(text.toString())) } in <lambda>()
|
D | PanelHeaderDropDownViewHolder.kt | 33 override fun bindTo(model: PanelHeaderItem, handleAction: (Action) -> Unit) { in bindTo() 48 handleAction(model.items[position].action) in bindTo()
|
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/ui/panel/items/ |
D | PanelSwitchViewHolder.kt | 32 override fun bindTo(model: PanelItem, handleAction: (Action) -> Unit) { in bindTo() 45 handleAction(model.action) in bindTo()
|