Searched refs:config (Results 76 - 100 of 365) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/hardware/camera2/params/
H A DStreamConfigurationMap.java106 for (StreamConfiguration config : configurations) {
107 HashMap<Integer, Integer> map = config.isOutput() ? mOutputFormats : mInputFormats;
109 Integer count = map.get(config.getFormat());
116 map.put(config.getFormat(), count);
125 for (HighSpeedVideoConfiguration config : mHighSpeedVideoConfigurations) {
126 Size size = config.getSize();
127 Range<Integer> fpsRange = config.getFpsRange();
338 for (StreamConfiguration config : mConfigurations) {
339 if (config.getFormat() == surfaceFormat && config
[all...]
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A DConfigGenerator.java137 FolderConfiguration config = new FolderConfiguration();
138 config.createDefault();
139 config.setDensityQualifier(new DensityQualifier(mDensity));
140 config.setNavigationMethodQualifier(new NavigationMethodQualifier(mNavigation));
142 config.setScreenDimensionQualifier(new ScreenDimensionQualifier(mScreenWidth,
145 config.setScreenDimensionQualifier(new ScreenDimensionQualifier(mScreenHeight,
148 config.setScreenRatioQualifier(new ScreenRatioQualifier(mRatio));
149 config.setScreenSizeQualifier(new ScreenSizeQualifier(mSize));
150 config.setTextInputMethodQualifier(new TextInputMethodQualifier(mKeyboard));
151 config
[all...]
/frameworks/base/tests/CoreTests/android/core/
H A DMiscRegressionTest.java32 Logger.global.config("This has logging Level.CONFIG, should become DEBUG");
/frameworks/base/tools/aapt/
H A DSymbol.h51 ConfigDescription config; member in struct:SymbolDefinition
86 , config(c)
91 return (symbol < rhs.symbol) || (config < rhs.config) || (source < rhs.source);
H A DAaptConfig.h52 void applyVersionForCompatibility(ConfigDescription* config);
75 android::String8 getVersion(const android::ResTable_config& config);
87 bool isDensityOnly(const android::ResTable_config& config);
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DeglCreatePbufferFromClientBuffer.cpp1 /* EGLSurface eglCreatePbufferFromClientBuffer ( EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list ) */
4 (JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jlong buffer, jobject config, jintArray attrib_list_ref, jint offset) {
10 EGLConfig config_native = (EGLConfig) fromEGLHandle(_env, eglconfigGetHandleID, config);
67 (JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jint buffer, jobject config, jintArray attrib_list_ref, jint offset) {
72 return android_eglCreatePbufferFromClientBuffer(_env, _this, dpy, buftype, buffer, config, attrib_list_ref, offset);
3 android_eglCreatePbufferFromClientBuffer(JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jlong buffer, jobject config, jintArray attrib_list_ref, jint offset) argument
66 android_eglCreatePbufferFromClientBufferInt(JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jint buffer, jobject config, jintArray attrib_list_ref, jint offset) argument
/frameworks/native/opengl/tools/glgen/specs/egl/
H A DEGL14.spec8 EGLBoolean eglGetConfigAttrib ( EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value )
9 EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list )
10 EGLSurface eglCreatePbufferSurface ( EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list )
11 EGLSurface eglCreatePixmapSurface ( EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list )
18 EGLSurface eglCreatePbufferFromClientBuffer ( EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list )
23 EGLContext eglCreateContext ( EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list )
/frameworks/base/core/java/android/content/res/
H A DConfiguration.java44 * <pre>Configuration config = getResources().getConfiguration();</pre>
574 /** @hide Native-specific bit mask for MCC config; DO NOT USE UNLESS YOU ARE SURE. */
576 /** @hide Native-specific bit mask for MNC config; DO NOT USE UNLESS YOU ARE SURE. */
578 /** @hide Native-specific bit mask for LOCALE config; DO NOT USE UNLESS YOU ARE SURE. */
580 /** @hide Native-specific bit mask for TOUCHSCREEN config; DO NOT USE UNLESS YOU ARE SURE. */
582 /** @hide Native-specific bit mask for KEYBOARD config; DO NOT USE UNLESS YOU ARE SURE. */
584 /** @hide Native-specific bit mask for KEYBOARD_HIDDEN config; DO NOT USE UNLESS YOU
587 /** @hide Native-specific bit mask for NAVIGATION config; DO NOT USE UNLESS YOU ARE SURE. */
589 /** @hide Native-specific bit mask for ORIENTATION config; DO NOT USE UNLESS YOU ARE SURE. */
591 /** @hide Native-specific bit mask for DENSITY config; D
1364 resourceQualifierString(Configuration config) argument
1747 writeXmlAttrs(XmlSerializer xml, Configuration config) argument
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiConfiguration.java645 * Number of IP config failures
918 public boolean isLinked(WifiConfiguration config) { argument
919 if (config.linkedConfigurations != null && linkedConfigurations != null) {
920 if (config.linkedConfigurations.get(configKey()) != null
921 && linkedConfigurations.get(config.configKey()) != null) {
1139 sbuf.append("\nEnterprise config:\n");
1142 sbuf.append("IP config:\n");
1262 * @param scannedAP the scan result used to construct the config entry
1294 * Get an identifier for associating credentials with this config
1297 * when a config wit
[all...]
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64LDBackend.cpp92 if (LinkerConfig::Object != config().codeGenType()) {
98 if (config().options().hasNow()) {
133 if (LinkerConfig::Object != config().codeGenType()) {
150 m_pRelocator = new AArch64Relocator(*this, config());
197 if (!config().isCodeStatic() && NULL == m_pDynamic)
198 m_pDynamic = new AArch64ELFDynamic(*this, config());
200 if (LinkerConfig::Object != config().codeGenType()) {
202 if (config().options().hasNow()) {
204 if (LinkerConfig::DynObj == config().codeGenType() ||
213 if (LinkerConfig::DynObj == config()
[all...]
/frameworks/base/libs/androidfw/tests/
H A DSplit_test.cpp59 void makeConfigFrench(ResTable_config* config) { argument
60 memset(config, 0, sizeof(*config));
61 config->language[0] = 'f';
62 config->language[1] = 'r';
83 ResTable_config config; local
84 ssize_t block = table.getResource(base::R::string::test1, &val, MAY_NOT_BE_BAG, 0, NULL, &config);
90 EXPECT_EQ(0, expectedConfig.compare(config));
106 ResTable_config config; local
107 ssize_t block = table.getResource(base::R::string::test1, &val, MAY_NOT_BE_BAG, 0, NULL, &config);
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DEGL14.java216 // C function EGLBoolean eglGetConfigAttrib ( EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value )
220 EGLConfig config,
226 // C function EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list )
230 EGLConfig config,
238 EGLConfig config,
245 EGLConfig config,
263 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset);
265 surface = _eglCreateWindowSurfaceTexture(dpy, config,
276 // C function EGLSurface eglCreatePbufferSurface ( EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list )
280 EGLConfig config,
218 eglGetConfigAttrib( EGLDisplay dpy, EGLConfig config, int attribute, int[] value, int offset ) argument
228 _eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
236 _eglCreateWindowSurfaceTexture( EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
244 eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
278 eglCreatePbufferSurface( EGLDisplay dpy, EGLConfig config, int[] attrib_list, int offset ) argument
287 eglCreatePixmapSurface( EGLDisplay dpy, EGLConfig config, int pixmap, int[] attrib_list, int offset ) argument
335 eglCreatePbufferFromClientBuffer( EGLDisplay dpy, int buftype, int buffer, EGLConfig config, int[] attrib_list, int offset ) argument
347 eglCreatePbufferFromClientBuffer( EGLDisplay dpy, int buftype, long buffer, EGLConfig config, int[] attrib_list, int offset ) argument
390 eglCreateContext( EGLDisplay dpy, EGLConfig config, EGLContext share_context, int[] attrib_list, int offset ) argument
[all...]
H A DEGLLogWrapper.java78 public EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, argument
82 arg("config", config);
87 EGLContext result = mEgl10.eglCreateContext(display, config,
95 EGLConfig config, int[] attrib_list) {
98 arg("config", config);
102 EGLSurface result = mEgl10.eglCreatePbufferSurface(display, config,
110 EGLConfig config, Object native_pixmap, int[] attrib_list) {
113 arg("config", confi
94 eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list) argument
109 eglCreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list) argument
125 eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list) argument
165 eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, int[] value) argument
[all...]
/frameworks/base/services/usage/java/com/android/server/usage/
H A DIntervalStats.java60 ConfigurationStats getOrCreateConfigurationStats(Configuration config) { argument
61 ConfigurationStats configStats = configurations.get(config);
66 configStats.mConfiguration = config;
67 configurations.put(config, configStats);
107 void updateConfigurationStats(Configuration config, long timeStamp) { argument
114 if (config != null) {
115 ConfigurationStats configStats = getOrCreateConfigurationStats(config);
/frameworks/av/media/libstagefright/rtsp/
H A DAPacketSource.cpp225 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);
282 const uint8_t *data = config
337 ExtractDimensionsMPEG4Config( const sp<ABuffer> &config, int32_t *width, int32_t *height) argument
372 sp<ABuffer> config = decodeHex(val); local
[all...]
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java69 * pushing down this preference for every config change.
209 * pixel buffer is remapped to the new config, just that the allocation is
218 public void reconfigure(int width, int height, Config config) { argument
230 nativeReconfigure(mNativeBitmap, width, height, config.nativeInt, mBuffer.length,
238 * with the current height and config.</p>
254 * with the current width and config.</p>
280 public void setConfig(Config config) { argument
281 reconfigure(getWidth(), getHeight(), config);
545 * setting the new bitmap's config to the one specified, and then copying
550 * @param config Th
555 copy(Config config, boolean isMutable) argument
755 createBitmap(int width, int height, Config config) argument
770 createBitmap(DisplayMetrics display, int width, int height, Config config) argument
788 createBitmap(int width, int height, Config config, boolean hasAlpha) argument
807 createBitmap(DisplayMetrics display, int width, int height, Config config, boolean hasAlpha) argument
844 createBitmap(int colors[], int offset, int stride, int width, int height, Config config) argument
869 createBitmap(DisplayMetrics display, int colors[], int offset, int stride, int width, int height, Config config) argument
908 createBitmap(int colors[], int width, int height, Config config) argument
929 createBitmap(DisplayMetrics display, int colors[], int width, int height, Config config) argument
1614 nativeReconfigure(long nativeBitmap, int width, int height, int config, int allocSize, boolean isPremultiplied) argument
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DAssetAtlasService.java226 Configuration config = chooseConfiguration(mBitmaps, mPixelCount, mVersionName);
227 if (DEBUG_ATLAS) Log.d(LOG_TAG, "Loaded configuration: " + config);
229 if (config != null) {
230 mBuffer = GraphicBuffer.create(config.width, config.height,
234 Atlas atlas = new Atlas(config.type, config.width, config.height, config.flags);
235 if (renderAtlas(mBuffer, atlas, config
491 writeConfiguration(Configuration config, File file, String versionName) argument
[all...]
/frameworks/base/core/java/android/net/
H A DIpConfiguration.java190 IpConfiguration config = new IpConfiguration();
191 config.ipAssignment = IpAssignment.valueOf(in.readString());
192 config.proxySettings = ProxySettings.valueOf(in.readString());
193 config.staticIpConfiguration = in.readParcelable(null);
194 config.httpProxy = in.readParcelable(null);
195 return config;
/frameworks/native/opengl/tests/include/
H A DEGLUtils.h101 EGLConfig config = NULL; local
106 config = configs[i];
114 *outConfig = config;
/frameworks/base/graphics/tests/graphicstests/src/android/graphics/
H A DBitmapTest.java129 Bitmap.Config config = Bitmap.Config.ARGB_8888;
130 Bitmap bm1 = Bitmap.createBitmap(colors, 10, 10, config);
131 Bitmap bm2 = Bitmap.createBitmap(10, 10, config);
155 Bitmap.Config config = Bitmap.Config.RGB_565;
156 Bitmap bm1 = Bitmap.createBitmap(colors, 10, 10, config);
157 Bitmap bm2 = Bitmap.createBitmap(10, 10, config);
185 Bitmap.Config config = Bitmap.Config.ARGB_8888;
188 Bitmap bm1 = Bitmap.createBitmap(colors, 16, 16, config);
191 Bitmap bm2 = Bitmap.createBitmap(16, 16, config);
/frameworks/base/tools/split-select/
H A DRuleGenerator.cpp102 if (group[index].config.locale != 0) {
107 group[index].config.getBcp47Locale(str);
112 if (group[index].config.sdkVersion != 0) {
116 sdk->longArgs.add(group[index].config.sdkVersion - 1);
120 if (group[index].config.density != 0) {
123 allDensities.add(group[index].config.density);
127 if (group[i].config.density != group[index].config.density) {
131 allDensities.add(group[j].config.density);
/frameworks/native/opengl/tests/linetex/
H A Dlinetex.cpp42 EGLConfig config; local
54 dpy, configAttribs, window, &config);
60 surface = eglCreateWindowSurface(dpy, config, window, NULL);
61 context = eglCreateContext(dpy, config, NULL, NULL);
/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.c290 (pDwmModule->config.outputCfg.accessMode == EFFECT_BUFFER_ACCESS_ACCUMULATE);
291 const uint32_t downmixInputChannelMask = pDwmModule->config.inputCfg.channels;
534 * pDwmModule->config.inputCfg
535 * pDwmModule->config.outputCfg
536 * pDwmModule->config.inputCfg.samplingRate
537 * pDwmModule->config.outputCfg.samplingRate
552 pDwmModule->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ;
553 pDwmModule->config.inputCfg.format = AUDIO_FORMAT_PCM_16_BIT;
554 pDwmModule->config.inputCfg.channels = AUDIO_CHANNEL_OUT_7POINT1;
555 pDwmModule->config
[all...]
/frameworks/compile/mclinker/unittests/
H A DLinkerTest.cpp54 LinkerConfig config("arm-none-linux-gnueabi");
57 config.setCodeGenType(LinkerConfig::DynObj);
60 linker.emulate(script, config);
62 IRBuilder builder(module, config);
87 LinkerConfig config("armv7-none-linux-gnueabi");
94 /// To configure linker before setting options. Linker::config sets up
96 linker.emulate(script, config);
98 config.setCodeGenType(LinkerConfig::DynObj); ///< --shared
99 config.options().setSOName("libplasma.so"); ///< --soname=libplasma.so
100 config
[all...]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestBase.java320 WifiConfiguration config;
322 config = WifiConfigurationHelper.createOpenConfig(ssid);
324 config = WifiConfigurationHelper.createPskConfig(ssid, password);
326 return connectToWifiWithConfiguration(config);
333 protected boolean connectToWifiWithConfiguration(WifiConfiguration config) { argument
346 mWifiManager.connect(config,
476 * @param config is the network configuration
479 protected void connectToWifi(WifiConfiguration config) { argument
481 assertTrue("failed to associate with " + config.SSID,
482 connectToWifiWithConfiguration(config));
[all...]

Completed in 257 milliseconds

1234567891011>>