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

123

/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
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;
/frameworks/base/telephony/java/android/telephony/
H A DIccOpenLogicalChannelResponse.java28 * 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/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/bluetooth/
H A DBluetoothMasInstance.java29 public BluetoothMasInstance(int id, String name, int channel, int msgTypes) { argument
32 mChannel = channel;
H A DBluetoothAdapter.java459 * a ServerSocket that auto assigns a channel number to the first
461 * The channel number assigned to this first Bluetooth Socket will
1482 * @param channel RFCOMM channel to listen on
1485 * insufficient permissions, or channel in use.
1488 public BluetoothServerSocket listenUsingRfcommOn(int channel) throws IOException { argument
1489 return listenUsingRfcommOn(channel, false, false);
1500 * <p>To auto assign a channel without creating a SDP record use
1501 * {@link SOCKET_CHANNEL_AUTO_STATIC_NO_SDP} as channel number.
1502 * @param channel RFCOM
1510 listenUsingRfcommOn(int channel, boolean mitm, boolean min16DigitPin) argument
[all...]
H A DBluetoothDevice.java1330 * outgoing connection to this remote device on given channel.
1347 * @param channel RFCOMM channel to connect to
1353 public BluetoothSocket createRfcommSocket(int channel) throws IOException { argument
1358 return new BluetoothSocket(BluetoothSocket.TYPE_RFCOMM, -1, true, true, this, channel,
1364 * outgoing connection to this remote device on given channel.
1381 * @param channel L2cap PSM/channel to connect to
1387 public BluetoothSocket createL2capSocket(int channel) throws IOException { argument
1388 return new BluetoothSocket(BluetoothSocket.TYPE_L2CAP, -1, true, true, this, channel,
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerCCDecoder.cpp37 bool getChannel(size_t *channel) const {
39 *channel = (mData1 >= 0x18 ? 1 : 0) + (mType ? 2 : 0);
140 //CC1, field 0 channel 0
181 int32_t NuPlayer::CCDecoder::getTrackIndex(size_t channel) const {
182 if (channel < sizeof(mTrackIndices)/sizeof(mTrackIndices[0])) {
183 return mTrackIndices[channel];
290 size_t channel; local
291 if (cc.getChannel(&channel) && getTrackIndex(channel) < 0) {
292 mTrackIndices[channel]
328 size_t channel; 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/radio/
H A DIRadio.cpp148 virtual status_t tune(unsigned int channel, unsigned int subChannel) argument
152 data.writeInt32(channel);
291 unsigned int channel = (unsigned int)data.readInt32(); local
293 status_t status = tune(channel, subChannel);
H A DRadio.cpp198 status_t Radio::tune(unsigned int channel, unsigned int subChannel) argument
204 return mIRadio->tune(channel, subChannel);
/frameworks/base/core/java/android/hardware/radio/
H A DRadioModule.java73 public native int tune(int channel, int subChannel); argument
H A DRadioTuner.java116 * 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
H A DRadioManager.java374 * @return the channel spacing.
695 * @return the channel spacing.
1104 ProgramInfo(int channel, int subChannel, boolean tuned, boolean stereo, argument
1106 mChannel = channel;
1115 /** Main channel expressed in units according to band type.
1117 * @return the program channel
1122 /** Sub channel ID. E.g 1 for HD radio HD1
1123 * @return the program sub channel
/frameworks/base/core/java/android/inputmethodservice/
H A DIInputMethodSessionWrapper.java62 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
H A DIInputMethodWrapper.java87 InputMethodSessionCallbackWrapper(Context context, InputChannel channel, argument
90 mChannel = channel;
273 public void createSession(InputChannel channel, IInputSessionCallback callback) { argument
275 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/base/media/java/android/media/tv/
H A DITvInputSessionWrapper.java75 InputChannel channel) {
78 mChannel = channel;
79 if (channel != null) {
80 mReceiver = new TvInputEventReceiver(channel, context.getMainLooper());
74 ITvInputSessionWrapper(Context context, TvInputService.Session sessionImpl, InputChannel channel) argument
/frameworks/av/services/radio/
H A DRadioService.cpp819 status_t RadioService::ModuleClient::tune(unsigned int channel, unsigned int subChannel) argument
825 status = (status_t)mTuner->tune(mTuner, channel, subChannel);
/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
422 // JETCreator channel numbers start at 1, but the index starts at 0
504 * @param channel 4 bit unsigned value
509 short segment, byte track, byte channel, byte controller, byte value);
508 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/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DUiccCard.java499 public void iccCloseLogicalChannel(int channel, Message response) { argument
500 loglocal("Close Logical Channel: " + channel);
501 mCi.iccCloseLogicalChannel(channel,
508 public void iccTransmitApduLogicalChannel(int channel, int cla, int command, argument
510 mCi.iccTransmitApduLogicalChannel(channel, cla, command, p1, p2, p3,
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp451 int32_t channel; local
452 CHECK(msg->findInt32("channel", &channel));
457 CHECK_LE(channel, 0xffu);
465 header[1] = channel;
/frameworks/base/core/jni/
H A Dandroid_hardware_Radio.cpp307 ALOGV("%s channel %d tuned %d", __FUNCTION__, nProgramInfo->channel, nProgramInfo->tuned);
310 nProgramInfo->channel, nProgramInfo->sub_channel,
510 ALOGV("%s RADIO_EVENT_TUNED channel %d", __FUNCTION__, event->info.channel);
698 android_hardware_Radio_tune(JNIEnv *env, jobject thiz, jint channel, jint subChannel) argument
705 status_t status = module->tune((unsigned int)channel, (unsigned int)subChannel);

Completed in 577 milliseconds

123