Home
last modified time | relevance | path

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

/system/libhidl/base/include/hidl/
DMQDescriptor.h64 const std::vector<GrantorDescriptor>& grantors,
86 inline const ::android::hardware::hidl_vec<GrantorDescriptor> &grantors() const { in grantors() function
90 inline ::android::hardware::hidl_vec<GrantorDescriptor> &grantors() { in grantors() function
168 MQDescriptor<T, flavor>::MQDescriptor(const std::vector<GrantorDescriptor>& grantors, in MQDescriptor() argument
171 mGrantors.resize(grantors.size()); in MQDescriptor()
172 for (size_t i = 0; i < grantors.size(); ++i) { in MQDescriptor()
173 if (isAlignedToWordBoundary(grantors[i].offset) == false) { in MQDescriptor()
176 mGrantors[i] = grantors[i]; in MQDescriptor()
275 + toString(q.grantors().size()) + " grantor(s), " in toString()
/system/libfmq/include/fmq/
DMessageQueueBase.h1166 auto grantors = mDesc->grantors(); in mapGrantorDescr() local
1172 if (grantorIdx >= grantors.size()) { in mapGrantorDescr()
1174 std::to_string(grantors.size())); in mapGrantorDescr()
1178 int fdIndex = grantors[grantorIdx].fdIndex; in mapGrantorDescr()
1182 int mapOffset = (grantors[grantorIdx].offset / PAGE_SIZE) * PAGE_SIZE; in mapGrantorDescr()
1183 int mapLength = grantors[grantorIdx].offset - mapOffset + grantors[grantorIdx].extent; in mapGrantorDescr()
1191 return reinterpret_cast<uint8_t*>(address) + (grantors[grantorIdx].offset - mapOffset); in mapGrantorDescr()
1198 auto grantors = mDesc->grantors(); in unmapGrantorDescr() local
1199 if ((address == nullptr) || (grantorIdx >= grantors.size())) { in unmapGrantorDescr()
1203 int mapOffset = (grantors[grantorIdx].offset / PAGE_SIZE) * PAGE_SIZE; in unmapGrantorDescr()
[all …]
/system/libhidl/transport/include/hidl/
DHidlBinderSupport.h133 obj.grantors(), in readEmbeddedFromParcel()
163 obj.grantors(), in writeEmbeddedToParcel()
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp215 EXPECT_EQ(expected.grantors().size(), actual.grantors().size()); in checkMQDescriptorEquality()