/external/sl4a/Utils/src/com/googlecode/android_scripting/ |
Log.java | 55 NotificationChannel channel = new NotificationChannel(CHANNEL_ID, name, importance); local 56 channel.setDescription(description); 57 channel.enableLights(false); 58 channel.enableVibration(false); 59 notificationManager.createNotificationChannel(channel);
|
/external/sonivox/arm-wt-22k/lib_src/ |
eas_midi.c | 234 EAS_U8 channel; local 236 channel = pMIDIStream->status & 0x0f; 243 VMStopNote(pEASData->pVoiceMgr, pSynth, channel, pMIDIStream->d1, pMIDIStream->d2); 253 VMStartNote(pEASData->pVoiceMgr, pSynth, channel, pMIDIStream->d1, pMIDIStream->d2); 260 VMStopNote(pEASData->pVoiceMgr, pSynth, channel, pMIDIStream->d1, pMIDIStream->d2); 273 VMControlChange(pEASData->pVoiceMgr, pSynth, channel, pMIDIStream->d1, pMIDIStream->d2); 278 channel, pMIDIStream->d1, pMIDIStream->d2); 287 VMProgramChange(pEASData->pVoiceMgr, pSynth, channel, pMIDIStream->d1); 294 VMChannelPressure(pSynth, channel, pMIDIStream->d1); 301 VMPitchBend(pSynth, channel, pMIDIStream->d1, pMIDIStream->d2) [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
bias_op.cc | 46 int32* channel) { 50 *channel = 1; 53 *channel = static_cast<int32>(value_tensor.dim_size(channel_dim)); 61 *channel = static_cast<int32>(value_tensor.dim_size(channel_dim)); 134 int32 batch, height, width, channel; variable 135 GetBiasValueDims(input, data_format_, &batch, &height, &width, &channel); 136 Eigen::DSizes<int32, 4> four_dims(1, channel, 1, 1); 231 int32 batch, height, width, channel; variable 233 &channel); 235 TensorShape output_shape{channel}; 331 int32 batch, height, width, channel; variable 387 int32 batch, height, width, channel; variable [all...] |
/external/tensorflow/tensorflow/core/lib/gif/ |
gif_io.cc | 88 const int channel = 3; local 90 uint8* const dstdata = allocate_output(num_frames, width, height, channel); 93 uint8* this_dst = dstdata + k * width * channel * height; 117 uint8* last_dst = dstdata + (k - 1) * width * channel * height; 119 uint8* p_dst = this_dst + i * width * channel; 120 uint8* l_dst = last_dst + i * width * channel; 122 p_dst[j * channel + 0] = l_dst[j * channel + 0]; 123 p_dst[j * channel + 1] = l_dst[j * channel + 1] [all...] |
/external/webp/src/dsp/ |
rescaler.c | 32 int channel; local 35 for (channel = 0; channel < x_stride; ++channel) { 36 int x_in = channel; 37 int x_out = channel; 64 int channel; local 67 for (channel = 0; channel < x_stride; ++channel) { [all...] |
rescaler_mips32.c | 32 int channel; local 36 for (channel = 0; channel < x_stride; ++channel) { 37 const uint8_t* src1 = src + channel; 38 rescaler_t* frow = wrk->frow + channel; 42 int loop_c = x_out_max - channel; 92 int channel; local 96 for (channel = 0; channel < x_stride; ++channel) [all...] |
/external/webrtc/webrtc/p2p/base/ |
transport.cc | 166 TransportChannelImpl* channel; local 172 channel = CreateTransportChannel(component); 173 channels_.insert(std::pair<int, TransportChannelImpl*>(component, channel)); 175 channel = iter->second; 182 // If this is an existing channel, we should just return it. 183 return channel; 186 // Push down our transport state to the new channel. 187 channel->SetIceRole(ice_role_); 188 channel->SetIceTiebreaker(tiebreaker_); 189 channel->SetIceConfig(ice_config_) 305 TransportChannelImpl* channel = kv.second; local 334 TransportChannelImpl* channel = GetChannel(candidate.component()); local [all...] |
/external/webrtc/webrtc/voice_engine/ |
channel_proxy.cc | 17 #include "webrtc/voice_engine/channel.h" 25 RTC_CHECK(channel_owner_.channel()); 31 channel()->SetRTCPStatus(enable); 36 int error = channel()->SetLocalSSRC(ssrc); 44 int error = channel()->SetRTCP_CNAME(c_name_limited.c_str()); 50 int error = channel()->SetSendAbsoluteSenderTimeStatus(enable, id); 56 int error = channel()->SetSendAudioLevelIndicationStatus(enable, id); 62 channel()->EnableSendTransportSequenceNumber(id); 67 int error = channel()->SetReceiveAbsoluteSenderTimeStatus(enable, id); 73 int error = channel()->SetReceiveAudioLevelIndicationStatus(enable, id) 147 Channel* ChannelProxy::channel() const { function in class:webrtc::voe::ChannelProxy [all...] |
/external/webrtc/webrtc/voice_engine/test/auto_test/fixtures/ |
after_initialization_fixture.h | 30 LoopBackTransport(webrtc::VoENetwork* voe_network, int channel) 34 channel_(channel), 64 void AddChannel(uint32_t ssrc, int channel) { 66 channels_[ssrc] = channel; 111 int channel = channel_; local 123 channel = channels_[ssrc]; 134 voe_network_->ReceivedRTPPacket(channel, p.data, p.len, 138 voe_network_->ReceivedRTCPPacket(channel, p.data, p.len);
|
/external/wpa_supplicant_8/src/ap/ |
ieee802_11_vht.c | 88 * which is channel 42 in 5G band 98 * Convert 160 MHz channel width to new style as interop 104 if (hapd->iconf->channel < 111 * Convert 80+80 MHz channel width to new style as interop 172 if (!hapd->cs_freq_params.channel || 209 *eid++ = 5; /* Length of Channel Switch Wrapper */ 211 *eid++ = 3; /* Length of Wide Bandwidth Channel Switch element */ 212 *eid++ = bw; /* New Channel Width */ 213 *eid++ = chan1; /* New Channel Center Frequency Segment 0 */ 214 *eid++ = chan2; /* New Channel Center Frequency Segment 1 * 227 u8 channel, tx_pwr_count, local_pwr_constraint; local [all...] |
/external/wpa_supplicant_8/src/p2p/ |
p2p_invitation.c | 112 u8 reg_class, u8 channel, 153 if (reg_class && channel) 155 reg_class, channel); 185 u8 reg_class = 0, channel = 0; local 278 if (p2p_freq_to_channel(op_freq, ®_class, &channel) < 0) { 285 if (!p2p_channels_includes(&intersection, reg_class, channel)) 296 p2p_dbg(p2p, "No forced channel from invitation processing - figure out best one to use"); 301 p2p_dbg(p2p, "Own default op_class %d channel %d", 310 p2p_dbg(p2p, "Peer operating channel preference: %d MHz", 318 p2p_dbg(p2p, "Use peer preference op_class %d channel %d" [all...] |
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
BadgeExtractorTest.java | 65 NotificationChannel channel = new NotificationChannel("a", "a", importanceHigh); local 66 channel.setShowBadge(showBadge); 67 when(mConfig.getNotificationChannel(mPkg, mUid, "a", false)).thenReturn(channel); 78 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel);
|
ImportanceExtractorTest.java | 63 private NotificationRecord getNotificationRecord(NotificationChannel channel) { 73 NotificationRecord r = new NotificationRecord(getContext(), sbn, channel); 88 NotificationChannel channel = local 91 NotificationRecord r = getNotificationRecord(channel); 107 NotificationChannel channel = local 110 NotificationRecord r = getNotificationRecord(channel);
|
/frameworks/native/libs/vr/libpdx/ |
service_tests.cpp | 11 using android::pdx::Channel; 90 MOCK_METHOD1(OnChannelOpen, std::shared_ptr<Channel>(Message& message)); 92 void(Message& message, const std::shared_ptr<Channel>& channel)); 123 info->channel = nullptr; 172 auto test_channel = std::make_shared<Channel>(); 173 info.channel = test_channel.get(); 200 auto test_channel = std::make_shared<Channel>(); 201 info.channel = test_channel.get(); 224 auto channel = std::make_shared<Channel>() local 238 auto channel = std::make_shared<Channel>(); local 770 std::shared_ptr<Channel> channel; local 782 std::shared_ptr<Channel> channel; local 802 std::shared_ptr<Channel> channel; local [all...] |
/frameworks/native/services/vr/bufferhubd/ |
producer_channel.cpp | 262 "ProducerChannel::CreateConsumer: Failed to push consumer channel: %s", 285 "ProducerChannel::CreateConsumer: failed to set new consumer channel: " 366 ALOGE("ProducerChanneL::OnGain: Already in gained state: channel=%d", 407 "channel: %s", 418 std::unique_ptr<DetachedBufferChannel> channel = local 422 if (!channel) { 428 service()->SetChannel(channel_id, std::move(channel)); 430 // Technically, this should never fail, as we just pushed the channel. Note 434 "channel: %s.", 528 void ProducerChannel::OnConsumerOrphaned(ConsumerChannel* channel) { [all...] |
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/ |
ApConfigUtilTest.java | 47 * Frequency to channel map. This include some frequencies used outside the US. 120 * Verify frequency to channel conversion for all possible frequencies. 132 * Verify frequency to channel conversion failed for an invalid frequency. 140 * Verify default channel is used when picking a 2G channel without 150 * Verify a 2G channel is selected from the list of allowed channels. 154 int channel = ApConfigUtil.chooseApChannel( local 156 assertTrue(mAllowed2GChannels.contains(channel)); 160 * Verify a 5G channel is selected from the list of allowed channels. 164 int channel = ApConfigUtil.chooseApChannel local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
VoicemailNotificationSettingsUtil.java | 55 final NotificationChannel channel = NotificationChannelController.getChannel( local 57 return (channel != null) ? channel.shouldVibrate() : getVibrationPreference(context); 76 final NotificationChannel channel = NotificationChannelController.getChannel( local 78 return (channel != null) ? channel.getSound() : getRingTonePreference(context);
|
/frameworks/support/compat/src/main/java/androidx/core/graphics/ |
TypefaceCompatUtil.java | 83 FileChannel channel = fis.getChannel(); local 84 final long size = channel.size(); 85 return channel.map(FileChannel.MapMode.READ_ONLY, 0, size); 103 FileChannel channel = fis.getChannel(); local 104 final long size = channel.size(); 105 return channel.map(FileChannel.MapMode.READ_ONLY, 0, size);
|
/frameworks/support/webkit/src/androidTest/java/androidx/webkit/ |
PostMessageTest.java | 73 // Acks each received message from the message channel with a seq number. 149 // Create a message channel and make sure it can be used for data transfer to/from js. 156 final WebMessagePortCompat[] channel = mOnUiThread.createWebMessageChannelCompat(); local 158 new WebMessageCompat(WEBVIEW_MESSAGE, new WebMessagePortCompat[]{channel[1]}); 166 channel[0].postMessage(new WebMessageCompat(WEBVIEW_MESSAGE + i)); 168 channel[0].setWebMessageCallback(new WebMessageCallbackCompat() { 189 final WebMessagePortCompat[] channel = mOnUiThread.createWebMessageChannelCompat(); local 191 new WebMessageCompat(WEBVIEW_MESSAGE, new WebMessagePortCompat[]{channel[1]}); 197 channel[0].close(); 198 channel[0].postMessage(new WebMessageCompat(WEBVIEW_MESSAGE)) 234 final WebMessagePortCompat[] channel = mOnUiThread.createWebMessageChannelCompat(); local [all...] |
/frameworks/wilhelm/src/android/util/ |
AacAdtsExtractor.cpp | 108 uint8_t profile, sf_index, channel, header[2]; local 123 channel = (header[0] & 0x1) << 2 | (header[1] >> 6); 125 SL_LOGV("AacAdtsExtractor has found sr=%d channel=%d", sr, channel); 128 MakeAACCodecSpecificData(*mMeta, profile, sf_index, channel);
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
tdls.h | 28 int channel; /* channel hint, in channel number (NOT frequency ) */ member in struct:__anon48446 35 int channel; member in struct:__anon48447
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
mm_qcamera_snapshot.c | 268 mm_camera_channel_t *channel = NULL; local 280 /* find channel */ 283 channel = &pme->channels[i]; 288 if (NULL == channel) { 289 LOGE(" Channel object is null"); 294 for (i = 0; i < channel->num_streams; i++) { 295 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { 296 p_stream = &channel->streams[i]; 354 mm_camera_channel_t *channel = NULL; local 360 /* find channel */ 422 mm_camera_channel_t *channel = NULL; local 532 mm_camera_channel_t *channel = NULL; local 616 mm_camera_channel_t *channel = NULL; local 688 mm_camera_channel_t *channel = NULL; local [all...] |
mm_qcamera_video.c | 38 mm_camera_channel_t *channel = NULL; local 50 /* find channel */ 53 channel = &pme->channels[i]; 58 if (NULL == channel) { 59 LOGE("Channel object is NULL "); 64 for (i = 0; i < channel->num_streams; i++) { 65 if (channel->streams[i].s_config.stream_info->stream_type == CAM_STREAM_TYPE_METADATA) { 66 p_stream = &channel->streams[i]; 128 mm_camera_channel_t *channel = NULL; local 134 /* find channel */ 242 mm_camera_channel_t *channel = NULL; local 538 mm_camera_channel_t *channel = NULL; local [all...] |
/libcore/ojluni/src/main/java/sun/nio/ch/ |
FileLockTable.java | 40 * Creates and returns a file lock table for a channel that is connected to 43 public static FileLockTable newSharedFileLockTable(Channel channel, 47 return new SharedFileLockTable(channel, fd); 113 private final Channel channel; field in class:SharedFileLockTable 115 // File key for the file that this channel is connected to 118 SharedFileLockTable(Channel channel, FileDescriptor fd) throws IOException { 119 this.channel = channel [all...] |
MembershipKeyImpl.java | 146 // delegate to channel 151 public MulticastChannel channel() { method in class:MembershipKeyImpl
|