/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/ |
SectionAnnotator.java | 34 import com.google.common.collect.Maps; 50 private Map<Integer, String> itemIdentities = Maps.newHashMap();
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
BuilderStringPool.java | 34 import com.google.common.collect.Maps; 45 @Nonnull private final ConcurrentMap<String, BuilderStringReference> internedItems = Maps.newConcurrentMap();
|
BuilderTypePool.java | 34 import com.google.common.collect.Maps; 46 @Nonnull private final ConcurrentMap<String, BuilderTypeReference> internedItems = Maps.newConcurrentMap();
|
/external/testng/src/main/java/org/testng/internal/ |
Constants.java | 7 import org.testng.collections.Maps; 37 private static final Map<String, TestNGProperty> m_propertiesByName = Maps.newHashMap();
|
/external/testng/src/test/java/test/mustache/ |
MustacheTest.java | 13 import org.testng.collections.Maps; 88 Map<String, Object> result = Maps.newHashMap();
|
/external/testng/src/test/java/test/tmp/verify/ |
VerifyInterceptor.java | 8 import org.testng.collections.Maps; 33 Map<Class<?>, List<IMethodInstance>> verifyMethods = Maps.newHashMap();
|
/frameworks/base/core/java/android/os/ |
SystemService.java | 19 import com.google.android.collect.Maps; 31 private static HashMap<String, State> sStates = Maps.newHashMap();
|
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
MockAccountTypeManager.java | 25 import com.google.common.collect.Maps; 75 return Maps.newHashMap(); // Always returns empty
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableClassToInstanceMapTest.java | 83 Map<Class<? extends Number>, Number> in = Maps.newHashMap(); 163 Maps.immutableEntry((Class) Integer.class, (Number) 0); 165 Maps.immutableEntry((Class) Number.class, (Number) 1); 167 Maps.immutableEntry((Class) Double.class, (Number) 2.0); 169 Maps.immutableEntry((Class) Byte.class, (Number) (byte) 0x03); 171 Maps.immutableEntry((Class) Long.class, (Number) 0x0FF1C1AL);
|
LinkedHashMultimapTest.java | 172 assertEquals(Maps.immutableEntry("foo", 5), entryIterator.next()); 173 assertEquals(Maps.immutableEntry("bar", 4), entryIterator.next()); 174 assertEquals(Maps.immutableEntry("foo", 3), entryIterator.next()); 175 assertEquals(Maps.immutableEntry("cow", 2), entryIterator.next()); 176 assertEquals(Maps.immutableEntry("bar", 1), entryIterator.next()); 307 Maps.immutableEntry("foo", 2), 308 Maps.immutableEntry("foo", 3), 309 Maps.immutableEntry("bar", 4), 310 Maps.immutableEntry("bar", 5), 311 Maps.immutableEntry("foo", 6))) [all...] |
MultimapsTest.java | 20 import static com.google.common.collect.Maps.immutableEntry; 33 import com.google.common.collect.Maps.EntryTransformer; 407 Map<String, Integer> map = Maps.newHashMap(); 460 Maps.immutableEntry("foo", 1)); 462 Maps.immutableEntry( 478 Map<String, Integer> map = Maps.newHashMap(); 486 Map<String, Integer> map = Maps.newHashMap(); 501 Map<String, Integer> map = Maps.newHashMap(); 513 assertFalse(entries.contains(Maps.immutableEntry("foo", 515 assertFalse(entries.remove(Maps.immutableEntry("foo" [all...] |
LinkedListMultimapTest.java | 347 Maps.immutableEntry("foo", 99), 348 Maps.immutableEntry("foo", 88), 349 Maps.immutableEntry("bar", 77)); 353 Maps.immutableEntry("foo", 2), 354 Maps.immutableEntry("foo", 3), 355 Maps.immutableEntry("bar", 4), 356 Maps.immutableEntry("bar", 5), 357 Maps.immutableEntry("foo", 6)); 452 Maps.immutableEntry("foo", 454 Maps.immutableEntry("bar" [all...] |
ImmutableSortedMapTest.java | 296 .put(Maps.immutableEntry("one", 1)) 305 builder.put(Maps.immutableEntry("one", (Integer) null)); 310 builder.put(Maps.immutableEntry((String) null, 1)); 540 SortedMap<String, Integer> original = Maps.newTreeMap(); 554 SortedMap<String, Integer> original = Maps.newTreeMap(comparator); 692 assertTrue(map.entrySet().contains(Maps.immutableEntry("a", new IntHolder(3)))); 714 Maps.immutableEntry("one", 1), 715 Maps.immutableEntry("three", 3)).inOrder(); 722 assertThat(map.entrySet()).has().exactly(Maps.immutableEntry("one", 1)).inOrder(); 729 assertThat(map.entrySet()).has().exactly(Maps.immutableEntry("three", 3) [all...] |
/external/guava/guava-tests/test/com/google/common/reflect/ |
ImmutableTypeToInstanceMapTest.java | 22 import com.google.common.collect.Maps; 159 Maps.immutableEntry((TypeToken) TypeToken.of(Integer.class), (Object) 0); 161 Maps.immutableEntry((TypeToken) TypeToken.of(Number.class), (Object) 1); 163 Maps.immutableEntry((TypeToken) new TypeToken<ImmutableList<Integer>>() {}, 166 Maps.immutableEntry((TypeToken) new TypeToken<int[]>() {}, (Object) new int[] {3}); 168 Maps.immutableEntry((TypeToken) new TypeToken<Iterable<?>>() {},
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
HtmlPolicyBuilder.java | 43 import com.google.common.collect.Maps; 166 private final Map<String, ElementPolicy> elPolicies = Maps.newLinkedHashMap(); 168 = Maps.newLinkedHashMap(); 170 = Maps.newLinkedHashMap(); 174 private final Map<String, Boolean> textContainers = Maps.newLinkedHashMap(); 347 policies = Maps.newLinkedHashMap(); 507 // Copy maps before normalizing in case builder is reused. 509 = Maps.newLinkedHashMap(this.elPolicies); 511 = Maps.newLinkedHashMap(this.attrPolicies); 514 e.setValue(Maps.newLinkedHashMap(e.getValue())) [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
MultimapsTest.java | 31 import com.google.common.collect.Maps.EntryTransformer; 315 Map<String, Integer> map = Maps.newHashMap(); 368 Maps.immutableEntry("foo", 1)); 370 Maps.immutableEntry( 385 Map<String, Integer> map = Maps.newHashMap(); 400 Map<String, Integer> map = Maps.newHashMap(); 412 assertFalse(entries.contains(Maps.immutableEntry("foo", 414 assertFalse(entries.remove(Maps.immutableEntry("foo", 416 assertFalse(entries.contains(Maps.immutableEntry("foo", 418 assertFalse(entries.remove(Maps.immutableEntry("foo" [all...] |
EnumHashBiMapTest.java | 56 Maps.immutableEntry(Country.CANADA, "DOLLAR"), 57 Maps.immutableEntry(Country.CHILE, "PESO"), 58 Maps.immutableEntry(Country.UK, "POUND"), 59 Maps.immutableEntry(Country.JAPAN, "YEN"), 60 Maps.immutableEntry(Country.SWITZERLAND, "FRANC"));
|
LinkedHashMultimapTest.java | 100 assertEquals(Maps.immutableEntry("foo", 5), entryIterator.next()); 101 assertEquals(Maps.immutableEntry("bar", 4), entryIterator.next()); 102 assertEquals(Maps.immutableEntry("foo", 3), entryIterator.next()); 103 assertEquals(Maps.immutableEntry("cow", 2), entryIterator.next()); 104 assertEquals(Maps.immutableEntry("bar", 1), entryIterator.next());
|
ImmutableMultimapTest.java | 41 .put(Maps.immutableEntry("one", 1)) 49 builder.put(Maps.immutableEntry("one", (Integer) null)); 54 builder.put(Maps.immutableEntry((String) null, 1));
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
LayoutLibTestCallback.java | 47 import com.google.android.collect.Maps; 57 private final Map<Integer, Pair<ResourceType, String>> mProjectResources = Maps.newHashMap(); 58 private final Map<IntArrayWrapper, String> mStyleableValueToNameMap = Maps.newHashMap(); 59 private final Map<ResourceType, Map<String, Integer>> mResources = Maps.newHashMap(); 75 final Map<String, Integer> resName2Id = Maps.newHashMap();
|
/art/runtime/ |
mem_map.h | 106 // the memory. If error_msg is null then we do not print /proc/maps to the log if 108 // printing /proc/maps takes several milliseconds in the worst case. 182 typedef AllocationTrackingMultiMap<void*, MemMap*, kAllocatorTagMaps> Maps; 240 static Maps* maps_ GUARDED_BY(Locks::mem_maps_lock_); 245 std::ostream& operator<<(std::ostream& os, const MemMap::Maps& mem_maps);
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
EnvironmentGetter.java | 22 import com.google.common.collect.Maps; 46 TreeMap<String, String> propertyMap = Maps.newTreeMap(); 48 Map<String, String> sysProps = Maps.fromProperties(System.getProperties());
|
ServerSocketService.java | 22 import com.google.common.collect.Maps; 100 private final Map<UUID, SettableFuture<OpenedSocket>> halfFinishedConnections = Maps.newHashMap(); 108 Maps.<Source, Collection<UUID>>newEnumMap(Source.class),
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/ |
DesignerPlugin.java | 14 import com.google.common.collect.Maps; 203 private static Map<String, ImageDescriptor> sDescriptorCache = Maps.newHashMap(); 204 private static Map<String, Image> sImageCache = Maps.newHashMap();
|
/external/guava/guava/src/com/google/common/collect/ |
SparseImmutableTable.java | 39 Map<R, Integer> rowIndex = Maps.newHashMap(); 40 Map<R, Map<C, V>> rows = Maps.newLinkedHashMap(); 45 Map<C, Map<R, V>> columns = Maps.newLinkedHashMap();
|