HomeSort by relevance Sort by last modified time
    Searched refs:ImmutableMap (Results 151 - 175 of 575) sorted by null

1 2 3 4 5 67 8 91011>>

  /external/turbine/javatests/com/google/turbine/binder/
BinderTest.java 24 import com.google.common.collect.ImmutableMap;
76 ImmutableMap<ClassSymbol, SourceTypeBoundClass> bound =
117 ImmutableMap<ClassSymbol, SourceTypeBoundClass> bound =
152 ImmutableMap<ClassSymbol, SourceTypeBoundClass> bound =
194 ImmutableMap<ClassSymbol, SourceTypeBoundClass> bound =
218 ImmutableMap<ClassSymbol, SourceTypeBoundClass> bound =
230 ImmutableMap.of(
254 ImmutableMap<ClassSymbol, SourceTypeBoundClass> bound =
  /packages/apps/Dialer/java/com/android/dialer/commandline/
CommandLineModule.java 24 import com.google.common.collect.ImmutableMap;
34 static Supplier<ImmutableMap<String, Command>> provideCommandSupplier(
  /external/turbine/javatests/com/google/turbine/deps/
DependenciesTest.java 24 import com.google.common.collect.ImmutableMap;
134 assertThat(depsMap(deps)).isEqualTo(ImmutableMap.of(liba, DepsProto.Dependency.Kind.EXPLICIT));
160 assertThat(depsMap(deps)).isEqualTo(ImmutableMap.of(libb, DepsProto.Dependency.Kind.EXPLICIT));
189 ImmutableMap.of(
232 ImmutableMap.of(
249 ImmutableMap.of(
261 ImmutableMap<String, String> directJarsToTargets = ImmutableMap.of();
276 ImmutableMap<String, String> directJarsToTargets =
277 ImmutableMap.of
    [all...]
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/
ResolvedBindings.java 21 import com.google.common.collect.ImmutableMap;
64 abstract ImmutableMap<ComponentDescriptor, MembersInjectionBinding> allMembersInjectionBindings();
158 ImmutableMap.<ComponentDescriptor, MembersInjectionBinding>of());
188 ImmutableMap.of(owningComponent, ownedMembersInjectionBinding));
199 ImmutableMap.<ComponentDescriptor, MembersInjectionBinding>of());
  /external/guava/guava-tests/test/com/google/common/collect/
WellBehavedMapTest.java 36 map.putAll(ImmutableMap.of(Foo.X, 1, Foo.Y, 2, Foo.Z, 3));
52 map.putAll(ImmutableMap.of(Foo.X, 1, Foo.Y, 2, Foo.Z, 3));
58 assertEquals(ImmutableMap.of(Foo.X, 6, Foo.Y, 7, Foo.Z, 8), map);
64 map.putAll(ImmutableMap.of(Foo.X, 1));
91 map.putAll(ImmutableMap.of(Foo.X, 1, Foo.Y, 2, Foo.Z, 3));
MapsTransformValuesTest.java 98 ImmutableMap.<String, Integer>of(), Functions.toStringFunction());
104 ImmutableMap.of("a", 1), Functions.toStringFunction());
105 Map<String, String> expected = ImmutableMap.of("a", "1");
111 Map<String, Integer> underlying = ImmutableMap.of("a", 1);
119 ImmutableMap.of("a", 1), Functions.toStringFunction());
127 map.putAll(ImmutableMap.of("b", "2"));
161 Map<String, Boolean> expected = ImmutableMap.of("a", true, "b", false);
243 Map<String, Integer> underlying = ImmutableMap.of("a", 0, "b", 1, "c", 2);
255 map = Maps.transformValues(ImmutableMap.of("a", 1, "b", 2, "c", 3),
TreeBasedTableTest.java 118 assertEquals(table.row("b"), ImmutableMap.of("b", "x", "x", "n"));
120 assertEquals(table.row("b"), ImmutableMap.of());
293 assertEquals(ImmutableMap.of(1, 'b'), map.get("bar"));
304 assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), map.get("foo"));
315 assertEquals(ImmutableMap.of(2, 'd'), map.get("dog"));
434 assertEquals(ImmutableMap.of(1, 'a', 3, 'c'), row);
435 assertEquals(ImmutableMap.of(3, 'c'), subRow);
437 assertEquals(ImmutableMap.of(1, 'a'), row);
438 assertEquals(ImmutableMap.of(), subRow);
440 assertEquals(ImmutableMap.of(), row)
    [all...]
