/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | RttServiceTest.java | 92 BidirectionalAsyncChannel channel = new BidirectionalAsyncChannel(); in connectChannel() local 93 channel.connect(mLooper.getLooper(), mRttServiceImpl.getMessenger(), in connectChannel() 96 channel.assertConnected(); in connectChannel() 97 return channel; in connectChannel() 100 private void sendRangingRequestFailed(BidirectionalAsyncChannel channel, Handler handler, in sendRangingRequestFailed() argument 102 Message message = sendRangingRequest(channel, handler, clientKey, params); in sendRangingRequestFailed() 109 private Message sendRangingRequest(BidirectionalAsyncChannel channel, Handler handler, in sendRangingRequest() argument 115 channel.sendMessage(message); in sendRangingRequest() 123 private void sendEnableResponderSucceed(BidirectionalAsyncChannel channel, in sendEnableResponderSucceed() argument 125 Message message = sendEnableResponder(channel, handler, clientKey, in sendEnableResponderSucceed() [all …]
|
D | BidirectionalAsyncChannelServer.java | 49 AsyncChannel channel = mClients.get(msg.replyTo); in BidirectionalAsyncChannelServer() 52 if (channel != null) { in BidirectionalAsyncChannelServer() 54 channel.replyToMessage(msg, in BidirectionalAsyncChannelServer() 58 channel = new AsyncChannel(); in BidirectionalAsyncChannelServer() 59 mClients.put(msg.replyTo, channel); in BidirectionalAsyncChannelServer() 60 channel.connected(context, this, msg.replyTo); in BidirectionalAsyncChannelServer() 61 channel.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, in BidirectionalAsyncChannelServer() 66 channel.disconnect(); in BidirectionalAsyncChannelServer()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
D | colorspace.cpp | 30 uint8 channel[4]; member 48 color.channel[kRed] = clamp(y + static_cast<int>(1.402 * v)); in convertYuvToRgba() 49 color.channel[kGreen] = clamp(y - static_cast<int>(0.344 * u + 0.714 * v)); in convertYuvToRgba() 50 color.channel[kBlue] = clamp(y + static_cast<int>(1.772 * u)); in convertYuvToRgba() 51 color.channel[kAlpha] = 0xFF; in convertYuvToRgba() 103 color_out.channel[kRed] = color_in.channel[kGreen]; in JNI_COLORSPACE_METHOD() 104 color_out.channel[kGreen] = color_in.channel[kBlue]; in JNI_COLORSPACE_METHOD() 105 color_out.channel[kBlue] = color_in.channel[kAlpha]; in JNI_COLORSPACE_METHOD() 106 color_out.channel[kAlpha] = color_in.channel[kRed]; in JNI_COLORSPACE_METHOD() 120 r = color_in.channel[kRed]; in JNI_COLORSPACE_METHOD() [all …]
|
/frameworks/base/media/jni/soundpool/ |
D | SoundPool.cpp | 101 void SoundPool::addToRestartList(SoundChannel* channel) in addToRestartList() argument 105 mRestart.push_back(channel); in addToRestartList() 110 void SoundPool::addToStopList(SoundChannel* channel) in addToStopList() argument 114 mStop.push_back(channel); in addToStopList() 134 SoundChannel* channel; in run() local 137 channel = *iter; in run() 140 if (channel != 0) { in run() 142 channel->stop(); in run() 149 SoundChannel* channel; in run() local 152 channel = *iter; in run() [all …]
|
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/base/tests/utils/testutils/java/com/android/internal/util/test/ |
D | BidirectionalAsyncChannelServer.java | 49 AsyncChannel channel = mClients.get(msg.replyTo); in BidirectionalAsyncChannelServer() 52 if (channel != null) { in BidirectionalAsyncChannelServer() 54 channel.replyToMessage(msg, in BidirectionalAsyncChannelServer() 58 channel = new AsyncChannel(); in BidirectionalAsyncChannelServer() 59 mClients.put(msg.replyTo, channel); in BidirectionalAsyncChannelServer() 60 channel.connected(context, this, msg.replyTo); in BidirectionalAsyncChannelServer() 61 channel.replyToMessage(msg, AsyncChannel.CMD_CHANNEL_FULLY_CONNECTED, in BidirectionalAsyncChannelServer() 66 channel.disconnect(); in BidirectionalAsyncChannelServer()
|
/frameworks/base/core/java/com/android/internal/view/ |
D | InputBindResult.java | 38 public final InputChannel channel; field in InputBindResult 59 channel = _channel; in InputBindResult() 68 channel = InputChannel.CREATOR.createFromParcel(source); in InputBindResult() 70 channel = null; in InputBindResult() 94 if (channel != null) { in writeToParcel() 96 channel.writeToParcel(dest, flags); in writeToParcel() 123 return channel != null ? channel.describeContents() : 0; in describeContents()
|
/frameworks/wilhelm/src/itf/ |
D | IMIDIMuteSolo.c | 22 static SLresult IMIDIMuteSolo_SetChannelMute(SLMIDIMuteSoloItf self, SLuint8 channel, in IMIDIMuteSolo_SetChannelMute() argument 27 if (channel > 15) { in IMIDIMuteSolo_SetChannelMute() 31 SLuint16 mask = 1 << channel; in IMIDIMuteSolo_SetChannelMute() 45 static SLresult IMIDIMuteSolo_GetChannelMute(SLMIDIMuteSoloItf self, SLuint8 channel, in IMIDIMuteSolo_GetChannelMute() argument 50 if (channel > 15 || (NULL == pMute)) { in IMIDIMuteSolo_GetChannelMute() 57 *pMute = (mask >> channel) & 1; in IMIDIMuteSolo_GetChannelMute() 65 static SLresult IMIDIMuteSolo_SetChannelSolo(SLMIDIMuteSoloItf self, SLuint8 channel, in IMIDIMuteSolo_SetChannelSolo() argument 70 if (channel > 15) { in IMIDIMuteSolo_SetChannelSolo() 74 SLuint16 mask = 1 << channel; in IMIDIMuteSolo_SetChannelSolo() 88 static SLresult IMIDIMuteSolo_GetChannelSolo(SLMIDIMuteSoloItf self, SLuint8 channel, in IMIDIMuteSolo_GetChannelSolo() argument [all …]
|
D | IOutputMixExt.c | 214 unsigned channel; in IOutputMixExt_FillBuffer() local 215 for (channel = 0; channel < STEREO_CHANNELS; ++channel) { in IOutputMixExt_FillBuffer() 216 float gain = track->mGains[channel]; in IOutputMixExt_FillBuffer() 217 gains[channel] = gain; in IOutputMixExt_FillBuffer() 226 summaries[channel] = summary; in IOutputMixExt_FillBuffer() 445 unsigned channel; in audioPlayerGainUpdate() local 446 for (channel = 0; channel < STEREO_CHANNELS; ++channel) { in audioPlayerGainUpdate() 448 if (muteMask & (1 << channel)) { in audioPlayerGainUpdate() 453 switch (channel) { in audioPlayerGainUpdate() 470 audioPlayer->mGains[channel] = gain; in audioPlayerGainUpdate()
|
/frameworks/base/docs/html/training/tv/tif/ |
D | channel.jd | 27 one channel in its setup activity. You should also periodically update that 31 This lesson discusses creating and updating channel and program data on the 48 <p>The Android TV system database maintains records of channel data for TV inputs. In your setup 49 activity, for each of your channels, you must map your channel data to the following fields of the 54 channel</li> 55 <li>{@link android.media.tv.TvContract.Channels#COLUMN_DISPLAY_NUMBER} - the displayed channel 58 …<li>{@link android.media.tv.TvContract.Channels#COLUMN_SERVICE_TYPE} - the channel's service type<… 59 <li>{@link android.media.tv.TvContract.Channels#COLUMN_TYPE} - the channel's broadcast standard 62 for the channel</li> 82 each channel can be identified uniquely.</p> [all …]
|
D | index.jd | 28 Watching live TV shows and other continuous, channel-based content is a big part of the TV 29 experience. Users are accustomed to selecting and watching shows on TV by channel browsing. 37 channel content from hardware sources, such as HDMI ports and built-in-tuners, and software 44 displays them to a user. When a user selects a specific channel, the live TV app creates a 46 service to tune to the requested channel and play the content to a display surface provided by 67 <dt><b><a href="channel.html">Working with Channel Data</a></b></dt> 68 <dd>Learn how to describe channel and program data for the system.</dd>
|
D | content-recording.jd | 2 page.keywords=tv,recording,channel,tif 23 <p>TV input services let the user pause and resume channel playback via 88 for switching to the correct channel data, recording the requested data, 93 RecordingSession.onTune()}, passing in a channel URI, tune to the channel 95 desired channel by calling 97 notifyTuned()} or, if your app could not tune to the proper channel, call 145 recording-capable channel apps in the
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiChannel.java | 75 WifiChannel channel = new WifiChannel(); 76 channel.freqMHz = in.readInt(); 77 channel.channelNum = in.readInt(); 78 channel.isDFS = in.readInt() != 0; 79 return channel;
|
D | ScanSettings.java | 48 for (WifiChannel channel : channelSet) in isValid() 49 if (!channel.isValid()) return false; in isValid() 64 for (WifiChannel channel : channelSet) channel.writeToParcel(out, flags); in writeToParcel()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | NoBandChannelHelper.java | 40 public boolean settingsContainChannel(WifiScanner.ScanSettings settings, int channel) { in settingsContainChannel() argument 43 if (settings.channels[i].frequency == channel) { in settingsContainChannel() 89 public boolean containsChannel(int channel) { in containsChannel() argument 90 return mAllChannels || mChannels.contains(channel); in containsChannel()
|
D | KnownBandsChannelHelper.java | 117 public boolean settingsContainChannel(WifiScanner.ScanSettings settings, int channel) { in settingsContainChannel() argument 125 if (settingsChannels[i].frequency == channel) { in settingsContainChannel() 169 public boolean containsChannel(int channel) { in containsChannel() argument 170 return mChannels.contains(channel); in containsChannel()
|
D | ChannelHelper.java | 50 public abstract boolean settingsContainChannel(WifiScanner.ScanSettings settings, int channel); in settingsContainChannel() argument 81 public abstract void addChannel(int channel); in addChannel() argument 89 public abstract boolean containsChannel(int channel); in containsChannel() argument
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
D | ApConfigUtilTest.java | 154 int channel = ApConfigUtil.chooseApChannel( in chooseApChannel2GBandWithAllowedChannels() local 156 assertTrue(mAllowed2GChannels.contains(channel)); in chooseApChannel2GBandWithAllowedChannels() 164 int channel = ApConfigUtil.chooseApChannel( in chooseApChannel5GBandWithAllowedChannels() local 166 assertTrue(ArrayUtils.contains(ALLOWED_5G_CHANNELS, channel)); in chooseApChannel5GBandWithAllowedChannels()
|
/frameworks/wilhelm/src/android/util/ |
D | AacAdtsExtractor.cpp | 106 uint8_t profile, sf_index, channel, header[2]; in AacAdtsExtractor() local 121 channel = (header[0] & 0x1) << 2 | (header[1] >> 6); in AacAdtsExtractor() 123 SL_LOGV("AacAdtsExtractor has found sr=%d channel=%d", sr, channel); in AacAdtsExtractor() 126 mMeta = MakeAACCodecSpecificData(profile, sf_index, channel); in AacAdtsExtractor()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothSocket.java | 374 int channel = readInt(mSocketIS); in connect() local 375 if (channel <= 0) in connect() 377 mPort = channel; in connect() 426 int channel = readInt(mSocketIS); in bindListen() local 431 if (DBG) Log.d(TAG, "channel: " + channel); in bindListen() 433 mPort = channel; in bindListen() 652 int channel = bb.getInt(); in waitSocketSignal() local 658 + RemoteAddr + ", channel: " + channel + ", status: " + status in waitSocketSignal()
|
D | BluetoothMasInstance.java | 29 public BluetoothMasInstance(int id, String name, int channel, int msgTypes) { in BluetoothMasInstance() argument 32 mChannel = channel; in BluetoothMasInstance()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerCCDecoder.cpp | 40 bool getChannel(size_t *channel) const { in getChannel() 42 *channel = (mData1 >= 0x18 ? 1 : 0) + (mType ? 2 : 0); in getChannel() 385 size_t channel; in parseMPEGCCData() local 386 if (cc.getChannel(&channel)) { in parseMPEGCCData() 387 mLine21Channels[cc_type] = channel; in parseMPEGCCData() 390 getTrackIndex(kTrackTypeCEA608, channel, &trackAdded); in parseMPEGCCData() 473 int32_t trackType, size_t channel, bool *trackAdded) { in getTrackIndex() argument 474 CCTrack track(trackType, channel); in getTrackIndex()
|
/frameworks/base/core/java/android/inputmethodservice/ |
D | IInputMethodSessionWrapper.java | 62 InputMethodSession inputMethodSession, InputChannel channel) { in IInputMethodSessionWrapper() argument 66 mChannel = channel; in IInputMethodSessionWrapper() 67 if (channel != null) { in IInputMethodSessionWrapper() 68 mReceiver = new ImeInputEventReceiver(channel, context.getMainLooper()); in IInputMethodSessionWrapper()
|
/frameworks/base/telephony/java/android/telephony/ |
D | IccOpenLogicalChannelResponse.java | 54 public IccOpenLogicalChannelResponse(int channel, int status, byte[] selectResponse) { in IccOpenLogicalChannelResponse() argument 55 mChannel = channel; in IccOpenLogicalChannelResponse()
|
/frameworks/native/libs/gui/ |
D | IDisplayEventConnection.cpp | 85 sp<BitTube> channel(getDataChannel()); in onTransact() local 86 channel->writeToParcel(reply); in onTransact()
|