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

12345678910

/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/native/libs/gui/
H A DGuiConfig.cpp23 static const char* config = local
35 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/java/android/support/v4/view/
H A DViewConfigurationCompat.java30 public int getScaledPagingTouchSlop(ViewConfiguration config); argument
38 public int getScaledPagingTouchSlop(ViewConfiguration config) { argument
39 return config.getScaledTouchSlop();
48 public int getScaledPagingTouchSlop(ViewConfiguration config) { argument
49 return ViewConfigurationCompatFroyo.getScaledPagingTouchSlop(config);
72 public static int getScaledPagingTouchSlop(ViewConfiguration config) { argument
73 return IMPL.getScaledPagingTouchSlop(config);
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Daacenc.c40 AACENC_CONFIG config; local
137 AACENC_CONFIG config; local
138 config.adtsUsed = 1;
139 config.bitRate = 128000;
140 config.nChannelsIn = 2;
141 config.nChannelsOut = 2;
142 config.sampleRate = 44100;
143 config.bandWidth = 20000;
145 AacEncOpen(hAacEnc, config);
185 length = min(hAacEnc->config
313 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(int config) { argument
25 mEGLConfig = config;
/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);
H A DIBluetoothHealthCallback.aidl28 void onHealthAppConfigurationStatusChange(in BluetoothHealthAppConfiguration config, int status);
29 void onHealthChannelStateChange(in BluetoothHealthAppConfiguration config,
/frameworks/native/include/android/
H A Dconfiguration.h126 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...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfigStore.java98 * removeNetwork(). For these calls, the config is not persisted
101 * These calls persist the supplicant config to disk.
122 * map supplicant config to IP configuration. */
158 if (DBG) log("Loading config and enabling all networks");
169 for(WifiConfiguration config : mConfiguredNetworks.values()) {
170 networks.add(new WifiConfiguration(config));
176 * enable all networks and save config. This will be a no-op if the list
181 for(WifiConfiguration config : mConfiguredNetworks.values()) {
182 if(config != null && config
247 saveNetwork(WifiConfiguration config) argument
324 addOrUpdateNetwork(WifiConfiguration config) argument
444 startWpsWithPinFromAccessPoint(WpsInfo config) argument
462 startWpsWithPinFromDevice(WpsInfo config) argument
481 startWpsPbc(WpsInfo config) argument
962 addOrUpdateNetworkNative(WifiConfiguration config) argument
1287 addIpSettingsFromConfig(LinkProperties linkProperties, WifiConfiguration config) argument
1306 readNetworkVariables(WifiConfiguration config) argument
1472 migrateOldEapTlsIfNecessary(WifiConfiguration config, int netId) argument
1564 configKey(WifiConfiguration config) argument
[all...]
H A DWpsInfo.java93 WpsInfo config = new WpsInfo();
94 config.setup = in.readInt();
95 config.BSSID = in.readString();
96 config.pin = in.readString();
97 return config;
/frameworks/compile/libbcc/
H A Dlibbcc-gen-config-from-mk.mk24 $(PRIVATE_PATH)/tools/build/gen-config-from-mk.py < $< > $@
25 $(GEN_CONFIG_FROM_MK): $(LIBBCC_ROOT_PATH)/libbcc-config.mk \
26 $(LIBBCC_ROOT_PATH)/tools/build/gen-config-from-mk.py
/frameworks/base/core/java/com/android/internal/net/
H A DVpnConfig.java49 public static PendingIntent getIntentForStatusPanel(Context context, VpnConfig config) { argument
50 Preconditions.checkNotNull(config);
54 intent.putExtra("config", config);
96 VpnConfig config = new VpnConfig();
97 config.user = in.readString();
98 config.interfaze = in.readString();
99 config.session = in.readString();
100 config.mtu = in.readInt();
101 config
[all...]
/frameworks/compile/mclinker/include/mcld/Config/
H A DConfig.h17 #include <llvm/Config/llvm-config.h>
/frameworks/compile/mclinker/unittests/
H A DTestLinkerTest.cpp38 m_pLinker->config()->attrFactory().constraint().enableWholeArchive();
39 m_pLinker->config()->attrFactory().constraint().disableAsNeeded();
40 m_pLinker->config()->attrFactory().constraint().setSharedSystem();
43 m_pLinker->config()->attrFactory().predefined().setWholeArchive();
44 m_pLinker->config()->attrFactory().predefined().setDynamic();
52 m_pLinker->config()->options().setDyld("/usr/lib/ld.so.1");
53 m_pLinker->config()->options().setBsymbolic(true);
66 m_pLinker->config()->options().setVerbose(3);
/frameworks/native/libs/ui/
H A DUiConfig.cpp26 static const char* config = local
32 configStr.append(config);
/frameworks/native/opengl/tools/glgen/stubs/egl/
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,
36 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset);
38 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/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DAccessPointParserHelper.java119 WifiConfiguration config = null;
128 config = new WifiConfiguration();
179 config.ipAssignment = IpAssignment.STATIC;
180 config.linkProperties = mLinkProperties;
182 config.ipAssignment = IpAssignment.DHCP;
184 config.proxySettings = ProxySettings.NONE;
185 networks.add(config);
193 config.SSID = new String(ch, start, length);
201 config.allowedKeyManagement.set(KeyMgmt.NONE);
204 config
[all...]
/frameworks/native/opengl/tests/swapinterval/
H A Dswapinterval.cpp41 EGLConfig config; local
56 dpy, configAttribs, window, &config);
64 eglGetConfigAttrib(dpy, config, EGL_RED_SIZE, &r);
65 eglGetConfigAttrib(dpy, config, EGL_GREEN_SIZE, &g);
66 eglGetConfigAttrib(dpy, config, EGL_BLUE_SIZE, &b);
67 eglGetConfigAttrib(dpy, config, EGL_ALPHA_SIZE, &a);
68 eglGetConfigAttrib(dpy, config, EGL_NATIVE_VISUAL_ID, &vid);
70 surface = eglCreateWindowSurface(dpy, config, window, NULL);
73 fprintf(stderr, "error: %s, config=%p, format = %d-%d-%d-%d, visual-id = %d\n",
74 EGLUtils::strerror(err), config,
[all...]
/frameworks/base/tools/aapt/
H A DResourceFilter.h23 bool match(int axis, const ResTable_config& config) const;
24 bool match(const ResTable_config& config) const;
/frameworks/native/opengl/tests/EGLTest/
H A DEGL_test.cpp60 EGLConfig config; local
68 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs);
75 success = eglGetConfigAttrib(mEglDisplay, config, EGL_RED_SIZE, &components[0]);
78 success = eglGetConfigAttrib(mEglDisplay, config, EGL_GREEN_SIZE, &components[1]);
81 success = eglGetConfigAttrib(mEglDisplay, config, EGL_BLUE_SIZE, &components[2]);
92 EGLConfig config; local
102 EXPECT_TRUE(eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs));
110 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config,
122 EGLConfig config; local
134 success = eglChooseConfig(mEglDisplay, attrs, &config,
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DRenderAction.java310 Configuration config = new Configuration();
318 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_SMALL;
321 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_NORMAL;
324 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_LARGE;
327 config.screenLayout |= Configuration.SCREENLAYOUT_SIZE_XLARGE;
337 config.screenWidthDp = hardwareConfig.getScreenWidth() / density.getDpiValue();
338 config.screenHeightDp = hardwareConfig.getScreenHeight() / density.getDpiValue();
339 if (config.screenHeightDp < config.screenWidthDp) {
340 config
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/inc/
H A Daacenc_core.h28 #include "config.h"
51 AACENC_CONFIG config; /* Word16 size: 8 */ member in struct:__anon516
87 void AacInitDefaultConfig(AACENC_CONFIG *config);
98 const AACENC_CONFIG config); /* pre-initialized config struct */

Completed in 5876 milliseconds

12345678910