EnumBiMapTest.java 129 Map<Currency, Country> map = ImmutableMap.of(
192 Map<Currency, Country> map = ImmutableMap.of(
215 Map<Currency, Country> map = ImmutableMap.of(
242 Map<Currency, Country> map = ImmutableMap.of(
269 Map<Currency, Country> map = ImmutableMap.of(
282 EnumBiMap.create(ImmutableMap.of(Currency.DOLLAR, Country.CANADA)));
290 EnumBiMap.create(ImmutableMap.of(Currency.DOLLAR, Country.CHILE)));
296 EnumBiMap.create(ImmutableMap.of(Currency.DOLLAR, Country.CANADA)),
297 EnumBiMap.create(ImmutableMap.of(Currency.DOLLAR, Country.CANADA)))
298 .addEqualityGroup(EnumBiMap.create(ImmutableMap.of(Currency.DOLLAR, Country.CHILE))
    [all...]
  /external/libbackup/src/com/google/android/libraries/backup/shadow/
SharedPreferencesBackupHelperSimulator.java 12 import com.google.common.collect.ImmutableMap;
85 ImmutableMap.Builder<String, Map<String, ?>> dataToBackupBuilder = ImmutableMap.builder();
93 ImmutableMap.Builder<String, Object> prefsData = ImmutableMap.builder();
  /external/owasp/sanitizer/src/main/org/owasp/html/
ElementAndAttributePolicies.java 32 import com.google.common.collect.ImmutableMap;
46 final ImmutableMap<String, AttributePolicy> attrPolicies;
58 this.attrPolicies = ImmutableMap.copyOf(attrPolicies);
65 ImmutableMap.Builder<String, AttributePolicy> joinedAttrPolicies
66 = ImmutableMap.builder();
  /external/turbine/javatests/com/google/turbine/lower/
LowerTest.java 24 import com.google.common.collect.ImmutableMap;
95 ImmutableMap<TyVarSymbol, SourceTypeBoundClass.TyVarInfo> tps =
96 ImmutableMap.of(
112 ImmutableMap.of(),
123 ImmutableMap.of(
172 ImmutableMap<String, ClassSymbol> children = ImmutableMap.of();
173 ImmutableMap<String, TyVarSymbol> tyParams =
174 ImmutableMap.of("V", new TyVarSymbol(new ClassSymbol("test/Test"), "V"));
199 ImmutableMap.of()
    [all...]
  /cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
CurrentApiHelper.java 20 import com.google.common.collect.ImmutableMap;
49 private static final ImmutableMap<String, Class> PRIMITIVE_TYPES = getPrimitiveTypes();
50 private static final ImmutableMap<String, String> PRIMITIVE_ENCODINGS =
51 new ImmutableMap.Builder<String, String>()
194 private static ImmutableMap<String, Class> getPrimitiveTypes() {
195 ImmutableMap.Builder<String, Class> builder = new ImmutableMap.Builder<>();
  /packages/apps/UnifiedEmail/src/com/android/mail/
SenderInfoLoader.java 38 import com.google.common.collect.ImmutableMap;
50 public class SenderInfoLoader extends AsyncTaskLoader<ImmutableMap<String, ContactInfo>> {
90 public ImmutableMap<String, ContactInfo> loadInBackground() {
116 public static ImmutableMap<String, ContactInfo> loadContactPhotos(
182 return ImmutableMap.copyOf(results);
202 return ImmutableMap.copyOf(results);
237 return ImmutableMap.copyOf(results);
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
ConstructorWriter.java 20 import com.google.common.collect.ImmutableMap;
59 ImmutableMap.Builder<String, TypeName> params = ImmutableMap.builder();
  /external/desugar/test/java/com/google/devtools/build/android/desugar/
BytecodeTypeInferenceTest.java 18 import com.google.common.collect.ImmutableMap;
61 ImmutableMap<String, InferredType> map =
62 ImmutableMap.<String, InferredType>builder()
  /external/guava/guava-tests/test/com/google/common/cache/
ForwardingCacheTest.java 25 import com.google.common.collect.ImmutableMap;
65 .andReturn(ImmutableMap.of("key", Boolean.TRUE));
67 assertEquals(ImmutableMap.of("key", Boolean.TRUE),
ForwardingLoadingCacheTest.java 25 import com.google.common.collect.ImmutableMap;
71 expect(mock.getAll(ImmutableList.of("key"))).andReturn(ImmutableMap.of("key", Boolean.TRUE));
73 assertEquals(ImmutableMap.of("key", Boolean.TRUE), forward.getAll(ImmutableList.of("key")));
  /external/guava/guava-tests/test/com/google/common/hash/
MessageDigestHashFunctionTest.java 20 import com.google.common.collect.ImmutableMap;
42 private static final ImmutableMap<String, HashFunction> ALGORITHMS =
43 new ImmutableMap.Builder<String, HashFunction>()
  /external/guava/guava-tests/test/com/google/common/io/
SourceSinkTester.java 22 import com.google.common.collect.ImmutableMap;
60 static final ImmutableMap<String, String> TEST_STRINGS
61 = ImmutableMap.<String, String>builder()
  /external/guava/guava-gwt/src/com/google/common/collect/
RegularImmutableMap_CustomFieldSerializer.java 45 * always have two or more elements, ImmutableMap.copyOf always return
48 return (RegularImmutableMap<Object, Object>) ImmutableMap.copyOf(entries);
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
ImmutableMapEntrySet.java 26 * {@code entrySet()} implementation for {@link ImmutableMap}.
35 abstract ImmutableMap<K, V> map();
  /external/turbine/java/com/google/turbine/deps/
Transitive.java 21 import com.google.common.collect.ImmutableMap;
45 public static ImmutableMap<String, byte[]> collectDeps(
47 ImmutableMap.Builder<String, byte[]> transitive = ImmutableMap.builder();
  /packages/apps/Dialer/java/com/android/dialer/calllog/datasources/phonelookup/
PhoneLookupDataSource.java 45 import com.google.common.collect.ImmutableMap;
126 * PhoneLookup#getMostRecentInfo(ImmutableMap)}
155 ListenableFuture<ImmutableMap<DialerPhoneNumber, PhoneLookupInfo>> originalInfoMapFuture =
164 ListenableFuture<ImmutableMap<DialerPhoneNumber, PhoneLookupInfo>> updatedInfoMapFuture =
171 Callable<ImmutableMap<Long, PhoneLookupInfo>> computeRowsToUpdate =
176 ImmutableMap<DialerPhoneNumber, PhoneLookupInfo> originalInfoMap =
178 ImmutableMap<DialerPhoneNumber, PhoneLookupInfo> updatedInfoMap =
182 ImmutableMap.Builder<Long, PhoneLookupInfo>
183 originalPhoneLookupHistoryDataByAnnotatedCallLogId = ImmutableMap.builder();
198 ImmutableMap.Builder<Long, PhoneLookupInfo> rowsToUpdate = ImmutableMap.builder()
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/spam/
SpamStub.java 25 import com.google.common.collect.ImmutableMap;
73 public ListenableFuture<ImmutableMap<DialerPhoneNumber, SpamStatus>> batchCheckSpamStatus(
77 ImmutableMap.Builder<DialerPhoneNumber, SpamStatus> resultBuilder =
78 new ImmutableMap.Builder<>();
  /external/guava/guava/src/com/google/common/collect/
ImmutableTable.java 282 @Override public ImmutableMap<R, V> column(C columnKey) {
285 (ImmutableMap<R, V>) columnMap().get(columnKey),
286 ImmutableMap.<R, V>of());
297 * {@link ImmutableMap} instances as well.
299 @Override public abstract ImmutableMap<C, Map<R, V>> columnMap();
306 @Override public ImmutableMap<C, V> row(R rowKey) {
309 (ImmutableMap<C, V>) rowMap().get(rowKey),
310 ImmutableMap.<C, V>of());
321 * {@link ImmutableMap} instances as well.
323 @Override public abstract ImmutableMap<R, Map<C, V>> rowMap()
    [all...]

Completed in 3196 milliseconds

1 2 3 4 5 67 8 91011>>