Searched refs:configs (Results 1 - 25 of 114) sorted by relevance

12345

/frameworks/base/tools/aapt/tests/
H A DResourceTable_test.cpp27 sp<ResourceTable::ConfigList> configs(new ResourceTable::ConfigList(String16(), SourcePos()));
38 configs->addEntry(defaultConfig, new ResourceTable::Entry(String16(), SourcePos()));
39 configs->addEntry(landConfig, new ResourceTable::Entry(String16(), SourcePos()));
40 configs->addEntry(sw600dpLandConfig, new ResourceTable::Entry(String16(), SourcePos()));
42 EXPECT_TRUE(ResourceTable::shouldGenerateVersionedResource(configs, defaultConfig, 17));
43 EXPECT_TRUE(ResourceTable::shouldGenerateVersionedResource(configs, landConfig, 17));
47 sp<ResourceTable::ConfigList> configs(new ResourceTable::ConfigList(String16(), SourcePos()));
58 configs->addEntry(defaultConfig, new ResourceTable::Entry(String16(), SourcePos()));
59 configs->addEntry(v21Config, new ResourceTable::Entry(String16(), SourcePos()));
60 configs
[all...]
/frameworks/base/media/java/android/media/
H A DIRecordingConfigDispatcher.aidl28 void dispatchRecordingConfigChange(in List<AudioRecordingConfiguration> configs);
/frameworks/base/media/java/android/media/tv/
H A DITvInputHardwareCallback.aidl26 void onStreamConfigChanged(in TvStreamConfig[] configs);
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
H A DTestConfigSource.java26 public TestConfigSource(Set<Pair<Domain, NetworkSecurityConfig>> configs, argument
28 mConfigs = configs;
/frameworks/native/opengl/tools/glgen/specs/egl/
H A Dchecks.spec2 eglGetConfigs nullAllowed configs check configs config_size
3 eglChooseConfig nullAllowed configs check configs config_size check num_config 1 sentinel attrib_list EGL_NONE
/frameworks/base/libs/androidfw/tests/
H A DConfig_test.cpp28 const Vector<ResTable_config>& configs) {
31 const size_t configCount = configs.size();
33 const ResTable_config& thisConfig = configs[i];
59 Vector<ResTable_config> configs; local
62 configs.add(expectedBest);
63 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs));
66 configs.add(expectedBest);
67 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs));
70 configs.add(expectedBest);
71 ASSERT_EQ(expectedBest, selectBest(deviceConfig, configs));
27 selectBest(const ResTable_config& target, const Vector<ResTable_config>& configs) argument
91 Vector<ResTable_config> configs; local
[all...]
/frameworks/native/opengl/tests/include/
H A DEGLUtils.h90 // Get all the "potential match" configs...
94 EGLConfig* const configs = (EGLConfig*)malloc(sizeof(EGLConfig)*numConfigs); local
95 if (eglChooseConfig(dpy, attrs, configs, numConfigs, &n) == EGL_FALSE) {
96 free(configs);
104 eglGetConfigAttrib(dpy, configs[i], EGL_NATIVE_VISUAL_ID, &nativeVisualId);
106 config = configs[i];
111 free(configs);
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DConfigurationMapTest.java108 public void verifyGetters(List<WifiConfiguration> configs) { argument
116 for (WifiConfiguration config : configs) {
166 assertEquals(configs.size(), mConfigs.sizeForAllUsers());
170 assertEquals(new HashSet<>(configs),
199 final List<WifiConfiguration> configs = new ArrayList<>();
204 verifyGetters(configs);
209 configs.add(config1);
210 verifyGetters(configs);
217 configs.clear();
218 configs
[all...]
/frameworks/native/opengl/tests/configdump/
H A Dconfigdump.cpp68 EGLConfig* configs; local
74 configs = new EGLConfig[n];
75 eglGetConfigs(dpy, configs, n, &n);
81 eglGetConfigAttrib(dpy, configs[i], attributes[attr].attribute, &value);
86 delete [] configs;
/frameworks/base/tools/aapt/
H A DApkBuilder.cpp30 status_t ApkBuilder::createSplitForConfigs(const std::set<ConfigDescription>& configs) { argument
34 std::set<ConfigDescription>::const_iterator iter = configs.begin();
35 for (; iter != configs.end(); iter++) {
45 sp<StrongResourceFilter> splitFilter = new StrongResourceFilter(configs);
55 mSplits.add(new ApkSplit(configs, filter));
81 ApkSplit::ApkSplit(const std::set<ConfigDescription>& configs, const sp<ResourceFilter>& filter, bool isBase) argument
82 : mConfigs(configs), mFilter(filter), mIsBase(isBase) {
83 std::set<ConfigDescription>::const_iterator iter = configs.begin();
84 for (; iter != configs.end(); iter++) {
H A DApkBuilder.h44 android::status_t createSplitForConfigs(const std::set<ConfigDescription>& configs);
111 ApkSplit(const std::set<ConfigDescription>& configs, const android::sp<ResourceFilter>& filter, bool isBase=false);
H A DStringPool.cpp88 if (configs.size() > 0) {
89 for (size_t j=0; j<configs.size(); j++) {
91 configStr.append(configs[j].toString());
114 const size_t LHN = configs.size();
115 const size_t RHN = o.configs.size();
118 comp = configs[i].compareLogical(o.configs[i]);
172 // Add this to the set of configs associated with the string.
175 for (addPos=0; addPos<ent.configs.size(); addPos++) {
176 int cmp = ent.configs
[all...]
H A DStringPool.h47 configTypeName(o.configTypeName), configs(o.configs) { }
54 Vector<ResTable_config> configs; member in struct:StringPool::entry
/frameworks/base/services/core/java/com/android/server/tv/
H A DTvInputHal.java50 void onDeviceAvailable(TvInputHardwareInfo info, TvStreamConfig[] configs); argument
52 void onStreamConfigurationChanged(int deviceId, TvStreamConfig[] configs); argument
160 TvStreamConfig[] configs;
167 configs = mStreamConfigs.get(info.getDeviceId());
169 mCallback.onDeviceAvailable(info, configs);
183 TvStreamConfig[] configs;
190 configs = mStreamConfigs.get(deviceId);
192 mCallback.onStreamConfigurationChanged(deviceId, configs);
/frameworks/base/services/core/java/com/android/server/audio/
H A DRecordingActivityMonitor.java58 final List<AudioRecordingConfiguration> configs =
60 if (configs != null){
66 configs);
128 final ArrayList<AudioRecordingConfiguration> configs;
175 configs = new ArrayList<AudioRecordingConfiguration>(mRecordConfigs.values());
177 configs = null;
180 return configs;
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DGridLayoutManagerCachedBordersTest.java69 ArrayList<Config> configs = new ArrayList<Config>();
77 configs.add(config);
81 return configs;
H A DLinearLayoutManagerResizeTest.java46 List<Config> configs = new ArrayList<>();
49 configs.add(config);
51 return configs;
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/
H A DGL2JNIView.java129 throw new IllegalArgumentException("No configs match configSpec");
131 EGLConfig[] configs = new EGLConfig[numConfigs];
132 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config);
133 // printConfigs(egl, display, configs);
134 return chooseConfig(egl, display, configs);
138 EGLConfig[] configs) {
141 for(EGLConfig config : configs) {
178 EGLConfig[] configs) {
179 int numConfigs = configs.length;
183 printConfig(egl, display, configs[
137 chooseConfig(EGL10 egl, EGLDisplay display, EGLConfig[] configs) argument
177 printConfigs(EGL10 egl, EGLDisplay display, EGLConfig[] configs) argument
[all...]
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/
H A DGLPerfView.java129 throw new IllegalArgumentException("No configs match configSpec");
131 EGLConfig[] configs = new EGLConfig[numConfigs];
132 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config);
133 // printConfigs(egl, display, configs);
134 return chooseConfig(egl, display, configs);
138 EGLConfig[] configs) {
141 for(EGLConfig config : configs) {
178 EGLConfig[] configs) {
179 int numConfigs = configs.length;
183 printConfig(egl, display, configs[
137 chooseConfig(EGL10 egl, EGLDisplay display, EGLConfig[] configs) argument
177 printConfigs(EGL10 egl, EGLDisplay display, EGLConfig[] configs) argument
[all...]
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/
H A DGLDualGL2View.java132 throw new IllegalArgumentException("No configs match configSpec");
134 EGLConfig[] configs = new EGLConfig[numConfigs];
135 egl.eglChooseConfig(display, s_configAttribs2, configs, numConfigs, num_config);
136 // printConfigs(egl, display, configs);
137 return chooseConfig(egl, display, configs);
141 EGLConfig[] configs) {
144 for(EGLConfig config : configs) {
181 EGLConfig[] configs) {
182 int numConfigs = configs.length;
186 printConfig(egl, display, configs[
140 chooseConfig(EGL10 egl, EGLDisplay display, EGLConfig[] configs) argument
180 printConfigs(EGL10 egl, EGLDisplay display, EGLConfig[] configs) argument
[all...]
/frameworks/base/cmds/screencap/
H A Dscreencap.cpp154 Vector<DisplayInfo> configs; local
155 SurfaceComposerClient::getDisplayConfigs(display, &configs);
157 if (static_cast<size_t>(activeConfig) >= configs.size()) {
158 fprintf(stderr, "Active config %d not inside configs (size %zu)\n",
159 activeConfig, configs.size());
162 uint8_t displayOrientation = configs[activeConfig].orientation;
/frameworks/base/core/java/android/animation/
H A DAnimator.java357 * @param configs A mask of the changing configuration parameters, as
363 public void setChangingConfigurations(@Config int configs) { argument
364 mChangingConfigurations = configs;
369 * and the provided configs.
373 public void appendChangingConfigurations(@Config int configs) { argument
374 mChangingConfigurations |= configs;
H A DStateListAnimator.java235 * @param configs A mask of the changing configuration parameters, as
241 public void setChangingConfigurations(@Config int configs) { argument
242 mChangingConfigurations = configs;
247 * and the provided configs.
251 public void appendChangingConfigurations(@Config int configs) { argument
252 mChangingConfigurations |= configs;
/frameworks/base/services/core/jni/
H A Dcom_android_server_AssetAtlasService.cpp98 EGLConfig configs[1]; local
100 if (!eglChooseConfig(display, configAttrs, configs, 1, &configCount)) {
122 EGLContext context = eglCreateContext(display, configs[0], EGL_NO_CONTEXT, attrs);
130 surface = eglCreatePbufferSurface(display, configs[0], surfaceAttrs);
/frameworks/native/opengl/tests/gl2_copyTexImage/
H A Dgl2_copyTexImage.cpp343 EGLConfig* configs = (EGLConfig*) malloc(sizeof(EGLConfig) * numConfig); local
344 if (! configs) {
345 printf("Could not allocate configs.\n");
349 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig);
352 free(configs);
358 printEGLConfiguration(dpy, configs[i]);
361 free(configs);
414 EGLConfig* const configs = new EGLConfig[numConfigs]; local
415 eglChooseConfig(dpy, s_configAttribs, configs, numConfigs, &n);
416 myConfig = configs[
[all...]

Completed in 739 milliseconds

12345