Home
last modified time | relevance | path

Searched refs:inputId (Results 1 – 7 of 7) sorted by relevance

/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/syncadapter/
DSyncUtils.java35 public static void setUpPeriodicSync(Context context, String inputId) { in setUpPeriodicSync() argument
45 bundle.putString(SyncAdapter.BUNDLE_KEY_INPUT_ID, inputId); in setUpPeriodicSync()
50 public static void requestSync(String inputId) { in requestSync() argument
54 bundle.putString(SyncAdapter.BUNDLE_KEY_INPUT_ID, inputId); in requestSync()
DSyncAdapter.java74 String inputId = extras.getString(SyncAdapter.BUNDLE_KEY_INPUT_ID); in onPerformSync() local
75 if (inputId == null) { in onPerformSync()
80 mContext.getContentResolver(), inputId, channels); in onPerformSync()
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/
DTvContractUtils.java70 Context context, String inputId, List<ChannelInfo> channels) { in updateChannels() argument
73 Uri channelsUri = TvContract.buildChannelsUriForInput(inputId); in updateChannels()
92 values.put(Channels.COLUMN_INPUT_ID, inputId); in updateChannels()
131 public static int getChannelCount(ContentResolver resolver, String inputId) { in getChannelCount() argument
132 Uri uri = TvContract.buildChannelsUriForInput(inputId); in getChannelCount()
154 String inputId, List<ChannelInfo> channels) { in buildChannelMap() argument
155 Uri uri = TvContract.buildChannelsUriForInput(inputId); in buildChannelMap()
293 public static String getServiceNameFromInputId(Context context, String inputId) { in getServiceNameFromInputId() argument
296 if (info.getId().equals(inputId)) { in getServiceNameFromInputId()
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/
DRichSetupFragment.java207 private void setupChannels(String inputId) { in setupChannels() argument
211 TvContractUtils.updateChannels(getActivity(), inputId, mChannels); in setupChannels() local
212 SyncUtils.setUpPeriodicSync(getActivity(), inputId); in setupChannels() local
213 SyncUtils.requestSync(inputId); in setupChannels()
DRichSettingsFragment.java76 String inputId = getActivity().getIntent().getStringExtra(TvInputInfo.EXTRA_INPUT_ID); in loadRows() local
77 String serviceName = TvContractUtils.getServiceNameFromInputId(getActivity(), inputId); in loadRows()
DRichTvInputService.java107 public final Session onCreateSession(String inputId) { in onCreateSession() argument
108 RichTvInputSessionImpl session = new RichTvInputSessionImpl(this, inputId); in onCreateSession()
195 protected RichTvInputSessionImpl(Context context, String inputId) { in RichTvInputSessionImpl() argument
199 mInputId = inputId; in RichTvInputSessionImpl()
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/simple/
DSimpleTvInputService.java44 public Session onCreateSession(String inputId) { in onCreateSession() argument