Home
last modified time | relevance | path

Searched refs:heapParams (Results 1 – 3 of 3) sorted by relevance

/external/v4l2_codec2/tests/c2_comp_intf/
DC2CompIntfTest.h70 std::vector<std::unique_ptr<C2Param>> heapParams; in testReadOnlyParamOnHeap() local
74 ASSERT_EQ(C2_OK, mIntf->query_vb({}, {index}, C2_DONT_BLOCK, &heapParams)); in testReadOnlyParamOnHeap()
75 ASSERT_EQ(1u, heapParams.size()); in testReadOnlyParamOnHeap()
76 EXPECT_EQ(*expected, *heapParams[0]); in testReadOnlyParamOnHeap()
78 checkReadOnlyFailureOnConfig(heapParams[0].get()); in testReadOnlyParamOnHeap()
82 heapParams.clear(); in testReadOnlyParamOnHeap()
83 ASSERT_EQ(C2_OK, mIntf->query_vb({}, {index}, C2_DONT_BLOCK, &heapParams)); in testReadOnlyParamOnHeap()
84 ASSERT_EQ(1u, heapParams.size()); in testReadOnlyParamOnHeap()
85 EXPECT_EQ(*expected, *heapParams[0]); in testReadOnlyParamOnHeap()
103 std::vector<std::unique_ptr<C2Param>> heapParams; in testWritableParam() local
[all …]
DC2VEACompIntf_test.cpp223 std::vector<std::unique_ptr<C2Param>> heapParams; in TEST_F() local
227 ASSERT_EQ(C2_OK, mIntf->query_vb({}, {index}, C2_DONT_BLOCK, &heapParams)); in TEST_F()
228 ASSERT_EQ(1u, heapParams.size()); in TEST_F()
230 reinterpret_cast<C2PortBlockPoolsTuning*>(heapParams[0].get())->m.values[0]; in TEST_F()
244 heapParams.clear(); in TEST_F()
245 ASSERT_EQ(C2_OK, mIntf->query_vb({}, {index}, C2_DONT_BLOCK, &heapParams)); in TEST_F()
246 ASSERT_EQ(1u, heapParams.size()); in TEST_F()
247 value = ((C2PortBlockPoolsTuning*)heapParams[0].get())->m.values[0]; in TEST_F()
284 std::vector<std::unique_ptr<C2Param>> heapParams; in TEST_F() local
286 ASSERT_EQ(C2_OK, mIntf->query_vb({}, {index}, C2_DONT_BLOCK, &heapParams)); in TEST_F()
[all …]
/external/v4l2_codec2/components/include/v4l2_codec2/components/
DV4L2ComponentStore.h37 std::vector<std::unique_ptr<C2Param>>* const heapParams) const override;