/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() 91 final String failureMessage = nativeTestRegisterThermalStatusListener(); in testRegisterThermalStatusListener() local 92 if (!Strings.isNullOrEmpty(failureMessage)) { in testRegisterThermalStatusListener() 93 fail(failureMessage); in testRegisterThermalStatusListener() 102 final String failureMessage = nativeTestThermalStatusRegisterNullListener(); in testThermalStatusRegisterNullListener() local 103 if (!Strings.isNullOrEmpty(failureMessage)) { in testThermalStatusRegisterNullListener() 104 fail(failureMessage); in testThermalStatusRegisterNullListener() 113 final String failureMessage = nativeTestThermalStatusListenerDoubleRegistration(); in testThermalStatusListenerDoubleRegistration() local [all …]
|
/cts/tests/tests/os/src/android/os/cts/ |
D | PerformanceHintManagerTest.java | 95 final String failureMessage = nativeTestCreateHintSession(); in testNativeCreateHintSession() local 96 if (!Strings.isNullOrEmpty(failureMessage)) { in testNativeCreateHintSession() 97 fail(failureMessage); in testNativeCreateHintSession() 112 final String failureMessage = nativeTestGetPreferredUpdateRateNanos(); in testNativeGetPreferredUpdateRateNanos() local 113 if (!Strings.isNullOrEmpty(failureMessage)) { in testNativeGetPreferredUpdateRateNanos() 114 fail(failureMessage); in testNativeGetPreferredUpdateRateNanos() 127 final String failureMessage = nativeUpdateTargetWorkDuration(); in testNativeUpdateTargetWorkDuration() local 128 if (!Strings.isNullOrEmpty(failureMessage)) { in testNativeUpdateTargetWorkDuration() 129 fail(failureMessage); in testNativeUpdateTargetWorkDuration() 144 final String failureMessage = nativeUpdateTargetWorkDurationWithNegativeDuration(); in testNativeUpdateTargetWorkDurationWithNegativeDuration() local [all …]
|
/cts/libs/install/src/com/android/cts/install/lib/ |
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/JobScheduler/src/android/jobscheduler/cts/ |
D | JobInfoTest.java | 334 final String failureMessage = in testExpeditedJob() local 336 assertBuildFails(failureMessage, in testExpeditedJob() 340 assertBuildFails(failureMessage, in testExpeditedJob() 344 assertBuildFails(failureMessage, in testExpeditedJob() 348 assertBuildFails(failureMessage, in testExpeditedJob() 352 assertBuildFails(failureMessage, in testExpeditedJob() 356 assertBuildFails(failureMessage, in testExpeditedJob() 360 assertBuildFails(failureMessage, in testExpeditedJob() 364 assertBuildFails(failureMessage, in testExpeditedJob() 368 assertBuildFails(failureMessage, in testExpeditedJob() [all …]
|
/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/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/framework/base/windowmanager/util/src/android/server/wm/ |
D | MediaProjectionHelper.java | 200 private static void await(CountDownLatch latch, String failureMessage) { in await() argument 203 throw new IllegalStateException(failureMessage); in await() 206 throw new IllegalStateException(failureMessage, e); in await()
|
D | TestTaskOrganizer.java | 141 private void waitForAndAssert(Predicate<Object> condition, String failureMessage) { in waitForAndAssert() argument 144 Assert.fail(failureMessage); in waitForAndAssert()
|
/cts/tests/sensitivecontentprotection/src/android/sensitivecontentprotection/cts/ |
D | SensitiveContentMediaProjectionHelper.java | 200 private static void await(CountDownLatch latch, String failureMessage) { in await() argument 203 throw new IllegalStateException(failureMessage); in await() 206 throw new IllegalStateException(failureMessage, e); in await()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerUsageTest.java | 184 String failureMessage) { in checkEventReported() argument 188 failureMessage); in checkEventReported() local
|
/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/ |
D | BaseHostTestCase.java | 115 long timeoutMillis, String failureMessage) { in eventually() argument 124 throw new RuntimeException(failureMessage); in eventually()
|
/cts/tests/tests/sharesheet/src/android/sharesheet/cts/ |
D | CtsSharesheetDeviceTest.java | 1271 private void waitAndAssertPkgVisible(String pkg, String failureMessage) { in waitAndAssertPkgVisible() argument 1272 waitAndAssertFoundOnDevice(By.pkg(pkg).depth(0), failureMessage); in waitAndAssertPkgVisible() 1281 String failureMessage = "Failed to find " + containsText + " on screen"; in waitAndAssertTextContains() local 1282 assertWithMessage(failureMessage).that( in waitAndAssertTextContains() 1304 String failureMessage = "Found text '" + containsText + "' but did not expect to"; in waitAndAssertNoTextContains() local 1306 assertWithMessage(failureMessage).that(mSharesheet.findObject(selector)).isNull(); in waitAndAssertNoTextContains() 1312 private void waitAndAssertFoundOnDevice(BySelector selector, String failureMessage) { in waitAndAssertFoundOnDevice() argument 1313 assertWithMessage(failureMessage).that(mDevice.wait(Until.findObject(selector), in waitAndAssertFoundOnDevice()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | InstrumentedAutoFillService.java | 742 final String failureMessage = response.getFailureMessage(); in onFillRequest() local 743 if (failureMessage != null) { in onFillRequest() 744 Log.v(TAG, "onFillRequest(): failureMessage = " + failureMessage); in onFillRequest() 745 callback.onFailure(failureMessage); in onFillRequest()
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20353/src/android/security/cts/CVE_2022_20353/ |
D | DeviceTest.java | 137 assertFalse(mContext.getString(R.string.failureMessage), isVulnerable); in testDefaultRingtonePreference()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 1030 protected void tryWaitForSuccess(SuccessCondition successCondition, String failureMessage, in tryWaitForSuccess() argument 1039 fail(failureMessage); in tryWaitForSuccess()
|
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | DeviceState.java | 1162 int min, int max, FailureMode failureMode, String failureMessage) { 1165 failureMessage + " (version is " + SDK_INT + ")",
|