Home
last modified time | relevance | path

Searched refs:SetupUtils (Results 1 – 12 of 12) sorted by relevance

/packages/apps/TV/src/com/android/tv/data/
DTvInputNewComparator.java21 import com.android.tv.util.SetupUtils;
30 private final SetupUtils mSetupUtils;
33 public TvInputNewComparator(SetupUtils setupUtils, TvInputManagerHelper inputManager) { in TvInputNewComparator()
/packages/apps/TV/src/com/android/tv/util/
DSetupUtils.java47 public class SetupUtils { class
59 private static SetupUtils sSetupUtils;
69 private SetupUtils(TvApplication tvApplication) { in SetupUtils() method in SetupUtils
89 public static SetupUtils getInstance(Context context) { in getInstance()
93 sSetupUtils = new SetupUtils((TvApplication) context.getApplicationContext()); in getInstance()
/packages/apps/TV/src/com/android/tv/
DSetupPassthroughActivity.java28 import com.android.tv.util.SetupUtils;
68 SetupUtils.grantEpgPermission(this, mTvInputInfo.getServiceInfo().packageName); in onCreate()
89 SetupUtils.getInstance(this).onTvInputSetupFinished(mTvInputInfo.getId(), new Runnable() { in onActivityResult()
DTvApplication.java56 import com.android.tv.util.SetupUtils;
362 SetupUtils.getInstance(TvApplication.this).onInputListUpdated(inputManager); in handleInputCountChanged()
DMainActivity.java131 import com.android.tv.util.SetupUtils;
387 SetupUtils.getInstance(MainActivity.this).markNewChannelsBrowsable();
433 SetupUtils.getInstance(MainActivity.this).markAsKnownInput(mUsbTunerInputId);
788 SetupUtils.getInstance(this).markNewChannelsBrowsable(); in onResume()
1047 SetupUtils.grantEpgPermission(this, input.getServiceInfo().packageName); in startSetupActivity()
1749 SetupUtils setupUtils = SetupUtils.getInstance(this); in tune()
/packages/apps/TV/tests/unit/src/com/android/tv/data/
DTvInputNewComparatorTest.java28 import com.android.tv.util.SetupUtils;
56 SetupUtils setupUtils = Mockito.mock(SetupUtils.class); in testComparator()
/packages/apps/TV/src/com/android/tv/onboarding/
DOnboardingActivity.java35 import com.android.tv.util.SetupUtils;
50 SetupUtils.getInstance(OnboardingActivity.this).markNewChannelsBrowsable();
104 SetupUtils.getInstance(this).markNewChannelsBrowsable(); in onCreateInitialFragment()
DNewSourcesFragment.java32 import com.android.tv.util.SetupUtils;
59 SetupUtils.getInstance(getActivity()).markAllInputsRecognized(TvApplication in onCreateView()
DSetupSourcesFragment.java50 import com.android.tv.util.SetupUtils;
139 private SetupUtils mSetupUtils;
219 mSetupUtils = SetupUtils.getInstance(context); in onCreate()
375 SetupUtils.grantEpgPermission(getActivity(), input.getServiceInfo().packageName); in onGuidedActionClicked()
/packages/apps/TV/src/com/android/tv/receiver/
DBootCompletedReceiver.java33 import com.android.tv.util.SetupUtils;
59 SetupUtils.grantEpgPermissionToSetUpPackages(context); in onReceive()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DSettingsFragment.java30 import com.android.tv.util.SetupUtils;
105 boolean hasNewInput = SetupUtils.getInstance(activity).hasNewInput( in getItemList()
/packages/apps/TV/src/com/android/tv/menu/
DChannelsRowAdapter.java33 import com.android.tv.util.SetupUtils;
172 boolean showSetupCard = SetupUtils.getInstance(mContext).hasNewInput(inputManager); in update()