Home
last modified time | relevance | path

Searched refs:links (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/core/java/android/text/util/
DLinkify.java302 final ArrayList<LinkSpec> links = new ArrayList<LinkSpec>(); in addLinks() local
305 gatherLinks(links, text, Patterns.AUTOLINK_WEB_URL, in addLinks()
311 gatherLinks(links, text, Patterns.AUTOLINK_EMAIL_ADDRESS, in addLinks()
317 gatherTelLinks(links, text, context); in addLinks()
321 gatherMapLinks(links, text); in addLinks()
324 pruneOverlaps(links); in addLinks()
326 if (links.size() == 0) { in addLinks()
330 for (LinkSpec link: links) { in addLinks()
640 private static final void gatherLinks(ArrayList<LinkSpec> links, in gatherLinks() argument
657 links.add(spec); in gatherLinks()
[all …]
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DConfigFactory.java157 List<MetricConditionLink> links, int suffix) { in getLinks() argument
159 for (MetricConditionLink link : links) { in getLinks()
179 List<MetricConditionLink> links = getLinks(template.getLinksList(), suffix); in addEventMetric() local
181 metric.addAllLinks(links); in addEventMetric()
199 List<MetricConditionLink> links = getLinks(template.getLinksList(), suffix); in addCountMetric() local
201 metric.addAllLinks(links); in addCountMetric()
220 List<MetricConditionLink> links = getLinks(template.getLinksList(), suffix); in addDurationMetric() local
222 metric.addAllLinks(links); in addDurationMetric()
241 List<MetricConditionLink> links = getLinks(template.getLinksList(), suffix); in addGaugeMetric() local
243 metric.addAllLinks(links); in addGaugeMetric()
[all …]
/frameworks/base/core/java/android/text/method/
DLinkMovementMethod.java140 ClickableSpan[] links = buffer.getSpans(selStart, selEnd, ClickableSpan.class); in action() local
142 if (links.length != 1) { in action()
146 ClickableSpan link = links[0]; in action()
223 ClickableSpan[] links = buffer.getSpans(off, off, ClickableSpan.class); in onTouchEvent() local
225 if (links.length != 0) { in onTouchEvent()
226 ClickableSpan link = links[0]; in onTouchEvent()
/frameworks/base/cmds/statsd/src/
DHashableDimensionKey.cpp92 const Metric2Condition& links, in getDimensionForCondition() argument
95 filterValues(links.metricFields, eventValues, conditionDimension); in getDimensionForCondition()
98 if (count != links.conditionFields.size()) { in getDimensionForCondition()
105 links.conditionFields[i].mMatcher.getField()); in getDimensionForCondition()
107 links.conditionFields[i].mMatcher.getTag()); in getDimensionForCondition()
Dstatsd_config.proto173 repeated MetricConditionLink links = 4; field
189 repeated MetricConditionLink links = 6; field
199 repeated MetricConditionLink links = 4; field
232 repeated MetricConditionLink links = 7; field
266 repeated MetricConditionLink links = 7; field
DHashableDimensionKey.h145 const Metric2Condition& links,
/frameworks/base/cmds/statsd/tests/e2e/
DMetricConditionLink_e2e_test.cpp79 auto links = countMetric->add_links(); in CreateStatsdConfig() local
80 links->set_condition(isSyncingPredicate.id()); in CreateStatsdConfig()
81 auto dimensionWhat = links->mutable_fields_in_what(); in CreateStatsdConfig()
84 *links->mutable_fields_in_condition() = CreateAttributionUidDimensions( in CreateStatsdConfig()
88 links = countMetric->add_links(); in CreateStatsdConfig()
89 links->set_condition(isInBackgroundPredicate.id()); in CreateStatsdConfig()
90 dimensionWhat = links->mutable_fields_in_what(); in CreateStatsdConfig()
93 auto dimensionCondition = links->mutable_fields_in_condition(); in CreateStatsdConfig()
DGaugeMetric_e2e_push_test.cpp60 auto links = gaugeMetric->add_links(); in CreateStatsdConfigForPushedEvent() local
61 links->set_condition(isInBackgroundPredicate.id()); in CreateStatsdConfigForPushedEvent()
62 auto dimensionWhat = links->mutable_fields_in_what(); in CreateStatsdConfigForPushedEvent()
65 auto dimensionCondition = links->mutable_fields_in_condition(); in CreateStatsdConfigForPushedEvent()
DDurationMetric_e2e_test.cpp479 auto links = durationMetric->add_links(); in TEST() local
480 links->set_condition(isInBackgroundPredicate.id()); in TEST()
481 auto dimensionWhat = links->mutable_fields_in_what(); in TEST()
484 *links->mutable_fields_in_condition() = CreateAttributionUidDimensions( in TEST()
582 auto links = durationMetric->add_links(); in TEST() local
583 links->set_condition(isInBackgroundPredicate.id()); in TEST()
584 auto dimensionWhat = links->mutable_fields_in_what(); in TEST()
587 *links->mutable_fields_in_condition() = CreateAttributionUidDimensions( in TEST()
DDimensionInCondition_e2e_simple_cond_test.cpp346 auto links = metric->add_links(); in createDurationMetric_Link_SimpleConditionConfig() local
347 links->set_condition(isSyncingPredicate.id()); in createDurationMetric_Link_SimpleConditionConfig()
348 *links->mutable_fields_in_what() = in createDurationMetric_Link_SimpleConditionConfig()
351 *links->mutable_fields_in_condition() = in createDurationMetric_Link_SimpleConditionConfig()
569 auto links = metric->add_links(); in createDurationMetric_PartialLink_SimpleConditionConfig() local
570 links->set_condition(isSyncingPredicate.id()); in createDurationMetric_PartialLink_SimpleConditionConfig()
571 *links->mutable_fields_in_what() = in createDurationMetric_PartialLink_SimpleConditionConfig()
574 *links->mutable_fields_in_condition() = in createDurationMetric_PartialLink_SimpleConditionConfig()
DDimensionInCondition_e2e_combination_AND_cond_test.cpp442 auto links = metric->add_links(); in CreateDurationMetricConfig_Link_AND_CombinationCondition() local
443 links->set_condition(isSyncingPredicate.id()); in CreateDurationMetricConfig_Link_AND_CombinationCondition()
444 *links->mutable_fields_in_what() = in CreateDurationMetricConfig_Link_AND_CombinationCondition()
447 *links->mutable_fields_in_condition() = in CreateDurationMetricConfig_Link_AND_CombinationCondition()
691 auto links = metric->add_links(); in CreateDurationMetricConfig_PartialLink_AND_CombinationCondition() local
692 links->set_condition(isSyncingPredicate.id()); in CreateDurationMetricConfig_PartialLink_AND_CombinationCondition()
693 *links->mutable_fields_in_what() = in CreateDurationMetricConfig_PartialLink_AND_CombinationCondition()
696 *links->mutable_fields_in_condition() = in CreateDurationMetricConfig_PartialLink_AND_CombinationCondition()
DDimensionInCondition_e2e_combination_OR_cond_test.cpp271 auto links = metric->add_links(); in CreateCountMetric_Link_CombinationCondition() local
272 links->set_condition(isSyncingPredicate.id()); in CreateCountMetric_Link_CombinationCondition()
273 auto dimensionWhat = links->mutable_fields_in_what(); in CreateCountMetric_Link_CombinationCondition()
276 *links->mutable_fields_in_condition() = in CreateCountMetric_Link_CombinationCondition()
662 auto links = metric->add_links(); in CreateDurationMetricConfig_Link_CombinationCondition() local
663 links->set_condition(isSyncingPredicate.id()); in CreateDurationMetricConfig_Link_CombinationCondition()
664 auto dimensionWhat = links->mutable_fields_in_what(); in CreateDurationMetricConfig_Link_CombinationCondition()
667 *links->mutable_fields_in_condition() = in CreateDurationMetricConfig_Link_CombinationCondition()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifier.java719 final TextLinks.Builder links = new TextLinks.Builder(string); in generateLegacyLinks() local
724 addLinks(links, string, TextClassifier.TYPE_URL); in generateLegacyLinks()
727 addLinks(links, string, TextClassifier.TYPE_PHONE); in generateLegacyLinks()
730 addLinks(links, string, TextClassifier.TYPE_EMAIL); in generateLegacyLinks()
733 return links.build(); in generateLegacyLinks()
737 TextLinks.Builder links, String string, @EntityType String entityType) { in addLinks() argument
742 links.addLink( in addLinks()
DGenerateLinksLogger.java67 public void logGenerateLinks(CharSequence text, TextLinks links, String callingPackageName, in logGenerateLinks() argument
70 Preconditions.checkNotNull(links); in logGenerateLinks()
79 for (TextLinks.TextLink link : links.getLinks()) { in logGenerateLinks()
DSystemTextClassifier.java129 final TextLinks links = callback.get(); in generateLinks() local
130 if (links != null) { in generateLinks()
131 return links; in generateLinks()
/frameworks/base/cmds/statsd/benchmark/
Dduration_metric_benchmark.cpp122 auto links = metric->add_links(); in CreateDurationMetricConfig_Link_AND_CombinationCondition() local
123 links->set_condition(isSyncingPredicate.id()); in CreateDurationMetricConfig_Link_AND_CombinationCondition()
124 *links->mutable_fields_in_what() = in CreateDurationMetricConfig_Link_AND_CombinationCondition()
127 *links->mutable_fields_in_condition() = in CreateDurationMetricConfig_Link_AND_CombinationCondition()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/logging/
DGenerateLinksLoggerTest.java67 TextLinks links = new TextLinks.Builder(testText) in testLogGenerateLinks() local
79 logger.logGenerateLinks(testText, links, PACKAGE_NAME, LATENCY_MS); in testLogGenerateLinks()
/frameworks/base/cmds/statsd/src/metrics/
DEventMetricProducer.cpp59 if (metric.links().size() > 0) { in EventMetricProducer()
60 for (const auto& link : metric.links()) { in EventMetricProducer()
Dmetrics_manager_util.cpp112 links, in handleMetricWithConditions()
121 for (const auto& link : links) { in handleMetricWithConditions()
326 metric.condition(), metricIndex, conditionTrackerMap, metric.links(), in initMetrics()
395 metric.condition(), metricIndex, conditionTrackerMap, metric.links(), in initMetrics()
432 metric.condition(), metricIndex, conditionTrackerMap, metric.links(), in initMetrics()
489 metric.condition(), metricIndex, conditionTrackerMap, metric.links(), in initMetrics()
575 metric.condition(), metricIndex, conditionTrackerMap, metric.links(), in initMetrics()
DCountMetricProducer.cpp92 if (metric.links().size() > 0) { in CountMetricProducer()
93 for (const auto& link : metric.links()) { in CountMetricProducer()
103 mConditionSliced = (metric.links().size() > 0) || (mDimensionsInCondition.size() > 0); in CountMetricProducer()
DGaugeMetricProducer.cpp122 if (metric.links().size() > 0) { in GaugeMetricProducer()
123 for (const auto& link : metric.links()) { in GaugeMetricProducer()
131 mConditionSliced = (metric.links().size() > 0) || (mDimensionsInCondition.size() > 0); in GaugeMetricProducer()
/frameworks/native/libs/vr/libpdx_uds/
Dipc_helper.cpp441 size_t links = 0; in WaitForEndpoint() local
443 while (pos < separators.size() && links <= MAXSYMLINKS) { in WaitForEndpoint()
464 links = 0; in WaitForEndpoint()
511 links = 0; in WaitForEndpoint()
534 links++; in WaitForEndpoint()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/conformance/
Dfailure_list_cpp.txt7 # TODO(haberman): insert links to corresponding bugs tracking the issue.
Dfailure_list_python_cpp.txt7 # TODO(haberman): insert links to corresponding bugs tracking the issue.
/frameworks/av/apex/
Dld.config.txt25 namespace.default.links = platform
85 # System's sphal namespace links to vndk namespace for %VNDK_SAMEPROCESS_LIBRARIES%,
123 namespace.sphal.links = platform

12