/cts/tests/tests/accounts/src/android/accounts/cts/ |
D | AuthenticatorDescriptionTest.java | 22 } catch (IllegalArgumentException expectedException) { in testObjectCreationWithNullAccountType() 30 } catch (IllegalArgumentException expectedException) { in testAccountObjectCreationWithNullPackageName()
|
D | AccountTest.java | 30 } catch (IllegalArgumentException expectedException) { in testAccountObjectCreationWithNullName() 39 } catch (IllegalArgumentException expectedException) { in testAccountObjectCreationWithNullAccountType()
|
D | AccountManagerTest.java | 525 } catch (AuthenticatorException expectedException) { in testAddAccountWithNoAuthenticator()
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | SQLiteStatementTest.java | 267 SQLiteDoneException expectedException = null; in testGetBlobFailureNoParam() local 271 expectedException = ex; in testGetBlobFailureNoParam() 278 assertNotNull("Should have thrown SQLiteDoneException", expectedException); in testGetBlobFailureNoParam() 288 SQLiteDoneException expectedException = null; in testGetBlobFailureParam() local 292 expectedException = ex; in testGetBlobFailureParam() 299 assertNotNull("Should have thrown SQLiteDoneException", expectedException); in testGetBlobFailureParam()
|
/cts/tests/app/FgsTimeoutTest/FgsTimeoutTestHelper/src/android/app/cts/fgstimeouttesthelper/ |
D | FgsTimeoutMessageReceiver.java | 94 Class<?> expectedException = null; in onReceive() local 97 expectedException = m.getExpectedExceptionClass(); in onReceive() 158 final boolean isExpected = expectedException != null in onReceive() 159 && expectedException.isAssignableFrom(th.getClass()); in onReceive()
|
/cts/tests/tests/instantapp/src/android/cts/instantapp/resolver/ |
D | ResolverServiceMethodFallbackTest.kt | 129 val expectedException = ExpectedException.none() in <lambda>() constant 142 expectedException.expect(IllegalStateException::class.java) in <lambda>() 145 expectedException.expect(TestRemoteCallbackException::class.java) in <lambda>() 150 expectedException.expect(TestRemoteCallbackException::class.java) in <lambda>()
|
/cts/hostsidetests/appsecurity/test-apps/PackageInstallerPermissionRequestApp/src/com/android/cts/packageinstallerpermissionrequestapp/ |
D | PermissionRequestTest.kt | 37 val expectedException = ExpectedException.none() constant 60 expectedException.expect(SecurityException::class.java) in setSelfAsInstallerAndWhitelistPermission()
|
/cts/tests/app/ShortFgsTest/ShortFgsTestHelper/src/android/app/cts/shortfgstesthelper/ |
D | ShortFgsMessageReceiver.java | 101 Class<?> expectedException = null; in onReceive() local 104 expectedException = m.getExpectedExceptionClass(); in onReceive() 195 final boolean isExpected = expectedException != null in onReceive() 196 && expectedException.isAssignableFrom(th.getClass()); in onReceive()
|
/cts/tests/wearable/src/android/wearable/cts/ |
D | CtsIsolatedWearableSensingService.java | 176 String expectedException = data.getString(EXPECTED_EXCEPTION_KEY); in onDataProvided() local 178 relativeFilePath, expectedContent, expectedException, statusConsumer); in onDataProvided() 275 String expectedException, in readFileAndVerify() argument 297 if (expectedException != null in readFileAndVerify() 298 && expectedException.equals(ex.getClass().getSimpleName())) { in readFileAndVerify()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | PowerManager_ThermalTest.java | 111 } catch (IllegalArgumentException expectedException) { in testThermalStatusCallback() 132 } catch (IllegalArgumentException expectedException) { in testThermalStatusCallback()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerFgsBgStartTest.java | 1267 ForegroundServiceStartNotAllowedException expectedException = null; in testFgsStartFromBGException() local 1275 expectedException = e; in testFgsStartFromBGException() 1281 assertNotNull(expectedException); in testFgsStartFromBGException() 1282 assertTrue(expectedException.getMessage().contains(expectedMessage)); in testFgsStartFromBGException()
|
/cts/tests/ondeviceintelligence/src/android/ondeviceintelligence/cts/ |
D | OnDeviceIntelligenceManagerTest.java | 580 OnDeviceIntelligenceException expectedException = constructException(bundle); in exceptionPopulatedWhenAttemptingProcessRequest() local 590 assertEquals(error.getErrorCode(), expectedException.getErrorCode()); in exceptionPopulatedWhenAttemptingProcessRequest()
|