Searched defs:config (Results 176 - 200 of 565) sorted by relevance

1234567891011>>

/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
H A DConfigFactory.java61 // Read the config template from the resoures.
71 Log.e(TAG, "Unable to read or parse loadtest config template. Using an empty config.");
75 Log.d(TAG, "Loadtest template config: " + mTemplate);
79 * Generates a config.
85 * the number of metrics in the config. One can also adjust the bucket size for aggregate
88 * @param replication The number of times each metric is replicated in the config.
89 * If the config template has n metrics, the generated config will have n * replication
92 * @param placebo If true, only return an empty config
171 addEventMetric(EventMetric template, int suffix, StatsdConfig.Builder config) argument
190 addCountMetric(CountMetric template, int suffix, TimeUnit bucket, StatsdConfig.Builder config) argument
211 addDurationMetric(DurationMetric template, int suffix, TimeUnit bucket, StatsdConfig.Builder config) argument
232 addGaugeMetric(GaugeMetric template, int suffix, TimeUnit bucket, StatsdConfig.Builder config) argument
253 addValueMetric(ValueMetric template, int suffix, TimeUnit bucket, StatsdConfig.Builder config) argument
274 addPredicate(Predicate template, int suffix, StatsdConfig.Builder config) argument
301 addMatcher(AtomMatcher template, int suffix, StatsdConfig.Builder config) argument
[all...]
/frameworks/base/core/java/android/app/
H A DStatsManager.java47 * Long extra of uid that added the relevant stats config.
51 * Long extra of the relevant stats config's configKey.
93 * Adds the given configuration and associates it with the given configKey. If a config with the
97 * @param config Wire-encoded StatsdConfig proto that specifies metrics (and all
100 * @throws IllegalArgumentException if config is not a wire-encoded StatsdConfig proto
103 public void addConfig(long configKey, byte[] config) throws StatsUnavailableException { argument
108 service.addConfiguration(configKey, config, mContext.getOpPackageName());
123 public boolean addConfiguration(long configKey, byte[] config) { argument
125 addConfig(configKey, config);
169 * subscriberId within the given config
[all...]
/frameworks/base/core/java/android/app/servertransaction/
H A DActivityRelaunchItem.java85 List<ReferrerIntent> pendingNewIntents, int configChanges, MergedConfiguration config,
94 instance.mConfig = config;
174 + ",config=" + mConfig + ",preserveWindow" + mPreserveWindow + "}";
84 obtain(List<ResultInfo> pendingResults, List<ReferrerIntent> pendingNewIntents, int configChanges, MergedConfiguration config, boolean preserveWindow) argument
/frameworks/base/core/java/android/hardware/soundtrigger/
H A DSoundTriggerModule.java97 * @param config contains configuration information for this recognition request:
109 public native int startRecognition(int soundModelHandle, SoundTrigger.RecognitionConfig config); argument
/frameworks/base/core/java/android/security/net/config/
H A DDirectoryCertificateSource.java17 package android.security.net.config;
/frameworks/base/core/java/android/util/
H A DMergedConfiguration.java27 * Container that holds global and override config and their merge product.
121 public void setTo(MergedConfiguration config) { argument
122 setConfiguration(config.mGlobalConfig, config.mOverrideConfig);
153 /** Update merged config when global or override config changes. */
/frameworks/base/libs/androidfw/tests/
H A DAssetManager2_bench.cpp85 GetResourceBenchmark({GetTestDataPath() + "/basic/basic.apk"}, nullptr /*config*/, resid, state);
91 GetResourceBenchmarkOld({GetTestDataPath() + "/basic/basic.apk"}, nullptr /*config*/, resid,
101 nullptr /*config*/, libclient::R::string::foo_one, state);
109 nullptr /*config*/, libclient::R::string::foo_one, state);
116 ResTable_config config; local
117 memset(&config, 0, sizeof(config));
118 memcpy(config.language, "fr", 2);
119 GetResourceBenchmark({kFrameworkPath}, &config, kStringOkId, state);
124 ResTable_config config; local
225 ResTable_config config; local
245 ResTable_config config; local
[all...]
H A DAssetManager2_test.cpp110 // It is the default config.
406 ResTable_config config; local
410 &value, &config, &flags);
417 assetmanager.ResolveReference(cookie, &value, &config, &flags, &last_ref);
/frameworks/base/libs/usb/tests/accessorytest/
H A Daudio.c124 struct pcm_config config; local
129 memset(&config, 0, sizeof(config));
131 config.channels = 2;
132 config.rate = 44100;
133 config.period_size = 1024;
134 config.period_count = 4;
135 config.format = PCM_FORMAT_S16_LE;
139 pcm = pcm_open(input_card, input_device, PCM_IN, &config);
190 struct pcm_config config; local
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DZenModeController.java47 default void onConfigChanged(ZenModeConfig config) {} argument
/frameworks/base/services/core/java/com/android/server/net/
H A DIpConfigStore.java74 IpConfiguration config) throws IOException {
75 return writeConfig(out, configKey, config, IPCONFIG_FILE_VERSION);
80 IpConfiguration config, int version) throws IOException {
84 switch (config.ipAssignment) {
87 out.writeUTF(config.ipAssignment.toString());
88 StaticIpConfiguration staticIpConfiguration = config.staticIpConfiguration;
111 out.writeUTF(config.ipAssignment.toString());
122 switch (config.proxySettings) {
124 ProxyInfo proxyProperties = config.httpProxy;
127 out.writeUTF(config
73 writeConfig(DataOutputStream out, String configKey, IpConfiguration config) argument
79 writeConfig(DataOutputStream out, String configKey, IpConfiguration config, int version) argument
[all...]
/frameworks/base/services/core/java/com/android/server/notification/
H A DZenModeConditions.java62 public void evaluateConfig(ZenModeConfig config, boolean processSubscriptions) { argument
63 if (config == null) return;
64 if (config.manualRule != null && config.manualRule.condition != null
65 && !config.manualRule.isTrueOrUnknown()) {
67 config.manualRule = null;
70 evaluateRule(config.manualRule, current, processSubscriptions);
71 for (ZenRule automaticRule : config.automaticRules.values()) {
111 ZenModeConfig config = mHelper.getConfig();
112 if (config
[all...]
/frameworks/base/tests/NetworkSecurityConfigTest/src/android/security/net/config/
H A DXmlConfigTests.java17 package android.security.net.config;
52 NetworkSecurityConfig config = appConfig.getConfigForHostname("");
53 assertNotNull(config);
55 assertTrue(config.isCleartextTrafficPermitted());
56 assertFalse(config.isHstsEnforced());
57 assertFalse(config.getTrustAnchors().isEmpty());
58 PinSet pinSet = config.getPins();
72 NetworkSecurityConfig config = appConfig.getConfigForHostname("");
73 assertNotNull(config);
75 assertTrue(config
[all...]
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
H A DUsageLogActivity.java129 holder.config = (TextView) convertView.findViewById(android.R.id.text1);
149 if (holder.config != null &&
151 holder.config.setText(event.getConfiguration().toString());
179 public TextView config; field in class:UsageLogActivity.ViewHolder
/frameworks/base/tools/aapt/
H A DStringPool.cpp131 const String8* configTypeName, const ResTable_config* config)
133 ssize_t res = add(value, false, configTypeName, config);
141 bool mergeDuplicates, const String8* configTypeName, const ResTable_config* config)
157 printf("*** adding config type name %s, was %s\n",
167 if (config != NULL) {
172 int cmp = ent.configs.itemAt(addPos).compareLogical(*config);
176 printf("*** inserting config: %s\n", config->toString().string());
178 ent.configs.insertAt(*config, addPos);
185 printf("*** adding config
130 add(const String16& value, const Vector<entry_style_span>& spans, const String8* configTypeName, const ResTable_config* config) argument
140 add(const String16& value, bool mergeDuplicates, const String8* configTypeName, const ResTable_config* config) argument
[all...]
/frameworks/base/tools/aapt2/
H A DLocale.cpp236 void LocaleValue::InitFromResTable(const ResTable_config& config) { argument
237 config.unpackLanguage(language);
238 config.unpackRegion(region);
239 if (config.localeScript[0] && !config.localeScriptWasComputed) {
240 memcpy(script, config.localeScript, sizeof(config.localeScript));
243 if (config.localeVariant[0]) {
244 memcpy(variant, config.localeVariant, sizeof(config
[all...]
H A DStringPool.h63 ConfigDescription config; member in class:aapt::StringPool::Context
66 Context(uint32_t p, const ConfigDescription& c) : priority(p), config(c) {}
68 explicit Context(const ConfigDescription& c) : priority(kNormalPriority), config(c) {
/frameworks/base/tools/aapt2/split/
H A DTableSplitter.cpp37 static ConfigDescription CopyWithoutDensity(const ConfigDescription& config) { argument
38 ConfigDescription without_density = config;
49 for (const ConfigDescription& config : constraints.configs) {
50 if (config.density == 0) {
51 density_independent_configs_.insert(config);
53 density_dependent_config_to_density_map_[CopyWithoutDensity(config)] = config.density;
67 if (config_value->config.density == 0 && !entry.second) {
69 if (density_independent_configs_.find(config_value->config) !=
83 const ConfigDescription& config local
126 const ConfigDescription& config = entry.first; local
[all...]
/frameworks/base/tools/aapt2/test/
H A DCommon.h49 ConfigDescription config; local
50 CHECK(ConfigDescription::Parse(str, &config)) << "invalid configuration: " << str;
51 return config;
56 const ConfigDescription& config,
60 ResourceConfigValue* config_value = result.value().entry->FindValue(config, product);
71 const ConfigDescription& config,
76 const ConfigDescription& config) {
77 return GetValueForConfigAndProduct<T>(table, res_name, config, {});
225 MATCHER_P2(HasValue, name, config,
227 ::testing::PrintToString(name) + " for config "
55 GetValueForConfigAndProduct(ResourceTable* table, const android::StringPiece& res_name, const ConfigDescription& config, const android::StringPiece& product) argument
75 GetValueForConfig(ResourceTable* table, const android::StringPiece& res_name, const ConfigDescription& config) argument
[all...]
/frameworks/compile/mclinker/include/mcld/Target/
H A DELFDynamic.h170 const LinkerConfig& config() const { return m_Config; } function in class:mcld::ELFDynamic
H A DTargetLDBackend.h202 const LinkerConfig& config() const { return m_Config; } function in class:mcld::TargetLDBackend
/frameworks/native/libs/input/
H A DKeyboard.cpp151 bool isKeyboardSpecialFunction(const PropertyMap* config) { argument
152 if (config == nullptr) {
156 config->tryGetProperty(String8("keyboard.specialFunction"), isSpecialFunction);
/frameworks/native/opengl/tests/EGLTest/
H A DEGL_test.cpp63 void get8BitConfig(EGLConfig& config);
98 EGLConfig config;
106 success = eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs);
113 success = eglGetConfigAttrib(mEglDisplay, config, EGL_RED_SIZE, &components[0]);
116 success = eglGetConfigAttrib(mEglDisplay, config, EGL_GREEN_SIZE, &components[1]);
119 success = eglGetConfigAttrib(mEglDisplay, config, EGL_BLUE_SIZE, &components[2]);
130 EGLConfig config;
140 EXPECT_TRUE(eglChooseConfig(mEglDisplay, attrs, &config, 1, &numConfigs));
156 EGLSurface eglSurface = eglCreateWindowSurface(mEglDisplay, config,
168 EGLConfig config; local
208 EGLConfig config; local
294 EGLConfig config; local
378 get8BitConfig(EGLConfig& config) argument
504 EGLConfig config; local
556 EGLConfig config; local
607 EGLConfig config; local
710 EGLConfig config; local
[all...]
/frameworks/native/opengl/tests/angeles/
H A Dapp-linux.cpp130 EGLConfig config; local
140 dpy, configAttribs, window, &config);
146 surface = eglCreateWindowSurface(dpy, config, window, NULL);
151 context = eglCreateContext(dpy, config, NULL, NULL);
/frameworks/native/opengl/tests/testViewport/src/com/android/test/
H A DTestView.java245 public void onSurfaceCreated(GL10 gl, EGLConfig config) { argument

Completed in 500 milliseconds

1234567891011>>