Home
last modified time | relevance | path

Searched refs:channel (Results 1 – 25 of 95) sorted by relevance

1234

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/
Dcolorspace.cpp30 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()
106 color_out.channel[kRed] = color_in.channel[kGreen]; in JNI_COLORSPACE_METHOD()
107 color_out.channel[kGreen] = color_in.channel[kBlue]; in JNI_COLORSPACE_METHOD()
108 color_out.channel[kBlue] = color_in.channel[kAlpha]; in JNI_COLORSPACE_METHOD()
109 color_out.channel[kAlpha] = color_in.channel[kRed]; in JNI_COLORSPACE_METHOD()
123 r = color_in.channel[kRed]; in JNI_COLORSPACE_METHOD()
[all …]
/frameworks/av/media/libmedia/
DSoundPool.cpp97 void SoundPool::addToRestartList(SoundChannel* channel) in addToRestartList() argument
101 mRestart.push_back(channel); in addToRestartList()
106 void SoundPool::addToStopList(SoundChannel* channel) in addToStopList() argument
110 mStop.push_back(channel); in addToStopList()
130 SoundChannel* channel; in run() local
133 channel = *iter; in run()
136 if (channel != 0) { in run()
138 channel->stop(); in run()
145 SoundChannel* channel; in run() local
148 channel = *iter; in run()
[all …]
/frameworks/base/core/java/com/android/internal/view/
DInputBindResult.java38 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/
DIMIDIMuteSolo.c22 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 …]
DIOutputMixExt.c214 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/wifi/java/android/net/wifi/
DWifiChannel.java75 WifiChannel channel = new WifiChannel();
76 channel.freqMHz = in.readInt();
77 channel.channelNum = in.readInt();
78 channel.isDFS = in.readInt() != 0;
79 return channel;
DBatchedScanSettings.java114 for (String channel : channelSet) { in channelSetIsValid()
116 int i = Integer.parseInt(channel); in channelSetIsValid()
119 if (channel.equals("A") || channel.equals("B")) continue; in channelSetIsValid()
214 for (String channel : channelSet) { in toString()
215 sb.append(" " + channel); in toString()
236 for (String channel : channelSet) dest.writeString(channel); in writeToParcel()
DScanSettings.java48 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/base/tests/RenderScriptTests/ShadersTest/res/raw/
Dvignette_fs.glsl23 int channel = int(floor(mod(gl_FragCoord.x, 3.0)));
24 lowp vec4 crt = vec4(r[channel], g[channel], b[channel], 1.0);
/frameworks/base/core/java/android/net/
DMobileDataStateTracker.java566 final AsyncChannel channel = mDataConnectionTrackerAc; in setInternalDataEnable() local
567 if (channel != null) { in setInternalDataEnable()
568 channel.sendMessage(DctConstants.EVENT_SET_INTERNAL_DATA_ENABLE, in setInternalDataEnable()
577 final AsyncChannel channel = mDataConnectionTrackerAc; in setUserDataEnable() local
578 if (channel != null) { in setUserDataEnable()
579 channel.sendMessage(DctConstants.CMD_SET_USER_DATA_ENABLE, in setUserDataEnable()
589 final AsyncChannel channel = mDataConnectionTrackerAc; in setPolicyDataEnable() local
590 if (channel != null) { in setPolicyDataEnable()
591 channel.sendMessage(DctConstants.CMD_SET_POLICY_DATA_ENABLE, in setPolicyDataEnable()
604 final AsyncChannel channel = mDataConnectionTrackerAc; in setEnableFailFastMobileData() local
[all …]
/frameworks/opt/net/wifi/service/tools/halutil/
Dhalutil.cpp202 printMsg("%d\t", result.channel); in printScanResult()
214 printMsg("%d\t", result.channel); in printSignificantChangeResult()
339 params.buckets[0].channels[i].channel = channel_list[i]; in startScan()
358 params.buckets[0].channels[0].channel = 2412; in startScan()
359 params.buckets[0].channels[1].channel = 2437; in startScan()
368 params.buckets[1].channels[0].channel = 5180; in startScan()
369 params.buckets[1].channels[1].channel = 5200; in startScan()
370 params.buckets[1].channels[2].channel = 5220; in startScan()
371 params.buckets[1].channels[3].channel = 5745; in startScan()
372 params.buckets[1].channels[4].channel = 5765; in startScan()
[all …]
/frameworks/base/core/java/android/bluetooth/
DBluetoothSocket.java315 int channel = readInt(mSocketIS); in connect() local
316 if (channel <= 0) in connect()
318 mPort = channel; in connect()
367 int channel = readInt(mSocketIS); in bindListen() local
372 if (DBG) Log.d(TAG, "channel: " + channel); in bindListen()
374 mPort = channel; in bindListen()
498 int channel = bb.getInt(); in waitSocketSignal() local
502 + RemoteAddr + ", channel: " + channel + ", status: " + status); in waitSocketSignal()
DBluetoothMasInstance.java29 public BluetoothMasInstance(int id, String name, int channel, int msgTypes) { in BluetoothMasInstance() argument
32 mChannel = channel; in BluetoothMasInstance()
/frameworks/base/docs/html/training/tv/tif/
Dindex.jd18 Watching live television shows and other continuous, channel-based content is a big part of the
21 This framework provides a unified method for receiving audio and video channel content
29 displays them to a user. When a user selects a specific channel, the live TV app creates a
31 service to tune to the requested channel and play the content to a display surface provided by
/frameworks/wilhelm/src/android/util/
DAacAdtsExtractor.cpp106 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/telephony/java/android/telephony/
DIccOpenLogicalChannelResponse.java54 public IccOpenLogicalChannelResponse(int channel, int status, byte[] selectResponse) { in IccOpenLogicalChannelResponse() argument
55 mChannel = channel; in IccOpenLogicalChannelResponse()
/frameworks/native/libs/gui/
DIDisplayEventConnection.cpp79 sp<BitTube> channel(getDataChannel()); in onTransact() local
80 channel->writeToParcel(reply); in onTransact()
DISensorEventConnection.cpp98 sp<BitTube> channel(getSensorChannel()); in onTransact() local
99 channel->writeToParcel(reply); in onTransact()
/frameworks/av/include/media/
DSoundPool.h192 void done_l(SoundChannel* channel);
206 void moveToFront_l(SoundChannel* channel);
211 void addToRestartList(SoundChannel* channel);
212 void addToStopList(SoundChannel* channel);
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodSessionWrapper.java62 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()
DIInputMethodWrapper.java87 InputMethodSessionCallbackWrapper(Context context, InputChannel channel, in InputMethodSessionCallbackWrapper() argument
90 mChannel = channel; in InputMethodSessionCallbackWrapper()
273 public void createSession(InputChannel channel, IInputSessionCallback callback) { in createSession() argument
275 channel, callback)); in createSession()
/frameworks/base/media/java/android/media/tv/
DITvInputSessionWrapper.java67 InputChannel channel) { in ITvInputSessionWrapper() argument
70 mChannel = channel; in ITvInputSessionWrapper()
71 if (channel != null) { in ITvInputSessionWrapper()
72 mReceiver = new TvInputEventReceiver(channel, context.getMainLooper()); in ITvInputSessionWrapper()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DNuPlayerDecoder.cpp779 bool getChannel(size_t *channel) const { in getChannel()
781 *channel = (mData1 >= 0x18 ? 1 : 0) + (mType ? 2 : 0); in getChannel()
922 int32_t NuPlayer::CCDecoder::getTrackIndex(size_t channel) const { in getTrackIndex()
923 if (channel < sizeof(mTrackIndices)/sizeof(mTrackIndices[0])) { in getTrackIndex()
924 return mTrackIndices[channel]; in getTrackIndex()
1003 size_t channel; in extractFromSEI() local
1004 if (cc.getChannel(&channel) && getTrackIndex(channel) < 0) { in extractFromSEI()
1005 mTrackIndices[channel] = mFoundChannels.size(); in extractFromSEI()
1006 mFoundChannels.push_back(channel); in extractFromSEI()
1042 size_t channel; in filterCCBuf() local
[all …]
/frameworks/opt/net/wifi/service/jni/
Dcom_android_server_wifi_WifiNative.cpp189 setIntField(env, scanResult, "frequency", result->channel); in createScanResult()
387 jobject channel = getObjectArrayField(env, bucket, "channels", channel_array_type, j); in android_net_wifi_startScan() local
389 params.buckets[i].channels[j].channel = getIntField(env, channel, "frequency"); in android_net_wifi_startScan()
390 params.buckets[i].channels[j].dwellTimeMs = getIntField(env, channel, "dwell_time_ms"); in android_net_wifi_startScan()
392 bool passive = getBoolField(env, channel, "passive"); in android_net_wifi_startScan()
395 ALOGD("Initialized channel %d", params.buckets[i].channels[j].channel); in android_net_wifi_startScan()
458 setIntField(env, scanResult, "frequency", results[i].channel); in android_net_wifi_getScanResults()
590 setIntField(env, scanResult, "frequency", results[i].channel); in onHotlistApFound()
704 setIntField(env, scanResult, "frequency", result.channel); in onSignificantWifiChange()
965 config.channel.center_freq = getIntField(env, param, "frequency"); in android_net_wifi_requestRange()
[all …]
/frameworks/base/services/core/java/com/android/server/
DPersistentDataBlockService.java261 FileChannel channel = outputStream.getChannel();
263 channel.position(getBlockDeviceSize() - 1);
270 channel.write(data);

1234