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
169 const std::vector<GrantorDescriptor>& grantors, in MQDescriptor() argument
175 mGrantors.resize(grantors.size()); in MQDescriptor()
176 for (size_t i = 0; i < grantors.size(); ++i) { in MQDescriptor()
177 if (isAlignedToWordBoundary(grantors[i].offset) == false) { in MQDescriptor()
180 mGrantors[i] = grantors[i]; in MQDescriptor()
280 + toString(q.grantors().size()) + " grantor(s), " in toString()
/system/libfmq/include/fmq/
DMessageQueue.h1183 auto grantors = mDesc->grantors(); in mapGrantorDescr() local
1189 if (grantorIdx >= grantors.size()) { in mapGrantorDescr()
1191 std::to_string(grantors.size())); in mapGrantorDescr()
1195 int fdIndex = grantors[grantorIdx].fdIndex; in mapGrantorDescr()
1199 int mapOffset = (grantors[grantorIdx].offset / PAGE_SIZE) * PAGE_SIZE; in mapGrantorDescr()
1201 grantors[grantorIdx].offset - mapOffset + grantors[grantorIdx].extent; in mapGrantorDescr()
1209 return reinterpret_cast<uint8_t*>(address) + (grantors[grantorIdx].offset - mapOffset); in mapGrantorDescr()
1215 auto grantors = mDesc->grantors(); in unmapGrantorDescr() local
1216 if ((address == nullptr) || (grantorIdx >= grantors.size())) { in unmapGrantorDescr()
1220 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()