Searched defs:configs (Results 1 - 25 of 75) sorted by relevance

123

/frameworks/base/tools/aapt/tests/
H A DResourceFilter_test.cpp150 // The configs don't match on any axis besides version, which should be ignored.
170 std::set<ConfigDescription> configs; local
171 configs.insert(config);
173 StrongResourceFilter filter(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/base/tools/aapt2/split/
H A DTableSplitter.h32 std::set<ConfigDescription> configs; member in struct:aapt::SplitConstraints
/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/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DLinearLayoutManagerBaseConfigSetTest.java67 public static List<Config> configs() throws CloneNotSupportedException { method in class:LinearLayoutManagerBaseConfigSetTest
/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 DResourceFilter.h81 StrongResourceFilter(const std::set<ConfigDescription>& configs) argument
82 : mConfigs(configs) {}
H A DStringPool.h47 configTypeName(o.configTypeName), configs(o.configs) { }
54 Vector<ResTable_config> configs; member in struct:StringPool::entry
/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/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...]
H A DResTable_test.cpp354 Vector<ResTable_config> configs; local
355 table.getConfigurations(&configs);
357 EXPECT_EQ(1, std::count(configs.begin(), configs.end(), configSv));
/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 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;
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;
/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/base/libs/hwui/debug/
H A Dnullegl.cpp75 EGLConfig *configs, EGLint config_size,
77 memset(configs, 9, sizeof(EGLConfig) * config_size);
74 eglChooseConfig(EGLDisplay dpy, const EGLint *attrib_list, EGLConfig *configs, EGLint config_size, EGLint *num_config) argument
/frameworks/base/packages/SettingsLib/tests/src/com/android/settingslib/wifi/
H A DWifiTrackerTest.java138 // Send all of the configs and scan results to the tracker.
162 // Send all of the configs and scan results to the tracker.
186 // Send all of the configs and scan results to the tracker.
210 // Send all of the configs and scan results to the tracker.
235 // Send all of the configs and scan results to the tracker.
328 private int addConfig(List<WifiConfiguration> configs, String ssid) { argument
330 config.networkId = configs.size();
332 configs.add(config);
/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/tools/split-select/
H A DMain.cpp215 Vector<ResTable_config> configs; local
216 res.getConfigurations(&configs, true);
217 const size_t configCount = configs.size();
220 splits.editTop().config = configs[i];
/frameworks/native/libs/gui/
H A DISurfaceComposer.cpp217 Vector<DisplayInfo>* configs)
226 configs->clear();
227 configs->resize(numConfigs);
229 memcpy(&(configs->editItemAt(c)),
432 Vector<DisplayInfo> configs; local
434 status_t result = getDisplayConfigs(display, &configs);
437 reply->writeUint32(static_cast<uint32_t>(configs.size()));
438 for (size_t c = 0; c < configs.size(); ++c) {
440 &configs[c], sizeof(DisplayInfo));
216 getDisplayConfigs(const sp<IBinder>& display, Vector<DisplayInfo>* configs) argument
/frameworks/native/opengl/tests/gl2_basic/
H A Dgl2_basic.cpp239 EGLConfig* configs = (EGLConfig*) malloc(sizeof(EGLConfig) * numConfig); local
240 if (! configs) {
241 printf("Could not allocate configs.\n");
245 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig);
248 free(configs);
254 printEGLConfiguration(dpy, configs[i]);
257 free(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_basic/
H A Dgl_basic.cpp170 EGLConfig* configs = (EGLConfig*) malloc(sizeof(EGLConfig) * numConfig); local
171 if (! configs) {
172 printf("Could not allocate configs.\n");
176 returnVal = eglGetConfigs(dpy, configs, numConfig, &numConfig);
179 free(configs);
185 printEGLConfiguration(dpy, configs[i]);
188 free(configs);
/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...]

Completed in 517 milliseconds

123