/cts/tests/tests/content/src/android/content/res/cts/ |
ConfigTest.java | 201 TotalConfig config = new TotalConfig(); local 202 config.setProperty(Properties.LANGUAGE, "en"); 203 config.setProperty(Properties.COUNTRY, "US"); 204 config.setProperty(Properties.MCC, 310); 205 config.setProperty(Properties.MNC, 001); // unused 206 config.setProperty(Properties.TOUCHSCREEN, Configuration.TOUCHSCREEN_FINGER); 207 config.setProperty(Properties.KEYBOARD, Configuration.KEYBOARD_QWERTY); 208 config.setProperty(Properties.KEYBOARDHIDDEN, Configuration.KEYBOARDHIDDEN_YES); 209 config.setProperty(Properties.NAVIGATION, Configuration.NAVIGATION_TRACKBALL); 210 config.setProperty(Properties.ORIENTATION, Configuration.ORIENTATION_PORTRAIT) 243 TotalConfig config = makeEmptyConfig(); local 475 TotalConfig config = makeClassicConfig(); local 683 TotalConfig config = makeClassicConfig(); local 751 TotalConfig config = makeClassicConfig(); local 792 TotalConfig config = makeClassicConfig(); local 931 TotalConfig config = makeEmptyConfig(); local 1047 TotalConfig config = makeClassicConfig(); local 1202 TotalConfig config = makeClassicConfig(); local 1237 TotalConfig config = makeClassicConfig(); local 1302 TotalConfig config = makeClassicConfig(); local 1357 TotalConfig config = makeClassicConfig(); local [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
WifiNetworkHistory.java | 52 * This is largely separate and extra to the supplicant config file. 62 static final String CONFIG_KEY = "CONFIG"; 113 * Lost config list, whenever we read a config from networkHistory.txt that was not in 135 //for (WifiConfiguration config : mConfiguredNetworks.valuesForAllUsers()) { 136 // networks.add(new WifiConfiguration(config)); 141 for (WifiConfiguration config : networks) { 142 //loge("onWriteCalled write SSID: " + config.SSID); 143 /* if (config.getLinkProperties() != null) 144 loge(" lp " + config.getLinkProperties().toString()) 339 WifiConfiguration config = null; local [all...] |
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/ |
PasspointConfigurationTest.java | 148 PasspointConfiguration config = new PasspointConfiguration(); local 149 config.setHomeSp(createHomeSp()); 150 config.setCredential(createCredential()); 151 config.setPolicy(createPolicy()); 152 config.setSubscriptionUpdate(createSubscriptionUpdate()); 158 config.setTrustRootCertList(trustRootCertList); 159 config.setUpdateIdentifier(1); 160 config.setCredentialPriority(120); 161 config.setSubscriptionCreationTimeInMillis(231200); 162 config.setSubscriptionExpirationTimeInMillis(2134232) 214 PasspointConfiguration config = createConfig(); local 226 PasspointConfiguration config = createConfig(); local 238 PasspointConfiguration config = createConfig(); local 250 PasspointConfiguration config = createConfig(); local 263 PasspointConfiguration config = createConfig(); local 275 PasspointConfiguration config = new PasspointConfiguration(); local 286 PasspointConfiguration config = createConfig(); local 297 PasspointConfiguration config = createConfig(); local 309 PasspointConfiguration config = createConfig(); local 322 PasspointConfiguration config = createConfig(); local 335 PasspointConfiguration config = createConfig(); local 348 PasspointConfiguration config = createConfig(); local 370 PasspointConfiguration config = createConfig(); local [all...] |
/external/autotest/client/site_tests/kernel_ConfigVerifyPPP/ |
kernel_ConfigVerifyPPP.py | 23 # Load the list of kernel config variables. 24 config = kernel_config.KernelConfig() 25 config.initialize() 28 map(config.has_module, self.IS_MODULE) 31 if len(config.failures()): 32 raise error.TestFail((", ".join(config.failures())))
|
/frameworks/compile/mclinker/unittests/ |
ELFBinaryReaderTest.cpp | 44 LinkerConfig config; local 45 IRBuilder builder(module, config); 46 ELFBinaryReader* reader = new ELFBinaryReader(builder, config); 51 config.options().setBinaryInput(); 54 config.options().setBinaryInput(false);
|
/packages/apps/Dialer/java/com/android/voicemail/impl/protocol/ |
ProtocolHelper.java | 29 VisualVoicemailProtocol protocol, OmtpVvmCarrierConfigHelper config) { 31 int applicationPort = config.getApplicationPort(); 32 String destinationNumber = config.getDestinationNumber(); 39 config.getContext(), 40 config.getPhoneAccountHandle(),
|
/external/syslinux/com32/gpllib/zzjson/ |
zzjson_create.c | 14 #define ERROR(x...) config->error(config->ehandle, ##x) 18 static ZZJSON *zzjson_create_templ(ZZJSON_CONFIG *config, ZZJSON_TYPE type) { 19 ZZJSON *zzjson = config->calloc(1, sizeof(ZZJSON)); 25 ZZJSON *zzjson_create_true(ZZJSON_CONFIG *config) { 26 return zzjson_create_templ(config, ZZJSON_TRUE); 29 ZZJSON *zzjson_create_false(ZZJSON_CONFIG *config) { 30 return zzjson_create_templ(config, ZZJSON_FALSE); 33 ZZJSON *zzjson_create_null(ZZJSON_CONFIG *config) { 34 return zzjson_create_templ(config, ZZJSON_NULL) [all...] |
/external/curl/src/ |
tool_msgs.c | 36 static void voutf(struct GlobalConfig *config, 42 if(!config->mute) { 51 fputs(prefix, config->errors); 64 (void)fwrite(ptr, cut + 1, 1, config->errors); 65 fputs("\n", config->errors); 70 fputs(ptr, config->errors); 81 void notef(struct GlobalConfig *config, const char *fmt, ...) 85 if(config->tracetype) 86 voutf(config, NOTE_PREFIX, fmt, ap); 95 void warnf(struct GlobalConfig *config, const char *fmt, ... [all...] |
/external/f2fs-tools/mkfs/ |
f2fs_format_utils.c | 35 if (!config.trim) 39 range[1] = config.total_sectors * config.sector_size; 41 if (fstat(config.fd, &stat_buf) < 0 ) { 50 if (fallocate(config.fd, FALLOC_FL_PUNCH_HOLE | FALLOC_FL_KEEP_SIZE, 57 if (ioctl(config.fd, BLKDISCARD, &range) < 0) { 61 config.total_sectors);
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/ |
audio_encoder_isac_t_impl.h | 21 typename AudioEncoderIsacT<T>::Config CreateIsacConfig( 24 typename AudioEncoderIsacT<T>::Config config; local 25 config.bwinfo = bwinfo; 26 config.payload_type = codec_inst.pltype; 27 config.sample_rate_hz = codec_inst.plfreq; 28 config.frame_size_ms = 29 rtc::CheckedDivExact(1000 * codec_inst.pacsize, config.sample_rate_hz); 30 config.adaptive_mode = (codec_inst.rate == -1); 32 config.bit_rate = codec_inst.rate [all...] |
/external/webrtc/webrtc/modules/audio_coding/codecs/pcm16b/ |
audio_encoder_pcm16b.cc | 30 AudioEncoderPcm16B::Config CreateConfig(const CodecInst& codec_inst) { 31 AudioEncoderPcm16B::Config config; local 32 config.num_channels = codec_inst.channels; 33 config.sample_rate_hz = codec_inst.plfreq; 34 config.frame_size_ms = rtc::CheckedDivExact( 35 codec_inst.pacsize, rtc::CheckedDivExact(config.sample_rate_hz, 1000)); 36 config.payload_type = codec_inst.pltype; 37 return config; 41 bool AudioEncoderPcm16B::Config::IsOk() const [all...] |
/frameworks/native/include/android/ |
configuration.h | 485 void AConfiguration_delete(AConfiguration* config); 501 int32_t AConfiguration_getMcc(AConfiguration* config); 506 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc); 511 int32_t AConfiguration_getMnc(AConfiguration* config); 516 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc); 523 void AConfiguration_getLanguage(AConfiguration* config, char* outLanguage); 529 void AConfiguration_setLanguage(AConfiguration* config, const char* language); 536 void AConfiguration_getCountry(AConfiguration* config, char* outCountry); 542 void AConfiguration_setCountry(AConfiguration* config, const char* country); 547 int32_t AConfiguration_getOrientation(AConfiguration* config); [all...] |
/cts/tests/tests/telephony/src/android/telephony/cts/ |
CarrierConfigManagerTest.java | 57 private void checkConfig(PersistableBundle config) { 58 if (config == null) { 59 assertFalse("Config should only be null when telephony is not running.", hasTelephony()); 62 assertNotNull("CarrierConfigManager should not return null config", config); 65 assertEquals("Config doesn't match static default.", 66 config.getBoolean(CarrierConfigManager.KEY_ADDITIONAL_CALL_SETTING_BOOL), true); 69 config.getString(CarrierConfigManager.KEY_VVM_DESTINATION_NUMBER_STRING), ""); 71 config.getInt(CarrierConfigManager.KEY_VVM_PORT_NUMBER_INT), 0); 73 config.getString(CarrierConfigManager.KEY_VVM_TYPE_STRING), "") 85 PersistableBundle config = mConfigManager.getConfig(); local 90 PersistableBundle config = local [all...] |
/external/autotest/frontend/ |
database_settings_helper.py | 37 config = global_config.global_config variable 38 SHARD_HOSTNAME = config.get_config_value('SHARD', 'shard_hostname', 43 """Retrieves a config value for the specified key. 45 @param config_key: The string key associated with the desired config value. 46 @param section: Section of global config to read config. Default is set to 51 @return: The config value, as returned by 54 return config.get_config_value(section, config_key, **kwargs) 57 def _get_global_config(config_key, default=config._NO_DEFAULT_SPECIFIED, 59 """Retrieves a global config value for the specified key [all...] |
/external/webrtc/webrtc/call/ |
call_unittest.cc | 23 webrtc::AudioState::Config audio_state_config; 25 webrtc::Call::Config config; local 26 config.audio_state = webrtc::AudioState::Create(audio_state_config); 27 call_.reset(webrtc::Call::Create(config)); 46 AudioSendStream::Config config(nullptr); 47 config.rtp.ssrc = 42; 48 config.voe_channel_id = 123; 49 AudioSendStream* stream = call->CreateAudioSendStream(config); 56 AudioReceiveStream::Config config; local 89 AudioReceiveStream::Config config; local [all...] |
/tools/repohooks/rh/ |
config_unittest.py | 17 """Unittests for the config module.""" 33 import rh.config 46 """Helper to write out a config file for testing.""" 48 filename = rh.config.PreSubmitConfig.FILENAME 54 """Helper to write out a global config file for testing.""" 56 data, filename=rh.config.PreSubmitConfig.GLOBAL_FILENAME) 59 """Instantiating a non-existent config file should be fine.""" 60 rh.config.PreSubmitConfig() 63 """Instantiating an empty config file should be fine.""" 65 rh.config.PreSubmitConfig(paths=(self.tempdir,) [all...] |
/cts/tests/tests/drm/src/android/drm/cts/ |
DRMTest.java | 63 private ArrayList<Config> mConfigs = new ArrayList<Config>(); 75 Config config = ConfigFactory.getConfig(plugInName); local 76 if (null != config) { 77 mConfigs.add(config); 82 private void register(Config config) throws Exception { 84 config.getInfoOfRegistration(), 85 config.getMimeType()) [all...] |
/development/ndk/platforms/android-17/include/android/ |
configuration.h | 126 void AConfiguration_delete(AConfiguration* config); 142 int32_t AConfiguration_getMcc(AConfiguration* config); 147 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc); 152 int32_t AConfiguration_getMnc(AConfiguration* config); 157 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc); 164 void AConfiguration_getLanguage(AConfiguration* config, char* outLanguage); 170 void AConfiguration_setLanguage(AConfiguration* config, const char* language); 177 void AConfiguration_getCountry(AConfiguration* config, char* outCountry); 183 void AConfiguration_setCountry(AConfiguration* config, const char* country); 188 int32_t AConfiguration_getOrientation(AConfiguration* config); [all...] |
/development/ndk/platforms/android-18/include/android/ |
configuration.h | 127 void AConfiguration_delete(AConfiguration* config); 143 int32_t AConfiguration_getMcc(AConfiguration* config); 148 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc); 153 int32_t AConfiguration_getMnc(AConfiguration* config); 158 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc); 165 void AConfiguration_getLanguage(AConfiguration* config, char* outLanguage); 171 void AConfiguration_setLanguage(AConfiguration* config, const char* language); 178 void AConfiguration_getCountry(AConfiguration* config, char* outCountry); 184 void AConfiguration_setCountry(AConfiguration* config, const char* country); 189 int32_t AConfiguration_getOrientation(AConfiguration* config); [all...] |
/development/ndk/platforms/android-21/include/android/ |
configuration.h | 131 void AConfiguration_delete(AConfiguration* config); 147 int32_t AConfiguration_getMcc(AConfiguration* config); 152 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc); 157 int32_t AConfiguration_getMnc(AConfiguration* config); 162 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc); 169 void AConfiguration_getLanguage(AConfiguration* config, char* outLanguage); 175 void AConfiguration_setLanguage(AConfiguration* config, const char* language); 182 void AConfiguration_getCountry(AConfiguration* config, char* outCountry); 188 void AConfiguration_setCountry(AConfiguration* config, const char* country); 193 int32_t AConfiguration_getOrientation(AConfiguration* config); [all...] |
/prebuilts/ndk/r10/platforms/android-17/arch-arm/usr/include/android/ |
configuration.h | 126 void AConfiguration_delete(AConfiguration* config); 142 int32_t AConfiguration_getMcc(AConfiguration* config); 147 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc); 152 int32_t AConfiguration_getMnc(AConfiguration* config); 157 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc); 164 void AConfiguration_getLanguage(AConfiguration* config, char* outLanguage); 170 void AConfiguration_setLanguage(AConfiguration* config, const char* language); 177 void AConfiguration_getCountry(AConfiguration* config, char* outCountry); 183 void AConfiguration_setCountry(AConfiguration* config, const char* country); 188 int32_t AConfiguration_getOrientation(AConfiguration* config); [all...] |
/prebuilts/ndk/r10/platforms/android-17/arch-mips/usr/include/android/ |
configuration.h | 126 void AConfiguration_delete(AConfiguration* config); 142 int32_t AConfiguration_getMcc(AConfiguration* config); 147 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc); 152 int32_t AConfiguration_getMnc(AConfiguration* config); 157 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc); 164 void AConfiguration_getLanguage(AConfiguration* config, char* outLanguage); 170 void AConfiguration_setLanguage(AConfiguration* config, const char* language); 177 void AConfiguration_getCountry(AConfiguration* config, char* outCountry); 183 void AConfiguration_setCountry(AConfiguration* config, const char* country); 188 int32_t AConfiguration_getOrientation(AConfiguration* config); [all...] |
/prebuilts/ndk/r10/platforms/android-17/arch-x86/usr/include/android/ |
configuration.h | 126 void AConfiguration_delete(AConfiguration* config); 142 int32_t AConfiguration_getMcc(AConfiguration* config); 147 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc); 152 int32_t AConfiguration_getMnc(AConfiguration* config); 157 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc); 164 void AConfiguration_getLanguage(AConfiguration* config, char* outLanguage); 170 void AConfiguration_setLanguage(AConfiguration* config, const char* language); 177 void AConfiguration_getCountry(AConfiguration* config, char* outCountry); 183 void AConfiguration_setCountry(AConfiguration* config, const char* country); 188 int32_t AConfiguration_getOrientation(AConfiguration* config); [all...] |
/prebuilts/ndk/r10/platforms/android-18/arch-arm/usr/include/android/ |
configuration.h | 127 void AConfiguration_delete(AConfiguration* config); 143 int32_t AConfiguration_getMcc(AConfiguration* config); 148 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc); 153 int32_t AConfiguration_getMnc(AConfiguration* config); 158 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc); 165 void AConfiguration_getLanguage(AConfiguration* config, char* outLanguage); 171 void AConfiguration_setLanguage(AConfiguration* config, const char* language); 178 void AConfiguration_getCountry(AConfiguration* config, char* outCountry); 184 void AConfiguration_setCountry(AConfiguration* config, const char* country); 189 int32_t AConfiguration_getOrientation(AConfiguration* config); [all...] |
/prebuilts/ndk/r10/platforms/android-18/arch-mips/usr/include/android/ |
configuration.h | 127 void AConfiguration_delete(AConfiguration* config); 143 int32_t AConfiguration_getMcc(AConfiguration* config); 148 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc); 153 int32_t AConfiguration_getMnc(AConfiguration* config); 158 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc); 165 void AConfiguration_getLanguage(AConfiguration* config, char* outLanguage); 171 void AConfiguration_setLanguage(AConfiguration* config, const char* language); 178 void AConfiguration_getCountry(AConfiguration* config, char* outCountry); 184 void AConfiguration_setCountry(AConfiguration* config, const char* country); 189 int32_t AConfiguration_getOrientation(AConfiguration* config); [all...] |