Home
last modified time | relevance | path

Searched refs:toMap (Results 1 – 25 of 60) sorted by relevance

123

/external/setupcompat/main/java/com/google/android/setupcompat/internal/
DPersistableBundles.java76 ArrayMap<String, Object> map = toMap(bundle); in fromBundle()
98 return (left == right) || toMap(left).equals(toMap(right)); in equals()
117 private static ArrayMap<String, Object> toMap(BaseBundle baseBundle) { in toMap() method in PersistableBundles
/external/opencensus-java/contrib/log_correlation/log4j2/src/test/java/io/opencensus/contrib/logcorrelation/log4j2/
DOpenCensusTraceContextDataInjectorTest.java112 .toMap()) in insertConfigurationProperties()
141 assertThat(stringMap.toMap()) in assertContainsOnlyDefaultTracingEntries()
166 assertThat(plugin.rawContextData().toMap()) in rawContextDataWithTracingData()
199 assertThat(plugin.rawContextData().toMap()).containsExactly("myTestKey", "myTestValue"); in rawContextDataWithoutTracingData()
/external/testng/src/test/java/test/distributed/
DDistributedTest.java129 verifyTests("Passed", passed, toMap(result.getPassedTests())); in twoHosts()
130 verifyTests("Failed", failed, toMap(result.getFailedTests())); in twoHosts()
131 verifyTests("Skipped", skipped, toMap(result.getSkippedTests())); in twoHosts()
162 private Map<String, ITestResult> toMap(List<ITestResult> results) { in toMap() method in DistributedTest
/external/llvm-project/clang-tools-extra/clangd/unittests/
DIndexActionTests.cpp60 std::map<std::string, const IncludeGraphNode &> toMap(const IncludeGraph &IG) { in toMap() function
125 auto Nodes = toMap(*IndexFile.Sources); in TEST_F()
154 auto Nodes = toMap(*IndexFile.Sources); in TEST_F()
189 auto Nodes = toMap(*IndexFile.Sources); in TEST_F()
221 auto Nodes = toMap(*IndexFile.Sources); in TEST_F()
/external/dagger2/javatests/dagger/hilt/android/processor/
DAndroidCompilers.java19 import static java.util.stream.Collectors.toMap;
44 .collect(toMap((Processor e) -> e.getClass(), (Processor e) -> e)); in compiler()
/external/auto/value/src/main/java/com/google/auto/value/processor/
DAutoOneOfProcessor.java20 import static java.util.stream.Collectors.toMap;
163 propertyNames.stream().collect(toMap(this::transformName, s -> s)); in propertyToKindMap()
169 .collect(toMap(e -> transformName(e.getSimpleName().toString()), e -> e)); in propertyToKindMap()
/external/dagger2/java/dagger/internal/codegen/componentgenerator/
DComponentCreatorImplementationFactory.java190 Maps.toMap( in addFields()
382 return Maps.toMap(creatorDescriptor.userSettableRequirements(), this::requirementStatus);
471 return Maps.toMap(
/external/desugar/java/com/google/devtools/common/options/
DOptionsBase.java76 for (Map.Entry<Field, Object> entry : OptionsParser.toMap(castClass, castThis).entrySet()) { in asMap()
/external/dagger2/java/dagger/internal/codegen/binding/
DSourceFiles.java96 return Maps.toMap( in generateBindingFieldsForDependencies()
131 return Maps.toMap( in frameworkFieldUsages()
/external/dagger2/java/dagger/internal/codegen/validation/
DComponentHierarchyValidator.java69 Maps.toMap(componentDescriptor.moduleTypes(), constant(componentDescriptor.typeElement()))); in validate()
103 Maps.toMap( in validateSubcomponentMethods()
/external/dagger2/java/dagger/internal/codegen/base/
DSimpleAnnotationMirror.java59 Maps.toMap( in SimpleAnnotationMirror()
/external/guava/android/guava/src/com/google/common/collect/
DFluentIterable.java702 public final <V> ImmutableMap<E, V> toMap(Function<? super E, V> valueFunction) {
703 return Maps.toMap(getDelegate(), valueFunction);
/external/guava/guava/src/com/google/common/collect/
DFluentIterable.java696 public final <V> ImmutableMap<E, V> toMap(Function<? super E, V> valueFunction) {
697 return Maps.toMap(getDelegate(), valueFunction);
/external/auto/common/src/main/java/com/google/auto/common/
DBasicAnnotationProcessor.java27 import static java.util.stream.Collectors.toMap;
482 toMap(
/external/dagger2/java/dagger/internal/codegen/writing/
DMapBindingExpression.java71 Maps.toMap(binding.dependencies(), dep -> graph.contributionBinding(dep.key())); in MapBindingExpression()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/ser/
DJsonValueTest.java85 public Map<String,String> toMap() in toMap() method in JsonValueTest.MapBean
/external/opencensus-java/contrib/log_correlation/log4j2/src/main/java/io/opencensus/contrib/logcorrelation/log4j2/
DContextDataUtils.java208 public Map<String, String> toMap() { in toMap() method in ContextDataUtils.UnmodifiableReadOnlyStringMap
/external/guava/android/guava-tests/test/com/google/common/collect/
DFluentIterableTest.java749 assertThat(fluent(1, 2, 3).toMap(Functions.toStringFunction()).entrySet()) in testToMap()
757 fluent(1, null, 2).toMap(Functions.constant("foo")); in testToMap_nullKey()
765 fluent(1, 2, 3).toMap(Functions.constant(null)); in testToMap_nullValue()
DMapsTest.java910 ImmutableMap<String, Integer> map = Maps.toMap(strings, LENGTH_FUNCTION); in testToMap()
919 ImmutableMap<String, Integer> map = Maps.toMap(strings, LENGTH_FUNCTION); in testToMapIterator()
928 ImmutableMap<String, Integer> map = Maps.toMap(strings, LENGTH_FUNCTION); in testToMapWithDuplicateKeys()
938 Maps.toMap(strings, Functions.constant("foo")); in testToMapWithNullKeys()
947 Maps.toMap(strings, Functions.constant(null)); in testToMapWithNullValues()
/external/guava/guava-tests/test/com/google/common/collect/
DFluentIterableTest.java753 assertThat(fluent(1, 2, 3).toMap(Functions.toStringFunction()).entrySet()) in testToMap()
761 fluent(1, null, 2).toMap(Functions.constant("foo")); in testToMap_nullKey()
769 fluent(1, 2, 3).toMap(Functions.constant(null)); in testToMap_nullValue()
DMapsTest.java910 ImmutableMap<String, Integer> map = Maps.toMap(strings, LENGTH_FUNCTION); in testToMap()
919 ImmutableMap<String, Integer> map = Maps.toMap(strings, LENGTH_FUNCTION); in testToMapIterator()
928 ImmutableMap<String, Integer> map = Maps.toMap(strings, LENGTH_FUNCTION); in testToMapWithDuplicateKeys()
938 Maps.toMap(strings, Functions.constant("foo")); in testToMapWithNullKeys()
947 Maps.toMap(strings, Functions.constant(null)); in testToMapWithNullValues()
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/
DIcu4jTransform.java1062 .collect(Collectors.toMap( in createMarkElementsWithDeprecatedJavadocTagRule()
/external/dokka/core/src/main/kotlin/Kotlin/
DExternalDocumentationLinkResolver.kt135 .toMap() in loadPackageList()
/external/owasp/sanitizer/src/main/org/owasp/html/
DTagBalancingHtmlStreamEventReceiver.java295 = new ElementContainmentRelationships().toMap();
402 private ImmutableMap<String, ElementContainmentInfo> toMap() { in toMap() method in TagBalancingHtmlStreamEventReceiver.ElementContainmentRelationships
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/src/channels/
DChannels.common.kt1214 public suspend fun <K, V> ReceiveChannel<Pair<K, V>>.toMap(): Map<K, V> = in toList() method
1215 toMap(LinkedHashMap()) in toList()
1230 public suspend fun <K, V, M : MutableMap<in K, in V>> ReceiveChannel<Pair<K, V>>.toMap(destination:… in toList() method

123