/frameworks/native/libs/input/tests/ |
InputChannel_test.cpp | 39 // Our purpose here is to verify that the input channel destructor closes the 41 // of a pipe and to check for EPIPE on the other end after the channel is destroyed. 44 sp<InputChannel> inputChannel = new InputChannel(String8("channel name"), pipe.sendFd); 46 EXPECT_STREQ("channel name", inputChannel->getName().string()) 47 << "channel should have provided name"; 49 << "channel should have provided fd"; 51 inputChannel.clear(); // destroys input channel 54 << "channel should have closed fd when destroyed"; 63 status_t result = InputChannel::openInputChannelPair(String8("channel name"), 67 << "should have successfully opened a channel pair" [all...] |
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
sync_buffer_unittest.cc | 27 for (size_t channel = 0; channel < kChannels; ++channel) { 29 EXPECT_EQ(0, sync_buffer[channel][i]); 58 for (size_t channel = 0; channel < kChannels; ++channel) { 60 new_data[channel][i] = i; 71 for (size_t channel = 0; channel < kChannels; ++channel) [all...] |
audio_multi_vector_unittest.cc | 49 // Write 100, 101, 102, ... for first channel. 50 // Write 200, 201, 202, ... for second channel. 88 for (size_t channel = 0; channel < num_channels_; ++channel) { 90 vec[channel][i] = static_cast<int16_t>(i); 92 const AudioVector& audio_vec = vec[channel]; 109 for (size_t channel = 0; channel < vec.Channels(); ++channel) { [all...] |
/external/opencv3/3rdparty/include/ffmpeg_/libavutil/ |
channel_layout.h | 29 * audio channel layout utility functions 38 * @defgroup channel_masks Audio channel masks 40 * A channel layout is a 64-bits integer with a bit set for every channel. 42 * The value 0 means that the channel layout is not known. 44 * combinations that have the same channel multiple times, such as 75 /** Channel mask value used for AVCodecContext.request_channel_layout 76 to indicate that the user requests the channel order of the decoder output 77 to be the native codec channel order. */ 82 * @defgroup channel_mask_c Audio channel convenience macro [all...] |
/external/c-ares/ |
ares_init.c | 79 static int init_by_options(ares_channel channel, const struct ares_options *options, 81 static int init_by_environment(ares_channel channel); 82 static int init_by_resolv_conf(ares_channel channel); 83 static int init_by_defaults(ares_channel channel); 89 static int set_search(ares_channel channel, const char *str); 90 static int set_options(ares_channel channel, const char *str); 98 static int config_domain(ares_channel channel, char *str); 99 static int config_lookup(ares_channel channel, const char *str, 120 ares_channel channel; local 142 channel = malloc(sizeof(struct ares_channeldata)) [all...] |
ares_cancel.c | 23 * on the given channel. It does NOT kill the channel, use ares_destroy() for 26 void ares_cancel(ares_channel channel) 33 list_head = &(channel->all_queries); 45 assert(ares__is_list_empty(&(channel->all_queries))); 48 assert(ares__is_list_empty(&(channel->queries_by_qid[i]))); 52 assert(ares__is_list_empty(&(channel->queries_by_timeout[i]))); 55 if (!(channel->flags & ARES_FLAG_STAYOPEN)) 57 if (channel->servers) 59 for (i = 0; i < channel->nservers; i++ [all...] |
/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...] |
channel_proxy.cc | 17 #include "webrtc/voice_engine/channel.h" 25 RTC_CHECK(channel_owner_.channel()); 31 channel()->SetRTCPStatus(enable); 36 int error = channel()->SetLocalSSRC(ssrc); 44 int error = channel()->SetRTCP_CNAME(c_name_limited.c_str()); 50 int error = channel()->SetSendAbsoluteSenderTimeStatus(enable, id); 56 int error = channel()->SetSendAudioLevelIndicationStatus(enable, id); 62 channel()->EnableSendTransportSequenceNumber(id); 67 int error = channel()->SetReceiveAbsoluteSenderTimeStatus(enable, id); 73 int error = channel()->SetReceiveAudioLevelIndicationStatus(enable, id) 147 Channel* ChannelProxy::channel() const { function in class:webrtc::voe::ChannelProxy [all...] |
voe_file_impl.cc | 17 #include "webrtc/voice_engine/channel.h" 50 int VoEFileImpl::StartPlayingFileLocally(int channel, 58 "StartPlayingFileLocally(channel=%d, fileNameUTF8[]=%s, " 61 channel, fileNameUTF8, loop, format, volumeScaling, startPointMs, 68 voe::ChannelOwner ch = _shared->channel_manager().GetChannel(channel); 69 voe::Channel* channelPtr = ch.channel(); 72 "StartPlayingFileLocally() failed to locate channel"); 81 int VoEFileImpl::StartPlayingFileLocally(int channel, 88 "StartPlayingFileLocally(channel=%d, stream, format=%d, [all...] |
voe_file_impl.h | 23 int StartPlayingFileLocally(int channel, 31 int StartPlayingFileLocally(int channel, 38 int StopPlayingFileLocally(int channel) override; 40 int IsPlayingFileLocally(int channel) override; 44 int StartPlayingFileAsMicrophone(int channel, 51 int StartPlayingFileAsMicrophone(int channel, 57 int StopPlayingFileAsMicrophone(int channel) override; 59 int IsPlayingFileAsMicrophone(int channel) override; 63 int StartRecordingPlayout(int channel, 68 int StartRecordingPlayout(int channel, [all...] |
channel_manager.h | 29 class Channel; 39 // To access the underlying Channel, use .channel(). 43 // Channel channel_owner = channel_manager.GetChannel(channel_id); 45 // channel_owner.channel()->...; 49 explicit ChannelOwner(Channel* channel); 56 Channel* channel() const { return channel_ref_->channel.get(); function in class:webrtc::voe::ChannelOwner 65 const rtc::scoped_ptr<Channel> channel; member in struct:webrtc::voe::ChannelOwner::ChannelRef [all...] |
voe_volume_control_impl.h | 30 int SetInputMute(int channel, bool enable) override; 32 int GetInputMute(int channel, bool& enabled) override; 36 int GetSpeechOutputLevel(int channel, unsigned int& level) override; 40 int GetSpeechOutputLevelFullRange(int channel, unsigned int& level) override; 42 int SetChannelOutputVolumeScaling(int channel, float scaling) override; 44 int GetChannelOutputVolumeScaling(int channel, float& scaling) override; 46 int SetOutputVolumePan(int channel, float left, float right) override; 48 int GetOutputVolumePan(int channel, float& left, float& right) override;
|
/prebuilts/go/darwin-x86/test/syntax/ |
chan.go | 11 } // ERROR "unexpected .*}.* in channel type" 13 func Foo(y chan) { // ERROR "unexpected .*\).* in channel type" 16 func Bar(x chan, y int) { // ERROR "unexpected comma in channel type"
|
/prebuilts/go/linux-x86/test/syntax/ |
chan.go | 11 } // ERROR "unexpected .*}.* in channel type" 13 func Foo(y chan) { // ERROR "unexpected .*\).* in channel type" 16 func Bar(x chan, y int) { // ERROR "unexpected comma in channel type"
|
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
t056lexer1.g | 5 WS : (' '|'\n') {$channel=HIDDEN;} ;
|
t038lexerRuleLabel.g | 12 print $WS.channel 26 { $channel = HIDDEN }
|
t056lexer10.g | 4 A : i+=I WS i+=I {$channel=0; for (var p=0; p<$i.length; p++) this.xlog(" "+$i[p].getText()); } ; 6 WS : (' '|'\n') {$channel=HIDDEN;} ;
|
t056lexer7.g | 4 A : 'hi' WS (v=I)? {$channel=0; this.xlog($v.text);} ; 6 WS : (' '|'\n') {$channel=HIDDEN;} ;
|
/hardware/bsp/intel/peripheral/libupm/src/adafruitss/ |
CMakeLists.txt | 2 set (libdescription "upm Adafruit pca9685 based 16-channel servo shield")
|
/packages/apps/TV/src/com/android/tv/analytics/ |
Tracker.java | 20 import com.android.tv.data.Channel; 66 * Sends tracking information for starting to view a channel. 68 * @param channel the current channel 69 * @param tunedByRecommendation True, if the channel was tuned by the recommendation. 71 void sendChannelViewStart(Channel channel, boolean tunedByRecommendation); 74 * Sends tracking information for tuning to a channel. 76 * @param channel The channel that was being tuned [all...] |
/packages/apps/TV/usbtuner/src/com/android/usbtuner/tvinput/ |
ChannelDataManager.java | 53 * Manages the channel info and EPG data through {@link TvInputManager}. 80 * A version number to enforce consistency of the channel data. 106 * Invoked when a request for getting programs of a channel has been processed and passes 107 * the requested channel and the programs retrieved from database to the listener. 109 void onRequestProgramsResponse(TunerChannel channel, List<EitItem> programs); 112 * Invoked when programs of a channel have been arrived and passes the arrived channel and 115 void onProgramsArrived(TunerChannel channel, List<EitItem> programs); 118 * Invoked when a channel has been arrived and passes the arrived channel to the listener 178 TunerChannel channel = mTunerChannelMap.get(channelId); local 228 TunerChannel channel = TunerChannel.parseFrom(data); local 284 TunerChannel channel = (TunerChannel) msg.obj; local 297 TunerChannel channel = (TunerChannel) msg.obj; local 526 TunerChannel channel = TunerChannel.parseFrom(data); local 537 mTunerChannelMap.put(channel.getChannelId(), channel); local 543 public final TunerChannel channel; field in class:ChannelDataManager.ChannelEvent [all...] |
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t034tokenLabelPropertyRef.g | 12 print $t.channel 28 { $channel = HIDDEN }
|
t038lexerRuleLabel.g | 12 print $WS.channel 26 { $channel = HIDDEN }
|
/external/vboot_reference/scripts/image_signing/ |
set_channel.sh | 7 # Changes the channel on a Chrome OS image. 16 Usage: $PROG <image.bin> <channel> 19 <channel>: The new channel of the image. 32 # Get the current channel on the image. 34 from=${from%"-channel"} 35 echo "Current channel is '${from}'. Changing to '${to}'." 42 echo "Channel change successful."
|
/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 */ 50 /* Primary channel on right channel and 2nd on left channel */ 52 /* 2nd channel on right channel and primary on left channel */
|