/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Collections/ |
D | MapFieldTest.cs | 110 var map2 = new MapField<string, string>(); in EqualityIsOrderInsensitive() 111 map2.Add("b", "v2"); in EqualityIsOrderInsensitive() 112 map2.Add("a", "v1"); in EqualityIsOrderInsensitive() 114 EqualityTester.AssertEquality(map1, map2); in EqualityIsOrderInsensitive() 124 var map2 = new MapField<string, string>(); in EqualityIsKeySensitive() 125 map2.Add("third key", "v1"); in EqualityIsKeySensitive() 126 map2.Add("fourth key", "v2"); in EqualityIsKeySensitive() 128 EqualityTester.AssertInequality(map1, map2); in EqualityIsKeySensitive() 149 var map2 = new MapField<string, string>(); in EqualityIsValueSensitive() 150 map2.Add("a", "third value"); in EqualityIsValueSensitive() [all …]
|
/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 326 for (int i=0; i<map2.size(); i++) { in dump() 329 Log.e("test", "ArrayMap of " + map2.size() + " entries:"); in dump() 330 for (int i=0; i<map2.size(); i++) { in dump() 331 Log.e("test", " " + map2.keyAt(i) + " -> " + map2.valueAt(i)); in dump() 458 ArrayMap<Integer, String> map2 = new ArrayMap<Integer, String>(); 460 if (!compare(map1, map2) || !compare(map1, map3) || !compare(map3, map2)) { 462 map2 + ", " + map3); 469 map2.put(i, value); 472 if (!compare(map1, map2) || !compare(map1, map3) || !compare(map3, map2)) { [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | JobSetTest.java | 108 SparseArray<ArraySet<JobStatus>> map2) { in assertHaveSameJobs() argument 118 for (int i = 0; i < map2.size(); i++) { in assertHaveSameJobs() 119 final ArraySet<JobStatus> jobs = map2.valueAt(i); in assertHaveSameJobs() 126 dump("map2", map2); in assertHaveSameJobs()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | SmallSortedMapTest.java | 107 SmallSortedMap<Integer, Integer> map2 = in runPutAndGetTest() local 117 assertNull(map2.put(i, i + 1)); in runPutAndGetTest() 126 assertEquals(Math.min(4, numElements), map2.getNumArrayEntries()); in runPutAndGetTest() 133 allMaps.add(map2); in runPutAndGetTest() 144 assertEquals(map1, map2); in runPutAndGetTest() 145 assertEquals(map2, map3); 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 | 45 map<string, MapOut> map2 = 2; field 65 repeated Map2Entry map2 = 2; field
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | map_unittest.proto | 76 map<int32, int32> map2 = 2; field
|
D | map_unittest_proto3.proto | 81 map<int32, int32> map2 = 2; field
|
D | map_test.cc | 654 std::map<int32, int32> map2; in TEST_P() local 655 map2[key1] = value1b; in TEST_P() 656 map2[key2] = value2b; in TEST_P() 658 map_.insert(map2.begin(), map2.end()); in TEST_P() 2090 const Descriptor* map2 = unittest::TestSameTypeMap::descriptor() in TEST() local 2097 MessageFactory::generated_factory()->GetPrototype(map2); in TEST() 2100 EXPECT_EQ(map2, map2_entry->GetDescriptor()); in TEST()
|