Home
last modified time | relevance | path

Searched refs:fmq (Results 1 – 17 of 17) sorted by relevance

/system/libfmq/tests/aidl/android/fmq/test/
DITestAidlMsgQ.aidl17 package android.fmq.test;
19 import android.hardware.common.fmq.MQDescriptor;
20 import android.hardware.common.fmq.SynchronizedReadWrite;
21 import android.hardware.common.fmq.UnsynchronizedWrite;
DFixedParcelable.aidl17 package android.fmq.test;
19 import android.fmq.test.EventFlagBits;
DEventFlagBits.aidl3 package android.fmq.test;
/system/libfmq/tests/aidl/default/
DTestAidlMsgQ.h26 namespace fmq {
29 using ::aidl::android::fmq::test::EventFlagBits;
30 using ::aidl::android::fmq::test::ITestAidlMsgQ;
32 using ::aidl::android::hardware::common::fmq::MQDescriptor;
33 using ::aidl::android::hardware::common::fmq::SynchronizedReadWrite;
34 using ::aidl::android::hardware::common::fmq::UnsynchronizedWrite;
DAndroid.bp6 name: "android.fmq.test-impl",
13 "android.fmq.test-ndk_platform",
DTestAidlMsgQ.cpp21 namespace fmq { namespace
/system/libfmq/tests/aidl/
DAndroid.bp6 name: "android.fmq.test",
11 "android/fmq/test/*.aidl",
15 "android.hardware.common.fmq-V1",
/system/libfmq/tests/
Dfmq_unit_tests.cpp30 using aidl::android::hardware::common::fmq::SynchronizedReadWrite;
31 using aidl::android::hardware::common::fmq::UnsynchronizedWrite;
50 typedef aidl::android::hardware::common::fmq::MQDescriptor<int8_t, SynchronizedReadWrite>
55 typedef aidl::android::hardware::common::fmq::MQDescriptor<int8_t, UnsynchronizedWrite>
90 static void ReaderThreadBlocking(typename T::MQType* fmq, std::atomic<uint32_t>* fwAddr);
91 static void ReaderThreadBlocking2(typename T::MQType* fmq, std::atomic<uint32_t>* fwAddr);
250 void TestBase<T>::ReaderThreadBlocking(typename T::MQType* fmq, std::atomic<uint32_t>* fwAddr) { in ReaderThreadBlocking() argument
268 if ((efState & kFmqNotEmpty) && fmq->read(data, dataLen)) { in ReaderThreadBlocking()
283 void TestBase<T>::ReaderThreadBlocking2(typename T::MQType* fmq, std::atomic<uint32_t>* fwAddr) { in ReaderThreadBlocking2() argument
290 bool ret = fmq->readBlocking(data, in ReaderThreadBlocking2()
[all …]
DAndroid.bp62 "android.hardware.common.fmq-V1-ndk_platform",
64 "android.fmq.test-ndk_platform",
68 "android.fmq.test-impl"
97 "android.hardware.common.fmq-V1-ndk_platform",
Dmsgq_test_client.cpp39 using ::aidl::android::fmq::test::EventFlagBits;
40 using ::aidl::android::fmq::test::FixedParcelable;
41 using ::aidl::android::fmq::test::ITestAidlMsgQ;
52 using aidl::android::hardware::common::fmq::SynchronizedReadWrite;
53 using aidl::android::hardware::common::fmq::UnsynchronizedWrite;
161 aidl::android::hardware::common::fmq::MQDescriptor<int32_t, UnsynchronizedWrite> desc; in getFmqUnsyncWrite()
167 std::shared_ptr<ITestAidlMsgQ> getQueue(AidlMessageQueueUnsync** fmq, bool setupQueue, in getQueue() argument
171 getFmqUnsyncWrite(setupQueue, userFd, service, fmq); in getQueue()
220 sp<ITestMsgQ> getQueue(MessageQueueUnsync** fmq, bool setupQueue, bool userFd) { in getQueue() argument
223 getFmqUnsyncWrite(setupQueue, userFd, service, fmq); in getQueue()
/system/libfmq/include/fmq/
DAidlMessageQueue.h30 using aidl::android::hardware::common::fmq::MQDescriptor;
31 using aidl::android::hardware::common::fmq::SynchronizedReadWrite;
32 using aidl::android::hardware::common::fmq::UnsynchronizedWrite;
130 std::vector<aidl::android::hardware::common::fmq::GrantorDescriptor> grantors;
132 grantors.push_back(aidl::android::hardware::common::fmq::GrantorDescriptor{
DConvertMQDescriptors.h26 using aidl::android::hardware::common::fmq::GrantorDescriptor;
27 using aidl::android::hardware::common::fmq::MQDescriptor;
DAidlMQDescriptorShim.h26 using aidl::android::hardware::common::fmq::GrantorDescriptor;
27 using aidl::android::hardware::common::fmq::MQDescriptor;
28 using aidl::android::hardware::common::fmq::SynchronizedReadWrite;
29 using aidl::android::hardware::common::fmq::UnsynchronizedWrite;
/system/tools/hidl/hidl2aidl/
DAidlType.cpp78 const FmqType& fmq = static_cast<const FmqType&>(type); in getAidlType() local
79 return getPlaceholderType(fmq.templatedTypeName() + "<" + in getAidlType()
80 getAidlType(*fmq.getElementType(), relativeTo) + ">"); in getAidlType()
/system/libfmq/fuzzer/
Dfmq_fuzzer.cpp31 using aidl::android::hardware::common::fmq::SynchronizedReadWrite;
32 using aidl::android::hardware::common::fmq::UnsynchronizedWrite;
63 typedef aidl::android::hardware::common::fmq::MQDescriptor<payload_t, SynchronizedReadWrite>
65 typedef aidl::android::hardware::common::fmq::MQDescriptor<payload_t, UnsynchronizedWrite>
DAndroid.bp32 "android.hardware.common.fmq-V1-ndk_platform",
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp2511 pointerFmqSafeUnion, [&](const ICppSafeUnion::PointerFmqSafeUnion& fmq) { in TEST_F() argument
2512 ASSERT_EQ(pointerFmqSafeUnion.getDiscriminator(), fmq.getDiscriminator()); in TEST_F()
2513 checkMQDescriptorEquality(pointerFmqSafeUnion.fmqSync(), fmq.fmqSync()); in TEST_F()
2520 fmqSafeUnion, [&](const ICppSafeUnion::FmqSafeUnion& fmq) { in TEST_F() argument
2521 ASSERT_EQ(fmqSafeUnion.getDiscriminator(), fmq.getDiscriminator()); in TEST_F()
2522 checkMQDescriptorEquality(fmqSafeUnion.fmqUnsync(), fmq.fmqUnsync()); in TEST_F()