Searched defs:config (Results 76 - 100 of 146) sorted by relevance

123456

/frameworks/av/libvideoeditor/lvpp/
H A DNativeWindowRenderer.cpp195 EGLConfig config; local
205 eglChooseConfig(mEglDisplay, configAttribs, &config, 1, &numConfigs);
208 mEglSurface = eglCreateWindowSurface(mEglDisplay, config,
213 mEglContext = eglCreateContext(mEglDisplay, config, EGL_NO_CONTEXT,
/frameworks/av/media/libmedia/
H A DIAudioPolicyService.cpp104 virtual status_t setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config) argument
109 data.writeInt32(static_cast <uint32_t>(config));
409 audio_policy_forced_cfg_t config = local
411 reply->writeInt32(static_cast <uint32_t>(setForceUse(usage, config)));
H A DAudioSystem.cpp474 ALOGV("ioConfigChanged() new config for output %d samplingRate %d, format %d channels %#x frameCount %d latency %d",
573 status_t AudioSystem::setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config) argument
577 return aps->setForceUse(usage, config);
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp247 EGLConfig config; local
254 eglChooseConfig(display, attribs, &config, 1, &numConfigs);
255 surface = eglCreateWindowSurface(display, config, s.get(), NULL);
256 context = eglCreateContext(display, config, NULL, NULL);
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp66 static FromColorProc ChooseFromColorProc(SkBitmap::Config config) { argument
67 switch (config) {
86 FromColorProc proc = ChooseFromColorProc(dstBitmap.config());
193 switch (src.config()) {
216 SkBitmap::Config config, jboolean isMutable) {
227 bitmap.setConfig(config, width, height);
340 return bitmap->config();
376 const SkBitmap::Config config = (SkBitmap::Config)p->readInt32(); local
382 if (SkBitmap::kARGB_8888_Config != config &&
383 SkBitmap::kRGB_565_Config != config
214 Bitmap_creator(JNIEnv* env, jobject, jintArray jColors, int offset, int stride, int width, int height, SkBitmap::Config config, jboolean isMutable) argument
[all...]
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);
/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_EGLImpl.cpp225 jobject config, jobject share_context, jintArray attrib_list) {
226 if (display == NULL || config == NULL || share_context == NULL
232 EGLConfig cnf = getConfig(_env, config);
241 jobject config, jintArray attrib_list) {
242 if (display == NULL || config == NULL
248 EGLConfig cnf = getConfig(_env, config);
267 jobject display, jobject config, jobject native_pixmap,
270 if (display == NULL || config == NULL || native_pixmap == NULL
276 EGLConfig cnf = getConfig(_env, config);
296 pixmap.format = convertPixelFormat(nativeBitmap->config());
224 jni_eglCreateContext(JNIEnv *_env, jobject _this, jobject display, jobject config, jobject share_context, jintArray attrib_list) argument
240 jni_eglCreatePbufferSurface(JNIEnv *_env, jobject _this, jobject display, jobject config, jintArray attrib_list) argument
266 jni_eglCreatePixmapSurface(JNIEnv *_env, jobject _this, jobject out_sur, jobject display, jobject config, jobject native_pixmap, jintArray attrib_list) argument
312 jni_eglCreateWindowSurface(JNIEnv *_env, jobject _this, jobject display, jobject config, jobject native_window, jintArray attrib_list) argument
339 jni_eglCreateWindowSurfaceTexture(JNIEnv *_env, jobject _this, jobject display, jobject config, jobject native_window, jintArray attrib_list) argument
368 jni_eglGetConfigAttrib(JNIEnv *_env, jobject _this, jobject display, jobject config, jint attribute, jintArray value) argument
[all...]
H A Dandroid_opengl_EGL14.cpp461 /* EGLBoolean eglGetConfigAttrib ( EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value ) */
464 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jint attribute, jintArray value_ref, jint offset) {
470 EGLConfig config_native = (EGLConfig) fromEGLHandle(_env, eglconfigGetHandleID, config);
516 /* EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) */
519 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) {
525 EGLConfig config_native = (EGLConfig) fromEGLHandle(_env, eglconfigGetHandleID, config);
593 /* EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list ) */
596 (JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) {
602 EGLConfig config_native = (EGLConfig) fromEGLHandle(_env, eglconfigGetHandleID, config);
670 /* EGLSurface eglCreatePbufferSurface ( EGLDisplay dpy, EGLConfig config, cons
463 android_eglGetConfigAttrib(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jint attribute, jintArray value_ref, jint offset) argument
518 android_eglCreateWindowSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
595 android_eglCreateWindowSurfaceTexture(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject win, jintArray attrib_list_ref, jint offset) argument
672 android_eglCreatePbufferSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jintArray attrib_list_ref, jint offset) argument
734 android_eglCreatePixmapSurface(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jint pixmap, jintArray attrib_list_ref, jint offset) argument
851 android_eglCreatePbufferFromClientBuffer(JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jint buffer, jobject config, jintArray attrib_list_ref, jint offset) argument
978 android_eglCreateContext(JNIEnv *_env, jobject _this, jobject dpy, jobject config, jobject share_context, jintArray attrib_list_ref, jint offset) argument
[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/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/base/services/java/com/android/server/usb/
H A DUsbDeviceManager.java329 // persist.sys.usb.config should never be unset. But if it is, set it to "adb"
331 mDefaultFunctions = SystemProperties.get("persist.sys.usb.config", "adb");
336 // sanity check the sys.usb.config system property
338 String config = SystemProperties.get("sys.usb.config", "none");
339 if (!config.equals(mDefaultFunctions)) {
340 Slog.w(TAG, "resetting config to persistent property: " + mDefaultFunctions);
341 SystemProperties.set("sys.usb.config", mDefaultFunctions);
437 private boolean setUsbConfig(String config) { argument
438 if (DEBUG) Slog.d(TAG, "setUsbConfig(" + 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 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/base/media/tests/MediaDump/src/com/android/mediadump/
H A DVideoDumpView.java514 public void onSurfaceCreated(GL10 glUnused, EGLConfig config) { argument
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
H A DEffectReverb.cpp135 effect_config_t config; member in struct:android::__anon464::ReverbContext
446 if (pContext->config.inputCfg.channels == AUDIO_CHANNEL_OUT_STEREO) {
448 } else if (pContext->config.inputCfg.channels != AUDIO_CHANNEL_OUT_MONO) {
556 if (pContext->config.outputCfg.accessMode == EFFECT_BUFFER_ACCESS_ACCUMULATE){
648 pContext->config = *pConfig;
718 *pConfig = pContext->config;
744 pContext->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ;
746 pContext->config.inputCfg.channels = AUDIO_CHANNEL_OUT_MONO;
748 pContext->config.inputCfg.channels = AUDIO_CHANNEL_OUT_STEREO;
751 pContext->config
[all...]
/frameworks/av/media/libeffects/testlibs/
H A DEffectReverb.h295 effect_config_t config; member in struct:reverb_module_s
/frameworks/av/media/libstagefright/
H A DAVIExtractor.cpp969 sp<ABuffer> MakeMPEG4VideoCodecSpecificData(const sp<ABuffer> &config) { argument
970 size_t len1 = config->size() + GetSizeWidth(config->size()) + 1;
990 dst = EncodeSize(dst, config->size());
991 memcpy(dst, config->data(), config->size());
992 dst += config->size();
/frameworks/base/core/java/android/app/
H A DApplicationThreadNative.java159 Configuration config = null;
161 config = Configuration.CREATOR.createFromParcel(data);
163 scheduleRelaunchActivity(b, ri, pi, configChanges, notResumed, config);
274 Configuration config = Configuration.CREATOR.createFromParcel(data);
281 persistent, config, compatInfo, services, coreSettings);
310 Configuration config = Configuration.CREATOR.createFromParcel(data);
311 scheduleConfigurationChanged(config);
715 int configChanges, boolean notResumed, Configuration config)
724 if (config != null) {
726 config
713 scheduleRelaunchActivity(IBinder token, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, int configChanges, boolean notResumed, Configuration config) argument
863 bindApplication(String packageName, ApplicationInfo info, List<ProviderInfo> providers, ComponentName testName, String profileName, ParcelFileDescriptor profileFd, boolean autoStopProfiler, Bundle testArgs, IInstrumentationWatcher testWatcher, int debugMode, boolean openGlTrace, boolean restrictedBackupMode, boolean persistent, Configuration config, CompatibilityInfo compatInfo, Map<String, IBinder> services, Bundle coreSettings) argument
930 scheduleConfigurationChanged(Configuration config) argument
[all...]
/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/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/net/
H A DNetworkStatsService.java356 String prefix, NetworkStatsSettings.Config config, boolean includeTags) {
360 mBaseDir, prefix, config.rotateAgeMillis, config.deleteAgeMillis),
361 mNonMonotonicObserver, dropBox, prefix, config.bucketDuration, includeTags);
355 buildRecorder( String prefix, NetworkStatsSettings.Config config, boolean includeTags) argument
/frameworks/base/tools/aapt/
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;
/frameworks/base/tools/layoutlib/bridge/src/android/view/
H A DIWindowManagerImpl.java55 public IWindowManagerImpl(Configuration config, DisplayMetrics metrics, int rotation, argument
57 mConfig = config;
/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/native/opengl/tests/hwc/
H A DhwcTestLib.cpp39 static void printEGLConfiguration(EGLDisplay dpy, EGLConfig config);
980 static void printEGLConfiguration(EGLDisplay dpy, EGLConfig config) argument
1022 EGLint returnVal = eglGetConfigAttrib(dpy, config, names[j].attribute,

Completed in 832 milliseconds

123456