/packages/apps/TV/src/com/android/tv/data/ |
D | Channel.java | 396 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 …]
|
D | ChannelDataManager.java | 95 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/ |
D | TunerSessionWorker.java | 159 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 …]
|
D | TunerRecordingSessionWorker.java | 98 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/ |
D | AppLinkCardView.java | 69 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 …]
|
D | ChannelCardView.java | 58 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/ |
D | ChannelCheckItem.java | 34 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/ |
D | CarRadioPreset.java | 44 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/ |
D | ChannelRecord.java | 37 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/ |
D | RecordingTask.java | 80 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/ |
D | TestTvInputService.java | 80 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/ |
D | WifiP2pSettings.java | 71 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/ |
D | ProgramRow.java | 65 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()
|
D | ProgramTableAdapter.java | 236 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/ |
D | WifiApDialog.java | 124 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/ |
D | TimeShiftManager.java | 846 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()
|
D | MainActivity.java | 3134 Channel mChannel; 3141 mChannel = channel; 3148 mChannel = null; 3230 && mChannelBeforeShrunkenTvView.equals(mChannel)
|