/frameworks/base/services/tests/wmtests/src/com/android/server/policy/ |
D | DeferredKeyActionExecutorTests.java | 72 TestAction action1 = new TestAction(); in setActionsExecutable_afterActionQueued_downTimeMismatch_actionNotExecuted() local 74 KeyEvent.KEYCODE_STEM_PRIMARY, /* downTime= */ 1, action1); in setActionsExecutable_afterActionQueued_downTimeMismatch_actionNotExecuted() 78 assertFalse(action1.executed); in setActionsExecutable_afterActionQueued_downTimeMismatch_actionNotExecuted() 84 assertFalse(action1.executed); in setActionsExecutable_afterActionQueued_downTimeMismatch_actionNotExecuted() 100 TestAction action1 = new TestAction(); in queueKeyAction_beforeAndAfterCancelQueuedActions_onlyActionsAfterCancelExecuted() local 104 KeyEvent.KEYCODE_STEM_PRIMARY, /* downTime= */ 1, action1); in queueKeyAction_beforeAndAfterCancelQueuedActions_onlyActionsAfterCancelExecuted() 113 assertFalse(action1.executed); in queueKeyAction_beforeAndAfterCancelQueuedActions_onlyActionsAfterCancelExecuted()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | PipUtils.kt | 97 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/ |
D | MediaViewHolder.kt | 71 val action1 = itemView.requireViewById<ImageButton>(R.id.action1) constant 84 R.id.action1 -> action1 in getAction() 95 return listOf(actionNext, actionPrev, action0, action1, action2, action3, action4) in getTransparentActionButtons() 136 R.id.action1, 147 setOf(R.id.action0, R.id.action1, R.id.action2, R.id.action3, R.id.action4) 155 R.id.action1,
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationTemplateViewWrapperTest.kt | 96 val action1 = createActionWithPendingIntent() in actionPendingIntentCancelled_actionDisabled() constant 105 assertThat(action1.isEnabled).isTrue() in actionPendingIntentCancelled_actionDisabled() 109 .doesNotContain(getPendingIntent(action1).hashCode()) in actionPendingIntentCancelled_actionDisabled() 141 val action1 = createActionWithPendingIntent() in twoActionsWithSameCancelledIntent_bothActionsDisabled() constant 152 assertThat(action1.isEnabled).isTrue() in twoActionsWithSameCancelledIntent_bothActionsDisabled()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaControlPanelTest.kt | 178 private lateinit var action1: ImageButton in <lambda>() variable in com.android.systemui.media.controls.ui.controller.MediaControlPanelTest 378 action1 = ImageButton(context).also { it.setId(R.id.action1) } in <lambda>() 400 action1.id, in <lambda>() 442 whenever(viewHolder.action1).thenReturn(action1) in <lambda>() 443 whenever(viewHolder.getAction(R.id.action1)).thenReturn(action1) in <lambda>() 548 assertThat(action1.contentDescription).isEqualTo("custom 1") in <lambda>() 549 assertThat(action1.isEnabled()).isFalse() in <lambda>() 550 verify(collapsedSet, times(2)).setVisibility(R.id.action1, ConstraintSet.GONE) in <lambda>() 1024 assertThat(action1.contentDescription).isEqualTo("play") in <lambda>() 1025 assertThat(action1.isEnabled()).isTrue() in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/shared/model/ |
D | MediaData.kt | 140 R.id.action1 -> custom1 in getActionById()
|
/frameworks/av/services/mediametrics/tests/ |
D | mediametrics_tests.cpp | 776 bool action1 = false; in TEST() local 787 action1 = true; in TEST() 823 ASSERT_EQ(true, action1); in TEST()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/viewmodel/ |
D | MediaControlViewModel.kt | 414 R.id.action1 in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaControlPanel.java | 200 R.id.action1
|
/frameworks/base/core/java/android/app/ |
D | Notification.java | 10091 R.id.action1,
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 77133 Lcom/android/internal/R$id;->action1:I
|