Home
last modified time | relevance | path

Searched refs:Contains (Results 1 – 24 of 24) sorted by relevance

/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/Collections/
DMapFieldTest.cs205 Assert.IsTrue(collection.Contains(NewKeyValuePair("x", "y"))); in Contains_Pair()
206 Assert.IsFalse(collection.Contains(NewKeyValuePair("x", "z"))); in Contains_Pair()
207 Assert.IsFalse(collection.Contains(NewKeyValuePair("z", "y"))); in Contains_Pair()
329 Assert.IsFalse(dictionary.Contains("a")); in IDictionary_Contains()
330 Assert.IsFalse(dictionary.Contains(5)); in IDictionary_Contains()
332 Assert.IsFalse(dictionary.Contains(new DictionaryEntry("x", "y"))); in IDictionary_Contains()
333 Assert.IsTrue(dictionary.Contains("x")); in IDictionary_Contains()
494 Assert.IsTrue(keys.Contains("foo")); in KeysContains()
495 Assert.IsFalse(keys.Contains("bar")); // It's a value! in KeysContains()
496 Assert.IsFalse(keys.Contains("1")); in KeysContains()
[all …]
DRepeatedFieldTest.cs54 Assert.Throws<ArgumentNullException>(() => list.Contains(null)); in NullValuesRejected()
612 Assert.IsTrue(list.Contains("second")); in IList_Contains()
613 Assert.IsFalse(list.Contains("third")); in IList_Contains()
614 Assert.IsFalse(list.Contains(new object())); in IList_Contains()
/frameworks/base/cmds/statsd/tests/external/
Dpuller_util_test.cpp32 using testing::Contains;
89 EXPECT_THAT(actual, Contains(expectedV1)); in TEST()
130 EXPECT_THAT(actual, Contains(expectedV1)); in TEST()
131 EXPECT_THAT(actual, Contains(expectedV2)); in TEST()
166 EXPECT_THAT(actual, Contains(expectedV1)); in TEST()
167 EXPECT_THAT(actual, Contains(expectedV2)); in TEST()
202 EXPECT_THAT(actual, Contains(expectedV1)); in TEST()
203 EXPECT_THAT(actual, Contains(expectedV2)); in TEST()
240 EXPECT_THAT(actual, Contains(expectedV1)); in TEST()
DStatsPuller_test.cpp36 using testing::Contains;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Collections/
DReadOnlyDictionary.cs97 public bool Contains(KeyValuePair<TKey, TValue> item) in Contains() method in Google.Protobuf.Collections.ReadOnlyDictionary
99 return wrapped.Contains(item); in Contains()
DRepeatedField.cs248 public bool Contains(T item) in Contains() method in Google.Protobuf.Collections.RepeatedField
562 bool IList.Contains(object value) in IList.Contains()
564 return (value is T && Contains((T)value)); in IList.Contains()
DMapField.cs290 bool ICollection<KeyValuePair<TKey, TValue>>.Contains(KeyValuePair<TKey, TValue> item) in Contains() method in Google.Protobuf.Collections.MapField
489 bool IDictionary.Contains(object key) in IDictionary.Contains()
707 public bool Contains(T item) in Contains() method in Google.Protobuf.Collections.MapField.MapView
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/python/google/protobuf/pyext/
Dmap_container.cc62 static PyObject* Contains(PyObject* _self, PyObject* key);
331 PyObject* MapReflectionFriend::Contains(PyObject* _self, PyObject* key) { in Contains() function in google::protobuf::python::MapReflectionFriend
500 ScopedPyObjectPtr is_present(MapReflectionFriend::Contains(self, key)); in ScalarMapGet()
524 { "__contains__", MapReflectionFriend::Contains, METH_O,
749 ScopedPyObjectPtr is_present(MapReflectionFriend::Contains(self, key)); in MessageMapGet()
775 { "__contains__", (PyCFunction)MapReflectionFriend::Contains, METH_O,
Ddescriptor_containers.cc291 static int Contains(PyContainer* self, PyObject* key) { in Contains() function
450 (objobjproc)Contains, // sq_contains
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DDisplayColorProfileTest.cpp55 using testing::Contains;
329 EXPECT_THAT(profile.getHdrCapabilities().getSupportedHdrTypes(), Contains(Hdr::HDR10)); in TEST_F()
330 EXPECT_THAT(profile.getHdrCapabilities().getSupportedHdrTypes(), Contains(Hdr::HLG)); in TEST_F()
342 EXPECT_THAT(profile.getHdrCapabilities().getSupportedHdrTypes(), Contains(Hdr::HDR10)); in TEST_F()
343 EXPECT_THAT(profile.getHdrCapabilities().getSupportedHdrTypes(), Contains(Hdr::HLG)); in TEST_F()
/frameworks/native/libs/ui/tests/
DBufferHubEventFd_test.cpp40 using ::testing::Contains;
271 EXPECT_THAT(u32s, Contains(e1.data.u32)); in TEST_F()
272 EXPECT_THAT(u32s, Contains(e2.data.u32)); in TEST_F()
/frameworks/native/cmds/lshal/
Dtest.cpp251 EXPECT_THAT(table.getSelectedColumns(), Not(Contains(TableColumnType::SERVER_PID))) in TEST_F()
253 EXPECT_THAT(table.getSelectedColumns(), Not(Contains(TableColumnType::CLIENT_PIDS))) in TEST_F()
255 EXPECT_THAT(table.getSelectedColumns(), Contains(TableColumnType::SERVER_CMD)) in TEST_F()
257 EXPECT_THAT(table.getSelectedColumns(), Contains(TableColumnType::CLIENT_CMDS)) in TEST_F()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/
DMessageDescriptor.cs167 …ool IsWellKnownType => File.Package == "google.protobuf" && WellKnownTypeNames.Contains(File.Name);
/frameworks/ml/nn/
DREADME.txt31 ./common: Contains files that can be useful for multiple components,
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf.Test/
DFieldCodecTest.cs187 Assert.AreEqual(name.Contains("Fixed"), codec.FixedSize != 0); in TestFixedSize()
DJsonFormatterTest.cs287 Assert.IsTrue(actualJson.Contains("\"int64Field\": null")); in WrapperFormatting_IncludeNull()
288 Assert.IsFalse(actualJson.Contains("\"int32Field\": null")); in WrapperFormatting_IncludeNull()
DGeneratedMessageTest.cs647 …Types.Descriptor.Fields.InDeclarationOrder().Select(x => x.FieldNumber).Contains(unusedFieldNumber… in IgnoreUnknownFields_RealDataStillRead()
/frameworks/base/cmds/statsd/tests/storage/
DStorageManager_test.cpp30 using testing::Contains;
/frameworks/native/services/surfaceflinger/layerproto/
Dlayers.proto7 // Contains a list of all layers.
/frameworks/base/tools/aapt2/link/
DTableMerger_test.cpp24 using ::testing::Contains;
490 EXPECT_THAT(style->entries, Contains(Field(&Style::Entry::value, Pointee(ValueEq(*expected))))); in TEST_F()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTimeStatsTest.cpp40 using testing::Contains;
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/stubs/
Dstringpiece_unittest.cc700 TEST(StringPiece, Contains) { in TEST() argument
/frameworks/opt/telephony/proto/src/
Dtelephony.proto227 // Contains phone state and service related information.
/frameworks/base/cmds/statsd/src/
Datoms.proto1313 // Contains information about the color gamut and hdr mode of the screen.
1366 // Contains information about screen size, whether the screen is wider/taller
1387 // Contains information about the overall ui mode of the device.