| /cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/cluster/ |
| D | ClusterHomeManagerPermissionTest.java | 86 SecurityException thrown = assertThrows(SecurityException.class, in testRegisterClusterStateListener_requiresPermission() local 94 SecurityException thrown = assertThrows(SecurityException.class, in testRegisterClusterNavigationStateListener_requiresPermission() local 103 SecurityException thrown = assertThrows(SecurityException.class, in testGetClusterState_requiresPermission() local 110 SecurityException thrown = assertThrows(SecurityException.class, in testUnReportState_requiresPermission() local 117 SecurityException thrown = assertThrows(SecurityException.class, in testRequestDisplay_requiresPermission() local 124 SecurityException thrown = assertThrows(SecurityException.class, in testStartFixedActivityModeAsUser_requiresPermission() local 132 SecurityException thrown = assertThrows(SecurityException.class, in testStopFixedActivityMode_requiresPermission() local 140 SecurityException thrown = assertThrows(SecurityException.class, in testSendHeartbeat_requiresPermission() local 149 SecurityException thrown = assertThrows(SecurityException.class, in testStartVisibilityMonitoring_requiresPermission() local
|
| /cts/common/device-side/bedstead/performanceanalyzer/src/test/kotlin/com/android/bedstead/performanceanalyzer/ |
| D | PerformanceAnalyzerTest.kt | 50 val thrown = assertThrows(PerformanceTestFailedException::class.java) { in analyzeThat_runnable_finishesIn_false_throws() constant 69 val thrown = assertThrows(PerformanceTestFailedException::class.java) { in analyzeThat_runnable_withCleanUpSpecified_finishesIn_false_throws() constant 90 val thrown = assertThrows(PerformanceTestFailedException::class.java) { in analyzeThat_runnable_withCleanUpAndIterationsSpecified_finishesIn_false_throws() constant 102 val thrown = assertThrows(PerformanceTestFailedException::class.java) { in analyzeThat_runnableThatFails_summaryContainsFailureCounts() constant
|
| /cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/ |
| D | CarOccupantZoneManagerPermissionTest.java | 59 SecurityException thrown = assertThrows(SecurityException.class, in testDisplayIdForDriver() local 68 SecurityException thrown = assertThrows(SecurityException.class, in testGetAudioZoneIdForOccupant() local 76 SecurityException thrown = assertThrows(SecurityException.class, in testGetOccupantForAudioZoneId() local 85 SecurityException thrown = assertThrows(SecurityException.class, in testAssignProfileUserToOccupantZone() local
|
| /cts/tests/appsearch/src/com/android/cts/appsearch/external/ast/query/ |
| D | GetSearchStringParameterNodeCtsTest.java | 51 IllegalArgumentException thrown = in testConstructor_throwsOnNegativeIndex() local 85 IllegalArgumentException thrown = in testSetSearchStringIndex_throwsOnNegativeIndex() local
|
| D | SemanticSearchNodeCtsTest.java | 58 IllegalArgumentException thrown = in testConstructor_throwsOnInvalidBounds() local 142 IllegalArgumentException thrown = in testSetBounds_throwsOnInvalidInputs() local
|
| /cts/hostsidetests/appsecurity/test-apps/SettingsProviderInvalidKeyTestApp/src/com/android/cts/settingsproviderinvalidkeytestapp/ |
| D | SettingsProviderInvalidKeyTest.java | 30 IllegalStateException thrown = expectThrows(IllegalStateException.class, in testLongKeysAreRejected() local
|
| /cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/wifi/ |
| D | CarWifiManagerPermissionTest.java | 58 SecurityException thrown = assertThrows(SecurityException.class, runnable); in expectPermissionException() local
|
| /cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/input/ |
| D | CarInputManagerPermissionTest.java | 77 SecurityException thrown = assertThrows(SecurityException.class, in testInjectKeyEventPermission() local
|
| /cts/tests/appcloning/src/android/appcloning/cts/ |
| D | CrossProfileIntentFilterTest.java | 72 Throwable thrown = assertThrows(RuntimeException.class, () -> { in addCrossProfileIntentFilterForSystemAccessTest() local
|
| /cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/watchdog/ |
| D | CarWatchdogManagerPermissionTest.java | 201 SecurityException thrown = assertThrows(SecurityException.class, runnable); in expectPermissionException() local 206 SecurityException thrown = assertThrows(SecurityException.class, runnable); in expectPermissionException() local
|
| /cts/tests/tests/media/audio/src/android/media/audio/cts/ |
| D | AudioSystemUsageTest.java | 111 UnsupportedOperationException thrown = expectThrows(UnsupportedOperationException.class, in getOutputForAttr_returnsError() local
|
| /cts/tools/vm-tests-tf/src/dot/junit/ |
| D | DxTestCase.java | 23 private static void checkError(Class<?> expectedErrorClass, Throwable thrown, in checkError()
|
| D | DxAbstractMain.java | 25 private static void checkError(Class<?> expectedErrorClass, Throwable thrown, in checkError()
|
| /cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
| D | ThreadNetworkTest.java | 137 ExecutionException thrown = assertThrows( in enableThread_disallowThreadNetworkIsSet_failWithFailedPrecondition() local
|
| /cts/tests/tests/print/printTestUtilLib/src/android/print/test/ |
| D | Utils.java | 82 final Throwable[] thrown = new Throwable[1]; in runOnMainThread() local
|
| /cts/tests/tests/car/src/android/car/cts/ |
| D | CarPropertyValueTest.java | 190 IllegalStateException thrown = in testIsPropertyIdHardwarePropId_userBuild() local
|
| D | CarPropertyConfigTest.java | 359 IllegalStateException thrown = in testIsPropertyIdSimulationPropId_userBuild() local
|
| D | CarOccupantZoneManagerTest.java | 422 NullPointerException thrown = assertThrows(NullPointerException.class, in testGetOccupantZoneForNullUser() local
|
| D | CarAudioManagerTest.java | 1412 NullPointerException thrown = assertThrows(NullPointerException.class, () -> in enableMirrorForAudioZones_withNullList() local
|
| /cts/tests/tests/content/src/android/content/res/cts/ |
| D | ResourcesTest.java | 470 var thrown = in testGetDrawable_fakeFrro() local
|