Searched defs:channel (Results 1 - 19 of 19) sorted by relevance

/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;
/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/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/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/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/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/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/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/gui/tests/
H A DCpuConsumer_test.cpp173 // GRBG Bayer mosaic; only check the matching channel
245 inline uint8_t chooseColorRgba8888(int blockX, int blockY, uint8_t channel) { argument
248 % (colorVariations) == channel ? 191: 63;
/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;
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothAdapter.java933 * @param channel RFCOMM channel to listen on
936 * insufficient permissions, or channel in use.
939 public BluetoothServerSocket listenUsingRfcommOn(int channel) throws IOException { argument
941 BluetoothSocket.TYPE_RFCOMM, true, true, channel);
958 * <p>The system will assign an unused RFCOMM channel to listen on.
961 * UUID, service name, and auto-assigned channel. Remote Bluetooth devices
962 * can use the same UUID to query our SDP server and discover which channel
972 * insufficient permissions, or channel in use.
986 * encrypted and authenticated communication channel i
[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/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/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/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/services/input/
H A DInputDispatcher.cpp929 ALOGD("Dropping event delivery to target with channel '%s' because it "
1772 ALOGD("channel '%s' ~ prepareDispatchCycle - flags=0x%08x, "
1784 ALOGD("channel '%s' ~ Dropping event because the channel status is %s",
1802 ALOGD("channel '%s' ~ Split motion event.",
1866 ALOGD("channel '%s' ~ enqueueDispatchEntryLocked: skipping inconsistent key event",
1894 ALOGD("channel '%s' ~ enqueueDispatchEntryLocked: filling in missing hover enter event",
1908 ALOGD("channel '%s' ~ enqueueDispatchEntryLocked: skipping inconsistent motion event",
1931 ALOGD("channel '%s' ~ startDispatchCycle",
2013 ALOGE("channel '
2173 synthesizeCancelationEventsForInputChannelLocked( const sp<InputChannel>& channel, const CancelationOptions& options) argument
3154 const sp<InputChannel>& channel = mMonitoringChannels[i]; local
[all...]
/frameworks/base/wifi/java/android/net/wifi/
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...]

Completed in 543 milliseconds