Searched refs:config (Results 101 - 125 of 228) sorted by relevance

12345678910

/frameworks/base/wifi/java/android/net/wifi/p2p/
H A DWifiP2pService.java975 WifiP2pConfig config = (WifiP2pConfig) message.obj;
979 int gc = mWifiNative.getGroupCapability(config.deviceAddress);
980 mPeers.updateGroupCapability(config.deviceAddress, gc);
981 int connectRet = connect(config, TRY_REINVOCATION);
1600 WifiP2pConfig config = (WifiP2pConfig) message.obj;
1601 if (config.deviceAddress == null ||
1604 config.deviceAddress))) {
1605 if (config.wps.setup == WpsInfo.PBC) {
1608 if (config.wps.pin == null) {
1614 config
2039 connect(WifiP2pConfig config, boolean tryInvocation) argument
2223 p2pConnectWithPinDisplay(WifiP2pConfig config) argument
2711 sendConnectNoticeToApp(WifiP2pDevice dev, WifiP2pConfig config) argument
[all...]
/frameworks/base/tools/aapt/
H A DStringPool.cpp110 const String8* configTypeName, const ResTable_config* config)
112 ssize_t res = add(value, false, configTypeName, config);
120 bool mergeDuplicates, const String8* configTypeName, const ResTable_config* config)
135 NOISY(printf("*** adding config type name %s, was %s\n",
144 if (config != NULL) {
149 int cmp = ent.configs.itemAt(addPos).compareLogical(*config);
152 NOISY(printf("*** inserting config: %s\n", config->toString().string()));
153 ent.configs.insertAt(*config, addPos);
159 NOISY(printf("*** adding config
109 add(const String16& value, const Vector<entry_style_span>& spans, const String8* configTypeName, const ResTable_config* config) argument
119 add(const String16& value, bool mergeDuplicates, const String8* configTypeName, const ResTable_config* config) argument
[all...]
H A DResourceTable.h161 const ResTable_config& config) const;
219 const ConfigDescription* config = NULL);
342 const String8* configTypeName, const ConfigDescription* config);
386 void addEntry(const ResTable_config& config, const sp<Entry>& entry) { argument
387 mEntries.add(config, entry);
442 const ResTable_config* config = NULL,
533 const ResTable_config* config = NULL,
536 const ResTable_config* config = NULL) const;
H A DStringPool.h97 const String8* configTypeName = NULL, const ResTable_config* config = NULL);
100 const String8* configTypeName = NULL, const ResTable_config* config = NULL);
H A DCommand.cpp455 // Make a dummy config for retrieving resources... we need to supply
459 // version if they are using newer config types like density.
460 ResTable_config config; local
461 config.language[0] = 'e';
462 config.language[1] = 'n';
463 config.country[0] = 'U';
464 config.country[1] = 'S';
465 config.orientation = ResTable_config::ORIENTATION_PORT;
466 config.density = ResTable_config::DENSITY_MEDIUM;
467 config
[all...]
/frameworks/base/core/java/android/view/
H A DHardwareRenderer.java351 * config that supports EGL_SWAP_BEHAVIOR_PRESERVED_BIT.
887 for (EGLConfig config : debugConfigs) {
888 printConfig(config);
905 private static void printConfig(EGLConfig config) { argument
908 Log.d(LOG_TAG, "EGL configuration " + config + ":");
910 sEgl.eglGetConfigAttrib(sEglDisplay, config, EGL_RED_SIZE, value);
913 sEgl.eglGetConfigAttrib(sEglDisplay, config, EGL_GREEN_SIZE, value);
916 sEgl.eglGetConfigAttrib(sEglDisplay, config, EGL_BLUE_SIZE, value);
919 sEgl.eglGetConfigAttrib(sEglDisplay, config, EGL_ALPHA_SIZE, value);
922 sEgl.eglGetConfigAttrib(sEglDisplay, config, EGL_DEPTH_SIZ
[all...]
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp266 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, argument
276 dp->disp.dpy, config, attribute, value);
283 EGLSurface eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config, argument
301 // set the native window's buffers format to match this config
303 config, EGL_NATIVE_VISUAL_ID, &format)) {
321 iDpy, config, window, attrib_list);
323 egl_surface_t* s = new egl_surface_t(dp.get(), config, window,
335 EGLSurface eglCreatePixmapSurface( EGLDisplay dpy, EGLConfig config, argument
345 dp->disp.dpy, config, pixmap, attrib_list);
347 egl_surface_t* s = new egl_surface_t(dp.get(), config, NUL
355 eglCreatePbufferSurface( EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list) argument
435 eglCreateContext(EGLDisplay dpy, EGLConfig config, EGLContext share_list, const EGLint *attrib_list) argument
1087 eglCreatePbufferFromClientBuffer( EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list) argument
[all...]
/frameworks/av/media/libeffects/testlibs/
H A DEffectReverb.c240 if (pRvbModule->config.inputCfg.channels == pRvbModule->config.outputCfg.channels) {
480 pRvbModule->config.inputCfg.samplingRate = 44100;
482 pRvbModule->config.inputCfg.channels = AUDIO_CHANNEL_OUT_MONO;
484 pRvbModule->config.inputCfg.channels = AUDIO_CHANNEL_OUT_STEREO;
486 pRvbModule->config.inputCfg.format = AUDIO_FORMAT_PCM_16_BIT;
487 pRvbModule->config.inputCfg.bufferProvider.getBuffer = NULL;
488 pRvbModule->config.inputCfg.bufferProvider.releaseBuffer = NULL;
489 pRvbModule->config.inputCfg.bufferProvider.cookie = NULL;
490 pRvbModule->config
[all...]
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestActivity.java560 WifiConfiguration config = new WifiConfiguration();
561 config.SSID = knownSSID;
562 config.allowedKeyManagement.set(KeyMgmt.NONE);
563 return connectToWifiWithConfiguration(config);
569 * @param config
572 public boolean connectToWifiWithConfiguration(WifiConfiguration config) { argument
573 String ssid = config.SSID;
574 config.SSID = convertToQuotedString(ssid);
598 mWifiManager.connect(config,
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
H A DConnectionUtil.java537 WifiConfiguration config = new WifiConfiguration();
538 config.SSID = knownSSID;
539 config.allowedKeyManagement.set(KeyMgmt.NONE);
540 return connectToWifiWithConfiguration(config);
545 * @param config
548 public boolean connectToWifiWithConfiguration(WifiConfiguration config) { argument
550 String ssid = config.SSID;
551 config.SSID = convertToQuotedString(ssid);
575 mWifiManager.connect(config, new WifiManager.ActionListener() {
/frameworks/base/wifi/java/android/net/wifi/
H A DIWifiManager.aidl36 int addOrUpdateNetwork(in WifiConfiguration config);
/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.h75 EGLConfig config);
151 void init(EGLConfig config);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DMccTable.java195 Configuration config = ActivityManagerNative.getDefault().getConfiguration();
197 config.mcc = mcc;
200 config.mnc = mnc;
202 ActivityManagerNative.getDefault().updateConfiguration(config);
250 Configuration config = am.getConfiguration();
251 config.locale = new Locale(bestMatch.substring(0,2),
253 config.userSetLocale = true;
254 am.updateConfiguration(config);
/frameworks/rs/driver/
H A DrsdGL.cpp88 static void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) { argument
129 EGLBoolean returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute, &value);
258 // Try minding a multisample config that matches the user request
283 // The first config is guaranteed to over-satisfy the constraints
284 dc->gl.egl.config = configs[0];
307 dc->gl.egl.config = configs[i];
316 printEGLConfiguration(dc->gl.egl.display, dc->gl.egl.config);
321 dc->gl.egl.context = eglCreateContext(dc->gl.egl.display, dc->gl.egl.config,
336 dc->gl.egl.surfaceDefault = eglCreateWindowSurface(dc->gl.egl.display, dc->gl.egl.config,
454 dc->gl.egl.surface = eglCreateWindowSurface(dc->gl.egl.display, dc->gl.egl.config,
[all...]
/frameworks/base/media/tests/omxjpegdecoder/
H A DAndroid.mk36 $(TOP)/external/skia/include/config \
/frameworks/base/core/java/android/content/res/
H A DResources.java164 * @param config Desired device configuration to consider when
167 public Resources(AssetManager assets, DisplayMetrics metrics, Configuration config) { argument
168 this(assets, metrics, config, null);
177 * @param config Desired device configuration to consider when
184 Configuration config, CompatibilityInfo compInfo) {
188 updateConfiguration(config, metrics);
1400 public void updateConfiguration(Configuration config, argument
1402 updateConfiguration(config, metrics, null);
1408 public void updateConfiguration(Configuration config, argument
1412 Slog.i(TAG, "**** Updating config o
183 Resources(AssetManager assets, DisplayMetrics metrics, Configuration config, CompatibilityInfo compInfo) argument
1554 updateSystemConfiguration(Configuration config, DisplayMetrics metrics, CompatibilityInfo compat) argument
1566 updateSystemConfiguration(Configuration config, DisplayMetrics metrics) argument
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DPasswordUnlockScreen.java352 Configuration config = getResources().getConfiguration();
353 if (config.orientation != mCreationOrientation
354 || config.hardKeyboardHidden != mCreationHardKeyboardHidden) {
355 mCallback.recreateMe(config);
/frameworks/compile/libbcc/include/bcc/
H A DCompiler.h38 // 1. A compiler instance can be constructed provided an "initial config."
39 // 2. A compiler can later be re-configured using config().
40 // 3. Once config() is invoked, it'll re-create TargetMachine instance (i.e.,
43 // to config().
89 enum ErrorCode config(const CompilerConfig &pConfig);
/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
H A DTestFramerateView.java87 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument
/frameworks/base/media/mca/filterfw/native/core/
H A Dgl_env.cpp140 EGLConfig config; local
144 // TODO: Currently choosing the config that includes all
156 eglChooseConfig(display(), configAttribs, &config, 1, &numConfigs); local
167 surfaces_[0] = SurfaceWindowPair(eglCreateWindowSurface(display(), config, window_.get(), NULL), NULL);
173 config,
/frameworks/base/core/java/com/android/internal/app/
H A DLocalePicker.java244 Configuration config = am.getConfiguration();
248 config.setLocale(locale);
250 am.updateConfiguration(config);
/frameworks/base/services/java/com/android/server/
H A DCommonTimeManagementService.java180 // Connect to the common time config service and apply the initial configuration.
321 InterfaceConfiguration config = mNetMgr.getInterfaceConfig(iface);
322 if (null == config)
325 if (config.isActive()) {
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneFallbackEventHandler.java158 Configuration config = mContext.getResources().getConfiguration();
159 if (config.keyboard == Configuration.KEYBOARD_NOKEYS
160 || config.hardKeyboardHidden == Configuration.HARDKEYBOARDHIDDEN_YES) {
/frameworks/ex/carousel/java/com/android/ex/carousel/
H A DCarouselRS.java564 final int config = configs[i];
566 final boolean alpha = (config & CarouselController.STORE_CONFIG_ALPHA) != 0;
567 final boolean depthReads = (config & CarouselController.STORE_CONFIG_DEPTH_READS) != 0;
569 (config & CarouselController.STORE_CONFIG_DEPTH_WRITES) != 0;
918 Bitmap.Config config = bitmap.getConfig();
919 if (config == null) {
920 config = defaultConfig;
922 if (config == Bitmap.Config.ALPHA_8) {
924 } else if (config == Bitmap.Config.RGB_565) {
926 } else if (config
[all...]
/frameworks/base/core/jni/android/graphics/
H A DBitmapFactory.cpp145 pr = new SkImageRef_ashmem(stream, bitmap->config(), sampleSize);
147 pr = new SkImageRef_GlobalPool(stream, bitmap->config(), sampleSize);
220 // config of supplied bitmap overrules config set in options
330 SkBitmap::Config config = decoded->config(); local
331 switch (config) {
335 config = SkBitmap::kARGB_8888_Config;
341 bitmap->setConfig(config, scaledWidth, scaledHeight);

Completed in 576 milliseconds

12345678910