Home
last modified time | relevance | path

Searched refs:InputSetupActionUtils (Results 1 – 4 of 4) sorted by relevance

/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/actions/
DInputSetupActionUtilsTest.java40 assertThat(InputSetupActionUtils.hasInputSetupAction(intent)).isTrue(); in hasInputSetupAction_launchInputSetup()
46 assertThat(InputSetupActionUtils.hasInputSetupAction(intent)).isTrue(); in hasInputSetupAction_googleLaunchInputSetup()
52 assertThat(InputSetupActionUtils.hasInputSetupAction(intent)).isFalse(); in hasInputSetupAction_bad()
58 assertThat(InputSetupActionUtils.getExtraActivityAfter(intent)).isNull(); in getExtraActivityAfter_null()
66 assertThat(InputSetupActionUtils.getExtraActivityAfter(intent)).isEqualTo(after); in getExtraActivityAfter_activityAfter()
74 assertThat(InputSetupActionUtils.getExtraActivityAfter(intent)).isEqualTo(after); in getExtraActivityAfter_googleActivityAfter()
80 assertThat(InputSetupActionUtils.getExtraSetupIntent(intent)).isNull(); in getExtraSetupIntent_null()
88 assertThat(InputSetupActionUtils.getExtraSetupIntent(intent)).isEqualTo(setup); in getExtraSetupIntent_setupIntent()
96 assertThat(InputSetupActionUtils.getExtraSetupIntent(intent)).isEqualTo(setup); in getExtraSetupIntent_googleSetupIntent()
103 InputSetupActionUtils.removeSetupIntent(extras); in removeSetupIntent_empty()
[all …]
/packages/apps/TV/src/com/android/tv/
DSetupPassthroughActivity.java32 import com.android.tv.common.actions.InputSetupActionUtils;
79 String inputId = intent.getStringExtra(InputSetupActionUtils.EXTRA_INPUT_ID); in onCreate()
81 mActivityAfterCompletion = InputSetupActionUtils.getExtraActivityAfter(intent); in onCreate()
90 InputSetupActionUtils.hasInputSetupAction(intent), in onCreate()
105 Intent setupIntent = InputSetupActionUtils.getExtraSetupIntent(intent); in onCreate()
117 InputSetupActionUtils.removeSetupIntent(extras); in onCreate()
180 + getIntent().getStringExtra(InputSetupActionUtils.EXTRA_INPUT_ID) in onActivityResult()
/packages/apps/TV/common/src/com/android/tv/common/util/
DCommonUtils.java26 import com.android.tv.common.actions.InputSetupActionUtils;
70 if (!InputSetupActionUtils.hasInputSetupAction(originalSetupIntent)) { in createSetupIntent()
71 Intent intentContainer = new Intent(InputSetupActionUtils.INTENT_ACTION_INPUT_SETUP); in createSetupIntent()
72 intentContainer.putExtra(InputSetupActionUtils.EXTRA_SETUP_INTENT, originalSetupIntent); in createSetupIntent()
73 intentContainer.putExtra(InputSetupActionUtils.EXTRA_INPUT_ID, inputId); in createSetupIntent()
/packages/apps/TV/common/src/com/android/tv/common/actions/
DInputSetupActionUtils.java25 public class InputSetupActionUtils { class