/frameworks/base/docs/html/training/tv/tif/ |
channel.jd | 14 <li><a href="#register">Register Channels in the Database</a></li> 42 <h2 id="register">Register Channels in the Database</h2> 45 activity, for each of your channels, you must map your channel data to the following fields of the 46 {@link android.media.tv.TvContract.Channels} class:</p> 49 <li>{@link android.media.tv.TvContract.Channels#COLUMN_DISPLAY_NAME} - the displayed name of the 51 <li>{@link android.media.tv.TvContract.Channels#COLUMN_DISPLAY_NUMBER} - the displayed channel 53 <li>{@link android.media.tv.TvContract.Channels#COLUMN_INPUT_ID} - the ID of the TV input service</li> 54 <li>{@link android.media.tv.TvContract.Channels#COLUMN_SERVICE_TYPE} - the channel's service type</li> 55 <li>{@link android.media.tv.TvContract.Channels#COLUMN_TYPE} - the channel's broadcast standard 57 <li>{@link android.media.tv.TvContract.Channels#COLUMN_VIDEO_FORMAT} - the default video forma [all...] |
/cts/tests/tests/tv/src/android/media/tv/cts/ |
StubTunerTvInputService.java | 53 redValues.put(TvContract.Channels.COLUMN_INPUT_ID, info.getId()); 54 redValues.put(TvContract.Channels.COLUMN_DISPLAY_NUMBER, "0"); 55 redValues.put(TvContract.Channels.COLUMN_DISPLAY_NAME, "Red"); 56 redValues.put(TvContract.Channels.COLUMN_INTERNAL_PROVIDER_DATA, new byte[] { 0 }); 58 greenValues.put(TvContract.Channels.COLUMN_INPUT_ID, info.getId()); 59 greenValues.put(TvContract.Channels.COLUMN_DISPLAY_NUMBER, "1"); 60 greenValues.put(TvContract.Channels.COLUMN_DISPLAY_NAME, "Green"); 61 greenValues.put(TvContract.Channels.COLUMN_INTERNAL_PROVIDER_DATA, new byte[] { 1 }); 63 blueValues.put(TvContract.Channels.COLUMN_INPUT_ID, info.getId()); 64 blueValues.put(TvContract.Channels.COLUMN_DISPLAY_NUMBER, "2") [all...] |
/libcore/luni/src/main/java/java/nio/channels/ |
Selector.java | 17 package java.nio.channels; 21 import java.nio.channels.spi.SelectorProvider; 26 * Selectable channels can be registered with a selector and get a 33 * canceled keys. During the select operation, the channels registered with this 60 * that are still valid are invalidated and their channels are unregistered. 99 * Detects if any of the registered channels is ready for I/O operations 104 * @return the number of channels that are ready for operation. 113 * Detects if any of the registered channels is ready for I/O operations 121 * if no channels get ready. 122 * @return the number of channels that are ready for operation [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_ossaudiodev.py | 101 (fmt, channels, rate) = config 103 dsp.channels(channels) == channels and 112 result = dsp.setparameters(fmt, channels, rate, False) 113 self.assertEqual(result, (fmt, channels, rate), 116 result = dsp.setparameters(fmt, channels, rate, True) 117 self.assertEqual(result, (fmt, channels, rate), 122 # channels currently exceeds even Hollywood's ambitions, and 128 channels = [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_ossaudiodev.py | 101 (fmt, channels, rate) = config 103 dsp.channels(channels) == channels and 112 result = dsp.setparameters(fmt, channels, rate, False) 113 self.assertEqual(result, (fmt, channels, rate), 116 result = dsp.setparameters(fmt, channels, rate, True) 117 self.assertEqual(result, (fmt, channels, rate), 122 # channels currently exceeds even Hollywood's ambitions, and 128 channels = [all...] |
/external/tremolo/Tremolo/ |
mapping0.c | 87 int testM=info->coupling[i].mag=(unsigned char)(oggpack_read(opb,ilog(vi->channels))); 88 int testA=info->coupling[i].ang=(unsigned char)(oggpack_read(opb,ilog(vi->channels))); 93 testM>=vi->channels || 94 testA>=vi->channels) goto err_out; 102 info->chmuxlist=_ogg_malloc(sizeof(*info->chmuxlist)*vi->channels); 103 for(i=0;i<vi->channels;i++){ 133 alloca(sizeof(*pcmbundle)*vi->channels); 135 alloca(sizeof(*zerobundle)*vi->channels); 137 alloca(sizeof(*nonzero)*vi->channels); 139 alloca(sizeof(*floormemo)*vi->channels); [all...] |
/external/jmonkeyengine/engine/src/networking/com/jme3/network/base/ |
DefaultServer.java | 61 // First two channels are reserved for reliable and 74 private List<KernelAdapter> channels = new ArrayList<KernelAdapter>(); field in class:DefaultServer 98 channels.add( reliableAdapter ); 101 channels.add( fastAdapter ); 118 throw new IllegalStateException( "Channels cannot be added once server is started." ); 120 // Note: it does bug me that channels aren't 100% universal and 128 // Check for consistency with the channels list 129 if( channels.size() - CH_FIRST != alternatePorts.size() ) 137 channels.add( new KernelAdapter(this, kernel, dispatcher, true) ); 157 for( KernelAdapter ka : channels ) { 444 private Endpoint[] channels; field in class:DefaultServer.Connection [all...] |
/frameworks/av/services/audioflinger/ |
AudioResamplerFirProcess.h | 79 template<int CHANNELS, typename TO> 80 class Accumulator : public Accumulator<CHANNELS-1, TO> // recursive 85 Accumulator<CHANNELS-1, TO>::clear(); 90 Accumulator<CHANNELS-1, TO>::acc(coef, data); 94 Accumulator<CHANNELS-1, TO>::volume(out, gain); 177 template <int CHANNELS, int STRIDE, typename TFUNC, typename TC, typename TI, typename TO, 189 COMPILE_TIME_ASSERT_FUNCTION_SCOPE(CHANNELS > 0) 191 if (CHANNELS > 2) { 192 // TO accum[CHANNELS]; 193 Accumulator<CHANNELS, TO> accum [all...] |
/cts/tests/tests/permission/src/android/permission/cts/ |
TvPermissionTest.java | 76 verifyInsert(TvContract.Channels.CONTENT_URI, "channels"); 81 verifyUpdate(TvContract.Channels.CONTENT_URI, "channels"); 86 verifyDelete(TvContract.Channels.CONTENT_URI, "channels");
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
SelectableChannelTest.java | 17 package org.apache.harmony.tests.java.nio.channels; 20 import java.nio.channels.ClosedChannelException; 21 import java.nio.channels.SelectableChannel; 22 import java.nio.channels.SelectionKey; 23 import java.nio.channels.Selector; 24 import java.nio.channels.spi.SelectorProvider;
|
MapModeTest.java | 17 package org.apache.harmony.tests.java.nio.channels; 19 import java.nio.channels.FileChannel; 29 * java.nio.channels.FileChannel.MapMode#PRIVATE,READONLY,READWRITE 45 * java.nio.channels.FileChannel.MapMode#toString()
|
/external/libopus/celt/ |
opus_custom_demo.c | 51 opus_int32 frame_size, channels, rate; local 64 fprintf (stderr, "Usage: test_opus_custom <rate> <channels> <frame size> " 71 channels = atoi(argv[2]); 104 enc = opus_custom_encoder_create(mode, channels, &err); 112 dec = opus_custom_decoder_create(mode, channels, &err); 128 in = (opus_int16*)malloc(frame_size*channels*sizeof(opus_int16)); 129 out = (opus_int16*)malloc(frame_size*channels*sizeof(opus_int16)); 134 err = fread(in, sizeof(short), frame_size*channels, fin); 174 for (i=0;i<ret*channels;i++) 178 for (i=0;i<ret*channels;i++ [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/pulse/ |
volume.h | 45 * can store the volume of all channels at once. 78 * \li pa_cvolume_channels_equal_to() - Tests if all channels of a pa_cvolume 80 * \li pa_cvolume_is_muted() - Tests if all channels of a pa_cvolume 82 * \li pa_cvolume_is_norm() - Tests if all channels of a pa_cvolume structure 84 * \li pa_cvolume_set() - Set all channels of a pa_cvolume structure to a 86 * \li pa_cvolume_reset() - Set all channels of a pa_cvolume structure to a 88 * \li pa_cvolume_mute() - Set all channels of a pa_cvolume structure to a 90 * \li pa_cvolume_avg() - Return the average volume of all channels. 120 uint8_t channels; /**< Number of channels */ member in struct:pa_cvolume [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/audio/ |
AudioData.java | 48 protected int channels; field in class:AudioData 82 * @return Number of channels. 1 for mono, 2 for stereo, etc. 85 return channels; 97 * @param channels # of channels, 1 = mono, 2 = stereo 101 public void setupFormat(int channels, int bitsPerSample, int sampleRate){ 105 this.channels = channels;
|
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/apple/ |
AppleLosslessSpecificBox.java | 19 8bit channels? 16bit ?? 32bit max coded frame size 32bit
28 private int channels; // 8bit
field in class:AppleLosslessSpecificBox 83 return channels;
86 public void setChannels(int channels) {
87 this.channels = channels;
132 channels = IsoTypeReader.readUInt8(content);
148 IsoTypeWriter.writeUInt8(byteBuffer, channels);
|
/libcore/luni/src/main/java/java/nio/ |
ServerSocketChannelImpl.java | 28 import java.nio.channels.ClosedChannelException; 29 import java.nio.channels.IllegalBlockingModeException; 30 import java.nio.channels.NotYetBoundException; 31 import java.nio.channels.ServerSocketChannel; 32 import java.nio.channels.SocketChannel; 33 import java.nio.channels.spi.SelectorProvider; 34 import java.nio.channels.UnresolvedAddressException; 35 import java.nio.channels.UnsupportedAddressTypeException;
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
PipeTest.java | 17 package libcore.java.nio.channels; 20 import java.nio.channels.Pipe;
|
/development/samples/browseable/BluetoothChat/ |
_index.jd | 12 (3) Establishing RFCOMM channels/sockets
|
/libcore/expectations/ |
taggedtests.txt | 26 "java.nio.channels.DatagramChannel.ConnectedSend", 27 "java.nio.channels.FileChannel.ExpandingMap", 28 "java.nio.channels.FileChannel.Transfers", 29 "java.nio.channels.SocketChannel.Open",
|
/system/media/audio_utils/include/audio_utils/ |
channels.h | 24 * Expanded channels are filled with zeros and put at the end of each audio frame. 25 * Contracted channels are omitted from the end of each audio frame. 27 * in_buff_channels Specifies the number of channels in the input buffer. 29 * out_buff_channels Specifies the number of channels in the output buffer.
|
/device/asus/fugu/ |
media_profiles.xml | 39 <!ATTLIST Audio channels (1|2) #REQUIRED> 93 channels="1" /> 106 channels="2" /> 119 channels="1" /> 132 channels="1" /> 145 channels="2" /> 159 channels="2" /> 173 channels="2" /> 186 channels="2" /> 199 channels="1" / [all...] |
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/res/values/ |
strings.xml | 22 <string name="simple_setup_message">Do you want to register detected channels?</string> 25 <string name="rich_setup_add_channel">Add Channels</string> 26 <string name="rich_setup_update_channel">Update Channels</string>
|
/external/libopus/include/ |
opus_multistream.h | 107 * single packet, enabling support for up to 255 channels. Unlike an 124 * is configured to decode them to either 1 or 2 channels, respectively. 141 * The output channels specified by the encoder 197 * encoded channels (<code>streams + 209 int channels, 220 * @param channels <tt>int</tt>: Number of channels in the input signal. 223 * coded channels (<code>streams + 227 * This must be no more than the number of channels. 233 * encoded channels (<code>streams [all...] |
/hardware/qcom/msm8960/original-kernel-headers/linux/ |
msm_audio_aac.h | 46 /* Primary channel on both left and right channels */ 48 /* Secondary channel on both left and right channels */ 69 uint32_t channels; member in struct:msm_audio_aac_enc_config
|
/hardware/qcom/msm8x74/original-kernel-headers/linux/ |
msm_audio_aac.h | 46 /* Primary channel on both left and right channels */ 48 /* Secondary channel on both left and right channels */ 70 uint32_t channels; member in struct:msm_audio_aac_enc_config
|