/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ArrayMapTests.java | 323 private static void dump(ArrayMap map1, ArrayMap map2) { in dump() argument 324 Log.e("test", "ArrayMap of " + map1.size() + " entries:"); in dump() 325 Set<Map.Entry> mapSet = map1.entrySet(); in dump() 327 Log.e("test", " " + map1.keyAt(i) + " -> " + map1.valueAt(i)); in dump() 457 ArrayMap<Integer, String> map1 = new ArrayMap<Integer, String>(); 460 if (!compare(map1, map2) || !compare(map1, map3) || !compare(map3, map2)) { 461 Log.e("test", "ArrayMap equals failure for empty maps " + map1 + ", " + 468 map1.put(i, value); 472 if (!compare(map1, map2) || !compare(map1, map3) || !compare(map3, map2)) { 473 Log.e("test", "ArrayMap equals failure for populated maps " + map1 + ", " + [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Collections/ |
D | MapFieldTest.cs | 106 var map1 = new MapField<string, string>(); in EqualityIsOrderInsensitive() 107 map1.Add("a", "v1"); in EqualityIsOrderInsensitive() 108 map1.Add("b", "v2"); in EqualityIsOrderInsensitive() 114 EqualityTester.AssertEquality(map1, map2); in EqualityIsOrderInsensitive() 120 var map1 = new MapField<string, string>(); in EqualityIsKeySensitive() 121 map1.Add("first key", "v1"); in EqualityIsKeySensitive() 122 map1.Add("second key", "v2"); in EqualityIsKeySensitive() 128 EqualityTester.AssertInequality(map1, map2); in EqualityIsKeySensitive() 145 var map1 = new MapField<string, string>(); in EqualityIsValueSensitive() 146 map1.Add("a", "first value"); in EqualityIsValueSensitive() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | JobSetTest.java | 107 private static void assertHaveSameJobs(SparseArray<ArraySet<JobStatus>> map1, in assertHaveSameJobs() argument 112 for (int i = 0; i < map1.size(); i++) { in assertHaveSameJobs() 113 final ArraySet<JobStatus> jobs = map1.valueAt(i); in assertHaveSameJobs() 125 dump("map1", map1); in assertHaveSameJobs()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | SmallSortedMapTest.java | 105 SmallSortedMap<Integer, Integer> map1 = in runPutAndGetTest() local 116 assertNull(map1.put(i, i + 1)); in runPutAndGetTest() 125 assertEquals(Math.min(3, numElements), map1.getNumArrayEntries()); in runPutAndGetTest() 132 allMaps.add(map1); in runPutAndGetTest() 144 assertEquals(map1, map2); in runPutAndGetTest()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | HwTests.java | 120 public int compare(Map<String, Object> map1, Map<String, Object> map2) { 121 return collator.compare(map1.get("title"), map2.get("title"));
|
/frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/ |
D | VectorDrawableTest.java | 119 public int compare(Map<String, Object> map1, Map<String, Object> map2) { 120 return collator.compare(map1.get("title"), map2.get("title"));
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | MainActivity.java | 144 public int compare(Map<String, Object> map1, Map<String, Object> map2) { 145 return collator.compare(map1.get("title"), map2.get("title"));
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/testdata/ |
D | maps.proto | 44 map<string, MapM> map1 = 1; field 60 repeated Map1Entry map1 = 1; field
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | map_unittest.proto | 75 map<int32, int32> map1 = 1; field
|
D | map_test.cc | 647 std::map<int32, int32> map1; in TEST_P() local 648 map1[key1] = value1a; in TEST_P() 649 map1[key2] = value2a; in TEST_P() 651 map_.insert(map1.begin(), map1.end()); in TEST_P() 652 ExpectElements(map1); in TEST_P() 659 ExpectElements(map1); in TEST_P() 2087 const Descriptor* map1 = unittest::TestSameTypeMap::descriptor() in TEST() local 2095 MessageFactory::generated_factory()->GetPrototype(map1); in TEST() 2099 EXPECT_EQ(map1, map1_entry->GetDescriptor()); in TEST()
|
D | map_unittest_proto3.proto | 80 map<int32, int32> map1 = 1; field
|