Searched refs:config (Results 226 - 250 of 591) sorted by relevance

1234567891011>>

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DHwModule.cpp45 status_t HwModule::addOutputProfile(String8 name, const audio_config_t *config, argument
50 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask,
51 config->sample_rate));
108 status_t HwModule::addInputProfile(String8 name, const audio_config_t *config, argument
112 profile->addAudioProfile(new AudioProfile(config->format, config->channel_mask,
113 config->sample_rate));
120 name.string(), config->sample_rate, config
[all...]
/frameworks/av/media/libeffects/downmix/
H A DEffectDownmix.c321 (pDwmModule->config.outputCfg.accessMode == EFFECT_BUFFER_ACCESS_ACCUMULATE);
322 const uint32_t downmixInputChannelMask = pDwmModule->config.inputCfg.channels;
565 * pDwmModule->config.inputCfg
566 * pDwmModule->config.outputCfg
567 * pDwmModule->config.inputCfg.samplingRate
568 * pDwmModule->config.outputCfg.samplingRate
583 pDwmModule->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ;
584 pDwmModule->config.inputCfg.format = AUDIO_FORMAT_PCM_16_BIT;
585 pDwmModule->config.inputCfg.channels = AUDIO_CHANNEL_OUT_7POINT1;
586 pDwmModule->config
[all...]
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp111 uint32_t typeSpecFlags, ResTable_config* config = NULL);
115 uint32_t typeSpecFlags, ResTable_config* config)
125 if (config != NULL) {
126 env->SetIntField(outValue, gTypedValueOffsets.mDensity, config->density);
621 static jobject constructConfigurationObject(JNIEnv* env, const ResTable_config& config) { argument
629 config.smallestScreenWidthDp);
630 env->SetIntField(result, gConfigurationOffsets.mScreenWidthDpOffset, config.screenWidthDp);
631 env->SetIntField(result, gConfigurationOffsets.mScreenHeightDpOffset, config.screenHeightDp);
645 jobject config = constructConfigurationObject(env, configs[i]); local
646 if (config
113 copyValue(JNIEnv* env, jobject outValue, const ResTable* table, const Res_value& value, uint32_t ref, ssize_t block, uint32_t typeSpecFlags, ResTable_config* config) argument
688 ResTable_config config; local
897 ResTable_config config; local
1166 ResTable_config config; local
1371 ResTable_config config; local
1619 ResTable_config config; local
1770 ResTable_config config; local
[all...]
H A Dcom_google_android_gles_jni_EGLImpl.cpp227 jobject config, jobject share_context, jintArray attrib_list) {
228 if (display == NULL || config == NULL || share_context == NULL
234 EGLConfig cnf = getConfig(_env, config);
243 jobject config, jintArray attrib_list) {
244 if (display == NULL || config == NULL
250 EGLConfig cnf = getConfig(_env, config);
268 jobject display, jobject config, jobject native_pixmap,
271 if (display == NULL || config == NULL || native_pixmap == NULL
277 EGLConfig cnf = getConfig(_env, config);
313 jobject config, jobjec
226 jni_eglCreateContext(JNIEnv *_env, jobject _this, jobject display, jobject config, jobject share_context, jintArray attrib_list) argument
242 jni_eglCreatePbufferSurface(JNIEnv *_env, jobject _this, jobject display, jobject config, jintArray attrib_list) argument
267 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
367 jni_eglGetConfigAttrib(JNIEnv *_env, jobject _this, jobject display, jobject config, jint attribute, jintArray value) argument
[all...]
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
H A DEffectReverb.cpp137 effect_config_t config; member in struct:android::__anon243::ReverbContext
424 if (pContext->config.inputCfg.channels == AUDIO_CHANNEL_OUT_STEREO) {
426 } else if (pContext->config.inputCfg.channels != AUDIO_CHANNEL_OUT_MONO) {
534 if (pContext->config.outputCfg.accessMode == EFFECT_BUFFER_ACCESS_ACCUMULATE){
622 pContext->config = *pConfig;
695 *pConfig = pContext->config;
721 pContext->config.inputCfg.accessMode = EFFECT_BUFFER_ACCESS_READ;
723 pContext->config.inputCfg.channels = AUDIO_CHANNEL_OUT_MONO;
725 pContext->config.inputCfg.channels = AUDIO_CHANNEL_OUT_STEREO;
728 pContext->config
[all...]
/frameworks/base/tools/aapt2/link/
H A DTableMerger.cpp67 callback = [&](const ResourceNameRef& name, const ConfigDescription& config,
112 auto callback = [&](const ResourceNameRef& name, const ConfigDescription& config,
219 ResourceConfigValue* dstValue = dstEntry->findValue(srcValue->config,
234 << srcValue->config << ")");
248 dstValue = dstEntry->findOrCreateValue(srcValue->config, srcValue->product);
261 if (!callback(resName, srcValue->config, newFileRef.get(), f)) {
306 ->findOrCreateValue(fileDesc.config, {})
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonLDBackend.cpp69 m_pRelocator = new HexagonRelocator(*this, config());
86 if (!config().isCodeStatic() && m_pDynamic == NULL)
87 m_pDynamic = new HexagonELFDynamic(*this, config());
91 if ((LinkerConfig::Object != config().codeGenType()) &&
92 (!config().isCodeStatic())) {
102 !config().isCodeStatic() &&
109 !config().isCodeStatic() &&
115 if (LinkerConfig::Object == config().codeGenType())
145 if ((LinkerConfig::Object != config().codeGenType()) &&
146 (!config()
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DWifiServiceImpl.java212 WifiConfiguration config = (WifiConfiguration) msg.obj;
229 if (config != null && isValid(config)) {
230 if (DBG) Slog.d(TAG, "Connect with config" + config);
232 } else if (config == null
645 Log.i(TAG, "Unknown wi-fi config type: " + mimeType);
748 // TODO(b/27227497): Need to read the power consumed per level from config
834 public int addOrUpdateNetwork(WifiConfiguration config) { argument
836 if (isValid(config)
1983 isValid(WifiConfiguration config) argument
1988 isValidPasspoint(WifiConfiguration config) argument
1993 checkValidity(WifiConfiguration config) argument
2012 checkPasspointValidity(WifiConfiguration config) argument
[all...]
H A DSoftApManager.java127 * @param config AP configuration
129 public void start(WifiConfiguration config) { argument
130 mStateMachine.sendMessage(SoftApStateMachine.CMD_START, config);
153 * @param config AP configuration
156 private int startSoftAp(WifiConfiguration config) { argument
157 if (config == null) {
163 WifiConfiguration localConfig = new WifiConfiguration(config);
179 && config.apBand == WifiConfiguration.AP_BAND_5GHZ) {
/frameworks/av/services/audiopolicy/managerdefault/
H A DAudioPolicyManager.cpp570 audio_policy_forced_cfg_t config)
572 ALOGV("setForceUse() usage %d, config %d, mPhoneState %d", usage, config, mEngine->getPhoneState());
574 if (mEngine->setForceUse(usage, config) != NO_ERROR) {
575 ALOGW("setForceUse() could not set force cfg %d for usage %d", config, usage);
795 audio_config_t config = AUDIO_CONFIG_INITIALIZER; local
796 config.sample_rate = mTestSamplingRate;
797 config.channel_mask = mTestChannels;
798 config.format = mTestFormat;
800 config
569 setForceUse(audio_policy_force_use_t usage, audio_policy_forced_cfg_t config) argument
914 audio_config_t config = AUDIO_CONFIG_INITIALIZER; local
1548 audio_config_t config = AUDIO_CONFIG_INITIALIZER; local
2736 setAudioPortConfig(const struct audio_port_config *config) argument
3238 audio_config_t config = AUDIO_CONFIG_INITIALIZER; local
3310 audio_config_t config = AUDIO_CONFIG_INITIALIZER; local
3528 audio_config_t config = AUDIO_CONFIG_INITIALIZER; local
3697 audio_config_t config = AUDIO_CONFIG_INITIALIZER; local
3938 audio_config_t config = AUDIO_CONFIG_INITIALIZER; local
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseLinearLayoutManagerTest.java72 for (Config config : base) {
74 Config newConfig = (Config) config.clone();
82 void setupByConfig(Config config, boolean waitForFirstLayout) throws Throwable { argument
86 mTestAdapter = config.mTestAdapter == null ? new TestAdapter(config.mItemCount)
87 : config.mTestAdapter;
89 mLayoutManager = new WrappedLinearLayoutManager(getActivity(), config.mOrientation,
90 config.mReverseLayout);
91 mLayoutManager.setStackFromEnd(config.mStackFromEnd);
92 mLayoutManager.setRecycleChildrenOnDetach(config
[all...]
/frameworks/av/services/radio/
H A DRadioService.h56 const struct radio_band_config *config,
75 const struct radio_band_config *config,
136 const struct radio_band_config *config,
144 virtual status_t setConfiguration(const struct radio_band_config *config);
146 virtual status_t getConfiguration(struct radio_band_config *config);
/frameworks/base/core/java/android/security/net/config/
H A DNetworkSecurityTrustManager.java17 package android.security.net.config;
49 public NetworkSecurityTrustManager(NetworkSecurityConfig config) { argument
50 if (config == null) {
51 throw new NullPointerException("config must not be null");
53 mNetworkSecurityConfig = config;
55 TrustedCertificateStoreAdapter certStore = new TrustedCertificateStoreAdapter(config);
/frameworks/base/services/core/jni/
H A Dcom_android_server_UsbHostManager.cpp101 struct usb_config_descriptor *config = (struct usb_config_descriptor *)desc; local
102 char *name = usb_device_get_string(device, config->iConfiguration);
106 config->bConfigurationValue, configName, config->bmAttributes,
107 config->bMaxPower);
/frameworks/native/opengl/tests/angeles/include/GLES/
H A Degl.h147 /* 0x3039 - 0x304F reserved for additional config attributes. */
204 GLAPI EGLBoolean APIENTRY eglGetConfigAttrib (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value);
206 GLAPI EGLSurface APIENTRY eglCreateWindowSurface (EGLDisplay dpy, EGLConfig config, NativeWindowType window, const EGLint *attrib_list);
207 GLAPI EGLSurface APIENTRY eglCreatePixmapSurface (EGLDisplay dpy, EGLConfig config, NativePixmapType pixmap, const EGLint *attrib_list);
208 GLAPI EGLSurface APIENTRY eglCreatePbufferSurface (EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list);
212 GLAPI EGLContext APIENTRY eglCreateContext (EGLDisplay dpy, EGLConfig config, EGLContext share_list, const EGLint *attrib_list);
/frameworks/base/opengl/java/android/opengl/
H A DGLSurfaceView.java410 * Install a config chooser which will choose a config
428 * Install a config chooser which will choose a config
469 * EGLConfigChooser is responsible for choosing an OpenGL ES 2.0-compatible config.
713 * @param config the EGLConfig of the created surface. Can be used
716 void onSurfaceCreated(GL10 gl, EGLConfig config); argument
775 public EGLContext createContext(EGL10 egl, EGLDisplay display, EGLConfig config) { argument
779 return egl.eglCreateContext(display, config, EGL10.EGL_NO_CONTEXT,
805 EGLSurface createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, argument
812 createWindowSurface(EGL10 egl, EGLDisplay display, EGLConfig config, Object nativeWindow) argument
963 findConfigAttrib(EGL10 egl, EGLDisplay display, EGLConfig config, int attribute, int defaultValue) argument
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiManager.java760 * @param config the set of variables that describe the configuration,
766 public int addNetwork(WifiConfiguration config) { argument
767 if (config == null) {
770 config.networkId = -1;
771 return addOrUpdateNetwork(config);
777 * @param config the set of variables that describe the configuration,
789 public int updateNetwork(WifiConfiguration config) { argument
790 if (config == null || config.networkId < 0) {
793 return addOrUpdateNetwork(config);
804 addOrUpdateNetwork(WifiConfiguration config) argument
2008 connect(WifiConfiguration config, ActionListener listener) argument
2052 save(WifiConfiguration config, ActionListener listener) argument
2112 startWps(WpsInfo config, WpsCallback listener) argument
[all...]
/frameworks/base/libs/hwui/debug/
H A Dnullegl.cpp82 EGLSurface eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, argument
88 EGLSurface eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config, argument
117 EGLContext eglCreateContext(EGLDisplay dpy, EGLConfig config, argument
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/accessibility/
H A DAccessibilityUtils.java84 final Configuration config = new Configuration(res.getConfiguration());
85 config.setLocale(locale);
86 final Context langContext = context.createConfigurationContext(config);
/frameworks/base/tools/aapt2/flatten/
H A DTableFlattener.cpp302 bool flattenConfig(const ResourceTableType* type, const ConfigDescription& config, argument
307 typeHeader->config = config;
308 typeHeader->config.swapHtoD();
335 << "' for configuration '" << config << "'");
397 // Populate the config masks for this entry.
406 const ConfigDescription& config = entry->values[i]->config; local
409 config.diff(entry->values[j]->config));
[all...]
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
H A DDrawableLayoutDirectionHelperTest.java98 final Configuration config = new Configuration();
99 config.setLayoutDirection(new Locale("fa", "IR"));
100 context = getContext().createConfigurationContext(config);
/frameworks/base/tests/SoundTriggerTests/src/android/hardware/soundtrigger/stubhal/
H A DGenericSoundModelTest.java131 RecognitionConfig config = new RecognitionConfig(captureTriggerAudio, allowMultipleTriggers,
139 config);
155 RecognitionConfig config = new RecognitionConfig(captureTriggerAudio, allowMultipleTriggers,
162 soundTriggerService.startRecognition(new ParcelUuid(model.uuid), spyCallback, config);
213 RecognitionConfig config = new RecognitionConfig(captureTriggerAudio, allowMultipleTriggers,
235 spyCallback, config);
/frameworks/base/tools/aapt2/test/
H A DBuilders.h72 const ConfigDescription& config, const StringPiece16& str) {
73 return addValue(name, id, config,
88 const ConfigDescription& config) {
89 return addValue(name, {}, config,
104 const ConfigDescription& config,
107 bool result = mTable->addResourceAllowMangled(resName, id, config, std::string(),
71 addString(const StringPiece16& name, const ResourceId id, const ConfigDescription& config, const StringPiece16& str) argument
87 addFileReference(const StringPiece16& name, const StringPiece16& path, const ConfigDescription& config) argument
103 addValue(const StringPiece16& name, const ResourceId id, const ConfigDescription& config, std::unique_ptr<Value> value) argument
/frameworks/native/opengl/include/EGL/
H A Degl.h131 /* Reserved 0x3041-0x304F for additional config attributes */
140 /* More config attribute values, for EGL_TEXTURE_FORMAT */
262 EGLAPI EGLBoolean EGLAPIENTRY eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config,
265 EGLAPI EGLSurface EGLAPIENTRY eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config,
268 EGLAPI EGLSurface EGLAPIENTRY eglCreatePbufferSurface(EGLDisplay dpy, EGLConfig config,
270 EGLAPI EGLSurface EGLAPIENTRY eglCreatePixmapSurface(EGLDisplay dpy, EGLConfig config,
286 EGLConfig config, const EGLint *attrib_list);
297 EGLAPI EGLContext EGLAPIENTRY eglCreateContext(EGLDisplay dpy, EGLConfig config,
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DHwModule.h69 status_t addOutputProfile(String8 name, const audio_config_t *config,
72 status_t addInputProfile(String8 name, const audio_config_t *config,

Completed in 764 milliseconds

1234567891011>>