/system/tools/aidl/tests/ |
D | aidl_test_client_primitives.cpp | 42 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 …]
|
D | aidl_test_client_utf8_strings.cpp | 37 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()
|
D | aidl_test_client_primitives.h | 30 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);
|
D | aidl_test_client_nullables.cpp | 34 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()
|
D | aidl_test_client_utf8_strings.h | 31 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);
|
D | test_helpers.h | 33 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()
|
D | aidl_test_client_file_descriptors.h | 30 bool ConfirmFileDescriptors(const sp<ITestService>& s); 31 bool ConfirmFileDescriptorArrays(const sp<ITestService>& s);
|
D | aidl_test_client_parcelables.h | 30 bool ConfirmSimpleParcelables(const sp<ITestService>& s); 31 bool ConfirmPersistableBundles(const sp<ITestService>& s);
|
D | aidl_test_client.cpp | 43 using android::aidl::tests::ITestService; 56 bool GetService(sp<ITestService>* service) { in GetService() 75 sp<ITestService> service; in main()
|
D | aidl_test_client_file_descriptors.cpp | 38 using android::aidl::tests::ITestService; 107 bool ConfirmFileDescriptors(const sp<ITestService>& s) { in ConfirmFileDescriptors() 138 bool ConfirmFileDescriptorArrays(const sp<ITestService>& s) { in ConfirmFileDescriptorArrays()
|
D | aidl_test_client_parcelables.cpp | 29 using android::aidl::tests::ITestService; 42 bool ConfirmSimpleParcelables(const sp<ITestService>& s) { in ConfirmSimpleParcelables() 78 bool ConfirmPersistableBundles(const sp<ITestService>& s) { in ConfirmPersistableBundles()
|
D | aidl_test_client_nullables.h | 30 bool ConfirmNullables(const sp<ITestService>& s);
|
D | aidl_test_client_service_exceptions.h | 30 bool ConfirmServiceSpecificExceptions(const sp<ITestService>& s);
|
D | aidl_test_client_service_exceptions.cpp | 32 bool ConfirmServiceSpecificExceptions(const sp<ITestService>& s) { in ConfirmServiceSpecificExceptions()
|
/system/tools/aidl/tests/java_app/src/android/aidl/tests/ |
D | TestServiceClient.java | 46 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 …]
|
D | NullableTests.java | 26 private ITestService mService; 29 public NullableTests(ITestService service, TestLogger logger) { in NullableTests()
|
/system/tools/aidl/ |
D | Android.mk | 38 tests/android/aidl/tests/ITestService.aidl \
|
D | Android.bp | 177 "tests/android/aidl/tests/ITestService.aidl",
|
/system/tools/aidl/tests/android/aidl/tests/ |
D | ITestService.aidl | 23 interface ITestService { interface
|