/cts/tests/tests/libthermalndk/src/android/thermal/cts/ |
D | NativeThermalTest.java | 79 final String failureMessage = nativeTestGetCurrentThermalStatus(level); in testGetCurrentThermalStatus() local 80 if (!Strings.isNullOrEmpty(failureMessage)) { in testGetCurrentThermalStatus() 81 fail(failureMessage); in testGetCurrentThermalStatus() 93 final String failureMessage = nativeTestRegisterThermalStatusListener(); in testRegisterThermalStatusListener() local 94 if (!Strings.isNullOrEmpty(failureMessage)) { in testRegisterThermalStatusListener() 95 fail(failureMessage); in testRegisterThermalStatusListener() 106 final String failureMessage = nativeTestThermalStatusRegisterNullListener(); in testThermalStatusRegisterNullListener() local 107 if (!Strings.isNullOrEmpty(failureMessage)) { in testThermalStatusRegisterNullListener() 108 fail(failureMessage); in testThermalStatusRegisterNullListener() 119 final String failureMessage = nativeTestThermalStatusListenerDoubleRegistration(); in testThermalStatusListenerDoubleRegistration() local [all …]
|
/cts/hostsidetests/stagedinstall/app/src/com/android/tests/stagedinstall/ |
D | PackageInstallerSessionInfoSubject.java | 54 check(failureMessage("in state READY")).that(mActual.isStagedSessionReady()).isTrue(); 58 check(failureMessage("in state APPLIED")).that(mActual.isStagedSessionApplied()).isTrue(); 62 check(failureMessage("in state FAILED")).that(mActual.isStagedSessionFailed()).isTrue(); 65 private String failureMessage(String suffix) {
|
/cts/tests/tests/content/HelloWorldApp/src_res_hardening/com/example/helloworld/ |
D | TestActivity.java | 65 final Intent failureMessage = new Intent(TestUtils.TEST_STATUS_ACTION); in runTest() 66 failureMessage.putExtra(TestUtils.TEST_STATUS_RESULT_KEY, in runTest() 72 sendBroadcast(failureMessage); in runTest()
|
/cts/tests/JobScheduler/src/android/jobscheduler/cts/ |
D | JobInfoTest.java | 176 final String failureMessage = in testExpeditedJob() local 178 assertBuildFails(failureMessage, in testExpeditedJob() 182 assertBuildFails(failureMessage, in testExpeditedJob() 186 assertBuildFails(failureMessage, in testExpeditedJob() 190 assertBuildFails(failureMessage, in testExpeditedJob() 194 assertBuildFails(failureMessage, in testExpeditedJob() 198 assertBuildFails(failureMessage, in testExpeditedJob() 202 assertBuildFails(failureMessage, in testExpeditedJob() 206 assertBuildFails(failureMessage, in testExpeditedJob() 213 assertBuildFails(failureMessage, in testExpeditedJob()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/ |
D | CameraPerformanceActivity.java | 164 String failureMessage = failure.getMessage(); in testFailure() 166 if ((failureMessage != null) && (!failureMessage.isEmpty())) { in testFailure() 167 message = failureMessage + "\n"; in testFailure()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerUsageTest.java | 180 String failureMessage) { in checkEventReported() argument 184 failureMessage); in checkEventReported() local
|
/cts/tests/tests/keystore/src/android/keystore/cts/ |
D | ImportWrappedKeyTest.java | 131 String failureMessage = null; in testKeyStore_ImportWrappedKeyWrappingKeyMissing() local 137 failureMessage = e.getMessage(); in testKeyStore_ImportWrappedKeyWrappingKeyMissing() 140 if (failureMessage == null) { in testKeyStore_ImportWrappedKeyWrappingKeyMissing() 144 assertEquals(failureMessage, EXPECTED_FAILURE); in testKeyStore_ImportWrappedKeyWrappingKeyMissing()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | InstrumentedAutoFillService.java | 681 final String failureMessage = response.getFailureMessage(); in onFillRequest() local 682 if (failureMessage != null) { in onFillRequest() 683 Log.v(TAG, "onFillRequest(): failureMessage = " + failureMessage); in onFillRequest() 684 callback.onFailure(failureMessage); in onFillRequest()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | TestTaskOrganizer.java | 139 private void waitForAndAssert(Predicate<Object> condition, String failureMessage) { in waitForAndAssert() argument 142 Assert.fail(failureMessage); in waitForAndAssert()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 1018 protected void tryWaitForSuccess(SuccessCondition successCondition, String failureMessage, in tryWaitForSuccess() argument 1027 fail(failureMessage); in tryWaitForSuccess()
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | DeviceState.java | 842 int min, int max, FailureMode failureMode, String failureMessage) { 845 failureMessage + " (version is " + Build.VERSION.SDK_INT + ")",
|