Home
last modified time | relevance | path

Searched refs:Foo (Results 1 – 25 of 46) sorted by relevance

12

/system/core/libutils/
DRefBase_test.cpp35 class Foo : public RefBase { class
37 Foo(bool* deleted_check) : mDeleted(deleted_check) { in Foo() function in Foo
41 ~Foo() { in ~Foo()
88 Foo* foo = new Foo(&isDeleted); in TEST()
91 sp<Foo> sp1(foo); in TEST()
92 wp<Foo> wp1(sp1); in TEST()
97 sp<Foo> sp2 = std::move(sp1); in TEST()
108 sp<Foo> sp2 = std::move(sp1); in TEST()
116 Foo* foo = new Foo(&isDeleted); in TEST()
119 wp<Foo> wp1(foo); in TEST()
[all …]
/system/tools/aidl/tests/java/src/android/aidl/tests/
DTestVersionedInterface.java25 import android.aidl.versioned.tests.Foo;
83 Foo[] foos = new Foo[42]; in testArrayOfPacelableWithNewField()
85 foos[i] = new Foo(); in testArrayOfPacelableWithNewField()
93 Foo inFoo = new Foo(); in testReadDataCorrectlyAfterParcelableWithNewField()
94 Foo inoutFoo = new Foo(); in testReadDataCorrectlyAfterParcelableWithNewField()
95 Foo outFoo = new Foo(); in testReadDataCorrectlyAfterParcelableWithNewField()
DJavaOnlyImmutableAnnotationTests.java24 import android.aidl.tests.immutable.Foo;
53 Foo foo = new Foo(7, new Bar("my"), list, map, array, Union.num(42)); in testReadWriteJavaOnlyImmutableParcelable()
56 Foo foo2 = Foo.CREATOR.createFromParcel(parcel); in testReadWriteJavaOnlyImmutableParcelable()
75 for (Field f : Foo.class.getDeclaredFields()) { in testEveryFieldIsFinal()
84 Foo foo = new Foo(7, new Bar("my"), new ArrayList<Bar>(), new HashMap<String, Bar>(), in testListIsUnmodifiable()
93 Foo foo = new Foo(7, new Bar("my"), new ArrayList<Bar>(), new HashMap<String, Bar>(), in testMapIsUnmodifiable()
102 assertThat(new Foo.Builder().build().a, is(10)); in testBuilderRespectDefaultValue()
118 Foo foo = new Foo(7, b, list, map, array, Union.num(42)); in testBuilder()
119 Foo foo2 = new Foo.Builder() in testBuilder()
DMapTests.java23 import android.aidl.tests.map.Foo;
40 Foo foo = new Foo(); in testWriteAndThenReadMaps()
75 Foo readFoo = new Foo(); in testWriteAndThenReadMaps()
/system/tools/aidl/tests/versioned/android/aidl/versioned/tests/
DIFooInterface.aidl3 import android.aidl.versioned.tests.Foo;
9 int ignoreParcelablesAndRepeatInt(in Foo inFoo, inout Foo inoutFoo, out Foo outFoo, int value); in ignoreParcelablesAndRepeatInt()
10 int returnsLengthOfFooArray(in Foo[] foos); in returnsLengthOfFooArray()
DFoo.aidl3 parcelable Foo {
/system/tools/aidl/aidl_api/aidl-test-versioned-interface/1/android/aidl/versioned/tests/
DIFooInterface.aidl22 …ndroid.aidl.versioned.tests.Foo inFoo, inout android.aidl.versioned.tests.Foo inoutFoo, out androi… in ignoreParcelablesAndRepeatInt()
23 int returnsLengthOfFooArray(in android.aidl.versioned.tests.Foo[] foos); in returnsLengthOfFooArray()
DFoo.aidl19 parcelable Foo {
/system/tools/aidl/aidl_api/aidl-test-versioned-interface/2/android/aidl/versioned/tests/
DIFooInterface.aidl22 …ndroid.aidl.versioned.tests.Foo inFoo, inout android.aidl.versioned.tests.Foo inoutFoo, out androi… in ignoreParcelablesAndRepeatInt()
23 int returnsLengthOfFooArray(in android.aidl.versioned.tests.Foo[] foos); in returnsLengthOfFooArray()
DFoo.aidl19 parcelable Foo {
/system/tools/aidl/aidl_api/aidl-test-versioned-interface/current/android/aidl/versioned/tests/
DIFooInterface.aidl23 …ndroid.aidl.versioned.tests.Foo inFoo, inout android.aidl.versioned.tests.Foo inoutFoo, out androi… in ignoreParcelablesAndRepeatInt()
24 int returnsLengthOfFooArray(in android.aidl.versioned.tests.Foo[] foos); in returnsLengthOfFooArray()
DFoo.aidl20 parcelable Foo {
/system/tools/aidl/tests/android/aidl/tests/immutable/
DIBaz.aidl19 import android.aidl.tests.immutable.Foo;
22 Foo RepeatFoo(in Foo a); in RepeatFoo()
DFoo.aidl23 parcelable Foo {
/system/tools/aidl/build/
Daidl_test.go996 srcs: ["dir/a/Foo.aidl", "dir/b/Foo.aidl"],
1017 "src/foo/Foo.aidl",
1032 "foo/src/foo/Foo.aidl": nil,
1034 "foo/aidl_api/foo-iface/current/foo/Foo.aidl": nil,
1035 "foo/aidl_api/foo-iface/1/foo/Foo.aidl": nil,
1037 "foo/aidl_api/foo-iface/2/foo/Foo.aidl": nil,
1044 rule := ctx.ModuleForTests("foo-iface-V1-cpp-source", "").Output("foo/Foo.cpp")
1055 rule := ctx.ModuleForTests("foo-iface-V3-cpp-source", "").Output("foo/Foo.cpp")
1077 "src/foo/Foo.aidl",
1108 "foo/aidl_api/foo-iface/1/foo/Foo.aidl": nil,
[all …]
/system/tools/aidl/tests/
Daidl_test_client_ndk_versioned_interface.cpp25 using aidl::android::aidl::versioned::tests::Foo;
58 vector<Foo> foos(42); in TEST_F()
66 Foo inFoo, inoutFoo, outFoo; in TEST_F()
Daidl_test_client_versioned_interface.cpp28 using android::aidl::versioned::tests::Foo;
73 std::vector<Foo> foos(42); in TEST_F()
81 Foo inFoo, inoutFoo, outFoo; in TEST_F()
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java691 IBase.Foo foo = new IBase.Foo(); in client()
695 IBase.Foo.Bar bar = new IBase.Foo.Bar(); in client()
704 IBase.Foo result = proxy.someOtherBaseMethod(foo); in client()
709 IBase.Foo[] inputArray = new IBase.Foo[2]; in client()
711 IBase.Foo foo = new IBase.Foo(); in client()
715 IBase.Foo.Bar bar = new IBase.Foo.Bar(); in client()
726 foo = new IBase.Foo(); in client()
730 IBase.Foo.Bar bar = new IBase.Foo.Bar(); in client()
741 IBase.Foo[] expectedOutputArray = new IBase.Foo[2]; in client()
745 IBase.Foo[] outputArray = proxy.someMethodWithFooArrays(inputArray); in client()
[all …]
/system/chre/util/tests/
Dfixed_size_vector_test.cc27 class Foo { class
29 ~Foo() { in ~Foo()
125 FixedSizeVector<Foo, 4> vector; in TEST()
127 vector.push_back(Foo()); in TEST()
186 FixedSizeVector<Foo, 4> vector; in TEST()
188 vector.push_back(Foo()); in TEST()
Ddynamic_vector_test.cc267 class Foo { class
273 Foo(int value) : value(value) { in Foo() function in Foo
277 Foo(const Foo &other) { in Foo() function in Foo
282 Foo(Foo &&other) = delete;
288 ~Foo() { in ~Foo()
301 ssize_t Foo::sConstructedCounter = 0;
304 Foo::sConstructedCounter = 0; in TEST()
306 DynamicVector<Foo> vector; in TEST()
317 EXPECT_EQ(Foo::sConstructedCounter, 4); in TEST()
320 EXPECT_EQ(Foo::sConstructedCounter, 0); in TEST()
/system/tools/aidl/tests/rust/
Dtest_service.rs31 BazUnion::BazUnion, Foo::Foo, IFooInterface, IFooInterface::BnFooInterface,
328 fn returnsLengthOfFooArray(&self, foos: &[Foo]) -> binder::Result<i32> { in returnsLengthOfFooArray()
331 …fn ignoreParcelablesAndRepeatInt(&self, _in_foo: &Foo, _inout_foo: &mut Foo, _out_foo: &mut Foo, v… in ignoreParcelablesAndRepeatInt() argument
/system/tools/hidl/test/cpp_impl_test/
DAndroid.bp24 "Foo.h",
46 "Foo.cpp",
/system/tools/hidl/test/format_test/1.0/
DIFoo.hal36 struct Foo {};
38 Foo b;
/system/tools/hidl/test/vendor/1.0/
Dtypes.hal35 enum Foo : Bar {
41 enum FooToo : Foo {
/system/tools/aidl/tests/android/aidl/tests/map/
DFoo.aidl23 parcelable Foo {

12