Searched refs:config (Results 126 - 150 of 591) sorted by relevance

1234567891011>>

/frameworks/av/include/radio/
H A DRadio.h42 const struct radio_band_config *config,
49 status_t setConfiguration(const struct radio_band_config *config);
51 status_t getConfiguration(struct radio_band_config *config);
/frameworks/base/core/java/android/hardware/radio/
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
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
/frameworks/base/libs/androidfw/tests/
H A DConfigLocale_test.cpp26 ResTable_config config; local
27 config.packLanguage("en");
29 EXPECT_EQ('e', config.language[0]);
30 EXPECT_EQ('n', config.language[1]);
33 config.unpackLanguage(out);
40 config.locale = 0;
41 config.unpackLanguage(out);
49 ResTable_config config; local
50 config.packRegion("US");
52 EXPECT_EQ('U', config
64 ResTable_config config; local
80 ResTable_config config; local
104 ResTable_config config; local
241 ResTable_config config; local
269 ResTable_config config; local
[all...]
H A DSplit_test.cpp59 void makeConfigFrench(ResTable_config* config) { argument
60 memset(config, 0, sizeof(*config));
61 config->language[0] = 'f';
62 config->language[1] = 'r';
83 ResTable_config config; local
84 ssize_t block = table.getResource(base::R::string::test1, &val, MAY_NOT_BE_BAG, 0, NULL, &config);
90 EXPECT_EQ(0, expectedConfig.compare(config));
106 ResTable_config config; local
107 ssize_t block = table.getResource(base::R::string::test1, &val, MAY_NOT_BE_BAG, 0, NULL, &config);
[all...]
/frameworks/base/tools/split-select/
H A DGrouper.cpp40 if (split.config.density != 0) {
42 key.config.density = 0;
43 key.config.sdkVersion = 0; // Ignore density so we can support anydpi.
/frameworks/native/opengl/tools/glgen/specs/egl/
H A DEGL14.spec8 EGLBoolean eglGetConfigAttrib ( EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value )
9 EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list )
10 EGLSurface eglCreatePbufferSurface ( EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list )
11 EGLSurface eglCreatePixmapSurface ( EGLDisplay dpy, EGLConfig config, EGLNativePixmapType pixmap, const EGLint *attrib_list )
18 EGLSurface eglCreatePbufferFromClientBuffer ( EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list )
23 EGLContext eglCreateContext ( EGLDisplay dpy, EGLConfig config, EGLContext share_context, const EGLint *attrib_list )
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
H A DConfigGenerator.java166 FolderConfiguration config = new FolderConfiguration();
167 config.createDefault();
168 config.setDensityQualifier(new DensityQualifier(mDensity));
169 config.setNavigationMethodQualifier(new NavigationMethodQualifier(mNavigation));
171 config.setScreenDimensionQualifier(new ScreenDimensionQualifier(mScreenWidth,
174 config.setScreenDimensionQualifier(new ScreenDimensionQualifier(mScreenHeight,
177 config.setScreenRatioQualifier(new ScreenRatioQualifier(mRatio));
178 config.setScreenSizeQualifier(new ScreenSizeQualifier(mSize));
179 config.setTextInputMethodQualifier(new TextInputMethodQualifier(mKeyboard));
180 config
[all...]
/frameworks/base/core/java/android/security/net/config/
H A DApplicationConfig.java17 package android.security.net.config;
91 NetworkSecurityConfig config = entry.second;
94 return config;
177 public static void setDefaultInstance(ApplicationConfig config) { argument
179 sInstance = config;
H A DTrustedCertificateStoreAdapter.java17 package android.security.net.config;
31 public TrustedCertificateStoreAdapter(NetworkSecurityConfig config) { argument
32 mConfig = config;
/frameworks/base/opengl/java/android/opengl/
H A DEGL14.java216 // C function EGLBoolean eglGetConfigAttrib ( EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value )
220 EGLConfig config,
226 // C function EGLSurface eglCreateWindowSurface ( EGLDisplay dpy, EGLConfig config, EGLNativeWindowType win, const EGLint *attrib_list )
230 EGLConfig config,
238 EGLConfig config,
245 EGLConfig config,
263 surface = _eglCreateWindowSurface(dpy, config, sur, attrib_list, offset);
265 surface = _eglCreateWindowSurfaceTexture(dpy, config,
276 // C function EGLSurface eglCreatePbufferSurface ( EGLDisplay dpy, EGLConfig config, const EGLint *attrib_list )
280 EGLConfig config,
218 eglGetConfigAttrib( EGLDisplay dpy, EGLConfig config, int attribute, int[] value, int offset ) argument
228 _eglCreateWindowSurface( EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
236 _eglCreateWindowSurfaceTexture( EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
244 eglCreateWindowSurface(EGLDisplay dpy, EGLConfig config, Object win, int[] attrib_list, int offset ) argument
278 eglCreatePbufferSurface( EGLDisplay dpy, EGLConfig config, int[] attrib_list, int offset ) argument
287 eglCreatePixmapSurface( EGLDisplay dpy, EGLConfig config, int pixmap, int[] attrib_list, int offset ) argument
335 eglCreatePbufferFromClientBuffer( EGLDisplay dpy, int buftype, int buffer, EGLConfig config, int[] attrib_list, int offset ) argument
347 eglCreatePbufferFromClientBuffer( EGLDisplay dpy, int buftype, long buffer, EGLConfig config, int[] attrib_list, int offset ) argument
390 eglCreateContext( EGLDisplay dpy, EGLConfig config, EGLContext share_context, int[] attrib_list, int offset ) argument
[all...]
/frameworks/base/services/usage/java/com/android/server/usage/
H A DIntervalStats.java60 ConfigurationStats getOrCreateConfigurationStats(Configuration config) { argument
61 ConfigurationStats configStats = configurations.get(config);
66 configStats.mConfiguration = config;
67 configurations.put(config, configStats);
124 void updateConfigurationStats(Configuration config, long timeStamp) { argument
131 if (config != null) {
132 ConfigurationStats configStats = getOrCreateConfigurationStats(config);
/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
H A DMultiLayoutVerificationTest.java90 assertTrue("should find default config error\n" + result.error, foundNormal);
119 String config = name;
131 "/app/src/main/res/" + config + "/layout_with_variable_type.xml")
133 String extract = extract("/app/src/main/res/" + config +
139 config + "/layout_with_variable_type"), exception.getBareMessage());
172 String config = name;
184 "/app/src/main/res/" + config + "/layout_with_import_type.xml")
186 String extract = extract("/app/src/main/res/" + config + "/layout_with_import_type.xml",
192 config + "/layout_with_import_type"), exception.getBareMessage());
223 String config
[all...]
/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);
297 sp<ABuffer> csd = new ABuffer(sizeof(kStaticESDS) + config
335 ExtractDimensionsMPEG4Config( const sp<ABuffer> &config, int32_t *width, int32_t *height) argument
370 sp<ABuffer> config = decodeHex(val); local
[all...]
/frameworks/base/services/core/java/com/android/server/
H A DAssetAtlasService.java220 Configuration config = chooseConfiguration(mBitmaps, mPixelCount, mVersionName);
221 if (DEBUG_ATLAS) Log.d(LOG_TAG, "Loaded configuration: " + config);
223 if (config != null) {
224 mBuffer = GraphicBuffer.create(config.width, config.height,
228 Atlas atlas = new Atlas(config.type, config.width, config.height, config.flags);
229 if (renderAtlas(mBuffer, atlas, config
460 writeConfiguration(Configuration config, File file, String versionName) argument
[all...]
/frameworks/base/tools/aapt2/
H A DLocale.cpp253 void LocaleValue::initFromResTable(const ResTable_config& config) { argument
254 config.unpackLanguage(language);
255 config.unpackRegion(region);
256 if (config.localeScript[0] && !config.localeScriptWasComputed) {
257 memcpy(script, config.localeScript, sizeof(config.localeScript));
260 if (config.localeVariant[0]) {
261 memcpy(variant, config.localeVariant, sizeof(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/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DStaggeredGridLayoutManagerBaseConfigSetTest.java65 public StaggeredGridLayoutManagerBaseConfigSetTest(Config config) argument
67 mConfig = (Config) config.clone();
247 private void saveRestore(final Config config) throws Throwable { argument
264 mLayoutManager = new WrappedLayoutManager(config.mSpanCount,
265 config.mOrientation);
266 mLayoutManager.setGapStrategy(config.mGapStrategy);
401 final Config config = ((Config) mConfig.clone()).itemCount(mConfig.mSpanCount + 1);
402 setupByConfig(config);
409 if (config.mOrientation == HORIZONTAL) {
429 if (config
814 consistentRelayoutTest(Config config, boolean firstChildMultiSpan) argument
[all...]
/frameworks/base/core/java/android/net/
H A DIpConfiguration.java190 IpConfiguration config = new IpConfiguration();
191 config.ipAssignment = IpAssignment.valueOf(in.readString());
192 config.proxySettings = ProxySettings.valueOf(in.readString());
193 config.staticIpConfiguration = in.readParcelable(null);
194 config.httpProxy = in.readParcelable(null);
195 return config;
/frameworks/base/tools/aapt2/proto/
H A DProtoHelpers.cpp72 void serializeConfig(const ConfigDescription& config, pb::ConfigDescription* outPbConfig) { argument
73 android::ResTable_config flatConfig = config;
85 const android::ResTable_config* config; local
86 if (pbConfig.data().size() > sizeof(*config)) {
90 config = reinterpret_cast<const android::ResTable_config*>(pbConfig.data().data());
91 outConfig->copyFromDtoH(*config);
/frameworks/av/radio/
H A DIRadio.cpp60 virtual status_t setConfiguration(const struct radio_band_config *config) argument
63 if (config == NULL) {
67 data.write(config, sizeof(struct radio_band_config));
75 virtual status_t getConfiguration(struct radio_band_config *config) argument
78 if (config == NULL) {
86 reply.read(config, sizeof(struct radio_band_config));
240 struct radio_band_config config; local
241 data.read(&config, sizeof(struct radio_band_config));
242 status_t status = setConfiguration(&config);
248 struct radio_band_config config; local
[all...]
/frameworks/base/core/tests/coretests/src/android/text/format/
H A DFormatterTest.java48 Configuration config = res.getConfiguration();
49 config.locale = locale;
50 res.updateConfiguration(config, res.getDisplayMetrics());
/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/tests/NetworkSecurityConfigTest/src/android/security/net/config/
H A DTestUtils.java17 package android.security.net.config;
72 ApplicationConfig config = new ApplicationConfig(source);
75 tmf.init(new RootTrustManagerFactorySpi.ApplicationConfigParameters(config));
/frameworks/base/tools/aapt/
H A DAaptConfig.h52 void applyVersionForCompatibility(ConfigDescription* config);
76 android::String8 getVersion(const android::ResTable_config& config);
88 bool isDensityOnly(const android::ResTable_config& config);

Completed in 5079 milliseconds

1234567891011>>