Lines Matching refs:serialized
131 std::vector<FmqRequestDatum> serialized = originalSerialized; in validate() local
132 mutate(&serialized); in validate()
135 if (serialized.size() > kExecutionBurstChannelLength) { in validate()
142 ASSERT_TRUE(sender->sendPacket(serialized)); in validate()
186 const std::vector<FmqRequestDatum>& serialized) { in removeDatumTest() argument
187 for (size_t index = 0; index < serialized.size(); ++index) { in removeDatumTest()
189 validate(sender, receiver, message, serialized, in removeDatumTest()
190 [index](std::vector<FmqRequestDatum>* serialized) { in removeDatumTest() argument
191 serialized->erase(serialized->begin() + index); in removeDatumTest()
199 const std::vector<FmqRequestDatum>& serialized) { in addDatumTest() argument
201 for (size_t index = 0; index <= serialized.size(); ++index) { in addDatumTest()
205 validate(sender, receiver, message, serialized, in addDatumTest()
206 [index, type, &extra](std::vector<FmqRequestDatum>* serialized) { in addDatumTest() argument
207 serialized->insert(serialized->begin() + index, extra[type]); in addDatumTest()
228 const std::vector<FmqRequestDatum>& serialized) { in mutateDatumTest() argument
230 for (size_t index = 0; index < serialized.size(); ++index) { in mutateDatumTest()
232 if (interestingCase(serialized[index], change[type])) { in mutateDatumTest()
236 validate(sender, receiver, message, serialized, in mutateDatumTest()
237 [index, type, &change](std::vector<FmqRequestDatum>* serialized) { in mutateDatumTest() argument
238 (*serialized)[index] = change[type]; in mutateDatumTest()
273 const auto serialized = android::nn::serialize(request, MeasureTiming::YES, slots); in validateBurstSerialization() local
276 removeDatumTest(sender.get(), receiver.get(), serialized); in validateBurstSerialization()
277 addDatumTest(sender.get(), receiver.get(), serialized); in validateBurstSerialization()
278 mutateDatumTest(sender.get(), receiver.get(), serialized); in validateBurstSerialization()
311 const std::vector<FmqResultDatum> serialized = in validateBurstFmqLength() local
314 serialized.size() <= kExecutionBurstChannelSmallLength) { in validateBurstFmqLength()
396 auto serialized = receiver->getPacketBlocking(); in validateBurstSanitized() local
397 ASSERT_TRUE(serialized.has_value()); in validateBurstSanitized()
400 ASSERT_TRUE(std::all_of(serialized->begin(), serialized->end(), isSanitized)) in validateBurstSanitized()