Searched refs:config (Results 1 - 25 of 591) sorted by relevance

1234567891011>>

/frameworks/base/native/android/
H A Dconfiguration.cpp27 AConfiguration* config = new AConfiguration; local
28 memset(config, 0, sizeof(AConfiguration));
29 return config;
32 void AConfiguration_delete(AConfiguration* config) { argument
33 delete config;
44 int32_t AConfiguration_getMcc(AConfiguration* config) { argument
45 return config->mcc;
48 int32_t AConfiguration_getMnc(AConfiguration* config) { argument
49 return config->mnc;
52 void AConfiguration_getLanguage(AConfiguration* config, cha argument
57 AConfiguration_getCountry(AConfiguration* config, char* outCountry) argument
62 AConfiguration_getOrientation(AConfiguration* config) argument
66 AConfiguration_getTouchscreen(AConfiguration* config) argument
70 AConfiguration_getDensity(AConfiguration* config) argument
74 AConfiguration_getKeyboard(AConfiguration* config) argument
78 AConfiguration_getNavigation(AConfiguration* config) argument
82 AConfiguration_getKeysHidden(AConfiguration* config) argument
86 AConfiguration_getNavHidden(AConfiguration* config) argument
91 AConfiguration_getSdkVersion(AConfiguration* config) argument
95 AConfiguration_getScreenSize(AConfiguration* config) argument
99 AConfiguration_getScreenLong(AConfiguration* config) argument
104 AConfiguration_getScreenRound(AConfiguration* config) argument
108 AConfiguration_getUiModeType(AConfiguration* config) argument
112 AConfiguration_getUiModeNight(AConfiguration* config) argument
118 AConfiguration_getScreenWidthDp(AConfiguration* config) argument
122 AConfiguration_getScreenHeightDp(AConfiguration* config) argument
126 AConfiguration_getSmallestScreenWidthDp(AConfiguration* config) argument
130 AConfiguration_getLayoutDirection(AConfiguration* config) argument
137 AConfiguration_setMcc(AConfiguration* config, int32_t mcc) argument
141 AConfiguration_setMnc(AConfiguration* config, int32_t mnc) argument
145 AConfiguration_setLanguage(AConfiguration* config, const char* language) argument
150 AConfiguration_setCountry(AConfiguration* config, const char* country) argument
155 AConfiguration_setOrientation(AConfiguration* config, int32_t orientation) argument
159 AConfiguration_setTouchscreen(AConfiguration* config, int32_t touchscreen) argument
163 AConfiguration_setDensity(AConfiguration* config, int32_t density) argument
167 AConfiguration_setKeyboard(AConfiguration* config, int32_t keyboard) argument
171 AConfiguration_setNavigation(AConfiguration* config, int32_t navigation) argument
175 AConfiguration_setKeysHidden(AConfiguration* config, int32_t keysHidden) argument
180 AConfiguration_setNavHidden(AConfiguration* config, int32_t navHidden) argument
185 AConfiguration_setSdkVersion(AConfiguration* config, int32_t sdkVersion) argument
189 AConfiguration_setScreenSize(AConfiguration* config, int32_t screenSize) argument
194 AConfiguration_setScreenLong(AConfiguration* config, int32_t screenLong) argument
199 AConfiguration_setScreenRound(AConfiguration* config, int32_t screenRound) argument
204 AConfiguration_setUiModeType(AConfiguration* config, int32_t uiModeType) argument
209 AConfiguration_setUiModeNight(AConfiguration* config, int32_t uiModeNight) argument
215 AConfiguration_setScreenWidthDp(AConfiguration* config, int32_t value) argument
219 AConfiguration_setScreenHeightDp(AConfiguration* config, int32_t value) argument
223 AConfiguration_setSmallestScreenWidthDp(AConfiguration* config, int32_t value) argument
227 AConfiguration_setLayoutDirection(AConfiguration* config, int32_t value) argument
[all...]
/frameworks/base/media/java/android/media/
H A DAudioDevicePortConfig.java34 AudioDevicePortConfig(AudioDevicePortConfig config) { argument
35 this(config.port(), config.samplingRate(), config.channelMask(), config.format(),
36 config.gain());
/frameworks/native/libs/gui/
H A DGuiConfig.cpp23 static const char* config = local
29 configStr.append(config);
/frameworks/support/v4/froyo/android/support/v4/view/
H A DViewConfigurationCompatFroyo.java25 public static int getScaledPagingTouchSlop(ViewConfiguration config) { argument
26 return config.getScaledPagingTouchSlop();
/frameworks/support/v4/ics/android/support/v4/view/
H A DViewConfigurationCompatICS.java25 static boolean hasPermanentMenuKey(ViewConfiguration config) { argument
26 return config.hasPermanentMenuKey();
/frameworks/base/tools/aapt/tests/
H A DAaptConfig_test.cpp27 static ::testing::AssertionResult TestParse(const String8& input, ConfigDescription* config=NULL) { argument
28 if (AaptConfig::parse(String8(input), config)) {
34 static ::testing::AssertionResult TestParse(const char* input, ConfigDescription* config=NULL) { argument
35 return TestParse(String8(input), config);
53 ConfigDescription config; local
54 EXPECT_TRUE(TestParse("", &config));
55 EXPECT_EQ(String8(""), config.toString());
57 EXPECT_TRUE(TestParse("fr-land", &config));
58 EXPECT_EQ(String8("fr-land"), config.toString());
61 "xhdpi-keyssoft-qwerty-navexposed-nonav", &config));
67 ConfigDescription config; local
73 ConfigDescription config; local
82 ConfigDescription config; local
88 ConfigDescription config; local
[all...]
H A DResourceFilter_test.cpp34 ConfigDescription config; local
35 config.density = 320;
37 EXPECT_TRUE(filter.match(config));
39 config.language[0] = 'f';
40 config.language[1] = 'r';
42 EXPECT_TRUE(filter.match(config));
49 ConfigDescription config; local
50 config.density = 320;
52 EXPECT_TRUE(filter.match(config));
59 ConfigDescription config; local
70 ConfigDescription config; local
82 ConfigDescription config; local
93 ConfigDescription config; local
104 ConfigDescription config; local
117 ConfigDescription config; local
130 ConfigDescription config; local
146 ConfigDescription config; local
158 ConfigDescription config; local
167 ConfigDescription config; local
183 ConfigDescription config; local
[all...]
/frameworks/base/tools/aapt2/
H A DConfigDescription_test.cpp28 ConfigDescription* config = nullptr) {
29 if (ConfigDescription::parse(input, config)) {
50 ConfigDescription config; local
51 EXPECT_TRUE(TestParse("", &config));
52 EXPECT_EQ(std::string(""), config.toString().string());
54 EXPECT_TRUE(TestParse("fr-land", &config));
55 EXPECT_EQ(std::string("fr-land"), config.toString().string());
58 "xhdpi-keyssoft-qwerty-navexposed-nonav", &config));
60 "xhdpi-keyssoft-qwerty-navexposed-nonav-v13"), config.toString().string());
64 ConfigDescription config; local
70 ConfigDescription config; local
79 ConfigDescription config; local
85 ConfigDescription config; local
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DWifiConfigurationTestUtil.java48 final WifiConfiguration config = new WifiConfiguration();
49 config.SSID = ssid;
50 config.networkId = networkId;
51 config.creatorUid = uid;
52 config.shared = shared;
53 config.status = enabled ? WifiConfiguration.Status.ENABLED
56 config.FQDN = fqdn;
57 config.providerFriendlyName = providerFriendlyName;
58 config.enterpriseConfig.setEapMethod(WifiEnterpriseConfig.Eap.SIM);
60 return config;
[all...]
H A DConfigurationMapTest.java95 for (WifiConfiguration config : mConfigs.valuesForAllUsers()) {
96 if (WifiConfigurationUtil.isVisibleToAnyProfile(config,
98 && !WifiConfigurationUtil.isVisibleToAnyProfile(config,
100 hiddenConfigurations.add(config);
116 for (WifiConfiguration config : configs) {
117 if (WifiConfigurationUtil.isVisibleToAnyProfile(config,
119 configsForCurrentUser.add(config);
120 if (config.status != WifiConfiguration.Status.DISABLED) {
121 enabledConfigsForCurrentUser.add(config);
124 configsNotForCurrentUser.add(config);
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DViewConfigurationCompat.java30 public int getScaledPagingTouchSlop(ViewConfiguration config); argument
31 public boolean hasPermanentMenuKey(ViewConfiguration config); argument
39 public int getScaledPagingTouchSlop(ViewConfiguration config) { argument
40 return config.getScaledTouchSlop();
44 public boolean hasPermanentMenuKey(ViewConfiguration config) { argument
55 public int getScaledPagingTouchSlop(ViewConfiguration config) { argument
56 return ViewConfigurationCompatFroyo.getScaledPagingTouchSlop(config);
65 public boolean hasPermanentMenuKey(ViewConfiguration config) { argument
76 public boolean hasPermanentMenuKey(ViewConfiguration config) { argument
77 return ViewConfigurationCompatICS.hasPermanentMenuKey(config);
104 getScaledPagingTouchSlop(ViewConfiguration config) argument
112 hasPermanentMenuKey(ViewConfiguration config) argument
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Daacenc.c143 AACENC_CONFIG config; local
144 config.adtsUsed = 1;
145 config.bitRate = 128000;
146 config.nChannelsIn = 2;
147 config.nChannelsOut = 2;
148 config.sampleRate = 44100;
149 config.bandWidth = 20000;
151 AacEncOpen(hAacEnc, config);
191 length = min(hAacEnc->config.nChannelsIn*AACENC_BLOCKSIZE - hAacEnc->intlen, hAacEnc->inlen);
223 inbuflen = AACENC_BLOCKSIZE*hAacEnc->config
319 AACENC_CONFIG config; local
[all...]
H A Daacenc_core.c40 void AacInitDefaultConfig(AACENC_CONFIG *config) argument
43 config->adtsUsed = 1;
44 config->nChannelsIn = 2;
45 config->nChannelsOut = 2;
46 config->bitRate = 128000;
47 config->bandWidth = 0;
58 const AACENC_CONFIG config /* pre-initialized config struct */
71 hAacEnc->config = config;
[all...]
/frameworks/base/tools/aapt2/filter/
H A DConfigFilter.cpp24 void AxisConfigFilter::addConfig(ConfigDescription config) { argument
25 uint32_t diffMask = ConfigDescription::defaultConfig().diff(config);
32 config.density = 0;
36 mConfigs.insert(std::make_pair(config, diffMask));
40 bool AxisConfigFilter::match(const ConfigDescription& config) const {
41 const uint32_t mask = ConfigDescription::defaultConfig().diff(config);
51 uint32_t diff = target.diff(config);
59 if (config.language[0] &&
60 memcmp(config.language, target.language, sizeof(config
[all...]
/frameworks/base/opengl/java/com/google/android/gles_jni/
H A DEGLConfigImpl.java24 EGLConfigImpl(long config) { argument
25 mEGLConfig = config;
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DeglCreatePbufferFromClientBuffer.java1 // C function EGLSurface eglCreatePbufferFromClientBuffer ( EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list )
7 EGLConfig config,
19 EGLConfig config,
3 eglCreatePbufferFromClientBuffer( EGLDisplay dpy, int buftype, int buffer, EGLConfig config, int[] attrib_list, int offset ) argument
15 eglCreatePbufferFromClientBuffer( EGLDisplay dpy, int buftype, long buffer, EGLConfig config, int[] attrib_list, int offset ) argument
/frameworks/base/core/java/android/security/net/config/
H A DConfigNetworkSecurityPolicy.java17 package android.security.net.config;
27 public ConfigNetworkSecurityPolicy(ApplicationConfig config) { argument
28 mConfig = config;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiNetworkHistory.java52 * This is largely separate and extra to the supplicant config file.
114 * Lost config list, whenever we read a config from networkHistory.txt that was not in
137 //for (WifiConfiguration config : mConfiguredNetworks.valuesForAllUsers()) {
138 // networks.add(new WifiConfiguration(config));
143 for (WifiConfiguration config : networks) {
144 //loge("onWriteCalled write SSID: " + config.SSID);
145 /* if (config.getLinkProperties() != null)
146 loge(" lp " + config.getLinkProperties().toString());
148 loge("attempt config
560 isValid(WifiConfiguration config) argument
628 getScanDetailCache(WifiConfiguration config, ConcurrentHashMap<Integer, ScanDetailCache> scanDetailCaches) argument
[all...]
H A DWifiConfigManager.java145 * removeNetwork(). For these calls, the config is not persisted
148 * These calls persist the supplicant config to disk.
302 * Lost config list, whenever we read a config from networkHistory.txt that was not in
428 if (DBG) log("Loading config and enabling all networks ");
446 for (WifiConfiguration config : mConfiguredNetworks.valuesForCurrentUser()) {
447 WifiConfiguration newConfig = new WifiConfiguration(config);
450 if (config.ephemeral) {
457 if (pskMap != null && config.allowedKeyManagement != null
458 && config
657 setNetworkPriorityNative(WifiConfiguration config, int priority) argument
661 setSSIDNative(WifiConfiguration config, String ssid) argument
665 updateLastConnectUid(WifiConfiguration config, int uid) argument
688 selectNetwork(WifiConfiguration config, boolean updatePriorities, int uid) argument
755 saveNetwork(WifiConfiguration config, int uid) argument
817 noteRoamingFailure(WifiConfiguration config, int reason) argument
828 saveWifiConfigBSSID(WifiConfiguration config, String bssid) argument
913 addOrUpdateNetwork(WifiConfiguration config, int uid) argument
1022 getPnoNetworkSortScore(WifiConfiguration config) argument
1103 createPnoNetworkFromWifiConfiguration( WifiConfiguration config, int newPriority) argument
1175 removeConfigWithoutBroadcast(WifiConfiguration config) argument
1191 removeConfigAndSendBroadcastIfNeeded(WifiConfiguration config) argument
1288 enableNetwork(WifiConfiguration config, boolean disableOthers, int uid) argument
1322 disableNetworkNative(WifiConfiguration config) argument
1361 updateNetworkSelectionStatus(WifiConfiguration config, int reason) argument
1412 tryEnableQualifiedNetwork(WifiConfiguration config) argument
1436 updateNetworkStatus(WifiConfiguration config, int reason) argument
1532 startWpsWithPinFromAccessPoint(WpsInfo config) argument
1542 startWpsWithPinFromDevice(WpsInfo config) argument
1552 startWpsPbc(WpsInfo config) argument
1885 isLastSelectedConfiguration(WifiConfiguration config) argument
1925 addOrUpdateNetworkNative(WifiConfiguration config, int uid) argument
2247 getHomeSPForConfig(WifiConfiguration config) argument
2254 getScanDetailCache(WifiConfiguration config) argument
2268 linkConfiguration(WifiConfiguration config) argument
2392 makeChannelList(WifiConfiguration config, int age) argument
2611 cacheScanResultForConfig( WifiConfiguration config, ScanDetail scanDetail, PasspointMatch passpointMatch) argument
2698 isOpenNetwork(WifiConfiguration config) argument
2919 readNetworkVariables(WifiConfiguration config) argument
2965 configKey(WifiConfiguration config) argument
3064 needsSoftwareBackedKeyStore(WifiEnterpriseConfig config) argument
3126 isSimConfig(WifiConfiguration config) argument
3137 isNetworkConfigured(WifiConfiguration config) argument
3211 canModifyNetwork(int uid, WifiConfiguration config, boolean onlyAnnotate) argument
[all...]
H A DConfigurationMap.java38 public WifiConfiguration put(WifiConfiguration config) { argument
39 final WifiConfiguration current = mPerID.put(config.networkId, config);
40 mPerConfigKey.put(config.configKey().hashCode(), config); // This is ridiculous...
41 if (WifiConfigurationUtil.isVisibleToAnyProfile(config,
43 mPerIDForCurrentUser.put(config.networkId, config);
44 if (config.FQDN != null && config
[all...]
H A DWifiConfigStore.java66 * config database.
67 * We use wpa_supplicant as our config database currently, but will be migrating to a different
184 private static boolean needsKeyStore(WifiEnterpriseConfig config) { argument
185 return (!(config.getClientCertificate() == null && config.getCaCertificate() == null));
196 private static boolean needsSoftwareBackedKeyStore(WifiEnterpriseConfig config) { argument
197 java.lang.String client = config.getClientCertificateAlias();
244 * @param config the {@link WifiConfiguration} object to be filled in.
246 public void readNetworkVariables(WifiConfiguration config) { argument
247 if (config
464 installKeys(WifiEnterpriseConfig existingConfig, WifiEnterpriseConfig config, String name) argument
560 removeKeys(WifiEnterpriseConfig config) argument
586 saveNetworkMetadata(WifiConfiguration config) argument
607 saveNetwork(WifiConfiguration config, int netId) argument
756 updateNetworkKeys(WifiConfiguration config, WifiConfiguration existingConfig) argument
791 addOrUpdateNetwork(WifiConfiguration config, WifiConfiguration existingConfig) argument
837 removeNetwork(WifiConfiguration config) argument
861 selectNetwork(WifiConfiguration config, Collection<WifiConfiguration> configs) argument
881 disableNetwork(WifiConfiguration config) argument
900 setNetworkPriority(WifiConfiguration config, int priority) argument
920 setNetworkSSID(WifiConfiguration config, String ssid) argument
941 setNetworkBSSID(WifiConfiguration config, String bssid) argument
1087 isSimConfig(WifiConfiguration config) argument
1178 startWpsWithPinFromAccessPoint(WpsInfo config, Collection<WifiConfiguration> configs) argument
1198 startWpsWithPinFromDevice(WpsInfo config, Collection<WifiConfiguration> configs) argument
1219 startWpsPbc(WpsInfo config, Collection<WifiConfiguration> configs) argument
[all...]
/frameworks/compile/mclinker/unittests/
H A DELFBinaryReaderTest.cpp44 LinkerConfig config; local
45 IRBuilder builder(module, config);
46 ELFBinaryReader* reader = new ELFBinaryReader(builder, config);
51 config.options().setBinaryInput();
54 config.options().setBinaryInput(false);
/frameworks/native/include/android/
H A Dconfiguration.h442 void AConfiguration_delete(AConfiguration* config);
458 int32_t AConfiguration_getMcc(AConfiguration* config);
463 void AConfiguration_setMcc(AConfiguration* config, int32_t mcc);
468 int32_t AConfiguration_getMnc(AConfiguration* config);
473 void AConfiguration_setMnc(AConfiguration* config, int32_t mnc);
480 void AConfiguration_getLanguage(AConfiguration* config, char* outLanguage);
486 void AConfiguration_setLanguage(AConfiguration* config, const char* language);
493 void AConfiguration_getCountry(AConfiguration* config, char* outCountry);
499 void AConfiguration_setCountry(AConfiguration* config, const char* country);
504 int32_t AConfiguration_getOrientation(AConfiguration* config);
[all...]
/frameworks/av/media/libstagefright/codecs/mp3dec/test/
H A Dmp3dec_test.cpp52 // Initialize the config.
53 tPVMP3DecoderExternal config; local
54 config.equalizerType = flat;
55 config.crcEnabled = false;
63 pvmp3_InitDecoder(&config, decoderBuf);
104 // Set the input config.
105 config.inputBufferCurrentLength = bytesRead;
106 config.inputBufferMaxLength = 0;
107 config.inputBufferUsedLength = 0;
108 config
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothHealth.aidl31 boolean registerAppConfiguration(in BluetoothHealthAppConfiguration config,
33 boolean unregisterAppConfiguration(in BluetoothHealthAppConfiguration config);
34 boolean connectChannelToSource(in BluetoothDevice device, in BluetoothHealthAppConfiguration config);
35 boolean connectChannelToSink(in BluetoothDevice device, in BluetoothHealthAppConfiguration config,
37 boolean disconnectChannel(in BluetoothDevice device, in BluetoothHealthAppConfiguration config, int id);
38 ParcelFileDescriptor getMainChannelFd(in BluetoothDevice device, in BluetoothHealthAppConfiguration config);

Completed in 670 milliseconds

1234567891011>>