Home
last modified time | relevance | path

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

/system/tools/aidl/tests/
Daidl_test_client_primitives.cpp42 using android::aidl::tests::ITestService;
55 bool ConfirmPrimitiveRepeat(const sp<ITestService>& s) { in ConfirmPrimitiveRepeat()
63 if (!RepeatPrimitive(s, &ITestService::RepeatBoolean, true) || in ConfirmPrimitiveRepeat()
64 !RepeatPrimitive(s, &ITestService::RepeatByte, int8_t{-128}) || in ConfirmPrimitiveRepeat()
65 !RepeatPrimitive(s, &ITestService::RepeatChar, char16_t{'A'}) || in ConfirmPrimitiveRepeat()
66 !RepeatPrimitive(s, &ITestService::RepeatInt, int32_t{1 << 30}) || in ConfirmPrimitiveRepeat()
67 !RepeatPrimitive(s, &ITestService::RepeatLong, int64_t{1ll << 60}) || in ConfirmPrimitiveRepeat()
68 !RepeatPrimitive(s, &ITestService::RepeatFloat, float{1.0f/3.0f}) || in ConfirmPrimitiveRepeat()
69 !RepeatPrimitive(s, &ITestService::RepeatDouble, double{1.0/3.0}) || in ConfirmPrimitiveRepeat()
70 !RepeatPrimitive(s, &ITestService::RepeatMap, test_map) || in ConfirmPrimitiveRepeat()
[all …]
Daidl_test_client_utf8_strings.cpp37 using android::aidl::tests::ITestService;
48 bool ConfirmUtf8InCppStringRepeat(const sp<ITestService>& s) { in ConfirmUtf8InCppStringRepeat()
103 bool ConfirmUtf8InCppStringArrayReverse(const sp<ITestService>& s) { in ConfirmUtf8InCppStringArrayReverse()
105 if (!ReverseArray(s, &ITestService::ReverseUtf8CppString, in ConfirmUtf8InCppStringArrayReverse()
115 bool ConfirmUtf8InCppStringCollectionReverse(const sp<ITestService>& s, in ConfirmUtf8InCppStringCollectionReverse()
116 Status (ITestService::*m)(const unique_ptr<vector<unique_ptr<string>>>&, in ConfirmUtf8InCppStringCollectionReverse()
171 bool ConfirmUtf8InCppStringListReverse(const sp<ITestService>& s) { in ConfirmUtf8InCppStringListReverse()
173 &ITestService::ReverseUtf8CppStringList); in ConfirmUtf8InCppStringListReverse()
176 bool ConfirmUtf8InCppNullableStringArrayReverse(const sp<ITestService>& s) { in ConfirmUtf8InCppNullableStringArrayReverse()
178 &ITestService::ReverseNullableUtf8CppString); in ConfirmUtf8InCppNullableStringArrayReverse()
Daidl_test_client_primitives.h30 bool ConfirmPrimitiveRepeat(const sp<ITestService>& s);
31 bool ConfirmReverseArrays(const android::sp<ITestService>& s);
32 bool ConfirmReverseLists(const android::sp<ITestService>& s);
33 bool ConfirmReverseBinderLists(const android::sp<ITestService>& s);
Daidl_test_client_nullables.cpp34 using android::aidl::tests::ITestService;
92 bool ConfirmNullableType(const sp<ITestService>& s, const string& type_name, in ConfirmNullableType()
94 Status(ITestService::*func)(const unique_ptr<T>&, in ConfirmNullableType()
135 bool CheckAppropriateIBinderHandling(const sp<ITestService>& s) { in CheckAppropriateIBinderHandling()
196 bool CheckAppropriateIInterfaceHandling(const sp<ITestService>& s) { in CheckAppropriateIInterfaceHandling()
224 bool ConfirmNullables(const sp<ITestService>& s) { in ConfirmNullables()
231 &ITestService::RepeatNullableIntArray)) { in ConfirmNullables()
237 &ITestService::RepeatNullableString)) { in ConfirmNullables()
253 &ITestService::RepeatNullableStringList)) { in ConfirmNullables()
260 &ITestService::RepeatNullableParcelable)) { in ConfirmNullables()
Daidl_test_client_utf8_strings.h31 const android::sp<android::aidl::tests::ITestService>& s);
33 const android::sp<android::aidl::tests::ITestService>& s);
35 const android::sp<android::aidl::tests::ITestService>& s);
Dtest_helpers.h33 const android::sp<android::aidl::tests::ITestService>& service, in RepeatPrimitive()
34 android::binder::Status(android::aidl::tests::ITestService::*func)(T, V*), in RepeatPrimitive()
48 const android::sp<android::aidl::tests::ITestService>& service, in ReverseArray()
49 android::binder::Status(android::aidl::tests::ITestService::*func)( in ReverseArray()
Daidl_test_client_file_descriptors.h30 bool ConfirmFileDescriptors(const sp<ITestService>& s);
31 bool ConfirmFileDescriptorArrays(const sp<ITestService>& s);
Daidl_test_client_parcelables.h30 bool ConfirmSimpleParcelables(const sp<ITestService>& s);
31 bool ConfirmPersistableBundles(const sp<ITestService>& s);
Daidl_test_client.cpp43 using android::aidl::tests::ITestService;
56 bool GetService(sp<ITestService>* service) { in GetService()
75 sp<ITestService> service; in main()
Daidl_test_client_file_descriptors.cpp38 using android::aidl::tests::ITestService;
107 bool ConfirmFileDescriptors(const sp<ITestService>& s) { in ConfirmFileDescriptors()
138 bool ConfirmFileDescriptorArrays(const sp<ITestService>& s) { in ConfirmFileDescriptorArrays()
Daidl_test_client_parcelables.cpp29 using android::aidl::tests::ITestService;
42 bool ConfirmSimpleParcelables(const sp<ITestService>& s) { in ConfirmSimpleParcelables()
78 bool ConfirmPersistableBundles(const sp<ITestService>& s) { in ConfirmPersistableBundles()
Daidl_test_client_nullables.h30 bool ConfirmNullables(const sp<ITestService>& s);
Daidl_test_client_service_exceptions.h30 bool ConfirmServiceSpecificExceptions(const sp<ITestService>& s);
Daidl_test_client_service_exceptions.cpp32 bool ConfirmServiceSpecificExceptions(const sp<ITestService>& s) { in ConfirmServiceSpecificExceptions()
/system/tools/aidl/tests/java_app/src/android/aidl/tests/
DTestServiceClient.java46 import android.aidl.tests.ITestService;
69 private ITestService getService() throws TestFailException { in getService()
71 ITestService.class.getName()); in getService()
75 ITestService ret = ITestService.Stub.asInterface(service); in getService()
82 private void checkPrimitiveRepeat(ITestService service) in checkPrimitiveRepeat()
119 int query[] = {ITestService.TEST_CONSTANT, in checkPrimitiveRepeat()
120 ITestService.TEST_CONSTANT2, in checkPrimitiveRepeat()
121 ITestService.TEST_CONSTANT3, in checkPrimitiveRepeat()
122 ITestService.TEST_CONSTANT4, in checkPrimitiveRepeat()
123 ITestService.TEST_CONSTANT5, in checkPrimitiveRepeat()
[all …]
DNullableTests.java26 private ITestService mService;
29 public NullableTests(ITestService service, TestLogger logger) { in NullableTests()
/system/tools/aidl/
DAndroid.mk38 tests/android/aidl/tests/ITestService.aidl \
DAndroid.bp177 "tests/android/aidl/tests/ITestService.aidl",
/system/tools/aidl/tests/android/aidl/tests/
DITestService.aidl23 interface ITestService { interface