Home
last modified time | relevance | path

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

/aosp12/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/actions/
H A 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()
80 assertThat(InputSetupActionUtils.getExtraSetupIntent(intent)).isNull(); in getExtraSetupIntent_null()
88 assertThat(InputSetupActionUtils.getExtraSetupIntent(intent)).isEqualTo(setup); in getExtraSetupIntent_setupIntent()
103 InputSetupActionUtils.removeSetupIntent(extras); in removeSetupIntent_empty()
111 InputSetupActionUtils.removeSetupIntent(extras); in removeSetupIntent_other()
120 InputSetupActionUtils.removeSetupIntent(extras); in removeSetupIntent_setup()
129 InputSetupActionUtils.removeSetupIntent(extras); in removeSetupIntent_googleSetup()
[all …]
/aosp12/packages/apps/TV/common/src/com/android/tv/common/util/
H A 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()
/aosp12/packages/apps/TV/src/com/android/tv/
H A 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()
/aosp12/packages/apps/TV/common/src/com/android/tv/common/actions/
H A DInputSetupActionUtils.java25 public class InputSetupActionUtils { class