Home
last modified time | relevance | path

Searched refs:ByteEnum (Results 1 – 7 of 7) sorted by relevance

/system/tools/aidl/tests/android/aidl/tests/
DITestService.aidl19 import android.aidl.tests.ByteEnum;
56 ByteEnum RepeatByteEnum(ByteEnum token); in RepeatByteEnum()
73 ByteEnum[] ReverseByteEnum (in ByteEnum[] input, out ByteEnum[] repeated); in ReverseByteEnum()
105 @nullable ByteEnum[] RepeatNullableByteEnumArray(in @nullable ByteEnum[] input); in RepeatNullableByteEnumArray()
DStructuredParcelable.aidl19 import android.aidl.tests.ByteEnum;
29 ByteEnum shouldBeByteBar;
32 ByteEnum[] shouldContainTwoByteFoos;
DByteEnum.aidl23 enum ByteEnum { enum
/system/tools/aidl/tests/
Daidl_test_client_nullables.cpp33 using android::aidl::tests::ByteEnum;
66 std::make_optional(std::vector<ByteEnum>{ByteEnum::FOO, ByteEnum::BAR})); in TEST_F()
Daidl_test_service.cpp73 using android::aidl::tests::ByteEnum;
171 Status RepeatByteEnum(ByteEnum token, ByteEnum* _aidl_return) override { in RepeatByteEnum()
260 Status ReverseByteEnum(const vector<ByteEnum>& input, vector<ByteEnum>* repeated, in ReverseByteEnum()
261 vector<ByteEnum>* _aidl_return) override { in ReverseByteEnum()
369 Status RepeatNullableByteEnumArray(const optional<vector<ByteEnum>>& input, in RepeatNullableByteEnumArray()
370 optional<vector<ByteEnum>>* _aidl_return) { in RepeatNullableByteEnumArray()
471 parcelable->shouldBeByteBar = ByteEnum::BAR; in FillOutStructuredParcelable()
474 parcelable->shouldContainTwoByteFoos = {ByteEnum::FOO, ByteEnum::FOO}; in FillOutStructuredParcelable()
Daidl_test_client_primitives.cpp37 using android::aidl::tests::ByteEnum;
154 DoTest(&ITestService::ReverseByteEnum, {ByteEnum::FOO, ByteEnum::BAR, ByteEnum::BAR}); in TEST_F()
158 DoTest(&ITestService::ReverseByteEnum, {std::begin(::android::enum_range<ByteEnum>()), in TEST_F()
159 std::end(::android::enum_range<ByteEnum>())}); in TEST_F()
/system/tools/aidl/tests/java_app/src/android/aidl/tests/
DTestServiceClient.java26 import android.aidl.tests.ByteEnum;
135 byte query = ByteEnum.FOO; in testByteEnumRepeat()
541 assertThat(p.shouldBeByteBar, is(ByteEnum.BAR)); in testStrucuturedParcelable()
544 assertThat(p.shouldContainTwoByteFoos, is(new byte[] {ByteEnum.FOO, ByteEnum.FOO})); in testStrucuturedParcelable()