Searched refs:InputSetupActionUtils (Results 1 – 4 of 4) sorted by relevance
40 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 …]
32 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()
26 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()
25 public class InputSetupActionUtils { class