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

123

/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/av/media/libmedia/
H A DSoundPool.cpp97 void SoundPool::addToRestartList(SoundChannel* channel) argument
101 mRestart.push_back(channel);
106 void SoundPool::addToStopList(SoundChannel* channel) argument
110 mStop.push_back(channel);
130 SoundChannel* channel; local
131 ALOGV("Getting channel from stop list");
133 channel = *iter;
136 if (channel != 0) {
138 channel->stop();
145 SoundChannel* channel; local
247 SoundChannel* channel; local
283 SoundChannel* channel = NULL; local
309 moveToFront_l(SoundChannel* channel) argument
324 SoundChannel* channel = findChannel(channelID); local
335 SoundChannel* channel = &mChannelPool[i]; local
344 SoundChannel* channel = findChannel(channelID); local
355 SoundChannel* channel = &mChannelPool[i]; local
364 SoundChannel* channel = findChannel(channelID); local
377 SoundChannel* channel = findChannel(channelID); local
387 SoundChannel* channel = findChannel(channelID); local
397 SoundChannel* channel = findChannel(channelID); local
407 SoundChannel* channel = findChannel(channelID); local
414 done_l(SoundChannel* channel) argument
694 SoundChannel* channel = static_cast<SoundChannel*>((void *)((unsigned long)user & ~1)); local
[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;
H A DBluetoothSocket.java113 private int mPort; /* RFCOMM channel or L2CAP psm */
149 throw new IOException("Invalid RFCOMM channel: " + port);
315 int channel = readInt(mSocketIS);
316 if (channel <= 0)
318 mPort = channel;
367 int channel = readInt(mSocketIS);
372 if (DBG) Log.d(TAG, "channel: " + channel);
374 mPort = channel;
375 } // 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);
H A DITvInputSessionWrapper.java68 InputChannel channel) {
71 mChannel = channel;
72 if (channel != null) {
73 mReceiver = new TvInputEventReceiver(channel, context.getMainLooper());
67 ITvInputSessionWrapper(Context context, TvInputService.Session sessionImpl, InputChannel channel) argument
/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.cpp36 bool getChannel(size_t *channel) const {
38 *channel = (mData1 >= 0x18 ? 1 : 0) + (mType ? 2 : 0);
138 //CC1, field 0 channel 0
179 int32_t NuPlayer::CCDecoder::getTrackIndex(size_t channel) const {
180 if (channel < sizeof(mTrackIndices)/sizeof(mTrackIndices[0])) {
181 return mTrackIndices[channel];
260 size_t channel; local
261 if (cc.getChannel(&channel) && getTrackIndex(channel) < 0) {
262 mTrackIndices[channel]
299 size_t channel; local
[all...]
H A DNuPlayerCCDecoder.h50 int32_t getTrackIndex(size_t channel) const;
/frameworks/native/libs/gui/
H A DIDisplayEventConnection.cpp79 sp<BitTube> channel(getDataChannel());
80 channel->writeToParcel(reply);
H A DISensorEventConnection.cpp98 sp<BitTube> channel(getSensorChannel());
99 channel->writeToParcel(reply);
/frameworks/opt/net/wifi/service/tools/halutil/
H A Dhalutil.cpp202 printMsg("%d\t", result.channel);
214 printMsg("%d\t", result.channel);
339 params.buckets[0].channels[i].channel = channel_list[i];
358 params.buckets[0].channels[0].channel = 2412;
359 params.buckets[0].channels[1].channel = 2437;
368 params.buckets[1].channels[0].channel = 5180;
369 params.buckets[1].channels[1].channel = 5200;
370 params.buckets[1].channels[2].channel = 5220;
371 params.buckets[1].channels[3].channel = 5745;
372 params.buckets[1].channels[4].channel
1148 wifi_channel channel[MAX_CH_BUF_SIZE]; local
[all...]
/frameworks/av/include/media/
H A DSoundPool.h192 void done_l(SoundChannel* channel);
206 void moveToFront_l(SoundChannel* channel);
211 void addToRestartList(SoundChannel* channel);
212 void addToStopList(SoundChannel* channel);
/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.java87 InputMethodSessionCallbackWrapper(Context context, InputChannel channel, argument
90 mChannel = channel;
273 public void createSession(InputChannel channel, IInputSessionCallback callback) { argument
275 channel, callback));
/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/base/core/java/android/net/
H A DMobileDataStateTracker.java566 final AsyncChannel channel = mDataConnectionTrackerAc;
567 if (channel != null) {
568 channel.sendMessage(DctConstants.EVENT_SET_INTERNAL_DATA_ENABLE,
577 final AsyncChannel channel = mDataConnectionTrackerAc;
578 if (channel != null) {
579 channel.sendMessage(DctConstants.CMD_SET_USER_DATA_ENABLE,
589 final AsyncChannel channel = mDataConnectionTrackerAc;
590 if (channel != null) {
591 channel.sendMessage(DctConstants.CMD_SET_POLICY_DATA_ENABLE,
604 final AsyncChannel channel
[all...]

Completed in 3989 milliseconds

123