Searched refs:channel (Results 1 - 25 of 80) sorted by relevance

1234

/frameworks/base/wifi/java/android/net/wifi/
H A DWifiChannel.java40 /** channel number */
43 /** is it a DFS channel? */
75 WifiChannel channel = new WifiChannel();
76 channel.freqMHz = in.readInt();
77 channel.channelNum = in.readInt();
78 channel.isDFS = in.readInt() != 0;
79 return channel;
H A DScanSettings.java34 /** channel set to scan. this can be null or empty, indicating a full scan */
48 for (WifiChannel channel : channelSet)
49 if (!channel.isValid()) return false;
64 for (WifiChannel channel : channelSet) channel.writeToParcel(out, flags);
H A DBatchedScanSettings.java114 for (String channel : channelSet) {
116 int i = Integer.parseInt(channel);
119 if (channel.equals("A") || channel.equals("B")) continue;
214 for (String channel : channelSet) {
215 sb.append(" " + channel);
236 for (String channel : channelSet) dest.writeString(channel);
/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;
106 color_out.channel[kRed] = color_in.channel[kGreen];
107 color_out.channel[kGreen] = color_in.channel[kBlue];
108 color_out.channel[kBlu
[all...]
/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;
H A DIInputMethod.aidl45 void createSession(in InputChannel channel, IInputSessionCallback callback);
/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/media/jni/soundpool/
H A DSoundPool.cpp101 void SoundPool::addToRestartList(SoundChannel* channel) argument
105 mRestart.push_back(channel);
110 void SoundPool::addToStopList(SoundChannel* channel) argument
114 mStop.push_back(channel);
134 SoundChannel* channel; local
135 ALOGV("Getting channel from stop list");
137 channel = *iter;
140 if (channel != 0) {
142 channel->stop();
149 SoundChannel* channel; local
241 SoundChannel* channel; local
277 SoundChannel* channel = NULL; local
315 moveToFront_l(SoundChannel* channel) argument
330 SoundChannel* channel = findChannel(channelID); local
341 SoundChannel* channel = &mChannelPool[i]; local
350 SoundChannel* channel = findChannel(channelID); local
361 SoundChannel* channel = &mChannelPool[i]; local
370 SoundChannel* channel = findChannel(channelID); local
383 SoundChannel* channel = findChannel(channelID); local
393 SoundChannel* channel = findChannel(channelID); local
403 SoundChannel* channel = findChannel(channelID); local
413 SoundChannel* channel = findChannel(channelID); local
420 done_l(SoundChannel* channel) argument
821 SoundChannel* channel = static_cast<SoundChannel*>((void *)((unsigned long)user & ~1)); local
[all...]
H A DSoundPool.h185 void done_l(SoundChannel* channel);
199 void moveToFront_l(SoundChannel* channel);
204 void addToRestartList(SoundChannel* channel);
205 void addToStopList(SoundChannel* channel);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothMasInstance.java29 public BluetoothMasInstance(int id, String name, int channel, int msgTypes) { argument
32 mChannel = channel;
H A DBluetoothSocket.java127 private int mPort; /* RFCOMM channel or L2CAP psm */
189 throw new IOException("Invalid RFCOMM channel: " + port);
373 int channel = readInt(mSocketIS);
374 if (channel <= 0)
376 mPort = channel;
425 int channel = readInt(mSocketIS);
430 if (DBG) Log.d(TAG, "channel: " + channel);
432 mPort = channel;
433 } // else ASSERT(mPort == channel)
[all...]
/frameworks/base/media/java/android/media/tv/
H A DITvInputService.aidl32 void createSession(in InputChannel channel, ITvInputSessionCallback callback,
H A DITvInputClient.aidl32 void onSessionCreated(in String inputId, IBinder token, in InputChannel channel, int seq);
/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/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerCCDecoder.cpp37 bool getChannel(size_t *channel) const {
39 *channel = (mData1 >= 0x18 ? 1 : 0) + (mType ? 2 : 0);
140 //CC1, field 0 channel 0
181 int32_t NuPlayer::CCDecoder::getTrackIndex(size_t channel) const {
182 if (channel < sizeof(mTrackIndices)/sizeof(mTrackIndices[0])) {
183 return mTrackIndices[channel];
290 size_t channel; local
291 if (cc.getChannel(&channel) && getTrackIndex(channel) < 0) {
292 mTrackIndices[channel]
328 size_t channel; local
[all...]
H A DNuPlayerCCDecoder.h50 int32_t getTrackIndex(size_t channel) const;
/frameworks/native/libs/gui/
H A DIDisplayEventConnection.cpp85 sp<BitTube> channel(getDataChannel());
86 channel->writeToParcel(reply);
H A DISensorEventConnection.cpp104 sp<BitTube> channel(getSensorChannel());
105 channel->writeToParcel(reply);
/frameworks/av/include/radio/
H A DIRadio.h48 virtual status_t tune(unsigned int channel, unsigned int subChannel) = 0;
H A DRadio.h61 status_t tune(unsigned int channel, unsigned int subChannel);
/frameworks/base/core/java/android/hardware/radio/
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
/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/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);

Completed in 406 milliseconds

1234