Home
last modified time | relevance | path

Searched refs:action2 (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/policy/
DDeferredKeyActionExecutorTests.java80 TestAction action2 = new TestAction(); in setActionsExecutable_afterActionQueued_downTimeMismatch_actionNotExecuted() local
82 KeyEvent.KEYCODE_STEM_PRIMARY, /* downTime= */ 2, action2); in setActionsExecutable_afterActionQueued_downTimeMismatch_actionNotExecuted()
85 assertTrue(action2.executed); in setActionsExecutable_afterActionQueued_downTimeMismatch_actionNotExecuted()
101 TestAction action2 = new TestAction(); in queueKeyAction_beforeAndAfterCancelQueuedActions_onlyActionsAfterCancelExecuted() local
106 KeyEvent.KEYCODE_STEM_PRIMARY, /* downTime= */ 1, action2); in queueKeyAction_beforeAndAfterCancelQueuedActions_onlyActionsAfterCancelExecuted()
114 assertFalse(action2.executed); in queueKeyAction_beforeAndAfterCancelQueuedActions_onlyActionsAfterCancelExecuted()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/
DPipUtils.kt97 fun remoteActionsMatch(action1: RemoteAction?, action2: RemoteAction?): Boolean { in remoteActionsMatch()
98 if (action1 === action2) return true in remoteActionsMatch()
99 if (action1 == null || action2 == null) return false in remoteActionsMatch()
100 return action1.isEnabled == action2.isEnabled && in remoteActionsMatch()
101 action1.shouldShowIcon() == action2.shouldShowIcon() && in remoteActionsMatch()
102 action1.title == action2.title && in remoteActionsMatch()
103 action1.contentDescription == action2.contentDescription && in remoteActionsMatch()
104 action1.actionIntent == action2.actionIntent in remoteActionsMatch()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/view/
DMediaViewHolder.kt72 val action2 = itemView.requireViewById<ImageButton>(R.id.action2) constant
85 R.id.action2 -> action2 in getAction()
95 return listOf(actionNext, actionPrev, action0, action1, action2, action3, action4) in getTransparentActionButtons()
137 R.id.action2,
147 setOf(R.id.action0, R.id.action1, R.id.action2, R.id.action3, R.id.action4)
156 R.id.action2,
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationTemplateViewWrapperTest.kt97 val action2 = createActionWithPendingIntent() in actionPendingIntentCancelled_actionDisabled() constant
106 assertThat(action2.isEnabled).isTrue() in actionPendingIntentCancelled_actionDisabled()
111 .doesNotContain(getPendingIntent(action2).hashCode()) in actionPendingIntentCancelled_actionDisabled()
142 val action2 = createActionWithPendingIntent() in twoActionsWithSameCancelledIntent_bothActionsDisabled() constant
143 val action3 = createActionWithPendingIntent(getPendingIntent(action2)) in twoActionsWithSameCancelledIntent_bothActionsDisabled()
147 val pi = getPendingIntent(action2) in twoActionsWithSameCancelledIntent_bothActionsDisabled()
150 waitForActionDisabled(action2) in twoActionsWithSameCancelledIntent_bothActionsDisabled()
153 assertThat(action2.isEnabled).isFalse() in twoActionsWithSameCancelledIntent_bothActionsDisabled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanelTest.kt179 private lateinit var action2: ImageButton in <lambda>() variable in com.android.systemui.media.controls.ui.controller.MediaControlPanelTest
379 action2 = ImageButton(context).also { it.setId(R.id.action2) } in <lambda>()
401 action2.id, in <lambda>()
444 whenever(viewHolder.action2).thenReturn(action2) in <lambda>()
445 whenever(viewHolder.getAction(R.id.action2)).thenReturn(action2) in <lambda>()
553 verify(collapsedSet).setVisibility(R.id.action2, ConstraintSet.GONE) in <lambda>()
554 verify(expandedSet).setVisibility(R.id.action2, ConstraintSet.GONE) in <lambda>()
1028 assertThat(action2.contentDescription).isEqualTo("next") in <lambda>()
1029 assertThat(action2.isEnabled()).isFalse() in <lambda>()
1030 verify(collapsedSet).setVisibility(R.id.action2, ConstraintSet.VISIBLE) in <lambda>()
[all …]
/frameworks/av/services/mediametrics/tests/
Dmediametrics_tests.cpp777 bool action2 = false; in TEST() local
795 action2 = true; in TEST()
824 ASSERT_EQ(true, action2); in TEST()
/frameworks/base/core/java/android/app/
DNotification.java10092 R.id.action2,
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt77134 Lcom/android/internal/R$id;->action2:I