Searched defs:channel (Results 1 - 25 of 65) sorted by relevance

123

/frameworks/base/core/java/com/android/internal/view/
H A DInputBindResult.java36 * The input channel used to send input events to this IME.
38 public final InputChannel channel; field in class:InputBindResult
59 channel = _channel;
68 channel = InputChannel.CREATOR.createFromParcel(source);
70 channel = null;
94 if (channel != null) {
96 channel.writeToParcel(dest, flags);
123 return channel != null ? channel.describeContents() : 0;
/frameworks/base/telephony/java/android/telephony/
H A DIccOpenLogicalChannelResponse.java28 * Indicates an invalid channel.
33 * Possible status values returned by open channel command.
35 * STATUS_NO_ERROR: Open channel command returned successfully.
38 * STATUS_UNKNOWN_ERROR: Unknown error in open channel command.
54 public IccOpenLogicalChannelResponse(int channel, int status, byte[] selectResponse) { argument
55 mChannel = channel;
76 * @return the channel id.
/frameworks/wilhelm/src/itf/
H A DIMIDIMuteSolo.c22 static SLresult IMIDIMuteSolo_SetChannelMute(SLMIDIMuteSoloItf self, SLuint8 channel, argument
27 if (channel > 15) {
31 SLuint16 mask = 1 << channel;
45 static SLresult IMIDIMuteSolo_GetChannelMute(SLMIDIMuteSoloItf self, SLuint8 channel, argument
50 if (channel > 15 || (NULL == pMute)) {
57 *pMute = (mask >> channel) & 1;
65 static SLresult IMIDIMuteSolo_SetChannelSolo(SLMIDIMuteSoloItf self, SLuint8 channel, argument
70 if (channel > 15) {
74 SLuint16 mask = 1 << channel;
88 static SLresult IMIDIMuteSolo_GetChannelSolo(SLMIDIMuteSoloItf self, SLuint8 channel, argument
[all...]
H A DIOutputMixExt.c214 unsigned channel; local
215 for (channel = 0; channel < STEREO_CHANNELS; ++channel) {
216 float gain = track->mGains[channel];
217 gains[channel] = gain;
226 summaries[channel] = summary;
445 unsigned channel; local
446 for (channel = 0; channel < STEREO_CHANNEL
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothMasInstance.java29 public BluetoothMasInstance(int id, String name, int channel, int msgTypes) { argument
32 mChannel = channel;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/
H A DNoBandChannelHelper.java27 * ChannelHelper that offers channel manipulation utilities when the channels in a band are not
40 public boolean settingsContainChannel(WifiScanner.ScanSettings settings, int channel) { argument
43 if (settings.channels[i].frequency == channel) {
89 public boolean containsChannel(int channel) { argument
90 return mAllChannels || mChannels.contains(channel);
H A DChannelHelper.java27 * ChannelHelper offers an abstraction for channel manipulation utilities allowing operation to be
36 * The estimated period spent scanning each channel. This is used for estimating scan duration.
48 * Return true if the specified channel is expected for a scan with the given settings
50 public abstract boolean settingsContainChannel(WifiScanner.ScanSettings settings, int channel); argument
64 * Update the channel information that this object has. The source of the update is
79 * Add a channel to the collection
81 public abstract void addChannel(int channel); argument
87 * @return true if the collection contains the supplied channel
89 public abstract boolean containsChannel(int channel); argument
111 * Retrieves a list of channels from the band which are missing in the channel collectio
[all...]
H A DKnownBandsChannelHelper.java27 * ChannelHelper that offers channel manipulation utilities when the channels in a band are known.
117 public boolean settingsContainChannel(WifiScanner.ScanSettings settings, int channel) { argument
125 if (settingsChannels[i].frequency == channel) {
134 * When the max channels value is satisfied this implementation will always create a channel
147 * Contains all bands, including those that were added because an added channel was in that
169 public boolean containsChannel(int channel) { argument
170 return mChannels.contains(channel);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiApConfigStoreTest.java83 String ssid, String preSharedKey, int keyManagement, int band, int channel) {
89 config.apChannel = channel;
135 40 /* AP channel */);
155 40 /* AP channel */);
182 40 /* AP channel */);
82 setupApConfig( String ssid, String preSharedKey, int keyManagement, int band, int channel) argument
H A DRttServiceTest.java90 // Create and connect a bi-directional async channel.
92 BidirectionalAsyncChannel channel = new BidirectionalAsyncChannel();
93 channel.connect(mLooper.getLooper(), mRttServiceImpl.getMessenger(),
96 channel.assertConnected();
97 return channel;
100 private void sendRangingRequestFailed(BidirectionalAsyncChannel channel, Handler handler, argument
102 Message message = sendRangingRequest(channel, handler, clientKey, params);
109 private Message sendRangingRequest(BidirectionalAsyncChannel channel, Handler handler, argument
115 channel.sendMessage(message);
123 private void sendEnableResponderSucceed(BidirectionalAsyncChannel channel, argument
135 sendEnableResponderFailed(BidirectionalAsyncChannel channel, Handler handler, int clientKey, int reason) argument
144 sendEnableResponder(BidirectionalAsyncChannel channel, Handler handler, int clientKey, ResponderConfig config) argument
158 sendDisableResponder(BidirectionalAsyncChannel channel, int key, boolean success) argument
[all...]
/frameworks/av/media/libstagefright/
H A DAACExtractor.cpp155 uint8_t profile, sf_index, channel, header[2]; local
166 channel = (header[0] & 0x1) << 2 | (header[1] >> 6);
168 mMeta = MakeAACCodecSpecificData(profile, sf_index, channel);
/frameworks/av/radio/
H A DIRadio.cpp148 virtual status_t tune(unsigned int channel, unsigned int subChannel) argument
152 data.writeInt32(channel);
291 unsigned int channel = (unsigned int)data.readInt32(); local
293 status_t status = tune(channel, subChannel);
H A DRadio.cpp198 status_t Radio::tune(unsigned int channel, unsigned int subChannel) argument
204 return mIRadio->tune(channel, subChannel);
/frameworks/base/core/java/android/hardware/radio/
H A DRadioModule.java73 public native int tune(int channel, int subChannel); argument
H A DRadioTuner.java116 * Step up or down by one channel spacing.
122 * selected supports sub channel (e.g HD Radio). N/A otherwise.
143 * selected supports sub channel (e.g HD Radio). N/A otherwise.
162 * @param channel the specific channel or frequency to tune to.
163 * @param subChannel the specific sub-channel to tune to. N/A if the selected configuration
176 public abstract int tune(int channel, int subChannel); argument
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodSessionWrapper.java62 InputMethodSession inputMethodSession, InputChannel channel) {
66 mChannel = channel;
67 if (channel != null) {
68 mReceiver = new ImeInputEventReceiver(channel, context.getMainLooper());
61 IInputMethodSessionWrapper(Context context, InputMethodSession inputMethodSession, InputChannel channel) argument
H A DIInputMethodWrapper.java88 InputMethodSessionCallbackWrapper(Context context, InputChannel channel, argument
91 mChannel = channel;
282 public void createSession(InputChannel channel, IInputSessionCallback callback) { argument
284 channel, callback));
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
H A Dcolorspace.cpp30 uint8 channel[4]; member in union:Rgba
48 color.channel[kRed] = clamp(y + static_cast<int>(1.402 * v));
49 color.channel[kGreen] = clamp(y - static_cast<int>(0.344 * u + 0.714 * v));
50 color.channel[kBlue] = clamp(y + static_cast<int>(1.772 * u));
51 color.channel[kAlpha] = 0xFF;
103 color_out.channel[kRed] = color_in.channel[kGreen];
104 color_out.channel[kGreen] = color_in.channel[kBlue];
105 color_out.channel[kBlu
[all...]
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp106 uint8_t profile, sf_index, channel, header[2]; local
121 channel = (header[0] & 0x1) << 2 | (header[1] >> 6);
123 SL_LOGV("AacAdtsExtractor has found sr=%d channel=%d", sr, channel);
126 mMeta = MakeAACCodecSpecificData(profile, sf_index, channel);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerCCDecoder.cpp40 bool getChannel(size_t *channel) const {
42 *channel = (mData1 >= 0x18 ? 1 : 0) + (mType ? 2 : 0);
161 // For CEA-608 CC1, field 0 channel 0
385 size_t channel; local
386 if (cc.getChannel(&channel)) {
387 mLine21Channels[cc_type] = channel;
390 getTrackIndex(kTrackTypeCEA608, channel, &trackAdded);
470 // return the track index for a given type and channel.
473 int32_t trackType, size_t channel, bool *trackAdded) {
474 CCTrack track(trackType, channel);
472 getTrackIndex( int32_t trackType, size_t channel, bool *trackAdded) argument
[all...]
/frameworks/av/services/radio/
H A DRadioService.cpp820 status_t RadioService::ModuleClient::tune(unsigned int channel, unsigned int subChannel) argument
826 status = (status_t)mTuner->tune(mTuner, channel, subChannel);
/frameworks/base/media/java/android/media/
H A DJetPlayer.java85 private static final int JET_EVENT_CHAN_MASK = 0x0003c000; // mask for channel
89 private static final int JET_EVENT_CHAN_SHIFT = 14; // shift to get MIDI channel to bit 0
422 // JETCreator channel numbers start at 1, but the index starts at 0
504 * @param channel 4 bit unsigned value
509 short segment, byte track, byte channel, byte controller, byte value);
508 onJetEvent(JetPlayer player, short segment, byte track, byte channel, byte controller, byte value) argument
/frameworks/base/media/java/android/media/tv/
H A DITvInputSessionWrapper.java82 InputChannel channel) {
86 mChannel = channel;
87 if (channel != null) {
88 mReceiver = new TvInputEventReceiver(channel, context.getMainLooper());
81 ITvInputSessionWrapper(Context context, TvInputService.Session sessionImpl, InputChannel channel) argument
/frameworks/native/libs/gui/tests/
H A DCpuConsumer_test.cpp173 // GRBG Bayer mosaic; only check the matching channel
245 inline uint8_t chooseColorRgba8888(int blockX, int blockY, uint8_t channel) { argument
248 % (colorVariations) == channel ? 191: 63;
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp451 int32_t channel; local
452 CHECK(msg->findInt32("channel", &channel));
457 CHECK_LE(channel, 0xffu);
465 header[1] = channel;

Completed in 931 milliseconds

123