/external/webrtc/webrtc/modules/audio_coding/neteq/tools/ |
neteq_quality_test.cc | 247 NetEq::Config config; local 248 config.sample_rate_hz = out_sampling_khz_ * 1000; 249 neteq_.reset(NetEq::Create(config));
|
/external/webrtc/webrtc/modules/audio_processing/ |
echo_cancellation_impl.cc | 445 void EchoCancellationImpl::SetExtraOptions(const Config& config) { 448 extended_filter_enabled_ = config.Get<ExtendedFilter>().enabled; 449 delay_agnostic_enabled_ = config.Get<DelayAgnostic>().enabled; 478 AecConfig config; local 479 config.metricsMode = metrics_enabled_; 480 config.nlpMode = MapSetting(suppression_level_); 481 config.skewMode = drift_compensation_enabled_; 482 config.delay_logging = delay_logging_enabled_; 489 return WebRtcAec_set_config(static_cast<Handle*>(handle), config); [all...] |
gain_control_impl.cc | 423 WebRtcAgcConfig config; local 427 //config.targetLevelDbfs = static_cast<int16_t>(-target_level_dbfs_); 428 config.targetLevelDbfs = static_cast<int16_t>(target_level_dbfs_); 429 config.compressionGaindB = 431 config.limiterEnable = limiter_enabled_; 433 return WebRtcAgc_set_config(static_cast<Handle*>(handle), config);
|
/external/webrtc/webrtc/modules/audio_processing/test/ |
debug_dump_test.cc | 32 const StreamConfig& config) { 34 if (!buffer_ref.get() || buffer_ref->num_frames() != config.num_frames() || 35 buffer_ref->num_channels() != config.num_channels()) { 36 buffer_ref.reset(new ChannelBuffer<float>(config.num_frames(), 37 config.num_channels())); 49 const Config& config, 53 explicit DebugDumpGenerator(const Config& config); 85 const StreamConfig& config, 384 Config config; local 472 Config config; local 481 Config config; local 498 Config config; local 510 Config config; local 522 Config config; local 536 Config config; local 551 Config config; local 574 Config config; local 588 Config config; local 602 Config config; local [all...] |
/external/webrtc/webrtc/p2p/base/ |
transportcontroller_unittest.cc | 139 cricket::IceConfig config; local 140 config.receiving_timeout_ms = receiving_timeout_ms; 141 config.gather_continually = gather_continually; 142 return config;
|
/external/wpa_supplicant_8/src/eap_peer/ |
eap_tnc.c | 39 struct eap_peer_config *config = eap_get_config(sm); local 45 if (config && config->fragment_size) 46 data->fragment_size = config->fragment_size;
|
/external/wpa_supplicant_8/wpa_supplicant/ |
main_winsvc.c | 12 * 'adapter' and 'config' values. 66 TCHAR adapter[TBUFLEN], config[TBUFLEN], ctrl_interface[TBUFLEN]; local 103 buflen = sizeof(config); 104 ret = RegQueryValueEx(hk, TEXT("config"), NULL, NULL, 105 (LPBYTE) config, &buflen); 107 config[sizeof(config) - 1] = '\0'; 108 wpa_unicode2ascii_inplace(config); 109 printf("config[len=%d] '%s'\n", 110 (int) buflen, (char *) config); [all...] |
/frameworks/av/media/libeffects/testlibs/ |
EffectEqualizer.cpp | 108 effect_config_t config; member in struct:android::__anon28794::EqualizerContext 247 pContext->config = *pConfig; 275 *pConfig = pContext->config; 304 pContext->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ; 305 pContext->config.inputCfg.channels = AUDIO_CHANNEL_OUT_STEREO; 306 pContext->config.inputCfg.format = AUDIO_FORMAT_PCM_16_BIT; 307 pContext->config.inputCfg.samplingRate = 44100; 308 pContext->config.inputCfg.bufferProvider.getBuffer = NULL; 309 pContext->config.inputCfg.bufferProvider.releaseBuffer = NULL; 310 pContext->config.inputCfg.bufferProvider.cookie = NULL [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
APacketSource.cpp | 225 CHECK(GetAttribute(params, "config", &val)); 227 sp<ABuffer> config = decodeHex(val); local 228 CHECK(config != NULL); 229 CHECK_GE(config->size(), 4u); 231 const uint8_t *data = config->data(); 273 CHECK(GetAttribute(params, "config", &val)); 275 sp<ABuffer> config = decodeHex(val); local 276 CHECK(config != NULL); 280 CHECK_LT(20 + config->size(), 128u); 297 sp<ABuffer> csd = new ABuffer(sizeof(kStaticESDS) + config->size()) 370 sp<ABuffer> config = decodeHex(val); local [all...] |
/frameworks/av/media/libstagefright/wifi-display/ |
VideoFormats.cpp | 281 const config_t *config = &mResolutionTable[type][index]; local 283 if (config->width == 0) { 288 *width = config->width; 292 *height = config->height; 296 *framesPerSecond = config->framesPerSecond; 300 *interlaced = config->interlaced;
|
/frameworks/av/radio/ |
IRadio.cpp | 60 virtual status_t setConfiguration(const struct radio_band_config *config) 63 if (config == NULL) { 67 data.write(config, sizeof(struct radio_band_config)); 75 virtual status_t getConfiguration(struct radio_band_config *config) 78 if (config == NULL) { 86 reply.read(config, sizeof(struct radio_band_config)); 240 struct radio_band_config config; local 241 data.read(&config, sizeof(struct radio_band_config)); 242 status_t status = setConfiguration(&config); 248 struct radio_band_config config; local [all...] |
/frameworks/av/services/audioflinger/ |
PatchPanel.cpp | 103 status_t AudioFlinger::setAudioPortConfig(const struct audio_port_config *config) 107 return mPatchPanel->setAudioPortConfig(config); 273 audio_config_t config = AUDIO_CONFIG_INITIALIZER; local 280 &config, 293 audio_config_t config = AUDIO_CONFIG_INITIALIZER; local 297 config.sample_rate = patch->sources[0].sample_rate; 299 config.sample_rate = newPatch->mPlaybackThread->sampleRate(); 302 config.channel_mask = patch->sources[0].channel_mask; 304 config.channel_mask = 308 config.format = patch->sources[0].format [all...] |
/frameworks/av/services/mediaresourcemanager/ |
ResourceManagerService.cpp | 183 void ResourceManagerService::config(const Vector<MediaResourcePolicy> &policies) { function in class:android::ResourceManagerService 184 String8 log = String8::format("config(%s)", getString(policies).string());
|
/frameworks/base/core/java/com/android/internal/policy/ |
PhoneFallbackEventHandler.java | 171 Configuration config = mContext.getResources().getConfiguration(); local 172 if (config.keyboard == Configuration.KEYBOARD_NOKEYS 173 || config.hardKeyboardHidden == Configuration.HARDKEYBOARDHIDDEN_YES) {
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
WifiClientTest.java | 116 WifiConfiguration config = new WifiConfiguration(); local 117 config.SSID = "\"TestSSID1\""; 118 config.allowedKeyManagement.set(KeyMgmt.NONE); 121 int netId = mWifiManager.addNetwork(config); 124 //check config list 128 if (c.networkId == netId && c.SSID.equals(config.SSID)) { 138 //check config list 153 WifiConfiguration config = new WifiConfiguration(); local 154 config.SSID = "\"TestSSID2\""; 155 config.allowedKeyManagement.set(KeyMgmt.NONE) 203 WifiConfiguration config = new WifiConfiguration(); local [all...] |
/frameworks/base/graphics/java/android/graphics/ |
FontListParser.java | 31 * Parser for font config files. 37 public static class Config { 38 Config() { 91 public static Config parse(InputStream in) throws XmlPullParserException, IOException { 102 private static Config readFamilies(XmlPullParser parser) 104 Config config = new Config(); local 110 config.families.add(readFamily(parser)); 112 config.aliases.add(readAlias(parser)) [all...] |
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/ |
BitmapTest.java | 27 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); 28 Bitmap bm2 = Bitmap.createBitmap(100, 200, Bitmap.Config.RGB_565); 29 Bitmap bm3 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_4444); 55 assertTrue("getConfig", bm1.getConfig() == Bitmap.Config.ARGB_8888); 56 assertTrue("getConfig", bm2.getConfig() == Bitmap.Config.RGB_565); 57 assertTrue("getConfig", bm3.getConfig() == Bitmap.Config.ARGB_4444); 62 Bitmap bm1 = Bitmap.createBitmap(100, 200, Bitmap.Config.ARGB_8888); 64 Bitmap.Config.ARGB_8888); 87 Bitmap.Config.ARGB_8888); 112 Bitmap bm = Bitmap.createBitmap(colors, 10, 10, Bitmap.Config.RGB_565) 129 Bitmap.Config config = Bitmap.Config.ARGB_8888; local 155 Bitmap.Config config = Bitmap.Config.RGB_565; local 185 Bitmap.Config config = Bitmap.Config.ARGB_8888; local [all...] |
/frameworks/base/media/jni/ |
android_media_MediaMetadataRetriever.cpp | 272 jobject config = env->CallStaticObjectMethod( local 293 config); 429 "(IILandroid/graphics/Bitmap$Config;)" 442 jclass configClazz = env->FindClass("android/graphics/Bitmap$Config"); 452 "(I)Landroid/graphics/Bitmap$Config;");
|
/frameworks/base/media/mca/filterfw/native/core/ |
gl_env.cpp | 142 EGLConfig config; local 146 // TODO: Currently choosing the config that includes all 158 eglChooseConfig(display(), configAttribs, &config, 1, &numConfigs); local 172 surfaces_[0] = SurfaceWindowPair(eglCreateWindowSurface(display(), config, window_.get(), NULL), NULL); 178 config,
|
/frameworks/base/native/android/ |
configuration.cpp | 27 AConfiguration* config = new AConfiguration; local 28 memset(config, 0, sizeof(AConfiguration)); 29 return config; 32 void AConfiguration_delete(AConfiguration* config) { 33 delete config; 44 int32_t AConfiguration_getMcc(AConfiguration* config) { 45 return config->mcc; 48 int32_t AConfiguration_getMnc(AConfiguration* config) { 49 return config->mnc; 52 void AConfiguration_getLanguage(AConfiguration* config, char* outLanguage) [all...] |
/frameworks/base/packages/PrintRecommendationService/src/com/android/printservice/recommendation/plugin/mdnsFilter/ |
VendorConfig.java | 53 /** Map from vendor name to config. Initialized on first {@link #getConfig use}. */ 79 * @param name The name of the config to read 81 * @return the config for the vendor or null if not found 207 * @return An map pointing from vendor name to config 232 VendorConfig config = configs.get(i); local 234 configMap.put(config.name, config); 248 * @return A config 305 // A vendor config should be immutable
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
AccessPointPreference.java | 138 WifiConfiguration config = mAccessPoint.getConfig(); local 139 if (config != null) { 143 mBadge = mBadgeCache.getUserBadge(config.creatorUid);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
ScreenPinningRequest.java | 196 Configuration config = mContext.getResources().getConfiguration(); local 197 return config.orientation == Configuration.ORIENTATION_LANDSCAPE 198 && config.smallestScreenWidthDp < 600;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/views/ |
RecentsTvView.java | 99 RecentsConfiguration config = Recents.getConfiguration(); local 100 RecentsActivityLaunchState launchState = config.getLaunchState();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
RecentsViewTouchHandler.java | 115 RecentsConfiguration config = Recents.getConfiguration(); local 116 if (config.isLargeScreen) {
|