/cts/tests/sensor/src/android/hardware/cts/ |
D | SingleSensorTests.java | 141 public void testAccelerometer_fastest() throws Throwable { in testAccelerometer_fastest() 145 public void testAccelerometer_200hz() throws Throwable { in testAccelerometer_200hz() 149 public void testAccelerometer_100hz() throws Throwable { in testAccelerometer_100hz() 153 public void testAccelerometer_50hz() throws Throwable { in testAccelerometer_50hz() 157 public void testAccelerometer_25hz() throws Throwable { in testAccelerometer_25hz() 161 public void testAccelerometer_15hz() throws Throwable { in testAccelerometer_15hz() 165 public void testAccelerometer_10hz() throws Throwable { in testAccelerometer_10hz() 169 public void testAccelerometer_5hz() throws Throwable { in testAccelerometer_5hz() 173 public void testAccelerometer_1hz() throws Throwable { in testAccelerometer_1hz() 177 public void testAccelerometer_automotive() throws Throwable { in testAccelerometer_automotive() [all …]
|
D | SensorBatchingTests.java | 59 public void testAccelerometer_fastest_batching() throws Throwable { in testAccelerometer_fastest_batching() 63 public void testAccelerometer_50hz_batching() throws Throwable { in testAccelerometer_50hz_batching() 67 public void testAccelerometer_fastest_flush() throws Throwable { in testAccelerometer_fastest_flush() 71 public void testAccelerometer_50hz_flush() throws Throwable { in testAccelerometer_50hz_flush() 75 public void testAccelerometerUncalibrated_fastest_batching() throws Throwable { in testAccelerometerUncalibrated_fastest_batching() 81 public void testAccelUncalibrated() throws Throwable { in testAccelUncalibrated() 87 public void testAccelUncalibrated_50hz_batching() throws Throwable { in testAccelUncalibrated_50hz_batching() 91 public void testAccelUncalibrated_fastest_flush() throws Throwable { in testAccelUncalibrated_fastest_flush() 95 public void testAccelUncalibrated_50hz_flush() throws Throwable { in testAccelUncalibrated_50hz_flush() 99 public void testMagneticField_fastest_batching() throws Throwable { in testMagneticField_fastest_batching() [all …]
|
D | SensorIntegrationTests.java | 68 public void testSensorsWithSeveralClients() throws Throwable { in testSensorsWithSeveralClients() 129 public void testSensorsMovingRates() throws Throwable { in testSensorsMovingRates() 166 public void testAccelerometerReconfigureWhileActive() throws Throwable { in testAccelerometerReconfigureWhileActive() 170 public void testUncalibratedAccelerometerReconfigureWhileActive() throws Throwable { in testUncalibratedAccelerometerReconfigureWhileActive() 174 public void testMagneticFieldReconfigureWhileActive() throws Throwable { in testMagneticFieldReconfigureWhileActive() 178 public void testUncalibratedMagneticFieldReconfigureWhileActive() throws Throwable { in testUncalibratedMagneticFieldReconfigureWhileActive() 182 public void testOrientationReconfigureWhileActive() throws Throwable { in testOrientationReconfigureWhileActive() 186 public void testGyroscopeReconfigureWhileActive() throws Throwable { in testGyroscopeReconfigureWhileActive() 190 public void testUncalibratedGyroscopeReconfigureWhileActive() throws Throwable { in testUncalibratedGyroscopeReconfigureWhileActive() 194 public void testPressureReconfigureWhileActive() throws Throwable { in testPressureReconfigureWhileActive() [all …]
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ExceptionUtils.java | 33 public static RuntimeException propagate(@NonNull Throwable t) { in propagate() 45 public static <E extends Throwable> void propagateIfInstanceOf( in propagateIfInstanceOf() 46 @Nullable Throwable t, Class<E> c) throws E { in propagateIfInstanceOf() 55 public static @NonNull Throwable getRootCause(@NonNull Throwable t) { in getRootCause() 65 …public static @NonNull <E extends Throwable> E appendCause(@NonNull E t, @Nullable Throwable cause… in appendCause() 77 Function<Throwable, Throwable> exceptionTransformer, ThrowingSupplier<R> action) { in wrappingExceptions() argument 80 } catch (Throwable t) { in wrappingExceptions() 81 Throwable transformed; in wrappingExceptions() 84 } catch (Throwable t2) { in wrappingExceptions() 96 Function<Throwable, Throwable> exceptionTransformer, ThrowingRunnable action) { in wrappingExceptions() argument
|
D | SafeCleanerRule.java | 44 private final List<Callable<List<Throwable>>> mExtraThrowables = new ArrayList<>(); 45 private final List<Throwable> mThrowables = new ArrayList<>(); 61 public SafeCleanerRule add(@NonNull Callable<List<Throwable>> exceptions) { in add() 71 public SafeCleanerRule add(Throwable exception) { in add() 89 public void evaluate() throws Throwable { in apply() 93 } catch (Throwable t) { in apply() 102 } catch (Throwable t) { in apply() 109 for (Callable<List<Throwable>> extraThrowablesCallable : mExtraThrowables) { in apply() 110 final List<Throwable> extraThrowables = extraThrowablesCallable.call(); in apply() 133 private void fail(Description description, Throwable t) throws Throwable { [all …]
|
D | TestThread.java | 24 private Throwable mThrowable; 35 } catch (Throwable t) { in run() 47 public void runTest(long runTime) throws Throwable { in runTest() 56 public Throwable getThrowable() { in getThrowable() 64 public void setThrowable(Throwable t) { in setThrowable() 74 public void joinAndCheck(long runTime) throws Throwable { in joinAndCheck() 88 public void checkException() throws Throwable { in checkException()
|
/cts/tools/vm-tests-tf/src/dot/junit/format/f1/ |
D | Test_f1.java | 32 } catch (Throwable t) { in testVFE1() 45 } catch (Throwable t) { in testVFE2() 58 } catch (Throwable t) { in testVFE3() 71 } catch (Throwable t) { in testVFE4() 84 } catch (Throwable t) { in testVFE5() 97 } catch (Throwable t) { in testVFE6() 110 } catch (Throwable t) { in testVFE7() 123 } catch (Throwable t) { in testVFE8() 136 } catch (Throwable t) { in testVFE9() 162 } catch (Throwable t) { in testVFE11() [all …]
|
/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/ |
D | SafeCleanerRuleTest.java | 43 private final Throwable mThrowable; 45 FailureStatement(Throwable t) { in FailureStatement() 50 public void evaluate() throws Throwable { in evaluate() 63 @Mock private Callable<List<Throwable>> mGoodGuyExtraExceptions1; 64 @Mock private Callable<List<Throwable>> mGoodGuyExtraExceptions2; 68 public void testEmptyRule_testPass() throws Throwable { in testEmptyRule_testPass() 74 public void testEmptyRule_testFails() throws Throwable { in testEmptyRule_testFails() 76 final Throwable actualException = expectThrows(RuntimeException.class, in testEmptyRule_testFails() 82 public void testEmptyRule_testFails_withDumper() throws Throwable { in testEmptyRule_testFails_withDumper() 84 final Throwable actualException = expectThrows(RuntimeException.class, in testEmptyRule_testFails_withDumper() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | AccelerometerMeasurementTestActivity.java | 38 public String testFaceUp() throws Throwable { in testFaceUp() 44 public String testFaceDown() throws Throwable { in testFaceDown() 50 public String testRightSide() throws Throwable { in testRightSide() 56 public String testLeftSide() throws Throwable { in testLeftSide() 62 public String testTopSide() throws Throwable { in testTopSide() 68 public String testBottomSide() throws Throwable { in testBottomSide() 93 private String verifyMeasurements(float ... expectations) throws Throwable { in verifyMeasurements() 110 throws Throwable { in delayedVerifyMeasurements() 124 throws Throwable { in verifyMeasurements()
|
D | BatchingTestActivity.java | 55 public String testStepCounter_batching() throws Throwable { in testStepCounter_batching() 63 public String testStepCounter_flush() throws Throwable { in testStepCounter_flush() 71 public String testStepDetector_batching() throws Throwable { in testStepDetector_batching() 79 public String testStepDetector_flush() throws Throwable { in testStepDetector_flush() 88 public String testProximity_batching() throws Throwable { in testProximity_batching() 97 public String testProximity_flush() throws Throwable { in testProximity_flush() 105 public String testLight_batching() throws Throwable { in testLight_batching() 113 public String testLight_flush() throws Throwable { in testLight_flush() 121 throws Throwable { in runBatchTest() 146 throws Throwable { in runFlushTest()
|
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/ |
D | Utils.java | 46 void run() throws Throwable; in run() 56 @NonNull Class<? extends Throwable> expectedClass) throws Throwable { in assertException() 59 } catch (Throwable e) { in assertException() 80 public static void runOnMainThread(@NonNull final Invokable r) throws Throwable { in runOnMainThread() 82 final Throwable[] thrown = new Throwable[1]; in runOnMainThread() 89 } catch (Throwable t) { in runOnMainThread() 111 public static void eventually(@NonNull Invokable r, long timeout) throws Throwable { in eventually() 118 } catch (Throwable e) { in eventually() 140 public static void eventually(@NonNull Invokable r) throws Throwable { in eventually()
|
/cts/common/device-side/bedstead/nene/src/test/java/com/android/bedstead/nene/utils/ |
D | RetryTest.java | 44 public void run_noExceptions_returnsValue() throws Throwable { in run_noExceptions_returnsValue() 51 public void runVoid_noExceptions_runs() throws Throwable { in runVoid_noExceptions_runs() 58 public void run_exceptions_throwsException() throws Throwable { in run_exceptions_throwsException() 66 public void runVoid_exceptions_throwsException() throws Throwable { in runVoid_exceptions_throwsException() 74 public void run_temporaryExceptions_returnsValue() throws Throwable { in run_temporaryExceptions_returnsValue() 81 public void runVoid_temporaryExceptions_runs() throws Throwable { in runVoid_temporaryExceptions_runs() 106 public void run_nonTerminalException_returnsValue() throws Throwable { in run_nonTerminalException_returnsValue() 115 public void runVoid_nonTerminalException_runs() throws Throwable { in runVoid_nonTerminalException_runs() 123 private final Throwable mOriginalThrowable; 140 ValueTester(Throwable originalThrowable, E changedValue, int numberOfIterations) { in ValueTester() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/verify/b2/ |
D | Test_b2.java | 32 } catch (Throwable t) { in testVFE1() 45 } catch (Throwable t) { in testVFE2() 58 } catch (Throwable t) { in testVFE3() 71 } catch (Throwable t) { in testVFE4() 84 } catch (Throwable t) { in testVFE5()
|
/cts/tests/tests/opengl/src/android/opengl/cts/ |
D | AttachShaderTest.java | 47 public void test_glAttachedShaders_validshader() throws Throwable { in test_glAttachedShaders_validshader() 95 public void test_glAttachedShaders_noshader() throws Throwable { in test_glAttachedShaders_noshader() 111 public void test_glAttachShaders_emptyfragshader_emptyvertexshader() throws Throwable { in test_glAttachShaders_emptyfragshader_emptyvertexshader() 126 public void test_glAttachShaders_programobject_attach_fragshaderobject() throws Throwable { in test_glAttachShaders_programobject_attach_fragshaderobject() 132 public void test_glAttachShaders_invalidshader_attach_valid_handle() throws Throwable{ in test_glAttachShaders_invalidshader_attach_valid_handle() 138 public void test_glAttachShaders_successfulcompile_attach_frag() throws Throwable { in test_glAttachShaders_successfulcompile_attach_frag() 144 public void test_glAttachShaders_successfulcompile_attach_vert() throws Throwable { in test_glAttachShaders_successfulcompile_attach_vert() 150 public void test_glCompileShaders_shader_info_log_fail() throws Throwable { in test_glCompileShaders_shader_info_log_fail()
|
D | NativeAttachShaderTest.java | 48 public void test_glAttachedShaders_validshader() throws Throwable { in test_glAttachedShaders_validshader() 64 public void test_glAttachedShaders_invalidshader() throws Throwable { in test_glAttachedShaders_invalidshader() 78 public void test_glAttachedShaders_attach_same_shader() throws Throwable { in test_glAttachedShaders_attach_same_shader() 92 public void test_glAttachedShaders_noshader() throws Throwable { in test_glAttachedShaders_noshader() 108 public void test_glAttachShaders_emptyfragshader_emptyvertexshader() throws Throwable { in test_glAttachShaders_emptyfragshader_emptyvertexshader() 121 public void test_glAttachShaders_programobject_attach_fragshaderobject() throws Throwable { in test_glAttachShaders_programobject_attach_fragshaderobject() 128 public void test_glAttachShaders_invalidshader_attach_valid_handle() throws Throwable{ in test_glAttachShaders_invalidshader_attach_valid_handle() 134 public void test_glAttachShaders_successfulcompile_attach_frag() throws Throwable { in test_glAttachShaders_successfulcompile_attach_frag() 142 public void test_glAttachShaders_successfulcompile_attach_vert() throws Throwable { in test_glAttachShaders_successfulcompile_attach_vert()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | RemoteViewsRecyclingTest.java | 83 private void recycleWhenIdentical(boolean async) throws Throwable { in recycleWhenIdentical() 111 public void recycleWhenIdenticalSync() throws Throwable { in recycleWhenIdenticalSync() 116 public void recycleWhenIdenticalAsync() throws Throwable { in recycleWhenIdenticalAsync() 120 private void doesntRecycleWhenNotAskingForRecycling(boolean async) throws Throwable { in doesntRecycleWhenNotAskingForRecycling() 140 public void doesntRecycleWhenNotAskingForRecyclingSync() throws Throwable { in doesntRecycleWhenNotAskingForRecyclingSync() 145 public void doesntRecycleWhenNotAskingForRecyclingAsync() throws Throwable { in doesntRecycleWhenNotAskingForRecyclingAsync() 149 private void recycleWhenInsertView(boolean async) throws Throwable { in recycleWhenInsertView() 175 public void recycleWhenInsertViewSync() throws Throwable { in recycleWhenInsertViewSync() 180 public void recycleWhenInsertViewAsync() throws Throwable { in recycleWhenInsertViewAsync() 184 private void recycleWhenRemovingMiddleView(boolean async) throws Throwable { in recycleWhenRemovingMiddleView() [all …]
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | ExceptionUtils.java | 28 public static Throwable getRootCause(Throwable t) { in getRootCause() 38 public static <E extends Throwable> E appendCause(E t, Throwable cause) { in appendCause()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ObjectTracker.java | 43 final Throwable mStackTrace; 45 ConsumableEntry(Consumable consumable, Throwable stackTrace) { in ConsumableEntry() 76 } catch (Throwable e) { in close() 87 DEBUG ? new Throwable().fillInStackTrace() : null)); in track() 94 public void tearDown(@NonNull Consumer<Throwable> errorConsumer) { in tearDown() 95 ArrayList<Throwable> errors = null; in tearDown() 101 } catch (Throwable t) { in tearDown() 117 final Throwable t = in tearDown()
|
/cts/hostsidetests/appbinding/hostside/src/com/android/cts/appbinding/ |
D | AppBindingHostTest.java | 70 void run() throws Throwable; in run() 192 private void runWithRetries(int timeoutSeconds, ThrowingRunnable r) throws Throwable { in runWithRetries() 194 Throwable lastThrowable = null; in runWithRetries() 201 } catch (Throwable th) { in runWithRetries() 229 String serviceClass, int userId) throws Throwable { in installAndCheckBound() 239 private void checkBound(String packageName, String serviceClass, int userId) throws Throwable { in checkBound() 259 String expectedErrorPattern) throws Throwable { in installAndCheckNotBound() 270 String expectedErrorPattern) throws Throwable { in checkNotBoundWithError() 281 private void checkPackageNotBound(String packageName, int userId) throws Throwable { in checkPackageNotBound() 344 public void testSimpleBind1() throws Throwable { in testSimpleBind1() [all …]
|
/cts/tests/tests/util/src/android/util/cts/ |
D | CloseGuardTest.java | 40 public void testEnabled_NotOpen() throws Throwable { in testEnabled_NotOpen() 46 public void testEnabled_OpenNotClosed() throws Throwable { in testEnabled_OpenNotClosed() 53 public void testEnabled_OpenThenClosed() throws Throwable { in testEnabled_OpenThenClosed() 61 public void testOpen_withNullMethodName_throwsNPE() throws Throwable { in testOpen_withNullMethodName_throwsNPE() 67 throws Throwable { in assertUnreleasedResources() 101 public void finalize() throws Throwable { in finalize()
|
/cts/tests/tests/telephony/TestSmsApp/src/android/telephony/cts/sms/ |
D | MainActivity.java | 48 Throwable t = null; in onRequestPermissionsResult() 55 } catch (Throwable ex) { in onRequestPermissionsResult() 56 List<Throwable> causes = causes(ex); in onRequestPermissionsResult() 64 causes(t).stream().map(Throwable::getMessage) in onRequestPermissionsResult() 78 private static List<Throwable> causes(Throwable t) { in causes() 79 ArrayList<Throwable> result = new ArrayList<>(); in causes()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/ |
D | Util.java | 35 @NonNull Class<? extends Throwable> expectedClass) throws Throwable { in runAndAssertException() 38 } catch (Throwable e) { in runAndAssertException() 59 void run() throws Throwable; in run()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaPlayerFlakyNetworkTest.java | 76 public void test_S0P0() throws Throwable { in test_S0P0() 80 public void test_S1P000005() throws Throwable { in test_S1P000005() 84 public void test_S2P00001() throws Throwable { in test_S2P00001() 88 public void test_S3P00001() throws Throwable { in test_S3P00001() 92 public void test_S4P00001() throws Throwable { in test_S4P00001() 96 public void test_S5P00001() throws Throwable { in test_S5P00001() 100 public void test_S6P00002() throws Throwable { in test_S6P00002() 115 private void doPlayStreams(int seed, float probability) throws Throwable { in doPlayStreams() 139 throws Throwable { in doPlayMp4Stream() 154 private void doAsyncPrepareAndRelease(String video) throws Throwable { in doAsyncPrepareAndRelease() [all …]
|
/cts/tests/vr/src/android/vr/cts/ |
D | VrExtensionBehaviorTest.java | 56 public void testProtectedContent() throws Throwable { in testProtectedContent() 80 public void testProtectedTextures() throws Throwable { in testProtectedTextures() 107 public void testContextPriorityHigh() throws Throwable { in testContextPriorityHigh() 114 public void testContextPriorityMedium() throws Throwable { in testContextPriorityMedium() 121 public void testContextPriorityLow() throws Throwable { in testContextPriorityLow() 128 public void testMutableRenderBuffer() throws Throwable { in testMutableRenderBuffer() 163 public void testEglImageArray() throws Throwable { in testEglImageArray() 182 public void testExternalBuffer() throws Throwable { in testExternalBuffer() 196 public void testSrgbBuffer() throws Throwable { in testSrgbBuffer() 213 private void runContextPriorityTest(int priority) throws Throwable { in runContextPriorityTest()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | CtsTestUtils.java | 26 public static Throwable assertThrows(Runnable action) { in assertThrows() 27 return assertThrows(Throwable.class, action); in assertThrows() 30 public static <E extends Throwable> E assertThrows(Class<E> exceptionClass, Runnable action) { in assertThrows() 34 } catch (Throwable e) { in assertThrows()
|