Searched refs:config (Results 51 - 75 of 228) sorted by relevance

12345678910

/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/opengl/java/android/opengl/
H A DEGL14.java210 // C function EGLBoolean eglGetConfigAttrib ( EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value )
214 EGLConfig config,
220 // C function EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list )
224 EGLConfig config,
232 EGLConfig config,
239 EGLConfig config,
257 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset);
259 surface = _eglCreateWindowSurfaceTexture(dpy, config,
270 // C function EGLSurface eglCreatePbufferSurface ( EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list )
274 EGLConfig config,
212 eglGetConfigAttrib( EGLDisplay dpy, EGLConfig config, int attribute, int[] value, int offset ) argument
222 _eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
230 _eglCreateWindowSurfaceTexture( EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
238 eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
272 eglCreatePbufferSurface( EGLDisplay dpy, EGLConfig config, int[] attrib_list, int offset ) argument
281 eglCreatePixmapSurface( EGLDisplay dpy, EGLConfig config, int pixmap, int[] attrib_list, int offset ) argument
329 eglCreatePbufferFromClientBuffer( EGLDisplay dpy, int buftype, int buffer, EGLConfig config, int[] attrib_list, int offset ) argument
372 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/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/native/opengl/tests/linetex/
H A Dlinetex.cpp44 EGLConfig config; local
55 dpy, configAttribs, window, &config);
61 surface = eglCreateWindowSurface(dpy, config, window, NULL);
62 context = eglCreateContext(dpy, config, NULL, NULL);
/frameworks/base/graphics/java/android/graphics/
H A DBitmap.java430 * setting the new bitmap's config to the one specified, and then copying
435 * @param config The desired config for the resulting bitmap
440 public Bitmap copy(Config config, boolean isMutable) { argument
442 Bitmap b = nativeCopy(mNativeBitmap, config.nativeInt, isMutable);
568 final Config config = source.getConfig();
570 if (config != null) {
571 switch (config) {
629 * @param config The bitmap config t
632 createBitmap(int width, int height, Config config) argument
647 createBitmap(DisplayMetrics display, int width, int height, Config config) argument
665 createBitmap(int width, int height, Config config, boolean hasAlpha) argument
684 createBitmap(DisplayMetrics display, int width, int height, Config config, boolean hasAlpha) argument
723 createBitmap(int colors[], int offset, int stride, int width, int height, Config config) argument
748 createBitmap(DisplayMetrics display, int colors[], int offset, int stride, int width, int height, Config config) argument
787 createBitmap(int colors[], int width, int height, Config config) argument
808 createBitmap(DisplayMetrics display, int colors[], int width, int height, Config config) argument
[all...]
/frameworks/base/services/java/com/android/server/connectivity/
H A DVpn.java232 * @param config The parameters to configure the network.
235 public synchronized ParcelFileDescriptor establish(VpnConfig config) { argument
250 intent.setClassName(mPackage, config.user);
253 throw new SecurityException("Cannot find " + config.user);
256 throw new SecurityException(config.user + " does not require " + BIND_VPN_SERVICE);
278 ParcelFileDescriptor tun = ParcelFileDescriptor.adoptFd(jniCreate(config.mtu));
282 if (jniSetAddresses(interfaze, config.addresses) < 1) {
285 if (config.routes != null) {
286 jniSetRoutes(interfaze, config.routes);
290 throw new IllegalStateException("Cannot bind " + config
402 showNotification(VpnConfig config, String label, Bitmap icon) argument
568 startLegacyVpn(VpnConfig config, String[] racoon, String[] mtpd) argument
635 LegacyVpnRunner(VpnConfig config, String[] racoon, String[] mtpd) argument
[all...]
/frameworks/av/media/libeffects/testlibs/
H A DEffectEqualizer.cpp108 effect_config_t config; member in struct:android::__anon468::EqualizerContext
265 pContext->config = *pConfig;
293 *pConfig = pContext->config;
322 pContext->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ;
323 pContext->config.inputCfg.channels = AUDIO_CHANNEL_OUT_STEREO;
324 pContext->config.inputCfg.format = AUDIO_FORMAT_PCM_16_BIT;
325 pContext->config.inputCfg.samplingRate = 44100;
326 pContext->config.inputCfg.bufferProvider.getBuffer = NULL;
327 pContext->config.inputCfg.bufferProvider.releaseBuffer = NULL;
328 pContext->config
[all...]
/frameworks/compile/libbcc/runtime/make/
H A Dlib_util.mk5 # Function: GetCNAVar variable-name platform-key config arch
7 # Get a per-config-and-arch variable value.
14 # Function: SelectFunctionDir config arch function-name optimized
17 # the configuration 'config' and on given arch.
/frameworks/base/opengl/java/javax/microedition/khronos/egl/
H A DEGL10.java99 EGLContext eglCreateContext(EGLDisplay display, EGLConfig config, EGLContext share_context, int[] attrib_list); argument
100 EGLSurface eglCreatePbufferSurface(EGLDisplay display, EGLConfig config, int[] attrib_list); argument
101 EGLSurface eglCreatePixmapSurface(EGLDisplay display, EGLConfig config, Object native_pixmap, int[] attrib_list); argument
102 EGLSurface eglCreateWindowSurface(EGLDisplay display, EGLConfig config, Object native_window, int[] attrib_list); argument
105 boolean eglGetConfigAttrib(EGLDisplay display, EGLConfig config, int attribute, int[] value); argument
/frameworks/base/tools/aapt/
H A DResourceTable.cpp562 bool localeIsDefined(const ResTable_config& config) argument
564 return config.locale == 0;
570 const ResTable_config& config,
597 config.language[0], config.language[1],
598 config.country[0], config.country[1],
599 config.orientation, config.density,
607 &spans, &config, overwrit
567 parseAndAddBag(Bundle* bundle, const sp<AaptFile>& in, ResXMLTree* block, const ResTable_config& config, const String16& myPackage, const String16& curType, const String16& ident, const String16& parentIdent, const String16& itemIdent, int32_t curFormat, bool isFormatted, const String16& product, bool pseudolocalize, const bool overwrite, ResourceTable* outTable) argument
638 parseAndAddEntry(Bundle* bundle, const sp<AaptFile>& in, ResXMLTree* block, const ResTable_config& config, const String16& myPackage, const String16& curType, const String16& ident, const String16& curTag, bool curIsStyled, int32_t curFormat, bool isFormatted, const String16& product, bool pseudolocalize, const bool overwrite, ResourceTable* outTable) argument
2088 stringToValue(Res_value* outValue, StringPool* pool, const String16& str, bool preserveSpaces, bool coerceType, uint32_t attrID, const Vector<StringPool::entry_style_span>* style, String16* outStr, void* accessorCookie, uint32_t attrType, const String8* configTypeName, const ConfigDescription* config) argument
2546 String8 config; local
2646 ConfigDescription config = c->getEntries().keyAt(ei); local
2810 ConfigDescription config = t->getUniqueConfigs().itemAt(ci); local
3245 prepareFlatten(StringPool* strings, ResourceTable* table, const String8* configTypeName, const ConfigDescription* config) argument
3461 getEntry(const String16& entry, const SourcePos& sourcePos, const ResTable_config* config, bool doSetIndex, bool overlay, bool autoAddOverlay) argument
3776 getEntry(const String16& package, const String16& type, const String16& name, const SourcePos& sourcePos, bool overlay, const ResTable_config* config, bool doSetIndex) argument
[all...]
H A DAaptAssets.cpp155 ResTable_config config; local
158 if (getMccName(part.string(), &config)) {
160 *value = config.mcc;
165 if (getMncName(part.string(), &config)) {
167 *value = config.mnc;
187 if (getLayoutDirectionName(part.string(), &config)) {
189 *value = (config.screenLayout&ResTable_config::MASK_LAYOUTDIR);
194 if (getSmallestScreenWidthDpName(part.string(), &config)) {
196 *value = config.smallestScreenWidthDp;
201 if (getScreenWidthDpName(part.string(), &config)) {
309 getConfigValueForAxis(const ResTable_config& config, int axis) argument
354 configSameExcept(const ResTable_config& config, const ResTable_config& otherConfig, int axis) argument
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiManager.java562 * @param config the set of variables that describe the configuration,
568 public int addNetwork(WifiConfiguration config) { argument
569 if (config == null) {
572 config.networkId = -1;
573 return addOrUpdateNetwork(config);
579 * @param config the set of variables that describe the configuration,
591 public int updateNetwork(WifiConfiguration config) { argument
592 if (config == null || config.networkId < 0) {
595 return addOrUpdateNetwork(config);
606 addOrUpdateNetwork(WifiConfiguration config) argument
1400 connect(WifiConfiguration config, ActionListener listener) argument
1446 save(WifiConfiguration config, ActionListener listener) argument
1495 startWps(WpsInfo config, WpsListener listener) argument
[all...]
H A DWifiNative.java554 public String p2pConnect(WifiP2pConfig config, boolean joinExistingGroup) { argument
555 if (config == null) return null;
557 WpsInfo wps = config.wps;
558 args.add(config.deviceAddress);
583 if (config.netId == WifiP2pGroup.PERSISTENT_NET_ID) {
592 int groupOwnerIntent = config.groupOwnerIntent;
609 public boolean p2pProvisionDiscovery(WifiP2pConfig config) { argument
610 if (config == null) return false;
612 switch (config.wps.setup) {
614 return doBooleanCommand("P2P_PROV_DISC " + config
[all...]
/frameworks/compile/libbcc/tools/bcc/
H A DMain.cpp24 #include <llvm/Config/config.h>
187 CompilerConfig *config = NULL; local
190 config = new (std::nothrow) DefaultCompilerConfig();
192 config = new (std::nothrow) CompilerConfig(OptTargetTriple);
194 if (config == NULL) {
199 // Setup the config according to the valud of command line option.
201 config->setRelocationModel(llvm::Reloc::PIC_);
204 case '0': config->setOptimizationLevel(llvm::CodeGenOpt::None); break;
205 case '1': config->setOptimizationLevel(llvm::CodeGenOpt::Less); break;
206 case '3': config
[all...]
/frameworks/base/media/mca/filterfw/jni/
H A Djni_gl_environment.cpp152 EGLConfig config; local
166 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs);
174 config,
221 EGLConfig config; local
235 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs);
243 config,
320 EGLConfig config; local
333 eglChooseConfig(gl_env->display(), configAttribs, &config, 1, &numConfigs);
342 config,
/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp879 int Session_SetConfig(preproc_session_t *session, effect_config_t *config) argument
882 uint32_t inCnl = popcount(config->inputCfg.channels);
883 uint32_t outCnl = popcount(config->outputCfg.channels);
885 if (config->inputCfg.samplingRate != config->outputCfg.samplingRate ||
886 config->inputCfg.format != config->outputCfg.format ||
887 config->inputCfg.format != AUDIO_FORMAT_PCM_16_BIT) {
892 config->inputCfg.samplingRate, config
1008 Session_GetConfig(preproc_session_t *session, effect_config_t *config) argument
1020 Session_SetReverseConfig(preproc_session_t *session, effect_config_t *config) argument
1053 Session_GetReverseConfig(preproc_session_t *session, effect_config_t *config) argument
[all...]
/frameworks/native/opengl/libs/EGL/
H A Degl_object.h134 egl_surface_t(egl_display_t* dpy, EGLConfig config,
139 EGLConfig config; member in class:android::egl_surface_t
150 egl_context_t(EGLDisplay dpy, EGLContext context, EGLConfig config,
158 EGLConfig config; member in class:android::egl_context_t
/frameworks/native/opengl/tests/angeles/
H A Dapp-linux.cpp133 EGLConfig config; local
144 dpy, configAttribs, window, &config);
150 surface = eglCreateWindowSurface(dpy, config, window, NULL);
155 context = eglCreateContext(dpy, config, NULL, NULL);
/frameworks/native/opengl/tests/fillrate/
H A Dfillrate.cpp43 EGLConfig config; local
54 dpy, configAttribs, window, &config);
60 surface = eglCreateWindowSurface(dpy, config, window, NULL);
61 context = eglCreateContext(dpy, config, NULL, NULL);
/frameworks/native/opengl/tests/testPauseResume/src/com/android/test/
H A DTestView.java79 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument
/frameworks/native/opengl/tests/textures/
H A Dtextures.cpp40 EGLConfig config; local
51 dpy, configAttribs, window, &config);
57 surface = eglCreateWindowSurface(dpy, config, window, NULL);
58 context = eglCreateContext(dpy, config, NULL, NULL);
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DeglCreateWindowSurface.cpp1 /* EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) */
4 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) {
10 EGLConfig config_native = (EGLConfig) fromEGLHandle(_env, eglconfigGetHandleID, config);
78 /* EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) */
81 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) {
87 EGLConfig config_native = (EGLConfig) fromEGLHandle(_env, eglconfigGetHandleID, config);
3 android_eglCreateWindowSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
80 android_eglCreateWindowSurfaceTexture(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsHelper.java169 Configuration config = am.getConfiguration();
170 config.locale = loc;
172 config.userSetLocale = true;
174 am.updateConfiguration(config);

Completed in 3297 milliseconds

12345678910