Home
last modified time | relevance | path

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

/system/tools/hidl/hidl2aidl/
DAidlType.cpp49 const FmqType& fmq = static_cast<const FmqType&>(type); in getAidlType() local
50 return getPlaceholderType(fmq.templatedTypeName() + "<" + in getAidlType()
51 getAidlType(*fmq.getElementType(), relativeTo) + ">"); in getAidlType()
/system/libfmq/tests/
Dfmq_unit_tests.cpp141 android::hardware::kSynchronizedReadWrite>* fmq, in ReaderThreadBlocking() argument
160 if ((efState & kFmqNotEmpty) && fmq->read(data, dataLen)) { in ReaderThreadBlocking()
176 android::hardware::kSynchronizedReadWrite>* fmq, in ReaderThreadBlocking2() argument
184 bool ret = fmq->readBlocking(data, in ReaderThreadBlocking2()
200 MessageQueueSync16 * fmq = new (std::nothrow) MessageQueueSync16(numElementsInQueue); in TEST_F() local
201 ASSERT_NE(nullptr, fmq); in TEST_F()
205 ASSERT_FALSE(fmq->isValid()); in TEST_F()
Dmsgq_test_client.cpp56 void getQueue(MessageQueueUnsync** fmq, sp<ITestMsgQ>* service, bool setupQueue) { in getQueue() argument
58 *fmq = nullptr; in getQueue()
62 [fmq](bool ret, const MQDescriptorUnsync<uint16_t>& in) { in getQueue()
64 *fmq = new (std::nothrow) MessageQueueUnsync(in); in getQueue()
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp2531 pointerFmqSafeUnion, [&](const ICppSafeUnion::PointerFmqSafeUnion& fmq) { in TEST_F() argument
2532 ASSERT_EQ(pointerFmqSafeUnion.getDiscriminator(), fmq.getDiscriminator()); in TEST_F()
2533 checkMQDescriptorEquality(pointerFmqSafeUnion.fmqSync(), fmq.fmqSync()); in TEST_F()
2540 fmqSafeUnion, [&](const ICppSafeUnion::FmqSafeUnion& fmq) { in TEST_F() argument
2541 ASSERT_EQ(fmqSafeUnion.getDiscriminator(), fmq.getDiscriminator()); in TEST_F()
2542 checkMQDescriptorEquality(fmqSafeUnion.fmqUnsync(), fmq.fmqUnsync()); in TEST_F()