Home
last modified time | relevance | path

Searched refs:mChannel (Results 1 – 17 of 17) sorted by relevance

/packages/apps/TV/src/com/android/tv/data/
DChannel.java396 private final Channel mChannel; field in Channel.Builder
399 mChannel = new Channel(); in Builder()
401 mChannel.mId = INVALID_ID; in Builder()
402 mChannel.mPackageName = INVALID_PACKAGE_NAME; in Builder()
403 mChannel.mInputId = "inputId"; in Builder()
404 mChannel.mType = "type"; in Builder()
405 mChannel.mDisplayNumber = "0"; in Builder()
406 mChannel.mDisplayName = "name"; in Builder()
407 mChannel.mDescription = "description"; in Builder()
408 mChannel.mBrowsable = true; in Builder()
[all …]
DChannelDataManager.java95 if (channel.mChannel.getInputId().equals(inputId)) {
97 addChannel(channel.mChannel);
112 if (channel.mChannel.getInputId().equals(inputId)) {
122 addChannel(channelWrapper.mChannel);
321 return channelWrapper.mChannel; in getChannel()
345 if (channelWrapper.mChannel.isBrowsable() != browsable) { in updateBrowsable()
346 channelWrapper.mChannel.setBrowsable(browsable); in updateBrowsable()
348 mBrowsableUpdateChannelIds.remove(channelWrapper.mChannel.getId()); in updateBrowsable()
350 mBrowsableUpdateChannelIds.add(channelWrapper.mChannel.getId()); in updateBrowsable()
406 if (channelWrapper.mChannel.isLocked() != locked) { in updateLocked()
[all …]
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/
DTunerSessionWorker.java159 private volatile TunerChannel mChannel; field in TunerSessionWorker
236 return mChannel; in getCurrentChannel()
516 mChannel = null; in handleMessage()
581 if (mChannel != null || mRecordingId != null) { in handleMessage()
634 if (mChannel != null && mChannel.hasVideo()) { in handleMessage()
653 if (mChannel != null) { in handleMessage()
665 if (mChannel == null) { in handleMessage()
668 if (mChannel != null && mChannel.compareTo(channel) != 0) { in handleMessage()
704 if (mChannel != null && mChannel.compareTo(channel) == 0) { in handleMessage()
713 if (mChannel != null && mChannel.compareTo(channel) == 0 in handleMessage()
[all …]
DTunerRecordingSessionWorker.java98 private TunerChannel mChannel; field in TunerRecordingSessionWorker
139 if (mChannel == null || mChannel.compareTo(channel) != 0) { in onChannelDetected()
147 if (mChannel == null || mChannel.compareTo(channel) != 0) { in onEventDetected()
316 mChannel = getChannel(channelUri); in onConnect()
317 if (mChannel == null) { in onConnect()
318 Log.w(TAG, "Failed to start recording. Couldn't find the channel for " + mChannel); in onConnect()
340 if (!mTunerSource.tuneToChannel(mChannel)) { in onStartRecording()
342 mChannel.toString()); in onStartRecording()
473 Uri programUri = TvContract.buildProgramsUriForChannel(mChannel.getChannelId(), avg, avg); in getRecordedProgram()
510 Uri uri = insertRecordedProgram(getRecordedProgram(), mChannel.getChannelId(), in onRecordingResult()
[all …]
/packages/apps/TV/src/com/android/tv/menu/
DAppLinkCardView.java69 private Channel mChannel; field in AppLinkCardView
116 mChannel = channel; in onBind()
117 ApplicationInfo appInfo = mTvInputManagerHelper.getTvInputAppInfo(mChannel.getInputId()); in onBind()
118 int linkType = mChannel.getAppLinkType(getContext()); in onBind()
119 mIntent = mChannel.getAppLinkIntent(getContext()); in onBind()
123 setMetaViewText(mChannel.getAppLinkText()); in onBind()
129 if (!TextUtils.isEmpty(mChannel.getAppLinkIconUri())) { in onBind()
130 mChannel.loadBitmap(getContext(), Channel.LOAD_IMAGE_TYPE_APP_LINK_ICON, in onBind()
131 mIconWidth, mIconHeight, createChannelLogoCallback(this, mChannel, in onBind()
153 if (mChannel.getAppLinkColor() == 0) { in onBind()
[all …]
DChannelCardView.java58 private Channel mChannel; field in ChannelCardView
104 mChannel = channel; in onBind()
106 if (TextUtils.isEmpty(mChannel.getDisplayName())) { in onBind()
107 mChannelNumberNameView.setText(mChannel.getDisplayNumber()); in onBind()
109 mChannelNumberNameView.setText(mChannel.getDisplayNumber() + " " in onBind()
110 + mChannel.getDisplayName()); in onBind()
120 && mChannel.isLocked()) { in onBind()
148 || program.getChannelId() != cardView.mChannel.getId()) { in createProgramPosterArtCallback()
186 if (mChannel == null) {
189 mProgram = mMainActivity.getProgramDataManager().getCurrentProgram(mChannel.getId());
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DChannelCheckItem.java34 private Channel mChannel; field in ChannelCheckItem
43 mChannel = channel;
59 mChannel = channel; in ChannelCheckItem()
65 return mChannel; in getChannel()
93 mChannelDataManager.addChannelListener(mChannel.getId(), mChannelListener); in onBind()
94 mProgramDataManager.addOnCurrentProgramUpdatedListener(mChannel.getId(), in onBind()
102 updateProgramTitle(mProgramDataManager.getCurrentProgram(mChannel.getId())); in onUpdate()
107 mChannelDataManager.removeChannelListener(mChannel.getId(), mChannelListener); in onUnbind()
108 mProgramDataManager.removeOnCurrentProgramUpdatedListener(mChannel.getId(), in onUnbind()
/packages/services/Car/car-lib/src/android/car/hardware/radio/
DCarRadioPreset.java44 private final int mChannel; field in CarRadioPreset
57 out.writeInt(mChannel); in writeToParcel()
75 mChannel = in.readInt(); in CarRadioPreset()
82 mChannel = channel; in CarRadioPreset()
91 public int getChannel() { return mChannel; } in getChannel()
99 "Channel: " + mChannel + "\n" + in toString()
109 that.getChannel() == mChannel && in equals()
/packages/apps/TV/src/com/android/tv/recommendation/
DChannelRecord.java37 private Channel mChannel; field in ChannelRecord
43 mChannel = channel; in ChannelRecord()
49 return mChannel; in getChannel()
53 mChannel = channel; in setChannel()
75 mCurrentProgram = manager.getCurrentProgram(mChannel.getId()); in getCurrentProgram()
/packages/apps/TV/src/com/android/tv/dvr/
DRecordingTask.java80 private final Channel mChannel; field in RecordingTask
88 mChannel = channel; in RecordingTask()
183 if (mChannel == null) { in handleInit()
188 if (mChannel.getId() != mScheduledRecording.getChannelId()) { in handleInit()
189 Log.w(TAG, "Channel" + mChannel + " does not match scheduled recording " in handleInit()
195 String inputId = mChannel.getInputId(); in handleInit()
196 if (mSessionManager.canAcquireDvrSession(inputId, mChannel)) { in handleInit()
207 mTvRecordingClient.tune(inputId, mChannel.getUri()); in handleInit()
/packages/apps/TV/tests/input/src/com/android/tv/testinput/
DTestTvInputService.java80 private ChannelInfo mChannel = null; field in TestTvInputService.SimpleSessionImpl
147 mChannel = null; in onRelease()
185 if (info == null || mChannel == null in onTune()
186 || mChannel.originalNetworkId != info.originalNetworkId) { in onTune()
189 mChannel = info; in onTune()
193 if (mChannel == null) { in onTune()
197 Log.i(TAG, "Tuning to " + mChannel); in onTune()
283 currentChannel = mChannel; in run()
/packages/apps/Settings/src/com/android/settings/wifi/p2p/
DWifiP2pSettings.java71 private WifiP2pManager.Channel mChannel; field in WifiP2pSettings
147 mWifiP2pManager.requestPersistentGroupInfo(mChannel, WifiP2pSettings.this);
171 mChannel = mWifiP2pManager.initialize(activity, getActivity().getMainLooper(), null); in onActivityCreated()
172 if (mChannel == null) { in onActivityCreated()
210 mWifiP2pManager.setDeviceName(mChannel, in onActivityCreated()
233 mWifiP2pManager.removeGroup(mChannel, new WifiP2pManager.ActionListener() { in onActivityCreated()
252 mWifiP2pManager.cancelConnect(mChannel, in onActivityCreated()
274 mWifiP2pManager.deletePersistentGroup(mChannel, in onActivityCreated()
325 mWifiP2pManager.requestPeers(mChannel, WifiP2pSettings.this); in onResume()
333 mWifiP2pManager.stopPeerDiscovery(mChannel, null); in onPause()
[all …]
/packages/apps/TV/src/com/android/tv/guide/
DProgramRow.java65 private Channel mChannel; field in ProgramRow
92 Log.d(TAG, "channelId=" + mChannel.getId() + ", childCount=" + childCount); in onScrolled()
293 mChannel = channel; in setChannel()
309 int position = mChannel == null ? -1 : mProgramManager.getProgramIndexAtTime( in resetScroll()
310 mChannel.getId(), startTime); in resetScroll()
314 TableEntry entry = mProgramManager.getTableEntry(mChannel.getId(), position); in resetScroll()
DProgramTableAdapter.java236 private Channel mChannel; field in ProgramTableAdapter.ProgramRowHolder
289 mChannel = channel;
328 mChannel.loadBitmap(itemView.getContext(), Channel.LOAD_IMAGE_TYPE_CHANNEL_LOGO,
497 if (mChannel == null) {
507 || !mChannel.getInputId().equals(lastChannel.getInputId())) {
515 TvInputInfo info = mTvInputManagerHelper.getTvInputInfo(mChannel.getInputId());
588 if (logo == null || holder.mChannel == null
589 || holder.mChannel.getId() != channelId) {
603 .equals(holder.mChannel.getInputId())) {
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiApDialog.java124 final Spinner mChannel = (Spinner) mView.findViewById(R.id.choose_channel); in onCreate() local
170 mChannel.setAdapter(channelAdapter); in onCreate()
171 mChannel.setOnItemSelectedListener( in onCreate()
184 mChannel.setSelection(mBandIndex); in onCreate()
/packages/apps/TV/src/com/android/tv/
DTimeShiftManager.java846 private Channel mChannel; field in TimeShiftManager.ProgramManager
869 mChannel = channel; in onAvailabilityChanged()
892 if (mChannel == null || mChannel.isPassthrough()) { in onRecordTimeRangeChanged()
962 if (mChannel != null) { in startNext()
1190 super(contentResolver, mChannel.getId(), period); in LoadProgramsForCurrentChannelTask()
1246 Log.d(TAG, "Program loading has been canceled {channelId=" + (mChannel == null in onCancelled()
DMainActivity.java3134 Channel mChannel;
3141 mChannel = channel;
3148 mChannel = null;
3230 && mChannelBeforeShrunkenTvView.equals(mChannel)