Home
last modified time | relevance | path

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

12345

/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/packages/SystemUI/tests/utils/src/com/android/systemui/log/
DLogWtfHandlerRule.kt77 val failures = mutableListOf<Log.TerribleFailure>() in <lambda>() constant
84 failures.add(what) in <lambda>()
93 if (failures.isNotEmpty()) { in <lambda>()
94 throw AssertionError("Unexpected Log.wtf calls: $failures", failures[0]) in <lambda>()
104 val failures = mutableListOf<Log.TerribleFailure>() in <lambda>() constant
111 failures.add(what) in <lambda>()
115 if (failures.isNotEmpty()) { in <lambda>()
116 throw AssertionError("Unexpected Log.wtf calls: $failures", failures[0]) in <lambda>()
/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/
DBufferPresentationTests.kt105 var failures = false in <lambda>() variable
108 failures = true in <lambda>()
113 assertTrue(failures) in <lambda>()
140 var failures = false in <lambda>() variable
143 failures = true in <lambda>()
148 assertTrue(failures) in <lambda>()
162 var failures = false in <lambda>() variable
165 failures = true in <lambda>()
170 assertTrue(failures) in <lambda>()
/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/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/
DPromptHistory.kt32 private var failures = mutableSetOf<BiometricModality>() variable in com.android.systemui.biometrics.ui.viewmodel.PromptHistoryImpl
35 get() = failures.contains(BiometricModality.Face)
38 get() = failures.contains(BiometricModality.Fingerprint)
43 failures.add(modality) in failure()
/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/hal/hidl/1.0/vts/functional/component/
DVtsHalMediaC2V1_0TargetComponentTest.cpp180 std::vector<std::unique_ptr<C2SettingResult>> failures; in TEST_P() local
194 err = mComponent->config({queried[0].get()}, C2_DONT_BLOCK, &failures); in TEST_P()
196 ASSERT_EQ(failures.size(), 0u); in TEST_P()
235 std::vector<std::unique_ptr<C2SettingResult>> failures; in TEST_P() local
238 err = mComponent->config({portMediaType}, C2_DONT_BLOCK, &failures); in TEST_P()
240 ASSERT_EQ(failures.size(), 0u); in TEST_P()
276 std::vector<std::unique_ptr<C2SettingResult>> failures; in TEST_P() local
289 err = mComponent->config({queried[0].get()}, C2_DONT_BLOCK, &failures); in TEST_P()
293 ASSERT_EQ(failures.size(), 0u); in TEST_P()
/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/hal/hidl/1.0/utils/
DConfigurable.cpp101 hidl_vec<SettingResult> failures(c2failures.size()); in config() local
106 if (objcpy(&failures[ix], *c2result)) { in config()
114 failures.resize(ix); in config()
120 _hidl_cb((Status)c2res, failures, outParams); in config()
DComponentInterface.cpp56 std::vector<std::unique_ptr<C2SettingResult>>* const failures in config()
62 err = mIntf->config_vb(params, mayBlock, failures); in config()
74 err1 = mIntf->config_vb(paramsToIntf, mayBlock, failures); in config()
102 paramsToLargeFrameIntf, 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()
/frameworks/av/media/module/codecserviceregistrant/
DCodecServiceRegistrant.cpp117 std::vector<std::unique_ptr<C2SettingResult>>* const failures in config_sm() argument
120 return config_sm_aidl(params, failures); in config_sm()
122 return config_sm_hidl(params, failures); in config_sm()
130 std::vector<std::unique_ptr<C2SettingResult>>* const failures in config_sm_aidl() argument
158 size_t i = failures->size(); in config_sm_aidl()
159 failures->resize(i + configResult.failures.size()); in config_sm_aidl()
160 for (const c2_aidl::SettingResult& sf : configResult.failures) { in config_sm_aidl()
161 if (!c2_aidl::utils::FromAidl(&(*failures)[i++], sf)) { in config_sm_aidl()
177 std::vector<std::unique_ptr<C2SettingResult>>* const failures in config_sm_hidl() argument
188 [&status, &params, failures]( in config_sm_hidl()
[all …]
/frameworks/av/media/codec2/hal/aidl/
DComponentInterface.cpp57 std::vector<std::unique_ptr<C2SettingResult>>* const failures in config()
63 err = mIntf->config_vb(params, mayBlock, failures); in config()
75 err1 = mIntf->config_vb(paramsToIntf, mayBlock, failures); in config()
103 paramsToLargeFrameIntf, mayBlock, failures); in config()
DConfigurable.cpp99 result->failures.resize(c2failures.size()); in config()
104 if (ToAidl(&result->failures[ix], *c2result)) { in config()
112 result->failures.resize(ix); in config()
/frameworks/av/media/tests/benchmark/src/native/decoder/
DC2Decoder.cpp61 std::vector<std::unique_ptr<C2SettingResult>> failures; in createCodec2Component() local
62 int32_t status = mComponent->config(configParam, C2_DONT_BLOCK, &failures); in createCodec2Component()
63 if (failures.size() != 0) { in createCodec2Component()
/frameworks/layoutlib/bridge/tests/
Drun_tests.sh9 readonly FAILURE_DIR=layoutlib-test-failures
10 readonly FAILURE_ZIP=layoutlib-test-failures.zip
Drun_tests_mac.sh13 readonly FAILURE_DIR=layoutlib-test-failures
14 readonly FAILURE_ZIP=layoutlib-test-failures.zip
/frameworks/av/media/codec2/hal/common/include/codec2/common/
DBufferTypes.h500 dWorklet.failures.resize(sWorklet->failures.size()); in objcpy()
503 sWorklet->failures) { in objcpy()
510 if (!objcpy(&dWorklet.failures[k++], *sFailure)) { in objcpy()
827 dWorklet->failures.clear(); in objcpy()
828 dWorklet->failures.reserve(sWorklet.failures.size()); in objcpy()
829 for (const auto& sFailure : sWorklet.failures) { in objcpy()
835 dWorklet->failures.emplace_back(std::move(dFailure)); in objcpy()
/frameworks/base/tools/apilint/
Ddeprecated_at_birth.py258 failures = {} variable
262 global failures
267 failures[sig] = Failure(sig, clazz, detail, error, rule, msg)
312 for f in sorted(failures):
313 print(failures[f])
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayActorEnforcerTests.kt68 testCase.failures.map { param(it, Params.Type.FAILURE) } + in <lambda>()
84 testCase.failures.map { in <lambda>()
311 CASES[params.index].failures.firstOrNull()?.second?.run(testState::apply) in <lambda>()
342 val failures: MutableList<Pair<String, TestState.() -> Unit>> = mutableListOf(), in <lambda>() constant in com.android.server.om.OverlayActorEnforcerTests.TestCase
347 failures.add(caseName to block) in <lambda>()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/
DTEST_MAPPING2 // TODO: b/324945360 - Re-enable on presubmit after fixing failures
/frameworks/proto_logging/stats/express/catalog/
Dstatsd.cfg3 display_name: "Errors count due to ReportVendorAtom API failures"
/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/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

12345