Home
last modified time | relevance | path

Searched refs:Pair (Results 1 – 12 of 12) sorted by relevance

/system/tools/aidl/tests/java/src/android/aidl/tests/generic/
DPair.java22 public class Pair<A, B> implements Parcelable { class
26 public Pair() {} in Pair() method in Pair
27 public Pair(Parcel source) { readFromParcel(source); } in Pair() method in Pair
41 public static final Parcelable.Creator<Pair> CREATOR = new Parcelable.Creator<Pair>() {
42 public Pair createFromParcel(Parcel source) { return new Pair(source); }
44 public Pair[] newArray(int size) { return new Pair[size]; }
/system/bt/gd/common/
Dlist_map_test.cc109 EXPECT_THAT(iter->second, ElementsAre(Pair(1, 100))); in TEST()
114 EXPECT_THAT(iter->second, ElementsAre(Pair(2, 200))); in TEST()
140 EXPECT_THAT(list_map, ElementsAre(Pair(1, 10), Pair(3, 30))); in TEST()
156 EXPECT_THAT(list_map, ElementsAre(Pair(1, 10), Pair(4, 40), Pair(2, 20), Pair(3, 30))); in TEST()
165 EXPECT_THAT(list_map, ElementsAre(Pair(1, 10), Pair(3, 30), Pair(2, 20))); in TEST()
168 EXPECT_THAT(list_map, ElementsAre(Pair(4, 40), Pair(1, 10), Pair(3, 30))); in TEST()
174 EXPECT_THAT(list_map, ElementsAre(Pair(1, 10), Pair(3, 30), Pair(4, 40))); in TEST()
208 ASSERT_THAT(list_map, ElementsAre(Pair(1, 10), Pair(42, 420), Pair(2, 20))); in TEST()
221 ASSERT_THAT(list_map, ElementsAre(Pair(1, 10), Pair(2, 20), Pair(42, 420))); in TEST()
234 ASSERT_THAT(list_map, ElementsAre(Pair(1, 10), Pair(42, 420), Pair(2, 20))); in TEST()
[all …]
Dlru_cache_test.cc81 ASSERT_THAT(cache, ElementsAre(Pair(42, 420), Pair(2, 20))); in TEST()
130 EXPECT_THAT(iter->second, ElementsAre(Pair(1, 100))); in TEST()
135 EXPECT_THAT(iter->second, ElementsAre(Pair(2, 200))); in TEST()
150 EXPECT_THAT(cache, ElementsAre(Pair(3, 30), Pair(1, 10))); in TEST()
165 EXPECT_THAT(cache, ElementsAre(Pair(3, 30), Pair(1, 10))); in TEST()
313 ASSERT_THAT(cache, ElementsAre(Pair(2, 20), Pair(1, 10))); in TEST()
315 ASSERT_THAT(cache, ElementsAre(Pair(2, 200), Pair(1, 10))); in TEST()
318 ASSERT_THAT(cache, ElementsAre(Pair(1, 100), Pair(2, 200))); in TEST()
321 ASSERT_THAT(cache, ElementsAre(Pair(1, 100), Pair(2, 400))); in TEST()
386 ASSERT_THAT(lru_cache, ElementsAre(Pair(2, 20), Pair(1, 10))); in TEST()
[all …]
/system/tools/aidl/tests/java/src/android/aidl/tests/
DGenericTests.java25 import android.aidl.tests.generic.Pair;
38 public Pair<Integer, String> getPair() { in testGeneric()
39 Pair<Integer, String> ret = new Pair<Integer, String>(); in testGeneric()
44 public Pair<Baz, Baz> getPair2() { in testGeneric()
45 Pair<Baz, Baz> ret = new Pair<Baz, Baz>(); in testGeneric()
53 public Pair<Integer, Integer> getPair3() { in testGeneric()
54 Pair<Integer, Integer> ret = new Pair<Integer, Integer>(); in testGeneric()
/system/tools/aidl/tests/android/aidl/tests/generic/
DIFaz.aidl21 import android.aidl.tests.generic.Pair;
24 Pair<int, String> getPair(); in getPair()
25 Pair<Baz, Baz> getPair2(); in getPair2()
26 Pair<int, IntEnum> getPair3(); in getPair3()
DPair.aidl19 parcelable Pair<A, B>;
/system/apex/libs/libapexutil/
Dapexutil_test.cpp36 using ::testing::Pair;
100 ASSERT_THAT(apexes, UnorderedElementsAre(Pair(foo_path, foo_manifest), in TEST()
101 Pair(bar_path, bar_manifest))); in TEST()
/system/bt/common/
Dlru_unittest.cc49 EXPECT_THAT(cache.Put(4, 40), Optional(Pair(1, 10))); in TEST()
59 EXPECT_THAT(cache.Put(5, 50), Optional(Pair(4, 40))); in TEST()
82 EXPECT_THAT(cache.Put(3, 30), Optional(Pair(1, 10))); in TEST()
93 EXPECT_THAT(cache.Put(4, 40), Optional(Pair(2, 200))); in TEST()
/system/bt/doc/
Dpts_guide.md39 - `PTS_SmpOptions` sets SMP Pair options (formatted as hex bytes) `auth, io,
/system/bt/gd/proto/bluetooth/metrics/
Dbluetooth.proto29 // Session information that gets logged for every Pair event.
181 // Pair event time
/system/libvintf/
Dparse_xml.cpp411 template <typename Pair, typename FirstConverter, typename SecondConverter>
412 struct XmlPairConverter : public XmlNodeConverter<Pair> {
413 virtual void mutateNode(const Pair& pair, NodeType* root, DocType* d) const override { in mutateNode()
417 virtual bool buildObject(Pair* pair, NodeType* root, std::string* error) const override { in buildObject()
/system/tools/aidl/
DAndroid.bp430 "tests/java/src/android/aidl/tests/generic/Pair.java",