Lines Matching refs:descs
92 const std::vector<Descriptor> descs, const binder_status_t expectStatus = EX_NONE) { in createWithDescs() argument
94 for (const auto& desc : descs) { in createWithDescs()
111 void creatAndDestroyDescs(const std::vector<Descriptor> descs) { in creatAndDestroyDescs() argument
112 for (const auto& desc : descs) { in creatAndDestroyDescs()
144 std::vector<Descriptor> descs; in TEST_P() local
152 EXPECT_IS_OK(mEffectFactory->queryEffects(std::nullopt, std::nullopt, std::nullopt, &descs)); in TEST_P()
153 EXPECT_TRUE(descs.size() >= typeUuidSet.size()); in TEST_P()
154 for (const auto& desc : descs) { in TEST_P()
166 std::vector<Descriptor> descs; in TEST_P() local
168 mEffectFactory->queryEffects(getEffectUuidNull(), std::nullopt, std::nullopt, &descs)); in TEST_P()
169 EXPECT_EQ(descs.size(), 0UL); in TEST_P()
173 std::vector<Descriptor> descs; in TEST_P() local
175 mEffectFactory->queryEffects(std::nullopt, getEffectUuidNull(), std::nullopt, &descs)); in TEST_P()
176 EXPECT_EQ(descs.size(), 0UL); in TEST_P()
180 std::vector<Descriptor> descs; in TEST_P() local
182 mEffectFactory->queryEffects(std::nullopt, std::nullopt, getEffectUuidNull(), &descs)); in TEST_P()
183 EXPECT_EQ(descs.size(), 0UL); in TEST_P()
188 std::vector<Descriptor> descs; in TEST_P() local
189 EXPECT_IS_OK(mEffectFactory->queryEffects(std::nullopt, std::nullopt, std::nullopt, &descs)); in TEST_P()
190 EXPECT_NE(descs.size(), 0UL); in TEST_P()
193 effects = createWithDescs(descs); in TEST_P()
194 EXPECT_EQ(descs.size(), effects.size()); in TEST_P()
199 std::vector<Descriptor> descs; in TEST_P() local
200 EXPECT_IS_OK(mEffectFactory->queryEffects(std::nullopt, std::nullopt, std::nullopt, &descs)); in TEST_P()
201 EXPECT_NE(descs.size(), 0UL); in TEST_P()
203 std::vector<std::shared_ptr<IEffect>> effects = createWithDescs(descs); in TEST_P()
204 EXPECT_EQ(descs.size(), effects.size()); in TEST_P()
205 std::vector<std::shared_ptr<IEffect>> effects2 = createWithDescs(descs); in TEST_P()
206 EXPECT_EQ(descs.size(), effects2.size()); in TEST_P()
207 std::vector<std::shared_ptr<IEffect>> effects3 = createWithDescs(descs); in TEST_P()
208 EXPECT_EQ(descs.size(), effects3.size()); in TEST_P()
217 std::vector<Descriptor> descs; in TEST_P() local
218 EXPECT_IS_OK(mEffectFactory->queryEffects(std::nullopt, std::nullopt, std::nullopt, &descs)); in TEST_P()
219 EXPECT_NE(descs.size(), 0UL); in TEST_P()
221 creatAndDestroyDescs(descs); in TEST_P()
226 std::vector<Descriptor> descs; in TEST_P() local
227 EXPECT_IS_OK(mEffectFactory->queryEffects(std::nullopt, std::nullopt, std::nullopt, &descs)); in TEST_P()
228 EXPECT_NE(descs.size(), 0UL); in TEST_P()
230 creatAndDestroyDescs(descs); in TEST_P()
231 creatAndDestroyDescs(descs); in TEST_P()
232 creatAndDestroyDescs(descs); in TEST_P()
237 std::vector<Descriptor> descs = {kNullDesc, kZeroDesc}; in TEST_P() local
238 auto effects = createWithDescs(descs, EX_ILLEGAL_ARGUMENT); in TEST_P()
250 std::vector<Descriptor> descs; in TEST_P() local
251 EXPECT_IS_OK(mEffectFactory->queryEffects(std::nullopt, std::nullopt, std::nullopt, &descs)); in TEST_P()
252 EXPECT_NE(descs.size(), 0UL); in TEST_P()
253 creatAndDestroyDescs(descs); in TEST_P()
257 creatAndDestroyDescs(descs); in TEST_P()
262 std::vector<Descriptor> descs; in TEST_P() local
263 EXPECT_IS_OK(mEffectFactory->queryEffects(std::nullopt, std::nullopt, std::nullopt, &descs)); in TEST_P()
264 EXPECT_NE(descs.size(), 0UL); in TEST_P()
265 std::vector<std::shared_ptr<IEffect>> effects = createWithDescs(descs); in TEST_P()
301 std::vector<Descriptor> descs; in TEST_P() local
302 EXPECT_IS_OK(mEffectFactory->queryEffects(std::nullopt, std::nullopt, std::nullopt, &descs)); in TEST_P()
303 EXPECT_NE(descs.size(), 0UL); in TEST_P()
305 std::vector<std::shared_ptr<IEffect>> effects = createWithDescs(descs); in TEST_P()