Searched refs:config (Results 1 - 25 of 365) 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_getUiModeType(AConfiguration* config) argument
108 AConfiguration_getUiModeNight(AConfiguration* config) argument
114 AConfiguration_getScreenWidthDp(AConfiguration* config) argument
118 AConfiguration_getScreenHeightDp(AConfiguration* config) argument
122 AConfiguration_getSmallestScreenWidthDp(AConfiguration* config) argument
126 AConfiguration_getLayoutDirection(AConfiguration* config) argument
133 AConfiguration_setMcc(AConfiguration* config, int32_t mcc) argument
137 AConfiguration_setMnc(AConfiguration* config, int32_t mnc) argument
141 AConfiguration_setLanguage(AConfiguration* config, const char* language) argument
146 AConfiguration_setCountry(AConfiguration* config, const char* country) argument
151 AConfiguration_setOrientation(AConfiguration* config, int32_t orientation) argument
155 AConfiguration_setTouchscreen(AConfiguration* config, int32_t touchscreen) argument
159 AConfiguration_setDensity(AConfiguration* config, int32_t density) argument
163 AConfiguration_setKeyboard(AConfiguration* config, int32_t keyboard) argument
167 AConfiguration_setNavigation(AConfiguration* config, int32_t navigation) argument
171 AConfiguration_setKeysHidden(AConfiguration* config, int32_t keysHidden) argument
176 AConfiguration_setNavHidden(AConfiguration* config, int32_t navHidden) argument
181 AConfiguration_setSdkVersion(AConfiguration* config, int32_t sdkVersion) argument
185 AConfiguration_setScreenSize(AConfiguration* config, int32_t screenSize) argument
190 AConfiguration_setScreenLong(AConfiguration* config, int32_t screenLong) argument
195 AConfiguration_setUiModeType(AConfiguration* config, int32_t uiModeType) argument
200 AConfiguration_setUiModeNight(AConfiguration* config, int32_t uiModeNight) argument
206 AConfiguration_setScreenWidthDp(AConfiguration* config, int32_t value) argument
210 AConfiguration_setScreenHeightDp(AConfiguration* config, int32_t value) argument
214 AConfiguration_setSmallestScreenWidthDp(AConfiguration* config, int32_t value) argument
218 AConfiguration_setLayoutDirection(AConfiguration* config, int32_t value) argument
[all...]
/frameworks/base/tools/aapt/tests/
H A DAaptConfig_test.cpp26 static ::testing::AssertionResult TestParse(const String8& input, ConfigDescription* config=NULL) { argument
27 if (AaptConfig::parse(String8(input), config)) {
33 static ::testing::AssertionResult TestParse(const char* input, ConfigDescription* config=NULL) { argument
34 return TestParse(String8(input), config);
52 ConfigDescription config; local
53 EXPECT_TRUE(TestParse("", &config));
54 EXPECT_EQ(String8(""), config.toString());
56 EXPECT_TRUE(TestParse("fr-land", &config));
57 EXPECT_EQ(String8("fr-land"), config.toString());
60 "xhdpi-keyssoft-qwerty-navexposed-nonav", &config));
66 ConfigDescription config; local
72 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/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/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.c42 AACENC_CONFIG config; local
141 AACENC_CONFIG config; local
142 config.adtsUsed = 1;
143 config.bitRate = 128000;
144 config.nChannelsIn = 2;
145 config.nChannelsOut = 2;
146 config.sampleRate = 44100;
147 config.bandWidth = 20000;
149 AacEncOpen(hAacEnc, config);
189 length = min(hAacEnc->config
317 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 */
72 hAacEnc->config = 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
H A DeglCreateWindowSurface.java1 // C function EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list )
5 EGLConfig config,
13 EGLConfig config,
20 EGLConfig config,
38 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset);
40 surface = _eglCreateWindowSurfaceTexture(dpy, config,
3 _eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
11 _eglCreateWindowSurfaceTexture( EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
19 eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothHealthCallback.java34 * @param config Bluetooth Health app configuration
42 public void onHealthAppConfigurationStatusChange(BluetoothHealthAppConfiguration config, argument
44 Log.d(TAG, "onHealthAppConfigurationStatusChange: " + config + "Status: " + status);
53 * @param config The Health app configutation
61 public void onHealthChannelStateChange(BluetoothHealthAppConfiguration config, argument
64 Log.d(TAG, "onHealthChannelStateChange: " + config + "Device: " + device +
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);
/frameworks/native/include/android/
H A Dconfiguration.h131 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...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiConfigStore.java123 * removeNetwork(). For these calls, the config is not persisted
126 * These calls persist the supplicant config to disk.
151 * map supplicant config to IP configuration. */
363 // How long a disconnected config remain considered as the last user selection
596 if (DBG) log("Loading config and enabling all networks ");
607 for(WifiConfiguration config : mConfiguredNetworks.values()) {
608 WifiConfiguration newConfig = new WifiConfiguration(config);
611 if (config.autoJoinStatus == WifiConfiguration.AUTO_JOIN_DELETED || config.ephemeral) {
619 if (pskMap != null && config
849 saveNetwork(WifiConfiguration config, int uid) argument
938 noteRoamingFailure(WifiConfiguration config, int reason) argument
951 saveWifiConfigBSSID(WifiConfiguration config) argument
1071 addOrUpdateNetwork(WifiConfiguration config, int uid) argument
1277 startWpsWithPinFromAccessPoint(WpsInfo config) argument
1295 startWpsWithPinFromDevice(WpsInfo config) argument
1314 startWpsPbc(WpsInfo config) argument
1850 isLastSelectedConfiguration(WifiConfiguration config) argument
2623 addOrUpdateNetworkNative(WifiConfiguration config, int uid) argument
2976 linkConfiguration(WifiConfiguration config) argument
3228 makeChannelList(WifiConfiguration config, int age, boolean restrict) argument
3535 readNetworkVariables(WifiConfiguration config) argument
3784 configKey(WifiConfiguration config) argument
3859 needsKeyStore(WifiEnterpriseConfig config) argument
3874 needsSoftwareBackedKeyStore(WifiEnterpriseConfig config) argument
4104 installKeys(WifiEnterpriseConfig config, String name) argument
4177 removeKeys(WifiEnterpriseConfig config) argument
4201 migrateOldEapTlsNative(WifiEnterpriseConfig config, int netId) argument
4250 migrateCerts(WifiEnterpriseConfig config) argument
[all...]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DWifiConfigurationHelper.java58 WifiConfiguration config = createGenericConfig(ssid);
60 config.allowedKeyManagement.set(KeyMgmt.NONE);
61 return config;
72 WifiConfiguration config = createGenericConfig(ssid);
75 config.wepKeys[0] = password;
77 config.wepKeys[0] = quotedString(password);
80 config.allowedKeyManagement.set(KeyMgmt.NONE);
81 config.allowedAuthAlgorithms.set(AuthAlgorithm.OPEN);
82 config.allowedAuthAlgorithms.set(AuthAlgorithm.SHARED);
83 return config;
[all...]
/frameworks/native/libs/ui/
H A DUiConfig.cpp26 static const char* config = local
32 configStr.append(config);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
H A DWifiAssociationTest.java76 WifiConfiguration config = getConfig(ssid, securityType, password);
78 logv("Network config: %s", config.toString());
79 connectToWifi(config);
110 WifiConfiguration config = null;
113 config = WifiConfigurationHelper.createOpenConfig(ssid);
119 config = WifiConfigurationHelper.createWepConfig(ssid, password);
120 config.allowedGroupCiphers.set(GroupCipher.WEP40);
126 config = WifiConfigurationHelper.createWepConfig(ssid, password);
127 config
[all...]
/frameworks/compile/mclinker/unittests/
H A DELFBinaryReaderTest.cpp49 LinkerConfig config; local
50 IRBuilder builder(module, config);
51 ELFBinaryReader *reader = new ELFBinaryReader(builder, config);
56 config.options().setBinaryInput();
59 config.options().setBinaryInput(false);
/frameworks/base/media/java/android/media/tv/
H A DTvStreamConfig.java159 TvStreamConfig config = new TvStreamConfig();
160 config.mStreamId = mStreamId;
161 config.mType = mType;
162 config.mMaxWidth = mMaxWidth;
163 config.mMaxHeight = mMaxHeight;
164 config.mGeneration = mGeneration;
165 return config;
174 TvStreamConfig config = (TvStreamConfig) obj;
175 return config.mGeneration == mGeneration
176 && config
[all...]
/frameworks/base/core/java/android/app/
H A DResourcesManager.java113 DisplayMetrics dm, Configuration config) {
114 config.touchscreen = Configuration.TOUCHSCREEN_NOTOUCH;
115 config.densityDpi = dm.densityDpi;
116 config.screenWidthDp = (int)(dm.widthPixels / dm.density);
117 config.screenHeightDp = (int)(dm.heightPixels / dm.density);
118 int sl = Configuration.resetScreenLayout(config.screenLayout);
120 config.orientation = Configuration.ORIENTATION_LANDSCAPE;
121 config.screenLayout = Configuration.reduceScreenLayout(sl,
122 config.screenWidthDp, config
112 applyNonDefaultDisplayMetricsToConfigurationLocked( DisplayMetrics dm, Configuration config) argument
252 applyConfigurationToResourcesLocked(Configuration config, CompatibilityInfo compat) argument
[all...]
/frameworks/base/libs/usb/tests/accessorytest/
H A Daudio.c124 struct pcm_config config; local
129 memset(&config, 0, sizeof(config));
131 config.channels = 2;
132 config.rate = 44100;
133 config.period_size = 1024;
134 config.period_count = 4;
135 config.format = PCM_FORMAT_S16_LE;
139 pcm = pcm_open(input_card, input_device, PCM_IN, &config);
192 struct pcm_config config; local
[all...]
/frameworks/base/tools/aapt/
H A DResourceFilter.cpp58 WeakResourceFilter::match(const ResTable_config& config) const
60 uint32_t mask = mDefault.diff(config);
70 uint32_t diff = entry.first.diff(config);
78 if (config.language[0] &&
79 memcmp(config.language, entry.first.language, sizeof(config.language)) == 0) {
80 if (config.country[0] == 0) {
86 // config being matched has a smaller screen width than the filter specified.
87 if (config.smallestScreenWidthDp != 0 &&
88 config
99 ConfigDescription config; local
[all...]

Completed in 510 milliseconds

1234567891011>>