Searched defs:config (Results 151 - 175 of 377) sorted by relevance

1234567891011>>

/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyClientImpl.cpp41 audio_config_t *config,
52 return af->openOutput(module, output, config, devices, address, latencyMs, flags);
101 audio_config_t *config,
113 return af->openInput(module, input, config, device, address, source, flags);
200 const struct audio_port_config *config,
203 return mAudioPolicyService->clientSetAudioPortConfig(config, delayMs);
39 openOutput(audio_module_handle_t module, audio_io_handle_t *output, audio_config_t *config, audio_devices_t *devices, const String8& address, uint32_t *latencyMs, audio_output_flags_t flags) argument
99 openInput(audio_module_handle_t module, audio_io_handle_t *input, audio_config_t *config, audio_devices_t *device, const String8& address, audio_source_t source, audio_input_flags_t flags) argument
199 setAudioPortConfig( const struct audio_port_config *config, int delayMs) argument
H A DAudioPolicyClientImplLegacy.cpp84 audio_config_t config = AUDIO_CONFIG_INITIALIZER; local
85 config.sample_rate = *pSamplingRate;
86 config.format = *pFormat;
87 config.channel_mask = *pChannelMask;
89 config.offload_info = *offloadInfo;
92 status_t status = af->openOutput(module, &output, &config, pDevices,
95 *pSamplingRate = config.sample_rate;
96 *pFormat = config.format;
97 *pChannelMask = config.channel_mask;
99 *((audio_offload_info_t *)offloadInfo) = config
199 audio_config_t config = AUDIO_CONFIG_INITIALIZER;; local
[all...]
/frameworks/base/cmds/bootanimation/
H A DAudioPlayer.cpp140 bool AudioPlayer::init(const char* config) argument
147 const char* endl = strstr(config, "\n");
149 String8 line(config, endl - config);
184 config = ++endl;
206 struct pcm_config config; local
269 memset(&config, 0, sizeof(config));
270 config.channels = chunkFmt->num_channels;
271 config
[all...]
/frameworks/base/core/java/android/app/
H A DResourcesManager.java172 @NonNull DisplayMetrics dm, @NonNull Configuration config) {
173 config.touchscreen = Configuration.TOUCHSCREEN_NOTOUCH;
174 config.densityDpi = dm.densityDpi;
175 config.screenWidthDp = (int) (dm.widthPixels / dm.density);
176 config.screenHeightDp = (int) (dm.heightPixels / dm.density);
177 int sl = Configuration.resetScreenLayout(config.screenLayout);
179 config.orientation = Configuration.ORIENTATION_LANDSCAPE;
180 config.screenLayout = Configuration.reduceScreenLayout(sl,
181 config.screenWidthDp, config
171 applyNonDefaultDisplayMetricsToConfiguration( @onNull DisplayMetrics dm, @NonNull Configuration config) argument
763 applyConfigurationToResourcesLocked(@onNull Configuration config, @Nullable CompatibilityInfo compat) argument
[all...]
/frameworks/base/core/java/android/hardware/radio/
H A DRadioModule.java39 RadioModule(int moduleId, RadioManager.BandConfig config, boolean withAudio, argument
43 native_setup(new WeakReference<RadioModule>(this), config, withAudio);
46 RadioManager.BandConfig config, boolean withAudio);
61 public native int setConfiguration(RadioManager.BandConfig config); argument
63 public native int getConfiguration(RadioManager.BandConfig[] config); argument
122 RadioManager.BandConfig config = (RadioManager.BandConfig)msg.obj;
126 callback.onConfigurationChanged(config);
45 native_setup(Object module_this, RadioManager.BandConfig config, boolean withAudio) argument
H A DRadioTuner.java56 * @param config The desired band configuration (FmBandConfig or AmBandConfig).
68 public abstract int setConfiguration(RadioManager.BandConfig config); argument
72 * @param config a BandConfig array of lengh 1 where the configuration is returned.
84 public abstract int getConfiguration(RadioManager.BandConfig[] config); argument
264 public void onConfigurationChanged(RadioManager.BandConfig config) {} argument
/frameworks/base/core/java/android/security/net/config/
H A DNetworkSecurityConfig.java17 package android.security.net.config;
H A DXmlConfigSource.java1 package android.security.net.config;
77 return "base-config";
79 return "domain-config";
83 throw new IllegalArgumentException("Unknown config type: " + configType);
242 // Parse config attributes. Only set values that are present, config inheritence will
256 // Parse the config elements.
284 } else if ("domain-config".equals(tagName)) {
287 "Nested domain-config not allowed in " + getConfigString(configType));
295 throw new ParserException(parser, "No domain elements in domain-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...]
/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/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/base/media/mca/filterfw/native/core/
H A Dgl_env.cpp142 EGLConfig config; local
146 // TODO: Currently choosing the config that includes all
158 eglChooseConfig(display(), configAttribs, &config, 1, &numConfigs); local
172 surfaces_[0] = SurfaceWindowPair(eglCreateWindowSurface(display(), config, window_.get(), NULL), NULL);
178 config,
/frameworks/base/packages/Osu/src/com/android/hotspot2/
H A DWifiNetworkAdapter.java50 private PasspointConfig(WifiConfiguration config) throws IOException, SAXException { argument
51 mWifiConfiguration = config;
53 mMOTree = omaParser.parse(config.getMoTree(), OMAConstants.PPS_URN);
90 for (WifiConfiguration config : wifiManager.getPrivilegedConfiguredNetworks()) {
91 String moTree = config.getMoTree();
94 mPasspointConfigs.put(config.FQDN, new PasspointConfig(config));
104 for (PasspointConfig config : mPasspointConfigs.values()) {
105 homeSPs.add(config.getHomeSP());
111 PasspointConfig config
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DFakeShadowDrawable.java84 public FakeShadowDrawable(Resources resources, RecentsConfiguration config) { argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DZenModeControllerImpl.java204 private void fireConfigChanged(ZenModeConfig config) { argument
206 cb.onConfigChanged(config);
221 final ZenModeConfig config = mNoMan.getZenModeConfig();
222 if (Objects.equals(config, mConfig)) return;
224 mConfig = config;
225 fireConfigChanged(config);
226 final ZenRule newRule = config != null ? config.manualRule : null;
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DUploadedTexture.java87 public Config config; field in class:UploadedTexture.BorderKey
92 int x = config.hashCode() ^ length;
101 && config == o.config && length == o.length;
119 boolean vertical, Config config, int length) {
122 key.config = config;
127 ? Bitmap.createBitmap(1, length, config)
128 : Bitmap.createBitmap(length, 1, config);
233 Config config
118 getBorderLine( boolean vertical, Config config, int length) argument
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DZenModeFiltering.java78 public static boolean matchesCallFilter(Context context, int zen, ZenModeConfig config, argument
84 if (config.allowRepeatCallers && REPEAT_CALLERS.isRepeat(context, extras)) return true;
85 if (!config.allowCalls) return false; // no other calls get through
89 return audienceMatches(config.allowCallsFrom, contactAffinity);
100 public boolean shouldIntercept(int zen, ZenModeConfig config, NotificationRecord record) { argument
127 if (config.allowRepeatCallers
132 if (!config.allowCalls) {
136 return shouldInterceptAudience(config.allowCallsFrom, record);
139 if (!config.allowMessages) {
143 return shouldInterceptAudience(config
[all...]
/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/base/services/voiceinteraction/java/com/android/server/soundtrigger/
H A DSoundTriggerService.java123 RecognitionConfig config) {
137 callback, config);
122 startRecognition(ParcelUuid parcelUuid, IRecognitionStatusCallback callback, RecognitionConfig config) argument
/frameworks/base/test-runner/src/android/test/mock/
H A DMockResources.java51 public void updateConfiguration(Configuration config, DisplayMetrics metrics) { argument
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGLDepthTestActivity.java189 public void onSurfaceCreated(GL10 glUnused, EGLConfig config) { argument
/frameworks/base/tools/aapt/
H A DAaptConfig.cpp37 ConfigDescription config; local
48 if (parseMcc(part, &config)) {
56 if (parseMnc(part, &config)) {
70 locale.writeTo(&config);
78 if (parseLayoutDirection(part, &config)) {
86 if (parseSmallestScreenWidthDp(part, &config)) {
94 if (parseScreenWidthDp(part, &config)) {
102 if (parseScreenHeightDp(part, &config)) {
110 if (parseScreenLayoutSize(part, &config)) {
118 if (parseScreenLayoutLong(part, &config)) {
237 ConfigDescription config; local
246 applyVersionForCompatibility(ConfigDescription* config) argument
819 getVersion(const ResTable_config& config) argument
827 isDensityOnly(const ResTable_config& config) argument
[all...]
H A DStringPool.cpp135 const String8* configTypeName, const ResTable_config* config)
137 ssize_t res = add(value, false, configTypeName, config);
145 bool mergeDuplicates, const String8* configTypeName, const ResTable_config* config)
161 printf("*** adding config type name %s, was %s\n",
171 if (config != NULL) {
176 int cmp = ent.configs.itemAt(addPos).compareLogical(*config);
180 printf("*** inserting config: %s\n", config->toString().string());
182 ent.configs.insertAt(*config, addPos);
189 printf("*** adding config
134 add(const String16& value, const Vector<entry_style_span>& spans, const String8* configTypeName, const ResTable_config* config) argument
144 add(const String16& value, bool mergeDuplicates, const String8* configTypeName, const ResTable_config* config) argument
[all...]
/frameworks/base/tools/aapt2/
H A DConfigDescription.cpp34 static ConfigDescription config = {}; local
35 return config;
583 ConfigDescription config; local
594 if (parseMcc(partIter->c_str(), &config)) {
601 if (parseMnc(partIter->c_str(), &config)) {
614 locale.writeTo(&config);
621 if (parseLayoutDirection(partIter->c_str(), &config)) {
628 if (parseSmallestScreenWidthDp(partIter->c_str(), &config)) {
635 if (parseScreenWidthDp(partIter->c_str(), &config)) {
642 if (parseScreenHeightDp(partIter->c_str(), &config)) {
758 applyVersionForCompatibility(ConfigDescription* config) argument
[all...]
H A DResourceTable.cpp125 ResourceConfigValue* ResourceEntry::findValue(const ConfigDescription& config) { argument
126 return findValue(config, StringPiece());
130 const ConfigDescription* config; member in struct:aapt::ConfigKey
135 int cmp = lhs->config.compare(*rhs.config);
142 ResourceConfigValue* ResourceEntry::findValue(const ConfigDescription& config, argument
145 ConfigKey{ &config, product }, ltConfigKeyRef);
148 if (value->config == config && StringPiece(value->product) == product) {
155 ResourceConfigValue* ResourceEntry::findOrCreateValue(const ConfigDescription& config, argument
170 findAllValues(const ConfigDescription& config) argument
256 addResource(const ResourceNameRef& name, const ConfigDescription& config, const StringPiece& product, std::unique_ptr<Value> value, IDiagnostics* diag) argument
265 addResource(const ResourceNameRef& name, const ResourceId resId, const ConfigDescription& config, const StringPiece& product, std::unique_ptr<Value> value, IDiagnostics* diag) argument
275 addFileReference(const ResourceNameRef& name, const ConfigDescription& config, const Source& source, const StringPiece16& path, IDiagnostics* diag) argument
283 addFileReferenceAllowMangled(const ResourceNameRef& name, const ConfigDescription& config, const Source& source, const StringPiece16& path, io::IFile* file, IDiagnostics* diag) argument
292 addFileReferenceImpl(const ResourceNameRef& name, const ConfigDescription& config, const Source& source, const StringPiece16& path, io::IFile* file, const char16_t* validChars, IDiagnostics* diag) argument
307 addResourceAllowMangled(const ResourceNameRef& name, const ConfigDescription& config, const StringPiece& product, std::unique_ptr<Value> value, IDiagnostics* diag) argument
316 addResourceAllowMangled(const ResourceNameRef& name, const ResourceId id, const ConfigDescription& config, const StringPiece& product, std::unique_ptr<Value> value, IDiagnostics* diag) argument
326 addResourceImpl(const ResourceNameRef& name, const ResourceId resId, const ConfigDescription& config, const StringPiece& product, std::unique_ptr<Value> value, const char16_t* validChars, std::function<int(Value*,Value*)> conflictResolver, IDiagnostics* diag) argument
403 << "with config '" << config << "'"); local
[all...]

Completed in 5106 milliseconds

1234567891011>>