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

12

/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/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/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/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.java1113 * @param channel RFCOMM channel to listen on
1116 * insufficient permissions, or channel in use.
1119 public BluetoothServerSocket listenUsingRfcommOn(int channel) throws IOException { argument
1121 BluetoothSocket.TYPE_RFCOMM, true, true, channel);
1138 * <p>The system will assign an unused RFCOMM channel to listen on.
1141 * UUID, service name, and auto-assigned channel. Remote Bluetooth devices
1142 * can use the same UUID to query our SDP server and discover which channel
1152 * insufficient permissions, or channel in use.
1166 * 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...]
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...]
/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/core/java/android/net/
H A DMobileDataStateTracker.java572 final AsyncChannel channel = mDataConnectionTrackerAc;
573 if (channel != null) {
574 channel.sendMessage(DctConstants.EVENT_SET_INTERNAL_DATA_ENABLE,
583 final AsyncChannel channel = mDataConnectionTrackerAc;
584 if (channel != null) {
585 channel.sendMessage(DctConstants.CMD_SET_USER_DATA_ENABLE,
595 final AsyncChannel channel = mDataConnectionTrackerAc;
596 if (channel != null) {
597 channel.sendMessage(DctConstants.CMD_SET_POLICY_DATA_ENABLE,
610 final AsyncChannel channel
[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/core/java/com/android/internal/view/
H A DIInputMethod.aidl45 void createSession(in InputChannel channel, IInputSessionCallback callback);
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/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/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...]
H A DInputDispatcher.h83 * including the window's input channel, control flags, a timeout, and an X / Y offset to
144 // The input channel to be targeted.
208 /* Notifies the system that an input channel is unrecoverably broken. */
331 /* Transfers touch focus from the window associated with one channel to the
332 * window associated with the other channel.
340 * If monitor is true, the channel will receive a copy of all input events.
356 * input channel becoming unregistered while identifying input targets or processing timeouts.
787 /* Manages the dispatch state associated with a single input channel. */
798 // The input channel has been unregistered.
883 // All registered connections mapped by channel fil
[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/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/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 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;
H A DWifiStateMachine.java422 * arg2 = csph (channel scans per hour)
835 public boolean syncPingSupplicant(AsyncChannel channel) { argument
836 Message resultMsg = channel.sendMessageSynchronously(CMD_PING_SUPPLICANT);
1409 public int syncAddOrUpdateNetwork(AsyncChannel channel, WifiConfiguration config) { argument
1410 Message resultMsg = channel.sendMessageSynchronously(CMD_ADD_OR_UPDATE_NETWORK, config);
1416 public List<WifiConfiguration> syncGetConfiguredNetworks(AsyncChannel channel) { argument
1417 Message resultMsg = channel.sendMessageSynchronously(CMD_GET_CONFIGURED_NETWORKS);
1428 public boolean syncRemoveNetwork(AsyncChannel channel, int networkId) { argument
1429 Message resultMsg = channel.sendMessageSynchronously(CMD_REMOVE_NETWORK, networkId);
1442 public boolean syncEnableNetwork(AsyncChannel channel, in argument
1456 syncDisableNetwork(AsyncChannel channel, int netId) argument
1601 syncSaveConfig(AsyncChannel channel) argument
[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/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/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;

Completed in 678 milliseconds

12