Home
last modified time | relevance | path

Searched refs:failures (Results 1 – 25 of 72) sorted by relevance

123

/frameworks/base/tests/backup/
Dbackup_stress_test.sh18 failures=0
45 failures=$(($failures+1))
47 echo "FAILED iteration $i of $iterations; $failures failures so far"
48 echo "FAILED iteration $i of $iterations; $failures failures so far" > /dev/stderr
58 echo "DONE: $iterations iterations with $failures failures."
59 echo "DONE: $iterations iterations with $failures failures." > /dev/stderr
60 [ "$failures" -eq 0 ] && exit 0
/frameworks/base/media/tests/SoundPoolTest/src/com/android/
DSoundPoolTest.java337 int failures = 0; in run() local
351 if (!TestSounds()) failures = failures + 1; in run()
352 if (!TestScales()) failures = failures + 1; in run()
353 if (!TestRates()) failures = failures + 1; in run()
354 if (!TestPriority()) failures = failures + 1; in run()
355 if (!TestVolume()) failures = failures + 1; in run()
359 if (!TestPauseResume()) failures = failures + 1; in run()
363 failures = failures + 1; in run()
376 if (failures == 0) { in run()
379 Log.i(LOG_TAG, failures + " tests failed"); in run()
/frameworks/av/media/codec2/tests/
DC2ComponentInterface_test.cpp146 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()
[all …]
/frameworks/av/media/codec2/hidl/1.0/vts/functional/component/
DVtsHalMediaC2V1_0TargetComponentTest.cpp162 std::vector<std::unique_ptr<C2SettingResult>> failures; in TEST_F() local
176 err = mComponent->config({queried[0].get()}, C2_DONT_BLOCK, &failures); in TEST_F()
178 ASSERT_EQ(failures.size(), 0u); in TEST_F()
217 std::vector<std::unique_ptr<C2SettingResult>> failures; in TEST_F() local
220 err = mComponent->config({portMediaType}, C2_DONT_BLOCK, &failures); in TEST_F()
222 ASSERT_EQ(failures.size(), 0u); in TEST_F()
295 std::vector<std::unique_ptr<C2SettingResult>> failures; in TEST_F() local
308 err = mComponent->config({queried[0].get()}, C2_DONT_BLOCK, &failures); in TEST_F()
312 ASSERT_EQ(failures.size(), 0u); in TEST_F()
/frameworks/av/media/codec2/hidl/1.0/utils/
DConfigurable.cpp100 hidl_vec<SettingResult> failures(c2failures.size()); in config() local
105 if (objcpy(&failures[ix], *c2result)) { in config()
113 failures.resize(ix); in config()
119 _hidl_cb((Status)c2res, failures, outParams); in config()
DComponentInterface.cpp56 std::vector<std::unique_ptr<C2SettingResult>>* const failures in config()
58 return mIntf->config_vb(params, mayBlock, failures); in config()
DInputSurface.cpp90 std::vector<std::unique_ptr<C2SettingResult>>* const failures in config() argument
92 c2_status_t err = mIntf->config(params, mayBlock, failures); in config()
DInputSurfaceConnection.cpp274 std::vector<std::unique_ptr<C2SettingResult>> *const failures
488 std::vector<std::unique_ptr<C2SettingResult>> *const failures) { in config() argument
492 (void)failures; in config()
Dtypes.cpp1118 dWorklet.failures.resize(sWorklet->failures.size()); in objcpy()
1121 sWorklet->failures) { in objcpy()
1128 if (!objcpy(&dWorklet.failures[k++], *sFailure)) { in objcpy()
1497 dWorklet->failures.clear(); in objcpy()
1498 dWorklet->failures.reserve(sWorklet.failures.size()); in objcpy()
1499 for (const SettingResult& sFailure : sWorklet.failures) { in objcpy()
1505 dWorklet->failures.emplace_back(std::move(dFailure)); in objcpy()
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
DUnitTestSuiteBuilderTest.java69 private Set<String> failures = new HashSet<String>(); field in UnitTestSuiteBuilderTest.SuiteExecutionRecorder
78 failures.add(testName(test)); in addFailure()
93 return failures.contains(testName); in failed()
DTestSuiteBuilderTest.java191 private Set<String> failures = new HashSet<String>();
200 failures.add(testName(test));
215 return failures.contains(testName);
/frameworks/av/media/codec2/hidl/1.0/vts/functional/common/
Dmedia_c2_hidl_test_common.cpp93 std::vector<std::unique_ptr<C2SettingResult>> failures; in workDone() local
107 component->config(configParam, C2_DONT_BLOCK, &failures); in workDone()
108 ASSERT_EQ(failures.size(), 0u); in workDone()
/frameworks/av/media/tests/benchmark/src/native/decoder/
DC2Decoder.cpp59 std::vector<std::unique_ptr<C2SettingResult>> failures; in createCodec2Component() local
60 int32_t status = mComponent->config(configParam, C2_DONT_BLOCK, &failures); in createCodec2Component()
61 if (failures.size() != 0) { in createCodec2Component()
/frameworks/av/media/codec2/hidl/services/
Dvendor.cpp85 std::vector<std::unique_ptr<C2SettingResult>>* const failures) override { in config_sm() argument
86 return mInterface.config(params, C2_MAY_BLOCK, failures); in config_sm()
/frameworks/compile/slang/lit-tests/
DREADME18 When debugging failures, the "-v" option will print to stdout the details of
37 -v enables additional verbosity (useful when examining unexpected failures)
/frameworks/av/media/tests/benchmark/src/native/encoder/
DC2Encoder.cpp76 std::vector<std::unique_ptr<C2SettingResult>> failures; in createCodec2Component() local
77 int32_t status = mComponent->config(configParam, C2_DONT_BLOCK, &failures); in createCodec2Component()
78 if (failures.size() != 0) { in createCodec2Component()
/frameworks/opt/setupwizard/tools/gradle/
Ddist-unit-tests.gradle6 * there are test failures.
8 * failures, and will create a zip of the XML test reports for each test run, and copy them to
19 // Ignore the failures, so the build continues even on test errors when the build is
/frameworks/av/media/codec2/vndk/util/
DC2InterfaceHelper.cpp204 std::vector<std::unique_ptr<C2SettingResult>>* const failures) { in trySet() argument
206 return result.retrieveFailures(failures); in trySet()
337 std::vector<std::unique_ptr<C2SettingResult>>* const failures) { in trySet() argument
338 return mImpl->trySet(value, mayBlock, changed, f, failures); in trySet()
585 std::vector<std::unique_ptr<C2SettingResult>> failures; in addParameter() local
586 (void)param->trySet(param->value().get(), C2_MAY_BLOCK, &changed, *_mFactory, &failures); in addParameter()
592 std::vector<std::unique_ptr<C2SettingResult>>* const failures, bool updateParams, in config() argument
700 &changed, *_mFactory, failures); in config()
/frameworks/rs/tests/lldb/
Drun_tests.py663 failures = 0
673 failures += 1
683 assert passes + failures == total, 'Invalid test results status'
684 if failures:
698 return failures
/frameworks/av/media/codec2/core/include/
DC2Component.h219 std::vector<std::unique_ptr<C2SettingResult>>* const failures) = 0;
920 std::vector<std::unique_ptr<C2SettingResult>>* const failures) = 0;
DC2Work.h174 std::vector<std::unique_ptr<C2SettingResult>> failures; member
/frameworks/av/media/codec2/components/base/include/
DSimpleC2Interface.h56 std::vector<std::unique_ptr<C2SettingResult>>* const failures) override { in config_vb() argument
57 return mImpl->config(params, mayBlock, failures); in config_vb()
/frameworks/opt/net/wifi/service/proto/src/
Dscorecard.proto57 repeated Roam roams = 5; // Roaming failures and successes
109 // Tracks roaming failures and successes
/frameworks/av/media/codec2/hidl/1.0/utils/include/codec2/hidl/1.0/
DConfigurable.h63 std::vector<std::unique_ptr<C2SettingResult>>* const failures) = 0;
/frameworks/av/media/codec2/components/hevc/
DC2SoftHevcDec.cpp610 std::vector<std::unique_ptr<C2SettingResult>> failures; in getVuiParams() local
611 (void)mIntf->config({&codedAspects}, C2_MAY_BLOCK, &failures); in getVuiParams()
896 std::vector<std::unique_ptr<C2SettingResult>> failures; in process() local
898 mIntf->config({&outputDelay}, C2_MAY_BLOCK, &failures); in process()
922 std::vector<std::unique_ptr<C2SettingResult>> failures; in process() local
924 mIntf->config({&size}, C2_MAY_BLOCK, &failures); in process()

123