/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...] |
TvContractTest.java | 29 import android.media.tv.TvContract.Channels; 47 TvContract.Channels._ID, 48 TvContract.Channels.COLUMN_INPUT_ID, 49 TvContract.Channels.COLUMN_TYPE, 50 TvContract.Channels.COLUMN_SERVICE_TYPE, 51 TvContract.Channels.COLUMN_ORIGINAL_NETWORK_ID, 52 TvContract.Channels.COLUMN_TRANSPORT_STREAM_ID, 53 TvContract.Channels.COLUMN_SERVICE_ID, 54 TvContract.Channels.COLUMN_DISPLAY_NUMBER, 55 TvContract.Channels.COLUMN_DISPLAY_NAME [all...] |
/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/webrtc/webrtc/modules/audio_coding/codecs/pcm16b/ |
audio_decoder_pcm16b.cc | 25 size_t AudioDecoderPcm16B::Channels() const { 45 return static_cast<int>(encoded_len / (2 * Channels()));
|
audio_decoder_pcm16b.h | 24 size_t Channels() const override;
|
/packages/providers/TvProvider/src/com/android/providers/tv/ |
TvProvider.java | 41 import android.media.tv.TvContract.Channels; 86 private static final String CHANNELS_TABLE = "channels"; 103 + " ON (" + CHANNELS_TABLE + "." + Channels._ID + "=" 146 sChannelProjectionMap.put(Channels._ID, CHANNELS_TABLE + "." + Channels._ID); 147 sChannelProjectionMap.put(Channels.COLUMN_PACKAGE_NAME, 148 CHANNELS_TABLE + "." + Channels.COLUMN_PACKAGE_NAME); 149 sChannelProjectionMap.put(Channels.COLUMN_INPUT_ID, 150 CHANNELS_TABLE + "." + Channels.COLUMN_INPUT_ID); 151 sChannelProjectionMap.put(Channels.COLUMN_TYPE [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/g711/ |
audio_decoder_pcm.cc | 19 size_t AudioDecoderPcmU::Channels() const { 38 return static_cast<int>(encoded_len / Channels()); 43 size_t AudioDecoderPcmA::Channels() const { 62 return static_cast<int>(encoded_len / Channels());
|
audio_decoder_pcm.h | 26 size_t Channels() const override; 47 size_t Channels() const override;
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
ChannelUtils.java | 23 import android.media.tv.TvContract.Channels; 57 projections[0] = Channels._ID; 71 public static void updateChannels(Context context, String inputId, List<ChannelInfo> channels) { 72 // Create a map from original network ID to channel row ID for existing channels. 75 String[] projection = {Channels._ID, Channels.COLUMN_ORIGINAL_NETWORK_ID}; 86 for (ChannelInfo channel : channels) { 89 values.put(Channels.COLUMN_INPUT_ID, inputId); 90 values.put(Channels.COLUMN_DISPLAY_NUMBER, channel.number); 91 values.put(Channels.COLUMN_DISPLAY_NAME, channel.name) [all...] |
ChannelInfo.java | 33 VIDEO_HEIGHT_TO_FORMAT_MAP.put(480, TvContract.Channels.VIDEO_FORMAT_480P); 34 VIDEO_HEIGHT_TO_FORMAT_MAP.put(576, TvContract.Channels.VIDEO_FORMAT_576P); 35 VIDEO_HEIGHT_TO_FORMAT_MAP.put(720, TvContract.Channels.VIDEO_FORMAT_720P); 36 VIDEO_HEIGHT_TO_FORMAT_MAP.put(1080, TvContract.Channels.VIDEO_FORMAT_1080P); 37 VIDEO_HEIGHT_TO_FORMAT_MAP.put(2160, TvContract.Channels.VIDEO_FORMAT_2160P); 38 VIDEO_HEIGHT_TO_FORMAT_MAP.put(4320, TvContract.Channels.VIDEO_FORMAT_4320P); 49 TvContract.Channels.COLUMN_DISPLAY_NUMBER, 50 TvContract.Channels.COLUMN_DISPLAY_NAME, 51 TvContract.Channels.COLUMN_ORIGINAL_NETWORK_ID, 97 int index = c.getColumnIndex(TvContract.Channels.COLUMN_DISPLAY_NUMBER) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
MockTvInputSetupActivity.java | 68 final String[] projection = { TvContract.Channels._ID }; 70 // If we already have channels, just finish without doing anything. 78 values.put(TvContract.Channels.COLUMN_INPUT_ID, inputId); 79 values.put(TvContract.Channels.COLUMN_DISPLAY_NUMBER, CHANNEL_NUMBER); 80 values.put(TvContract.Channels.COLUMN_DISPLAY_NAME, CHANNEL_NAME); 81 values.put(TvContract.Channels.COLUMN_APP_LINK_TEXT, APP_LINK_TEXT); 82 values.put(TvContract.Channels.COLUMN_APP_LINK_COLOR, Color.RED); 83 values.put(TvContract.Channels.COLUMN_APP_LINK_ICON_URI, 85 values.put(TvContract.Channels.COLUMN_APP_LINK_POSTER_ART_URI, 90 values.put(TvContract.Channels.COLUMN_APP_LINK_INTENT_URI [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
ChannelsTest.java | 16 package org.apache.harmony.tests.java.nio.channels; 29 import java.nio.channels.Channels; 30 import java.nio.channels.ClosedChannelException; 31 import java.nio.channels.IllegalBlockingModeException; 32 import java.nio.channels.ReadableByteChannel; 33 import java.nio.channels.ServerSocketChannel; 34 import java.nio.channels.SocketChannel; 35 import java.nio.channels.WritableByteChannel; 116 ReadableByteChannel rbChannel = Channels.newChannel(this.fins) [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/ |
audio_decoder_g722.h | 27 size_t Channels() const override; 53 size_t Channels() const override; 57 // for left and right channels. The separated payloads are written to
|
audio_decoder_g722.cc | 53 return static_cast<int>(2 * encoded_len / Channels()); 56 size_t AudioDecoderG722::Channels() const { 103 size_t AudioDecoderG722Stereo::Channels() const {
|
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/ |
audio_decoder_ilbc.h | 27 size_t Channels() const override;
|
/hardware/ti/omap3/omx/ti_omx_config_parser/inc/ |
ti_omx_config_parser.h | 42 OMX_U16 Channels;
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
ChannelsTest.java | 17 package libcore.java.nio.channels; 21 import java.nio.channels.Channels; 22 import java.nio.channels.IllegalBlockingModeException; 23 import java.nio.channels.Pipe; 24 import java.nio.channels.WritableByteChannel; 32 Channels.newInputStream(sourceChannel).read(); 45 Channels.newReader(sourceChannel, "UTF-8").read();
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/ |
TvContractUtils.java | 25 import android.media.tv.TvContract.Channels; 61 VIDEO_HEIGHT_TO_FORMAT_MAP.put(480, TvContract.Channels.VIDEO_FORMAT_480P); 62 VIDEO_HEIGHT_TO_FORMAT_MAP.put(576, TvContract.Channels.VIDEO_FORMAT_576P); 63 VIDEO_HEIGHT_TO_FORMAT_MAP.put(720, TvContract.Channels.VIDEO_FORMAT_720P); 64 VIDEO_HEIGHT_TO_FORMAT_MAP.put(1080, TvContract.Channels.VIDEO_FORMAT_1080P); 65 VIDEO_HEIGHT_TO_FORMAT_MAP.put(2160, TvContract.Channels.VIDEO_FORMAT_2160P); 66 VIDEO_HEIGHT_TO_FORMAT_MAP.put(4320, TvContract.Channels.VIDEO_FORMAT_4320P); 70 Context context, String inputId, List<ChannelInfo> channels) { 71 // Create a map from original network ID to channel row ID for existing channels. 74 String[] projection = {Channels._ID, Channels.COLUMN_ORIGINAL_NETWORK_ID} [all...] |
/cts/tests/tvprovider/src/android/tvprovider/cts/ |
TvProviderPerfTest.java | 30 import android.media.tv.TvContract.Channels; 74 mContentResolver.delete(Channels.CONTENT_URI, null, null); 93 values.put(Channels.COLUMN_INPUT_ID, mInputId); 94 values.put(Channels.COLUMN_SERVICE_TYPE, 95 Channels.SERVICE_TYPE_AUDIO_VIDEO); 96 values.put(Channels.COLUMN_TYPE, Channels.TYPE_OTHER); 98 ContentProviderOperation.newInsert(Channels.CONTENT_URI) 115 final String[] projection = { Channels._ID }; 116 try (final Cursor cursor = mContentResolver.query(Channels.CONTENT_URI [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
normal.cc | 40 if (length % output->Channels() != 0) { 41 // The length does not match the number of channels. 63 AudioMultiVector expanded(output->Channels()); 67 for (size_t channel_ix = 0; channel_ix < output->Channels(); ++channel_ix) { 74 size_t length_per_channel = length / output->Channels(); 117 assert(channel_ix < output->Channels()); 137 assert(channel_ix < output->Channels()); 146 assert(output->Channels() == 1); // Not adapted for multi-channel yet. 182 size_t length_per_channel = length / output->Channels(); 184 for (size_t channel_ix = 0; channel_ix < output->Channels(); [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");
|
/packages/apps/TV/src/com/android/tv/util/ |
OnboardingUtils.java | 23 import android.media.tv.TvContract.Channels; 92 * Checks if there are any available tuner channels. 102 try (Cursor c = resolver.query(Channels.CONTENT_URI, new String[] {Channels._ID}, null,
|
/external/webrtc/webrtc/modules/audio_coding/neteq/mock/ |
mock_audio_decoder.h | 34 MOCK_CONST_METHOD0(Channels, size_t());
|
/packages/apps/TV/src/com/android/tv/search/ |
TvProviderSearch.java | 25 import android.media.tv.TvContract.Channels; 74 * Search channels, inputs, or programs from TvProvider. 94 // Search channels first. 161 private List<SearchResult> searchChannels(String query, Set<Long> channels, int limit) { 164 results.addAll(searchChannels(query, new String[] { Channels.COLUMN_DISPLAY_NUMBER }, 165 null, channels, NO_LIMIT)); 172 new String[] { Channels.COLUMN_DISPLAY_NAME, Channels.COLUMN_DESCRIPTION }, 173 channels, limit - results.size())); 192 Channels._ID [all...] |
/external/dng_sdk/source/ |
dng_color_spec.h | 87 /// Number of channels used for this color transform. Three 90 uint32 Channels () const
|