Home
last modified time | relevance | path

Searched refs:IntEnum (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/binder_ndk/libbinder_ndk_test/test_package/
DFoo.aidl5 import test_package.IntEnum;
26 IntEnum shouldBeIntBar;
29 IntEnum[] shouldContainTwoIntFoos;
DITest.aidl22 import test_package.IntEnum;
65 IntEnum RepeatIntEnum(IntEnum value); in RepeatIntEnum()
96 IntEnum[] RepeatIntEnumArray(in IntEnum[] input, out IntEnum[] repeated); in RepeatIntEnumArray()
117 @nullable IntEnum[] RepeatNullableIntEnumArray(in @nullable IntEnum[] input); in RepeatNullableIntEnumArray()
DGenericBar.aidl20 import test_package.IntEnum;
25 GenericFoo<int, Bar, IntEnum> shouldBeGenericFoo;
DIntEnum.aidl20 enum IntEnum { enum
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_native_aidl_client.cpp52 using ::aidl::test_package::IntEnum;
296 IntEnum out; in TEST_P()
297 ASSERT_OK(iface->RepeatIntEnum(IntEnum::FOO, &out)); in TEST_P()
298 EXPECT_EQ(IntEnum::FOO, out); in TEST_P()
309 EXPECT_EQ(toString(IntEnum::BAR), "BAR"); in TEST_P()
312 EXPECT_EQ(toString(static_cast<IntEnum>(-1)), "-1"); in TEST_P()
854 foo.shouldBeIntBar = IntEnum::BAR; in TEST_P()
857 foo.shouldContainTwoIntFoos = {IntEnum::FOO, IntEnum::FOO}; in TEST_P()
981 testRepeat<IntEnum>(iface, &ITest::RepeatIntEnumArray, in TEST_P()
984 {IntEnum::FOO}, in TEST_P()
[all …]
Ditest_impl.h36 using ::aidl::test_package::IntEnum;
146 ::ndk::ScopedAStatus RepeatIntEnum(IntEnum in_value, IntEnum* _aidl_return) override { in RepeatIntEnum()
291 ::ndk::ScopedAStatus RepeatIntEnumArray(const std::vector<IntEnum>& in_value, in RepeatIntEnumArray()
292 std::vector<IntEnum>* out_repeated, in RepeatIntEnumArray()
293 std::vector<IntEnum>* _aidl_return) override { in RepeatIntEnumArray()
417 const std::optional<std::vector<IntEnum>>& in_value, in RepeatNullableIntEnumArray()
418 std::optional<std::vector<IntEnum>>* _aidl_return) override { in RepeatNullableIntEnumArray()
DAndroid.bp38 "test_package/IntEnum.aidl",
/cts/tests/tests/binder_ndk/src/android/binder/cts/
DJavaClientTest.java56 import test_package.IntEnum;
180 assertEquals(IntEnum.FOO, mInterface.RepeatIntEnum(IntEnum.FOO)); in testRepeatPrimitives()
501 int[] value = {IntEnum.FOO, IntEnum.BAR}; in testArrays()
635 int[] value = {IntEnum.FOO, IntEnum.BAR}; in testNullableArrays()
694 foo.shouldBeIntBar = IntEnum.BAR; in testRepeatFoo()
698 foo.shouldContainTwoIntFoos = new int[]{IntEnum.FOO, IntEnum.FOO}; in testRepeatFoo()