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

12

/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
54 channel = _channel;
62 channel = InputChannel.CREATOR.createFromParcel(source);
64 channel = null;
85 if (channel != null) {
87 channel.writeToParcel(dest, flags);
113 return channel != null ? channel.describeContents() : 0;
H A DIInputMethod.aidl45 void createSession(in InputChannel channel, IInputSessionCallback 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;
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/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.cpp93 void SoundPool::addToRestartList(SoundChannel* channel) argument
97 mRestart.push_back(channel);
102 void SoundPool::addToStopList(SoundChannel* channel) argument
106 mStop.push_back(channel);
126 SoundChannel* channel; local
127 ALOGV("Getting channel from stop list");
129 channel = *iter;
132 if (channel != 0) {
134 channel->stop();
141 SoundChannel* channel; local
243 SoundChannel* channel; local
279 SoundChannel* channel = NULL; local
305 moveToFront_l(SoundChannel* channel) argument
320 SoundChannel* channel = findChannel(channelID); local
331 SoundChannel* channel = &mChannelPool[i]; local
340 SoundChannel* channel = findChannel(channelID); local
351 SoundChannel* channel = &mChannelPool[i]; local
360 SoundChannel* channel = findChannel(channelID); local
373 SoundChannel* channel = findChannel(channelID); local
383 SoundChannel* channel = findChannel(channelID); local
393 SoundChannel* channel = findChannel(channelID); local
403 SoundChannel* channel = findChannel(channelID); local
410 done_l(SoundChannel* channel) argument
683 SoundChannel* channel = static_cast<SoundChannel*>((void *)((unsigned long)user & ~1)); local
[all...]
/frameworks/base/wifi/java/android/net/wifi/
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);
H A DWifiStateMachine.java420 * arg2 = csph (channel scans per hour)
833 public boolean syncPingSupplicant(AsyncChannel channel) { argument
834 Message resultMsg = channel.sendMessageSynchronously(CMD_PING_SUPPLICANT);
1407 public int syncAddOrUpdateNetwork(AsyncChannel channel, WifiConfiguration config) { argument
1408 Message resultMsg = channel.sendMessageSynchronously(CMD_ADD_OR_UPDATE_NETWORK, config);
1414 public List<WifiConfiguration> syncGetConfiguredNetworks(AsyncChannel channel) { argument
1415 Message resultMsg = channel.sendMessageSynchronously(CMD_GET_CONFIGURED_NETWORKS);
1426 public boolean syncRemoveNetwork(AsyncChannel channel, int networkId) { argument
1427 Message resultMsg = channel.sendMessageSynchronously(CMD_REMOVE_NETWORK, networkId);
1440 public boolean syncEnableNetwork(AsyncChannel channel, in argument
1454 syncDisableNetwork(AsyncChannel channel, int netId) argument
1597 syncSaveConfig(AsyncChannel channel) argument
[all...]
H A DWifiNative.java291 * z, w, t represent a 1..n size list of channel numbers and/or 'A', 'B' values
311 for (String channel : settings.channelSet) {
312 cmd += (i > 0 ? "," : "") + channel;
/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/base/core/java/android/bluetooth/
H A DBluetoothSocket.java118 private int mPort; /* RFCOMM channel or L2CAP psm */
154 throw new IOException("Invalid RFCOMM channel: " + port);
320 int channel = readInt(mSocketIS);
321 if (channel <= 0)
323 mPort = channel;
371 int channel = readInt(mSocketIS);
376 if (VDBG) Log.d(TAG, "channel: " + channel);
378 mPort = channel;
379 } // else ASSERT(mPort == channel)
[all...]
H A DBluetoothDevice.java1046 * outgoing connection to this remote device on given channel.
1063 * @param channel RFCOMM channel to connect to
1069 public BluetoothSocket createRfcommSocket(int channel) throws IOException { argument
1070 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, true, true, this, channel,
1082 * determine which channel to connect to.
1100 * @param uuid service record uuid to lookup RFCOMM channel
1113 * <p> The communication channel will not have an authenticated link key
1118 * encrypted and authenticated communication channel is desired.
1124 * determine which channel t
[all...]
/frameworks/av/include/media/
H A DSoundPool.h193 void done_l(SoundChannel* channel);
207 void moveToFront_l(SoundChannel* channel);
212 void addToRestartList(SoundChannel* channel);
213 void addToStopList(SoundChannel* channel);
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodSessionWrapper.java61 InputMethodSession inputMethodSession, InputChannel channel) {
65 mChannel = channel;
66 if (channel != null) {
67 mReceiver = new ImeInputEventReceiver(channel, context.getMainLooper());
60 IInputMethodSessionWrapper(Context context, InputMethodSession inputMethodSession, InputChannel channel) argument
H A DIInputMethodWrapper.java86 InputMethodSessionCallbackWrapper(Context context, InputChannel channel, argument
89 mChannel = channel;
272 public void createSession(InputChannel channel, IInputSessionCallback callback) { argument
274 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.java572 final AsyncChannel channel = mDataConnectionTrackerAc;
573 if (channel != null) {
574 channel.sendMessage(DctConstants.CMD_SET_USER_DATA_ENABLE,
584 final AsyncChannel channel = mDataConnectionTrackerAc;
585 if (channel != null) {
586 channel.sendMessage(DctConstants.CMD_SET_POLICY_DATA_ENABLE,
599 final AsyncChannel channel = mDataConnectionTrackerAc;
600 if (channel != null) {
601 channel.sendMessage(DctConstants.CMD_SET_ENABLE_FAIL_FAST_MOBILE_DATA, enabled);
629 final AsyncChannel channel
[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/base/core/java/android/view/inputmethod/
H A DInputMethodManager.java381 if (res.channel != null && res.channel != mCurChannel) {
382 res.channel.dispose();
387 setInputChannelLocked(res.channel);
724 void setInputChannelLocked(InputChannel channel) { argument
725 if (mCurChannel != channel) {
734 mCurChannel = channel;
1179 setInputChannelLocked(res.channel);
1184 if (res.channel != null && res.channel !
[all...]
/frameworks/native/include/input/
H A DInputTransport.h25 * The InputPublisher and InputConsumer each handle one end-point of an input channel.
122 * An input channel consists of a local unix domain socket used to send and receive
123 * input messages across processes. Each channel has a descriptive name for debugging purposes.
127 * The input channel is closed when all references to it are released.
148 * If the channel is full then the message is guaranteed not to have been sent at all.
150 * consumed some of the pending messages from the channel.
153 * Returns WOULD_BLOCK if the channel is full.
154 * Returns DEAD_OBJECT if the channel's peer has been closed.
155 * Other errors probably indicate that the channel is broken.
166 * Returns DEAD_OBJECT if the channel'
[all...]
/frameworks/base/services/java/com/android/server/
H A DInputMethodManagerService.java208 InputChannel channel; field in class:InputMethodManagerService.SessionState
217 + " channel " + channel
226 channel = _channel;
571 InputChannel channel) {
574 mChannel = channel;
1097 session.channel != null ? session.channel.dup() : null, mCurId, mCurSeq);
1281 InputChannel channel) {
1288 method, session, channel);
570 MethodCallback(InputMethodManagerService imms, IInputMethod method, InputChannel channel) argument
1280 onSessionCreated(IInputMethod method, IInputMethodSession session, InputChannel channel) argument
[all...]
/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
420 // JETCreator channel numbers start at 1, but the index starts at 0
502 * @param channel 4 bit unsigned value
507 short segment, byte track, byte channel, byte controller, byte value);
506 onJetEvent(JetPlayer player, short segment, byte track, byte channel, byte controller, byte value) argument
/frameworks/native/libs/input/
H A DInputTransport.cpp10 // Log debug messages about channel messages (send message, receive message)
101 ALOGD("Input channel constructed: name='%s', fd=%d",
106 LOG_ALWAYS_FATAL_IF(result != 0, "channel '%s' ~ Could not make socket "
112 ALOGD("Input channel destroyed: name='%s', fd=%d",
124 ALOGE("channel '%s' ~ Could not create socket pair. errno=%d",
157 ALOGD("channel '%s' ~ error sending message of type %d, errno=%d", mName.string(),
171 ALOGD("channel '%s' ~ error sending message type %d, send was incomplete",
178 ALOGD("channel '%s' ~ sent message of type %d", mName.string(), msg->header.type);
192 ALOGD("channel '%s' ~ receive message failed, errno=%d", mName.string(), errno);
205 ALOGD("channel '
231 InputPublisher(const sp<InputChannel>& channel) argument
369 InputConsumer(const sp<InputChannel>& channel) argument
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp445 int32_t channel; local
446 CHECK(msg->findInt32("channel", &channel));
451 CHECK_LE(channel, 0xffu);
459 header[1] = channel;

Completed in 1565 milliseconds

12