Lines Matching refs:failures
146 std::vector<std::unique_ptr<C2SettingResult>> *const failures);
264 T *const p, std::vector<std::unique_ptr<C2SettingResult>> *const failures) { in config() argument
266 return mIntf->config_vb(params, C2_DONT_BLOCK, failures); in config()
282 std::vector<std::unique_ptr<C2SettingResult>> failures; in configReadOnlyParam() local
285 ASSERT_EQ(C2_BAD_VALUE, mIntf->config_vb(params, C2_DONT_BLOCK, &failures)); in configReadOnlyParam()
286 ASSERT_EQ(1u, failures.size()); in configReadOnlyParam()
287 EXPECT_EQ(C2SettingResult::READ_ONLY, failures[0]->failure); in configReadOnlyParam()
295 std::vector<std::unique_ptr<C2SettingResult>> failures; in configWritableParamValidValue() local
302 c2_status_t stConfig = mIntf->config_vb(params, C2_DONT_BLOCK, &failures); in configWritableParamValidValue()
304 EXPECT_EQ(0u, failures.size()); in configWritableParamValidValue()
307 EXPECT_EQ(1u, failures.size()); in configWritableParamValidValue()
308 EXPECT_EQ(C2SettingResult::CONFLICT, failures[0]->failure); in configWritableParamValidValue()
318 std::vector<std::unique_ptr<C2SettingResult>> failures; in configWritableParamInvalidValue() local
321 ASSERT_EQ(C2_BAD_VALUE, mIntf->config_vb(params, C2_DONT_BLOCK, &failures)); in configWritableParamInvalidValue()
322 ASSERT_EQ(1u, failures.size()); in configWritableParamInvalidValue()
323 EXPECT_EQ(C2SettingResult::BAD_VALUE, failures[0]->failure); in configWritableParamInvalidValue()
547 std::vector<std::unique_ptr<C2SettingResult>> failures; in checkParamPermission() local
550 c2_status_t stStack = config(param.get(), &failures); in checkParamPermission()