Home
last modified time | relevance | path

Searched refs:ITestService (Results 1 – 9 of 9) sorted by relevance

/system/tools/aidl/tests/
Daidl_test_client_primitives.cpp40 using android::aidl::tests::ITestService;
47 void DoTest(Status (ITestService::*func)(T, U*), V input) { in DoTest()
55 void DoTest(Status (ITestService::*func)(const std::vector<T>&, std::vector<T>*, std::vector<T>*), in DoTest()
70 DoTest(&ITestService::RepeatBoolean, true); in TEST_F()
74 DoTest(&ITestService::RepeatByte, int8_t{-128}); in TEST_F()
78 DoTest(&ITestService::RepeatChar, char16_t{'A'}); in TEST_F()
82 DoTest(&ITestService::RepeatInt, int32_t{1 << 30}); in TEST_F()
86 DoTest(&ITestService::RepeatLong, int64_t{1LL << 60}); in TEST_F()
90 DoTest(&ITestService::RepeatFloat, float{1.0f / 3.0f}); in TEST_F()
94 DoTest(&ITestService::RepeatDouble, double{1.0 / 3.0}); in TEST_F()
[all …]
Daidl_test_client.h25 using android::aidl::tests::ITestService;
34 ASSERT_EQ(OK, getService(ITestService::descriptor, &service)); in SetUp()
38 sp<ITestService> service;
Daidl_test_client_nullables.cpp36 using android::aidl::tests::ITestService;
45 void DoTest(Status (ITestService::*func)(const std::optional<T>&, std::optional<T>*), in DoTest()
61 DoTest(&ITestService::RepeatNullableIntArray, std::make_optional(std::vector<int32_t>{1, 2, 3})); in TEST_F()
65 DoTest(&ITestService::RepeatNullableByteEnumArray, in TEST_F()
70 DoTest(&ITestService::RepeatNullableIntEnumArray, in TEST_F()
75 DoTest(&ITestService::RepeatNullableLongEnumArray, in TEST_F()
80 DoTest(&ITestService::RepeatNullableString, std::optional<String16>("Blooob")); in TEST_F()
92 DoTest(&ITestService::RepeatNullableStringList, std::make_optional(input)); in TEST_F()
96 DoTest(&ITestService::RepeatNullableParcelable, in TEST_F()
Daidl_test_client_defaultimpl.cpp21 using android::aidl::tests::ITestService;
42 std::unique_ptr<ITestService> defImpl = std::make_unique<Def>(); in TEST_F()
43 auto ret = ITestService::setDefaultImpl(std::move(defImpl)); in TEST_F()
Daidl_test_client_utf8_strings.cpp33 using android::aidl::tests::ITestService;
44 ITestService::STRING_TEST_CONSTANT_UTF8(), in TEST_F()
84 Status (ITestService::*func)(const std::optional<std::vector<std::optional<std::string>>>&, in DoTest()
128 DoTest(&ITestService::ReverseUtf8CppStringList); in TEST_F()
132 DoTest(&ITestService::ReverseNullableUtf8CppString); in TEST_F()
Daidl_test_client_parcelables.cpp27 using android::aidl::tests::ITestService;
/system/tools/aidl/tests/java_app/src/android/aidl/tests/
DNullableTests.java39 private ITestService mService;
43 IBinder binder = ServiceManager.getService(ITestService.class.getName()); in setUp()
45 mService = ITestService.Stub.asInterface(binder); in setUp()
DTestServiceClient.java28 import android.aidl.tests.ITestService;
66 private ITestService service;
70 IBinder binder = ServiceManager.getService(ITestService.class.getName()); in setUp()
72 service = ITestService.Stub.asInterface(binder); in setUp()
102 int query[] = {ITestService.TEST_CONSTANT, in testConstRepeat()
103 ITestService.TEST_CONSTANT2, in testConstRepeat()
104 ITestService.TEST_CONSTANT3, in testConstRepeat()
105 ITestService.TEST_CONSTANT4, in testConstRepeat()
106 ITestService.TEST_CONSTANT5, in testConstRepeat()
107 ITestService.TEST_CONSTANT6, in testConstRepeat()
[all …]
/system/tools/aidl/tests/android/aidl/tests/
DITestService.aidl27 interface ITestService { interface