/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
H A D | BidirectionalAsyncChannelServer.java | 32 * Provides an interface for the server side implementation of a bidirectional channel as described 49 AsyncChannel channel = mClients.get(msg.replyTo); 52 if (channel != null) { 54 channel.replyToMessage(msg, 58 channel = new AsyncChannel(); 59 mClients.put(msg.replyTo, channel); 60 channel.connected(context, this, msg.replyTo); 61 channel.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, 66 channel.disconnect();
|
H A D | RttServiceTest.java | 90 // 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/base/wifi/java/android/net/wifi/ |
H A D | WifiChannel.java | 40 /** 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 D | ScanSettings.java | 34 /** 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);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | colorspace.cpp | 30 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/base/core/java/com/android/internal/view/ |
H A D | InputBindResult.java | 36 * 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 D | IInputMethod.aidl | 45 void createSession(in InputChannel channel, IInputSessionCallback callback);
|
/frameworks/wilhelm/src/itf/ |
H A D | IMIDIMuteSolo.c | 22 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 D | IOutputMixExt.c | 214 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 D | SoundPool.cpp | 101 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 254 SoundChannel* channel; local 290 SoundChannel* channel = NULL; local 328 moveToFront_l(SoundChannel* channel) argument 343 SoundChannel* channel = findChannel(channelID); local 354 SoundChannel* channel = &mChannelPool[i]; local 363 SoundChannel* channel = findChannel(channelID); local 374 SoundChannel* channel = &mChannelPool[i]; local 383 SoundChannel* channel = findChannel(channelID); local 396 SoundChannel* channel = findChannel(channelID); local 406 SoundChannel* channel = findChannel(channelID); local 416 SoundChannel* channel = findChannel(channelID); local 426 SoundChannel* channel = findChannel(channelID); local 433 done_l(SoundChannel* channel) argument 858 SoundChannel* channel = static_cast<SoundChannel*>((void *)((unsigned long)user & ~1)); local [all...] |
H A D | SoundPool.h | 186 void done_l(SoundChannel* channel); 199 void moveToFront_l(SoundChannel* channel); 204 void addToRestartList(SoundChannel* channel); 205 void addToStopList(SoundChannel* channel);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
H A D | NoBandChannelHelper.java | 27 * 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 D | KnownBandsChannelHelper.java | 27 * 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/base/core/java/android/bluetooth/ |
H A D | BluetoothMasInstance.java | 29 public BluetoothMasInstance(int id, String name, int channel, int msgTypes) { argument 32 mChannel = channel;
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | IccOpenLogicalChannelResponse.java | 28 * 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/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
H A D | ApConfigUtilTest.java | 47 * Frequency to channel map. This include some frequencies used outside the US. 120 * Verify frequency to channel conversion for all possible frequencies. 132 * Verify frequency to channel conversion failed for an invalid frequency. 140 * Verify default channel is used when picking a 2G channel without 150 * Verify a 2G channel is selected from the list of allowed channels. 154 int channel = ApConfigUtil.chooseApChannel( 156 assertTrue(mAllowed2GChannels.contains(channel)); 160 * Verify a 5G channel is selected from the list of allowed channels. 164 int channel [all...] |
/frameworks/base/media/java/android/media/tv/ |
H A D | ITvInputService.aidl | 32 void createSession(in InputChannel channel, in ITvInputSessionCallback callback,
|
H A D | ITvInputClient.aidl | 32 void onSessionCreated(in String inputId, IBinder token, in InputChannel channel, int seq);
|
/frameworks/native/libs/gui/ |
H A D | IDisplayEventConnection.cpp | 85 sp<BitTube> channel(getDataChannel()); 86 channel->writeToParcel(reply);
|
/frameworks/av/include/radio/ |
H A D | IRadio.h | 48 virtual status_t tune(unsigned int channel, unsigned int subChannel) = 0;
|
H A D | Radio.h | 61 status_t tune(unsigned int channel, unsigned int subChannel);
|
/frameworks/base/core/java/android/hardware/radio/ |
H A D | RadioTuner.java | 116 * 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 D | IInputMethodSessionWrapper.java | 62 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 D | AacAdtsExtractor.cpp | 106 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 D | NuPlayerCCDecoder.cpp | 40 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...] |