/packages/apps/TV/partner_support/ |
README.md | 1 # Code and samples for Partner integration with Live Channels 3 This code will only work for partners that are working with the Live Channels team on integration
|
/frameworks/support/tv-provider/src/main/java/androidx/tvprovider/media/tv/ |
Channel.java | 27 import androidx.tvprovider.media.tv.TvContractCompat.Channels; 28 import androidx.tvprovider.media.tv.TvContractCompat.Channels.ServiceType; 29 import androidx.tvprovider.media.tv.TvContractCompat.Channels.Type; 30 import androidx.tvprovider.media.tv.TvContractCompat.Channels.VideoFormat; 36 * A convenience class to access {@link TvContractCompat.Channels} entries in the system content 47 * .setType(Channels.TYPE_PREVIEW) 50 * Uri channelUri = getContentResolver().insert(Channels.CONTENT_URI, channel.toContentValues()); 101 * @return The value of {@link Channels#_ID} for the channel. 104 Long l = mValues.getAsLong(Channels._ID); 109 * @return The value of {@link Channels#COLUMN_PACKAGE_NAME} for the channel [all...] |
/external/tensorflow/tensorflow/core/api_def/base_api/ |
api_def_DecodeBmp.pbtxt | 12 3-D with shape `[height, width, channels]`. RGB order 17 The attr `channels` indicates the desired number of color channels for the 22 * 0: Use the number of channels in the BMP-encoded image.
|
api_def_DecodePng.pbtxt | 12 3-D with shape `[height, width, channels]`. 16 name: "channels" 18 Number of color channels for the decoded image. 23 The attr `channels` indicates the desired number of color channels for the 28 * 0: Use the number of channels in the PNG-encoded image. 34 of color channels.
|
api_def_DecodeWav.pbtxt | 12 2-D with shape `[length, channels]`. 24 Number of sample channels wanted. 37 When desired_channels is set, if the input contains fewer channels than this 39 the input has more channels than requested then the additional channels will be 46 lowest dimension will be the number of channels, and the second will be the
|
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/media/ |
package.html | 5 <p>Contains APIs that control the routing of media channels and streams from the current device
|
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/media/ |
package.html | 5 <p>Contains APIs that control the routing of media channels and streams from the current device
|
/external/libxaac/decoder/ |
ixheaacd_aacdec.h | 37 ia_aac_dec_channel_info_struct *pstr_aac_dec_ch_info[CHANNELS]; 39 ia_aac_dec_channel_info *ptr_aac_dec_static_channel_info[CHANNELS]; 41 ia_aac_dec_overlap_info *pstr_aac_dec_overlap_info[CHANNELS]; 48 WORD16 channels; member in struct:ia_aac_decoder_struct 56 ia_aac_dec_overlap_info str_aac_dec_overlap_info[CHANNELS]; 61 ia_aac_dec_channel_info *ptr_aac_dec_static_channel_info[CHANNELS]; 62 WORD16 *ltp_buf[CHANNELS]; 82 WORD32 channels);
|
/external/adhd/cras/src/server/ |
cras_audio_area.c | 42 if (!(src->channels[src_idx].ch_set & 43 dst->channels[dst_idx].ch_set)) 46 schan = src->channels[src_idx].buf + 47 src_offset * src->channels[src_idx].step_bytes; 48 dchan = dst->channels[dst_idx].buf + 49 dst_offset * dst->channels[dst_idx].step_bytes; 53 dst->channels[dst_idx].step_bytes, 54 src->channels[src_idx].step_bytes, 80 channel_area_set_channel(area->channels, CRAS_CH_FL); 81 channel_area_set_channel(area->channels, CRAS_CH_FR) [all...] |
/external/autotest/client/site_tests/audio_Microphone/ |
audio_Microphone.py | 23 self, filesize, duration, channels, rate, bits=16): 24 expected = duration * channels * (bits / 8) * rate 29 def verify_alsa_capture(self, channels, rate, device, bits=16): 32 recorded_file.name, duration=DURATION, channels=channels, 36 DURATION, channels, rate, bits) 39 def verify_cras_capture(self, channels, rate): 42 recorded_file.name, duration=DURATION, channels=channels, 46 DURATION, channels, rate [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
ChannelHelper.java | 28 * adjusted based on the amount of information known about the available channels. 32 // TODO: Currently this is simply an estimate and is used for both active and passive channels 43 * Create a new collection that can be used to store channels 53 * Get the channels that are available for scanning on the supplied band. 75 * Object that supports accumulation of channels and bands 83 * Add all channels in the band to the collection 91 * @return true if the collection contains all the channels of the supplied band 95 * @return true if the collection contains some of the channels of the supplied band 99 * @return true if the collection contains no channels 103 * @return true if the collection contains all available channels [all...] |
/packages/providers/TvProvider/tests/src/com/android/providers/tv/ |
ParametersTest.java | 23 import android.media.tv.TvContract.Channels; 74 values.put(Channels.COLUMN_INPUT_ID, FAKE_INPUT_ID); 75 values.put(Channels.COLUMN_INTERNAL_PROVIDER_ID, "ID-4321"); 76 values.put(Channels.COLUMN_TYPE, preview ? Channels.TYPE_PREVIEW : Channels.TYPE_OTHER); 77 values.put(Channels.COLUMN_SERVICE_TYPE, Channels.SERVICE_TYPE_AUDIO_VIDEO); 78 values.put(Channels.COLUMN_DISPLAY_NUMBER, "1"); 79 values.put(Channels.COLUMN_VIDEO_FORMAT, Channels.VIDEO_FORMAT_480P) [all...] |
ColumnFilterTest.java | 24 import android.media.tv.TvContract.Channels; 72 values.put(Channels.COLUMN_INPUT_ID, FAKE_INPUT_ID); 76 Uri uri = mResolver.insert(Channels.CONTENT_URI, values); 84 Channels.COLUMN_INPUT_ID, 86 Channels._ID 88 Cursor cursor = mResolver.query(Channels.CONTENT_URI, projection, null, null, null); 98 Cursor cursor = mResolver.query(Channels.CONTENT_URI, null, null, null, null); 108 Cursor cursor = mResolver.query(Channels.CONTENT_URI, projection, null, null, null); 118 Channels.COLUMN_INPUT_ID, 120 Channels._I [all...] |
/external/webrtc/webrtc/common_audio/ |
audio_ring_buffer.cc | 20 AudioRingBuffer::AudioRingBuffer(size_t channels, size_t max_frames) { 21 buffers_.reserve(channels); 22 for (size_t i = 0; i < channels; ++i) 31 void AudioRingBuffer::Write(const float* const* data, size_t channels, 33 RTC_DCHECK_EQ(buffers_.size(), channels); 34 for (size_t i = 0; i < channels; ++i) { 40 void AudioRingBuffer::Read(float* const* data, size_t channels, size_t frames) { 41 RTC_DCHECK_EQ(buffers_.size(), channels); 42 for (size_t i = 0; i < channels; ++i) {
|
/developers/build/prebuilts/androidtv/sample-inputs/ |
README.md | 7 * Simple TV input: 2 channels from local video files 8 * Rich TV input: 4 channels served from Google Cloud Storage consisting of MP4 videos, HLS stream and MPEG-DASH stream 10 Users can set up these TV inputs using the Live Channels app. 17 * Start the pre-installed system app Live Channels (which does not show up in Apps on Home screen until there is at least one TV input service or a physical input like HDMI1). 19 - Either click Search upon starting Live Channels app to search for channels 20 - Or when running Live Channels app, 21 + Click ENTER to bring out Recent Channels 25 + Click ADD CHANNELS NOW to add 3 channels of MP4 videos, HLS stream and MPEG-DASH strea [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
normal_unittest.cc | 36 size_t channels = 1; local 37 BackgroundNoise bgn(channels); 41 Expand expand(&bgn, &sync_buffer, &random_vector, &statistics, fs, channels); 50 size_t channels = 1; local 51 BackgroundNoise bgn(channels); 56 channels); 60 rtc::scoped_ptr<int16_t[]> mute_factor_array(new int16_t[channels]); 61 for (size_t i = 0; i < channels; ++i) { 64 AudioMultiVector output(channels); 96 size_t channels = 2 local [all...] |
/cts/tests/tests/media/res/raw/ |
voice12_48k_128kbps_15s_ac3_readme.txt | 5 channels=2
|
/external/libpng/contrib/tools/ |
cvtcolor.c | 53 int channels = 0; local 92 ++channels; 95 ++channels; 98 ++channels; 101 ++channels; 108 int components = channels; 114 if (components < channels) 123 if ((channels & 1) == 0) 125 double alpha = c[channels-1]; 128 for (i=0; i<channels-1; ++i) c[i] /= alpha [all...] |
/libcore/ojluni/src/main/java/java/nio/channels/ |
package-info.java | 27 * Defines channels, which represent connections to entities that are capable of 31 * <a name="channels"></a> 33 * <blockquote><table cellspacing=1 cellpadding=0 summary="Lists channels and their descriptions"> 34 * <tr><th align="left">Channels</th><th align="left">Description</th></tr> 35 * <tr><td valign=top><tt><i>{@link java.nio.channels.Channel}</i></tt></td> 37 * <tr><td valign=top><tt> <i>{@link java.nio.channels.ReadableByteChannel}</i></tt></td> 39 * <tr><td valign=top><tt> <i>{@link java.nio.channels.ScatteringByteChannel} </i></tt></td> 41 * <tr><td valign=top><tt> <i>{@link java.nio.channels.WritableByteChannel}</i></tt></td> 43 * <tr><td valign=top><tt> <i>{@link java.nio.channels.GatheringByteChannel}</i></tt></td> 45 * <tr><td valign=top><tt> <i>{@link java.nio.channels.ByteChannel}</i></tt></td [all...] |
/packages/apps/TV/partner_support/src/com/google/android/tv/partner/support/ |
AutoValue_Lineup.java | 35 private final List<String> channels; field in class:AutoValue_Lineup 41 List<String> channels) { 48 if (channels == null) { 49 throw new NullPointerException("Null channels"); 51 this.channels = channels; 72 return channels; 81 + "channels=" + channels 95 && (this.channels.equals(that.getChannels())) [all...] |
/external/adhd/cras/src/dsp/ |
dsp_util.h | 19 * input - The interleaved input buffer. Every "channels" samples is a frame. 20 * output - Pointers to output buffers. There are "channels" output buffers. 21 * channels - The number of samples per frame. 24 void dsp_util_deinterleave(int16_t *input, float *const *output, int channels, 31 * input - Pointers to input buffers. There are "channels" input buffers. 32 * output - The interleaved output buffer. Every "channels" samples is a 34 * channels - The number of samples per frame. 37 void dsp_util_interleave(float *const *input, int16_t *output, int channels,
|
/external/webrtc/webrtc/tools/e2e_quality/audio/ |
default.pa | 5 load-module module-null-sink sink_name=render sink_properties=device.description=render format=s16 rate=48000 channels=1 6 load-module module-null-sink sink_name=capture sink_properties=device.description=capture format=s16 rate=48000 channels=1
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/simple/ |
SimpleTvInputSetupActivity.java | 61 // Check if we already registered channels. 76 values.put(TvContract.Channels.COLUMN_INPUT_ID, mInputId); 79 values.put(TvContract.Channels.COLUMN_DISPLAY_NUMBER, CHANNEL_1_NUMBER); 80 values.put(TvContract.Channels.COLUMN_DISPLAY_NAME, CHANNEL_1_NAME); 81 values.put(TvContract.Channels.COLUMN_ORIGINAL_NETWORK_ID, CHANNEL_1_ORIG_NETWORK_ID); 82 values.put(TvContract.Channels.COLUMN_TRANSPORT_STREAM_ID, CHANNEL_1_TRANSPORT_STREAM_ID); 83 values.put(TvContract.Channels.COLUMN_SERVICE_ID, CHANNEL_1_SERVICE_ID); 84 getContentResolver().insert(TvContract.Channels.CONTENT_URI, values); 87 values.put(TvContract.Channels.COLUMN_DISPLAY_NUMBER, CHANNEL_2_NUMBER); 88 values.put(TvContract.Channels.COLUMN_DISPLAY_NAME, CHANNEL_2_NAME) [all...] |
/external/tensorflow/tensorflow/contrib/lite/examples/label_image/ |
bitmap_helpers.cc | 32 int width, int height, int channels, bool top_down) { 39 src_pos = ((height - 1 - i) * row_size) + j * channels; 41 src_pos = i * row_size + j * channels; 44 dst_pos = (i * width + j) * channels; 46 switch (channels) { 64 LOG(FATAL) << "Unexpected number of channels: " << channels; 74 int* channels, Settings* s) { 98 *channels = bpp / 8; 101 LOG(INFO) << "width, height, channels: " << *width << ", " << *heigh 102 << ", " << *channels << "\\n"; local [all...] |
/packages/apps/TV/tests/common/src/com/android/tv/testing/data/ |
ChannelUtils.java | 23 import android.media.tv.TvContract.Channels; 54 projections[0] = Channels._ID; 68 public static void updateChannels(Context context, String inputId, List<ChannelInfo> channels) { 69 // Create a map from original network ID to channel row ID for existing channels. 72 String[] projection = {Channels._ID, Channels.COLUMN_ORIGINAL_NETWORK_ID}; 83 for (ChannelInfo channel : channels) { 86 values.put(Channels.COLUMN_INPUT_ID, inputId); 87 values.put(Channels.COLUMN_DISPLAY_NUMBER, channel.number); 88 values.put(Channels.COLUMN_DISPLAY_NAME, channel.name) 155 List<ChannelInfo> channels = new ArrayList<>(); local [all...] |