Home
last modified time | relevance | path

Searched refs:FAIL (Results 1 – 25 of 34) sorted by relevance

12

/cts/tests/tests/media/libmediandkjni/
Dnative_media_decoder_source.cpp90 return FAIL; in setDataSourceFd()
104 return FAIL; in setDataSourceFd()
116 return mVideoTrackIndex == -1 ? FAIL : OK; in setDataSourceFd()
206 return FAIL; in prepare()
220 return FAIL; in prepare()
230 return FAIL; in start()
233 return FAIL; in start()
241 return FAIL; in stop()
Dnative_media_utils.cpp34 return FAIL; in startThread()
Dnative_media_utils.h36 FAIL = -1, enumerator
/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio_stream_builder.cpp76 enum class Expect { FAIL, SUCCEED, NOT_CRASH }; enumerator
84 if (expect == Expect::FAIL) { in try_opening_audio_stream()
171 aaudioBuilder, isSampleRateValid ? Expect::SUCCEED : Expect::FAIL); in TEST_P()
200 aaudioBuilder, isValidChannelCount(GetParam()) ? Expect::SUCCEED : Expect::FAIL); in TEST_P()
234 aaudioBuilder, isValidFormat(GetParam()) ? Expect::SUCCEED : Expect::FAIL); in TEST_P()
262 aaudioBuilder, isValidSharingMode(GetParam()) ? Expect::SUCCEED : Expect::FAIL); in TEST_P()
293 aaudioBuilder, isValidDirection(GetParam()) ? Expect::SUCCEED : Expect::FAIL); in TEST_P()
323 aaudioBuilder, isValidCapacity(GetParam()) ? Expect::SUCCEED : Expect::FAIL); in TEST_P()
357 aaudioBuilder, isValidPerfMode(GetParam()) ? Expect::SUCCEED : Expect::FAIL); in TEST_P()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DConditionProviderVerifierActivity.java111 status = FAIL; in test()
152 status = FAIL; in test()
186 status = FAIL; in test()
219 status = FAIL; in test()
245 status = FAIL; in test()
287 status = FAIL; in test()
291 status = FAIL; in test()
334 status = FAIL; in test()
338 status = FAIL; in test()
409 status = FAIL; in test()
[all …]
DAttentionManagementVerifierActivity.java170 status = FAIL; in test()
197 if (mAliceUri == null) { status = FAIL; } in test()
198 if (mBobUri == null) { status = FAIL; } in test()
199 if (mCharlieUri != null) { status = FAIL; } in test()
229 status = FAIL; in test()
232 status = FAIL; in test()
259 status = FAIL; in test()
287 status = pass ? PASS : FAIL; in test()
319 status = FAIL; in test()
347 status = pass ? PASS : FAIL; in test()
[all …]
DNotificationListenerVerifierActivity.java292 status = FAIL; in test()
343 status = FAIL; in test()
358 status = FAIL; in test()
410 status = FAIL; in test()
489 status = FAIL; in test()
563 status = FAIL; in test()
571 status = FAIL; in test()
640 status = FAIL; in test()
709 status = FAIL; in test()
755 status = FAIL; in test()
[all …]
DShortcutThrottlingResetActivity.java122 status = FAIL; in test()
192 status = FAIL; in test()
202 status = FAIL; in test()
DInteractiveVerifierActivity.java64 protected static final int FAIL = 4; field in InteractiveVerifierActivity
123 protected void test() { status = FAIL; next(); }; in test()
129 status = FAIL; in setFailed()
227 case FAIL: in markItem()
313 mCurrentTest.status = FAIL; in run()
323 case FAIL: in run()
513 status = FAIL; in test()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/qstiles/
DInteractiveVerifierActivity.java50 protected static final int FAIL = 4; field in InteractiveVerifierActivity
101 status = FAIL; in test()
111 status = FAIL; in setFailed()
116 status = FAIL; in setFailed()
225 case FAIL: in markItem()
302 mCurrentTest.status = FAIL; in run()
312 case FAIL: in run()
378 mCurrentTest.status = FAIL; in actionPressed()
/cts/tests/tests/security/native/encryption/
DFileBasedEncryptionPolicyTest.cpp215 FAIL() << "Failed to open " DIR_TO_CHECK ": " << strerror(errno); in TEST()
252 FAIL() << "Device isn't using file-based encryption"; in TEST()
254 FAIL() << "Failed to get encryption policy of " DIR_TO_CHECK ": " << strerror(errno); in TEST()
290 FAIL() << "Unknown encryption policy version: " << arg.policy.version; in TEST()
/cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
DTestCompanion.java78 mHandler.obtainMessage(TestHandler.FAIL, error).sendToTarget(); in fail()
138 static final int FAIL = 1; field in TestCompanion.TestHandler
154 case FAIL: in handleMessage()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/reporting/
DSensorTestDetails.java39 FAIL, enumConstant
62 resultCode = ResultCode.FAIL; in SensorTestDetails()
81 ResultCode resultCode = ResultCode.FAIL; in SensorTestDetails()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/sixdof/Utils/
DTestReport.java41 FAIL, enumConstant
115 setTestState(TestStatus.FAIL); in getContents()
157 case FAIL: in setTestState()
/cts/libs/vogar-expect/src/vogar/expect/
DResultValue.java25 FAIL enumConstant
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/annotations/
DFailureMode.java20 FAIL, enumConstant
DEnsureHasPermission.java32 FailureMode failureMode() default FailureMode.FAIL; in failureMode()
DEnsureDoesNotHavePermission.java32 FailureMode failureMode() default FailureMode.FAIL; in failureMode()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsVerifierTestActivity.java83 while (mEnableRetry && testDetails.getResultCode().equals(ResultCode.FAIL)) { in executeTests()
151 case FAIL: in executeTest()
DBaseSensorTestActivity.java518 case FAIL: in setTestResult()
564 if (resultCode == SensorTestDetails.ResultCode.FAIL) { in promptUserToSetResult()
569 testDetails.cloneAndChangeResultCode(SensorTestDetails.ResultCode.FAIL)); in promptUserToSetResult()
709 case FAIL: in logTestDetails()
731 saveResult(testName, SensorTestDetails.ResultCode.FAIL, testSummary); in logTestFail()
/cts/tests/tests/media/src/android/media/cts/
DDecoderConformanceTest.java60 FAIL, enumConstant
166 return Status.FAIL; in decodeTestVector()
174 return Status.FAIL; in decodeTestVector()
DMediaCodecBlockModelTest.java209 FAIL, enumConstant
214 final AtomicReference<Result> result = new AtomicReference<>(Result.FAIL); in runThread()
230 assertTrue("timed out decoding to end-of-stream", result.get() != Result.FAIL); in runThread()
811 return Result.FAIL; in runEncodeShortVideo()
879 return eos ? Result.SUCCESS : Result.FAIL; in runEncodeShortVideo()
955 return Result.FAIL; in runComponentWithLinearInput()
966 return eos ? Result.SUCCESS : Result.FAIL; in runComponentWithLinearInput()
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/annotations/enterprise/
DEnsureHasDeviceOwner.java51 FailureMode failureMode() default FailureMode.FAIL; in failureMode()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/vr/
DVrListenerVerifierActivity.java65 FAIL, enumConstant
160 } else if (status == Status.FAIL) { in waitForPreviousRunningTest()
236 … persistentTestStatusHandler.setStatusOfTest(mCurrentIdx, passed ? Status.PASS : Status.FAIL); in runNext()
325 InteractiveTestCase.this.setStatus(Status.FAIL); in markFailed()
388 case FAIL: in updateViews()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/
DWidgetCtsProvider.java54 public static String FAIL = "com.example.android.widgetcts.FAIL"; field in WidgetCtsProvider
77 if (action.equals(PASS) || action.equals(FAIL)) { in onReceive()
285 fail.setAction(WidgetCtsProvider.FAIL); in updateWidget()

12