Searched refs:data_array (Results 1 – 1 of 1) sorted by relevance
/frameworks/native/libs/vr/libpdx_uds/ |
D | service_framework_tests.cpp | 216 std::array<int, kLargeDataSize> data_array; in HandleMessage() local 217 size_t size_to_read = data_array.size() * sizeof(int); in HandleMessage() 218 if (!message.ReadAll(data_array.data(), size_to_read)) { in HandleMessage() 221 int sum = std::accumulate(data_array.begin(), data_array.end(), 0); in HandleMessage() 377 const std::array<int, kLargeDataSize>& data_array) { in SendLargeDataReturnSum() argument 380 trans.Send<int>(TEST_OP_SEND_LARGE_DATA_RETURN_SUM, data_array.data(), in SendLargeDataReturnSum() 381 data_array.size() * sizeof(int), nullptr, 0)); in SendLargeDataReturnSum() 691 std::array<int, kLargeDataSize> data_array; in TEST_F() local 692 std::iota(data_array.begin(), data_array.end(), 0); in TEST_F() 693 int expected_sum = std::accumulate(data_array.begin(), data_array.end(), 0); in TEST_F() [all …]
|