/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
tokens.py | 109 """@brief Get the channel of the token 111 Using setter/getter methods is deprecated. Use o.channel instead.""" 115 def setChannel(self, channel): 116 """@brief Set the channel of the token 118 Using setter/getter methods is deprecated. Use o.channel instead.""" 177 def __init__(self, type=None, channel=DEFAULT_CHANNEL, text=None, 185 self.channel = oldToken.channel 198 self.channel = channel [all...] |
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/ |
DndPreferenceControllerTest.java | 92 NotificationChannel channel = local 94 mController.onResume(appRow, channel, null, null); 100 NotificationChannel channel = mock(NotificationChannel.class); local 101 when(channel.getId()).thenReturn("something"); 102 mController.onResume(new NotificationBackend.AppRow(), channel, null, mock( 116 NotificationChannel channel = mock(NotificationChannel.class); local 117 when(channel.getId()).thenReturn(lockedId); 118 mController.onResume(appRow, channel, null, null); 129 NotificationChannel channel = mock(NotificationChannel.class); local 130 when(channel.getId()).thenReturn("something") 141 NotificationChannel channel = mock(NotificationChannel.class); local 153 NotificationChannel channel = mock(NotificationChannel.class); local 165 NotificationChannel channel = local 183 NotificationChannel channel = local [all...] |
AllowSoundPreferenceControllerTest.java | 110 NotificationChannel channel = mock(NotificationChannel.class); local 111 when(channel.getId()).thenReturn("something new"); 112 mController.onResume(appRow, channel, null, null); 119 NotificationChannel channel = mock(NotificationChannel.class); local 120 when(channel.getImportance()).thenReturn(IMPORTANCE_LOW); 121 when(channel.getId()).thenReturn(DEFAULT_CHANNEL_ID); 122 mController.onResume(appRow, channel, null, null); 128 NotificationChannel channel = mock(NotificationChannel.class); local 129 when(channel.getId()).thenReturn("something"); 130 mController.onResume(new NotificationBackend.AppRow(), channel, null, mock 144 NotificationChannel channel = mock(NotificationChannel.class); local 157 NotificationChannel channel = mock(NotificationChannel.class); local 169 NotificationChannel channel = mock(NotificationChannel.class); local 180 NotificationChannel channel = mock(NotificationChannel.class); local 191 NotificationChannel channel = mock(NotificationChannel.class); local 202 NotificationChannel channel = local 219 NotificationChannel channel = local [all...] |
ImportancePreferenceControllerTest.java | 105 NotificationChannel channel = mock(NotificationChannel.class); local 106 when(channel.getImportance()).thenReturn(IMPORTANCE_NONE); 107 mController.onResume(appRow, channel, null, null); 114 NotificationChannel channel = mock(NotificationChannel.class); local 115 when(channel.getImportance()).thenReturn(IMPORTANCE_LOW); 116 when(channel.getId()).thenReturn(DEFAULT_CHANNEL_ID); 117 mController.onResume(appRow, channel, null, null); 124 NotificationChannel channel = mock(NotificationChannel.class); local 125 when(channel.getImportance()).thenReturn(IMPORTANCE_LOW); 126 mController.onResume(appRow, channel, null, null) 132 NotificationChannel channel = mock(NotificationChannel.class); local 149 NotificationChannel channel = mock(NotificationChannel.class); local 164 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_HIGH); local 176 NotificationChannel channel = local 195 NotificationChannel channel = local [all...] |
VibrationPreferenceControllerTest.java | 96 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); local 97 mController.onResume(appRow, channel, null, null); 104 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_LOW); local 105 mController.onResume(appRow, channel, null, null); 112 NotificationChannel channel = local 114 mController.onResume(appRow, channel, null, null); 121 NotificationChannel channel = new NotificationChannel("", "", IMPORTANCE_DEFAULT); local 122 mController.onResume(appRow, channel, null, null); 128 NotificationChannel channel = mock(NotificationChannel.class); local 129 when(channel.getId()).thenReturn("something") 144 NotificationChannel channel = mock(NotificationChannel.class); local 157 NotificationChannel channel = mock(NotificationChannel.class); local 169 NotificationChannel channel = mock(NotificationChannel.class); local 181 NotificationChannel channel = mock(NotificationChannel.class); local 193 NotificationChannel channel = local 209 NotificationChannel channel = local [all...] |
BlockPreferenceControllerTest.java | 105 NotificationChannel channel = mock(NotificationChannel.class); local 106 when(channel.getImportance()).thenReturn(IMPORTANCE_HIGH); 107 mController.onResume(appRow, channel, null, null); 131 NotificationChannel channel = mock(NotificationChannel.class); local 132 when(channel.getImportance()).thenReturn(IMPORTANCE_NONE); 133 mController.onResume(appRow, channel, null, null); 141 NotificationChannel channel = mock(NotificationChannel.class); local 142 when(channel.getImportance()).thenReturn(IMPORTANCE_HIGH); 143 mController.onResume(appRow, channel, null, null); 193 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_NONE) local 217 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_LOW); local 226 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_LOW); local 237 NotificationChannel channel = local 260 NotificationChannel channel = new NotificationChannel("a", "a", IMPORTANCE_HIGH); local [all...] |
BadgePreferenceControllerTest.java | 99 NotificationChannel channel = mock(NotificationChannel.class); local 100 when(channel.getImportance()).thenReturn(IMPORTANCE_NONE); 101 mController.onResume(appRow, channel, null, null); 109 NotificationChannel channel = mock(NotificationChannel.class); local 110 when(channel.getImportance()).thenReturn(IMPORTANCE_HIGH); 111 mController.onResume(appRow, channel, null, null); 119 NotificationChannel channel = mock(NotificationChannel.class); local 120 when(channel.getImportance()).thenReturn(IMPORTANCE_HIGH); 121 mController.onResume(appRow, channel, null, null); 140 NotificationChannel channel = mock(NotificationChannel.class) local 153 NotificationChannel channel = mock(NotificationChannel.class); local 165 NotificationChannel channel = mock(NotificationChannel.class); local 175 NotificationChannel channel = mock(NotificationChannel.class); local 191 NotificationChannel channel = mock(NotificationChannel.class); local 205 NotificationChannel channel = mock(NotificationChannel.class); local 242 NotificationChannel channel = local 261 NotificationChannel channel = local [all...] |
/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...] |
/prebuilts/go/darwin-x86/doc/play/ |
sieve.go | 7 // Send the sequence 2, 3, 4, ... to channel 'ch'. 10 ch <- i // Send 'i' to channel 'ch'. 14 // Copy the values from channel 'in' to channel 'out', 27 ch := make(chan int) // Create a new channel.
|
/prebuilts/go/linux-x86/doc/play/ |
sieve.go | 7 // Send the sequence 2, 3, 4, ... to channel 'ch'. 10 ch <- i // Send 'i' to channel 'ch'. 14 // Copy the values from channel 'in' to channel 'out', 27 ch := make(chan int) // Create a new channel.
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
ChannelDataManager.java | 54 /** Manages the channel info and EPG data through {@link TvInputManager}. */ 92 * A version number to enforce consistency of the channel data. 120 * Invoked when a request for getting programs of a channel has been processed and passes 121 * the requested channel and the programs retrieved from database to the listener. 123 void onRequestProgramsResponse(TunerChannel channel, List<EitItem> programs); 126 * Invoked when programs of a channel have been arrived and passes the arrived channel and 129 void onProgramsArrived(TunerChannel channel, List<EitItem> programs); 132 * Invoked when a channel has been arrived and passes the arrived channel to the listener 206 TunerChannel channel = mTunerChannelMap.get(channelId); local 270 TunerChannel channel = TunerChannel.fromCursor(cursor); local 344 TunerChannel channel = (TunerChannel) msg.obj; local 367 TunerChannel channel = (TunerChannel) msg.obj; local 467 channel)); local 548 channel)); local 704 mTunerChannelMap.put(tunerChannel.getChannelId(), channel); local 771 TunerChannel channel = TunerChannel.fromCursor(cursor); local 781 mTunerChannelMap.put(channel.getChannelId(), channel); local 787 public final TunerChannel channel; field in class:ChannelDataManager.ChannelEvent [all...] |
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/ |
Connection.java | 29 import com.android.tools.sdkcontroller.lib.Channel; 49 * is done via "sensors" channel, multi-touch emulation is done via "multi-touch" 50 * channel, etc. 56 * its side (a channel) that implement functionality and exchange protocol required 65 * 3. Bind emulator connection with service-side channel via port name, provided by 84 * List of connected emulator sockets, pending for a channel to be registered. 86 * Emulator may connect to SDK controller before the app registers a channel 87 * for that connection. In this case (when app-side channel is not registered 89 * for the app-side channel to register. 99 private List<Channel> mChannels = new ArrayList<Channel>() 361 final Channel channel = getChannel(channel_name); local [all...] |
/external/mesa3d/src/amd/vulkan/ |
vk_format_parse.py | 53 class Channel: 54 '''Describe the channel of a color channel.''' 138 for channel in self.le_channels: 139 size += channel.size 144 for channel in self.le_channels: 145 if channel.size: 155 for channel in self.le_channels: 156 if channel.size and (channel.size != ref_channel.size or channel.size % 8) [all...] |
/external/e2fsprogs/lib/ext2fs/ |
sparse_io.c | 17 io_channel *channel EXT2FS_ATTR((unused))) 21 static errcode_t sparse_close(io_channel channel EXT2FS_ATTR((unused))) 47 io_channel channel; member in struct:sparse_map 57 static errcode_t sparse_write_blk(io_channel channel, unsigned long block, 79 return sparse_write_blk(sm->channel, block, nr_blocks, data); 136 sm->channel = io; 186 int flags, io_channel *channel) 194 *channel = io; 229 static errcode_t sparse_open(const char *name, int flags, io_channel *channel) 238 retval = sparse_open_channel(&sparse_params, flags, channel); [all...] |
dosio.c | 55 static errcode_t dos_open(const char *dev, int flags, io_channel *channel); 56 static errcode_t dos_close(io_channel channel); 57 static errcode_t dos_set_blksize(io_channel channel, int blksize); 58 static errcode_t dos_read_blk(io_channel channel, unsigned long block, 60 static errcode_t dos_write_blk(io_channel channel, unsigned long block, 62 static errcode_t dos_flush(io_channel channel); 181 static errcode_t dos_open(const char *dev, int flags, io_channel *channel) 226 *channel = alloc_io_channel(active); 227 if (!*channel) 351 *channel = alloc_io_channel(active) [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/test/QA/ |
runiSACfixfloat.txt | 23 for channel in $CHANNELFILES 27 $ISACFIXFLOAT $INDIR/$channel -m 1 -PLC $INDIR/"$file" $OUTDIR/flfx$index1"$file" >> $LOGFILE 28 $ISACFIXFLOAT $INDIR/$channel -m 2 -PLC $INDIR/"$file" $OUTDIR/fxfl$index1"$file" >> $LOGFILE 38 $ISACFIXFLOAT $INDIR/$channel -m 1 -NB 1 $INDIR/"$file" $OUTDIR/flfxnb1_$index1"$file" >> $LOGFILE 39 $ISACFIXFLOAT $INDIR/$channel -m 2 -NB 1 $INDIR/"$file" $OUTDIR/fxflnb1_$index1"$file" >> $LOGFILE 40 $ISACFIXFLOAT $INDIR/$channel -m 1 -NB 2 -PLC $INDIR/"$file" $OUTDIR/flfxnb2_$index1"$file" >> $LOGFILE 41 $ISACFIXFLOAT $INDIR/$channel -m 2 -NB 2 -PLC $INDIR/"$file" $OUTDIR/fxflnb2_$index1"$file" >> $LOGFILE
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/test/QA/ |
runiSACfixfloat.txt | 23 for channel in $CHANNELFILES 27 $ISACFIXFLOAT $INDIR/$channel -m 1 -PLC $INDIR/"$file" $OUTDIR/flfx$index1"$file" >> $LOGFILE 28 $ISACFIXFLOAT $INDIR/$channel -m 2 -PLC $INDIR/"$file" $OUTDIR/fxfl$index1"$file" >> $LOGFILE 38 $ISACFIXFLOAT $INDIR/$channel -m 1 -NB 1 $INDIR/"$file" $OUTDIR/flfxnb1_$index1"$file" >> $LOGFILE 39 $ISACFIXFLOAT $INDIR/$channel -m 2 -NB 1 $INDIR/"$file" $OUTDIR/fxflnb1_$index1"$file" >> $LOGFILE 40 $ISACFIXFLOAT $INDIR/$channel -m 1 -NB 2 -PLC $INDIR/"$file" $OUTDIR/flfxnb2_$index1"$file" >> $LOGFILE 41 $ISACFIXFLOAT $INDIR/$channel -m 2 -NB 2 -PLC $INDIR/"$file" $OUTDIR/fxflnb2_$index1"$file" >> $LOGFILE
|
/external/webrtc/webrtc/voice_engine/ |
channel_manager.cc | 14 #include "webrtc/voice_engine/channel.h" 19 ChannelOwner::ChannelOwner(class Channel* channel) 20 : channel_ref_(new ChannelRef(channel)) {} 45 ChannelOwner::ChannelRef::ChannelRef(class Channel* channel) 46 : channel(channel), ref_count(1) {} 64 Channel* channel; local 101 Channel* channel = it->channel(); local [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/apdu/ |
ApduSenderTest.java | 109 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "A1A1A19000"); local 110 LogicalChannelMocker.mockCloseLogicalChannel(mMockCi, channel); 120 verify(mMockCi).iccCloseLogicalChannel(eq(channel), any()); 135 assertNull("Request provider should not be called when failed to open channel.", 146 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "9000"); local 147 LogicalChannelMocker.mockSendToLogicalChannel(mMockCi, channel, "A1A1A19000"); 148 LogicalChannelMocker.mockCloseLogicalChannel(mMockCi, channel); 155 verify(mMockCi).iccTransmitApduLogicalChannel(eq(channel), eq(channel | 10), eq(1), eq(2), 164 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "9000") local 193 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "9000"); local 216 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "9000"); local 251 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "9000"); local 276 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "9000"); local 295 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "9000"); local 327 int channel = LogicalChannelMocker.mockOpenLogicalChannelResponse(mMockCi, "9000"); local [all...] |
/packages/apps/TV/src/com/android/tv/data/ |
ChannelImpl.java | 33 import com.android.tv.data.api.Channel; 43 /** A convenience class to create and insert channel entries into the database. */ 44 public final class ChannelImpl implements Channel { 47 /** Compares the channel numbers of channels which belong to the same input. */ 48 public static final Comparator<Channel> CHANNEL_NUMBER_COMPARATOR = 49 new Comparator<Channel>() { 51 public int compare(Channel lhs, Channel rhs) { 87 ChannelImpl channel = new ChannelImpl(); local 89 channel.mId = cursor.getLong(index++) 573 ChannelImpl channel = new ChannelImpl(); local [all...] |
/external/okhttp/benchmarks/src/main/java/com/squareup/okhttp/benchmarks/ |
NettyHttpClient.java | 23 import io.netty.channel.Channel; 24 import io.netty.channel.ChannelHandlerContext; 25 import io.netty.channel.ChannelInitializer; 26 import io.netty.channel.ChannelOption; 27 import io.netty.channel.ChannelPipeline; 28 import io.netty.channel.SimpleChannelInboundHandler; 29 import io.netty.channel.nio.NioEventLoopGroup; 30 import io.netty.channel.socket.SocketChannel; 31 import io.netty.channel.socket.nio.NioSocketChannel 104 Channel channel = bootstrap.connect(url.host(), url.port()) local 136 private final SocketChannel channel; field in class:NettyHttpClient.HttpChannel [all...] |
/packages/apps/TV/tests/common/src/com/android/tv/testing/data/ |
ChannelUtils.java | 69 // Create a map from original network ID to channel row ID for existing channels. 83 for (ChannelInfo channel : channels) { 84 // If a channel exists, update it. If not, insert a new one. 87 values.put(Channels.COLUMN_DISPLAY_NUMBER, channel.number); 88 values.put(Channels.COLUMN_DISPLAY_NAME, channel.name); 89 values.put(Channels.COLUMN_ORIGINAL_NETWORK_ID, channel.originalNetworkId); 90 String videoFormat = channel.getVideoFormat(); 96 if (!TextUtils.isEmpty(channel.appLinkText)) { 97 values.put(Channels.COLUMN_APP_LINK_TEXT, channel.appLinkText); 99 if (channel.appLinkColor != 0) [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_format_parse.py | 52 class Channel: 53 '''Describe the channel of a color channel.''' 134 for channel in self.le_channels: 135 size += channel.size 140 for channel in self.le_channels: 141 if channel.size: 151 for channel in self.le_channels: 152 if channel.size and (channel.size != ref_channel.size or channel.size % 8) [all...] |
/external/skia/src/core/ |
SkColorSpaceXform_A2B.cpp | 86 int channel) { 87 switch (gammas.type(channel)) { 89 return named_to_parametric(coeffs, gammas.data(channel).fNamed); 91 value_to_parametric(coeffs, gammas.data(channel).fValue); 94 *coeffs = gammas.params(channel); 121 // inverted CMYK, so we need to invert every channel. 163 for (int channel = 0; channel < gammas.channels(); ++channel) { 164 SkCSXformPrintf(" %s", debugGammas[(int)gammas.type(channel)]); [all...] |
/external/skqp/src/core/ |
SkColorSpaceXform_A2B.cpp | 86 int channel) { 87 switch (gammas.type(channel)) { 89 return named_to_parametric(coeffs, gammas.data(channel).fNamed); 91 value_to_parametric(coeffs, gammas.data(channel).fValue); 94 *coeffs = gammas.params(channel); 121 // inverted CMYK, so we need to invert every channel. 163 for (int channel = 0; channel < gammas.channels(); ++channel) { 164 SkCSXformPrintf(" %s", debugGammas[(int)gammas.type(channel)]); [all...] |