/packages/apps/TV/src/com/android/tv/data/ |
ChannelLogoFetcher.java | 78 * Fetch the channel logos from TMS data and insert them into TvProvider. 114 private static final class LoadChannelTask extends AsyncDbTask<Void, Void, List<Channel>> { 122 protected List<Channel> doInBackground(Void... arg) { 123 // Load channels which doesn't have channel logos. 136 List<Channel> channels = new ArrayList<>(); 142 channels.add(new Channel.Builder().setId(c.getLong(0)) 151 protected void onPostExecute(List<Channel> channels) { 170 private final List<Channel> mChannels; 172 public FetchLogoTask(Context context, List<Channel> channels) { 180 if (DEBUG) Log.d(TAG, "Fetching the channel logos has been canceled") [all...] |
/packages/apps/TV/tests/unit/src/com/android/tv/ |
MainActivityTest.java | 22 import com.android.tv.data.Channel; 40 List<Channel> channelList = mActivity.getChannelDataManager().getChannelList(); 41 assertTrue("Expected at least one channel", channelList.size() > 0); 71 assertEquals("Channel Name", displayName, channelNameView.getText());
|
/packages/apps/TV/src/com/android/tv/search/ |
DataManagerSearch.java | 31 import com.android.tv.data.Channel; 102 List<Channel> channelList = mChannelDataManager.getBrowsableChannelList(); 105 for (Channel channel : channelList) { 106 if (channelsFound.contains(channel.getId())) { 109 if (contains(channel.getDisplayNumber(), query)) { 110 addResult(results, channelsFound, channel, null); 118 for (Channel channel : channelList) { 119 if (channelsFound.contains(channel.getId())) [all...] |
/external/webrtc/webrtc/p2p/base/ |
turnserver.h | 62 // handles TURN messages (via HandleTurnMessage) and channel data messages 91 class Channel; 94 typedef std::list<Channel*> ChannelList; 111 Channel* FindChannel(int channel_id) const; 112 Channel* FindChannel(const rtc::SocketAddress& addr) const; 122 void OnChannelDestroyed(Channel* channel);
|
turnserver.cc | 44 // The first two bits of a channel data message are 0b01. 73 // Encapsulates a TURN channel binding. 74 // The object is created when a channel bind request is received by an 76 class TurnServerAllocation::Channel : public rtc::MessageHandler { 78 Channel(rtc::Thread* thread, int id, 80 ~Channel(); 86 sigslot::signal1<Channel*> SignalDestroyed; 196 // Fail if the packet is too small to even contain a channel header. 208 // This is a channel message; let the allocation handle it. 730 // Check that channel id is valid 771 Channel* channel = FindChannel(channel_id); local 788 Channel* channel = FindChannel(addr); local [all...] |
/packages/apps/TV/src/com/android/tv/dvr/ |
DvrManager.java | 35 import com.android.tv.data.Channel; 79 Channel c = mChannelDataManager.getChannel(program.getChannelId()); 92 public void addSchedule(Channel channel, long startTime, long endTime) { 93 Log.i(TAG, "Adding scheduled recording of channel" + channel + " starting at " + 97 .setChannelId(channel.getId()) 165 Channel channel = mChannelDataManager.getChannel(program.getChannelId()); local 166 if (channel != null) [all...] |
/packages/apps/TV/src/com/android/tv/util/ |
AsyncDbTask.java | 31 import com.android.tv.data.Channel; 260 * Gets an {@link List} of {@link Channel}s from {@link TvContract.Channels#CONTENT_URI}. 262 public abstract static class AsyncChannelQueryTask extends AsyncQueryListTask<Channel> { 265 super(contentResolver, TvContract.Channels.CONTENT_URI, Channel.PROJECTION, 270 protected final Channel fromCursor(Cursor c) { 271 return Channel.fromCursor(c); 285 * Gets an {@link List} of {@link Program}s for a given channel and period {@link
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
P2pBroadcastReceiverTest.java | 27 import android.net.wifi.p2p.WifiP2pManager.Channel; 42 private Channel mChannel; 56 public void init(Channel c) {
|
/external/webrtc/webrtc/voice_engine/ |
voe_dtmf_impl.cc | 15 #include "webrtc/voice_engine/channel.h" 49 int VoEDtmfImpl::SendTelephoneEvent(int channel, 55 "SendTelephoneEvent(channel=%d, eventCode=%d, outOfBand=%d," 57 channel, eventCode, (int)outOfBand, lengthMs, attenuationDb); 62 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); 63 voe::Channel* channelPtr = ch.channel(); 66 "SendTelephoneEvent() failed to locate channel"); 111 // channel object must still parse out the Dtmf events (0-15) from 120 // channel object to determine if the queued Dtmf e vent shall als [all...] |
/packages/apps/TV/tests/unit/src/com/android/tv/dvr/ |
ScheduledRecordingTest.java | 26 import com.android.tv.data.Channel; 60 Channel c = new Channel.Builder().build();
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
CommonToken.cs | 45 int channel = TokenChannels.Default; field in class:Antlr.Runtime.CommonToken 75 public CommonToken( ICharStream input, int type, int channel, int start, int stop ) 79 this.channel = channel; 87 this.channel = TokenChannels.Default; 98 channel = oldToken.Channel; 170 public int Channel 174 return channel; 178 channel = value [all...] |
LegacyCommonTokenStream.cs | 42 * and tokens are prefiltered for a certain channel (the parser will only 43 * see these tokens and cannot change the filter channel number during the 62 /** <summary>Map<tokentype, channel> to override some Tokens' channel numbers</summary> */ 68 /** <summary>Skip tokens on any channel but this one; this is how we skip whitespace...</summary> */ 69 protected int channel = TokenChannels.Default; field in class:Antlr.Runtime.LegacyCommonTokenStream 95 public LegacyCommonTokenStream( ITokenSource tokenSource, int channel ) 98 this.channel = channel; 124 channel = TokenChannels.Default [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLRCommonToken.h | 38 NSUInteger channel; variable 54 @property (assign, getter=getChannel, setter=setChannel:) NSUInteger channel; variable 64 Channel:(NSInteger)aChannel 79 Channel:(NSInteger)aChannel
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
ANTLRCommonToken.h | 38 NSUInteger channel; variable 54 @property (assign, getter=getChannel, setter=setChannel:) NSUInteger channel; variable 64 Channel:(NSInteger)aChannel 79 Channel:(NSInteger)aChannel
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
ANTLRCommonToken.h | 38 NSUInteger channel; variable 54 @property (assign, getter=getChannel, setter=setChannel:) NSUInteger channel; variable 64 Channel:(NSInteger)aChannel 79 Channel:(NSInteger)aChannel
|
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRCommonToken.h | 38 NSUInteger channel; variable 57 Channel:(NSInteger)aChannel 72 Channel:(NSInteger)aChannel 92 // channel 94 - (NSUInteger)channel; 123 @property (assign) NSUInteger channel; variable
|
/external/mesa3d/src/gallium/drivers/radeon/ |
R600RegisterInfo.cpp | 116 unsigned R600RegisterInfo::getSubRegFromChannel(unsigned Channel) const 118 switch (Channel) { 119 default: assert(!"Invalid channel index"); return 0;
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
DvrRecordConflictFragment.java | 14 import com.android.tv.data.Channel; 47 Channel channel = channelDataManager.getChannel(r.getChannelId()); local 48 if (channel == null) { 51 sb.append(channel.getDisplayName())
|
/packages/apps/TV/src/com/android/tv/guide/ |
ProgramListAdapter.java | 27 import com.android.tv.data.Channel; 32 * Adapts a program list for a specific channel from {@link ProgramManager} to a row of the program 58 Channel channel = mProgramManager.getChannel(mChannelIndex); local 59 if (channel == null) { 60 // The channel has just been removed. Do nothing. 62 mChannelId = channel.getId(); 63 if (DEBUG) Log.d(TAG, "update for channel " + mChannelId);
|
ProgramManager.java | 24 import com.android.tv.data.Channel; 75 /** Channel ID which this entry is included. */ 131 * Returns true if this channel is blocked. 170 private List<Channel> mChannels = new ArrayList<>(); 172 private final List<List<Channel>> mGenreChannelList = new ArrayList<>(); 175 // Position of selected genre to filter channel list. 177 // Channel list after applying genre filter. 179 private List<Channel> mFilteredChannels = mChannels; 319 * and subsequent @{link resetChannelListWithGenre(int)} calls will reset channel list 320 * with built channel list [all...] |
/packages/apps/TV/src/com/android/tv/ui/ |
InputBannerView.java | 29 import com.android.tv.data.Channel; 72 Channel channel = mainActivity.getCurrentChannel(); local 73 if (channel == null || !channel.isPassthrough()) { 77 channel.getInputId());
|
/packages/apps/TV/tests/unit/src/com/android/tv/recommendation/ |
EvaluatorTestCase.java | 21 import com.android.tv.data.Channel; 62 public Channel addChannel() { 100 assertTrue("Channel " + channelId + " score of " + score + "is not valid",
|
/packages/apps/TV/usbtuner/src/com/android/usbtuner/ |
UsbTunerTsScannerSource.java | 24 import com.android.usbtuner.data.Channel; 60 * Starts the streaming of a configured program. Throws a runtime exception if no channel and 66 throw new RuntimeException("Channel and program not configured!"); 77 public boolean setScanChannel(ScanChannel channel) { 78 if (mTunerHal.tune(channel.frequency, channel.modulation)) { 79 mEventDetector.startDetecting(channel.frequency, channel.modulation); 87 public boolean tuneToChannel(TunerChannel channel) { 154 return Channel.TYPE_TUNER [all...] |
/packages/apps/TV/src/com/android/tv/ |
MainActivity.java | 84 import com.android.tv.data.Channel; 284 private Channel mPipChannel; 308 // keeping the channel unblocking status while TV view is shrunken. 311 private Channel mChannelBeforeShrunkenTvView; 312 private Channel mPipChannelBeforeShrunkenTvView; 370 // Do not update channel banner by this notification 375 Channel channel = mTvView.getCurrentChannel(); 376 if (channel != null && channel.getId() == channelId) 960 Channel channel = Channel.createPassthroughChannel(channelUri); local 964 Channel channel = mChannelDataManager.getChannel(channelId); local 1126 Channel channel = mTvView.getCurrentChannel(); local 1279 final Channel channel = returnChannel; local 1741 final Channel channel = mChannelTuner.getCurrentChannel(); local [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
LegacyCommonTokenStream.cs | 44 * and tokens are prefiltered for a certain channel (the parser will only 45 * see these tokens and cannot change the filter channel number during the 63 /** <summary>Map<tokentype, channel> to override some Tokens' channel numbers</summary> */ 69 /** <summary>Skip tokens on any channel but this one; this is how we skip whitespace...</summary> */ 70 protected int channel = TokenChannels.Default; field in class:Antlr.Runtime.LegacyCommonTokenStream 94 public LegacyCommonTokenStream(ITokenSource tokenSource, int channel) 96 this.channel = channel; 118 channel = TokenChannels.Default [all...] |