/cts/tests/tests/media/libmediandkjni/ |
D | native-media-jni.cpp | 79 jobject testExtractor(AMediaExtractor *ex, JNIEnv *env) { in testExtractor() argument 82 int numtracks = AMediaExtractor_getTrackCount(ex); in testExtractor() 85 AMediaFormat *format = AMediaExtractor_getTrackFormat(ex, i); in testExtractor() 116 AMediaExtractor_selectTrack(ex, i); in testExtractor() 121 int n = AMediaExtractor_readSampleData(ex, buf, bufsize); in testExtractor() 126 sizes.add(AMediaExtractor_getSampleTrackIndex(ex)); in testExtractor() 127 sizes.add(AMediaExtractor_getSampleFlags(ex)); in testExtractor() 128 sizes.add(AMediaExtractor_getSampleTime(ex)); in testExtractor() 129 AMediaExtractor_advance(ex); in testExtractor() 144 AMediaExtractor_delete(ex); in testExtractor() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | AdaptivePlaybackTest.java | 162 public void runEOS() { ex(AllCodecs(), new Test[] { in runEOS() 172 public void runAll() { ex(AllCodecs(), allTests); } in runAll() 173 public void runSW() { ex(SWCodecs(), allTests); } in runSW() 174 public void runHW() { ex(HWCodecs(), allTests); } in runHW() 180 public void runH264() { ex(H264(), allTests); } in runH264() 181 public void runHEVC() { ex(HEVC(), allTests); } in runHEVC() 182 public void runVP8() { ex(VP8(), allTests); } in runVP8() 183 public void runVP9() { ex(VP9(), allTests); } in runVP9() 184 public void runMpeg4() { ex(Mpeg4(), allTests); } in runMpeg4() 185 public void runH263() { ex(H263(), allTests); } in runH263() [all …]
|
D | NativeDecoderTest.java | 127 MediaExtractor ex = new MediaExtractor(); in getSampleSizes() local 128 ex.setDataSource(path); in getSampleSizes() 129 return getSampleSizes(ex); in getSampleSizes() 134 MediaExtractor ex = new MediaExtractor(); in getSampleSizes() local 135 ex.setDataSource(fd, offset, size); in getSampleSizes() 136 return getSampleSizes(ex); in getSampleSizes() 139 private static int[] getSampleSizes(MediaExtractor ex) { in getSampleSizes() argument 142 int numtracks = ex.getTrackCount(); in getSampleSizes() 146 MediaFormat format = ex.getTrackFormat(i); in getSampleSizes() 161 ex.selectTrack(i); in getSampleSizes() [all …]
|
/cts/libs/deviceutil/src/android/cts/util/ |
D | MediaUtils.java | 205 public static boolean hasCodecForTrack(MediaExtractor ex, int track) { in hasCodecForTrack() argument 206 int count = ex.getTrackCount(); in hasCodecForTrack() 210 return canDecode(ex.getTrackFormat(track)); in hasCodecForTrack() 216 public static boolean hasCodecsForMedia(MediaExtractor ex) { in hasCodecsForMedia() argument 217 for (int i = 0; i < ex.getTrackCount(); ++i) { in hasCodecsForMedia() 218 MediaFormat format = ex.getTrackFormat(i); in hasCodecsForMedia() 234 public static boolean hasCodecForMediaAndDomain(MediaExtractor ex, String mimePrefix) { in hasCodecForMediaAndDomain() argument 236 for (int i = 0; i < ex.getTrackCount(); ++i) { in hasCodecForMediaAndDomain() 237 MediaFormat format = ex.getTrackFormat(i); in hasCodecForMediaAndDomain() 253 MediaExtractor ex = null; in hasCodecsForResourceCombo() local [all …]
|
/cts/tools/signature-tools/src/signature/ |
D | Main.java | 78 } catch (UsageException ex) { in main() 80 } catch (RuntimeException ex) { in main() 82 ex.printStackTrace(); in main() 84 } catch (Throwable ex) { in main() 86 ex.printStackTrace(); in main()
|
/cts/tests/tests/app/src/android/app/cts/ |
D | PendingIntent_CanceledExceptionTest.java | 41 Exception ex = new Exception(); in testConstructor() local 42 canceledException = new PendingIntent.CanceledException(ex); in testConstructor() 46 assertSame(ex, e.getCause()); in testConstructor()
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | DeqpTestRunner.java | 613 } catch (NumberFormatException ex) { in processNewLines() 688 } catch (NumberFormatException ex) { in processNewLines() 735 } catch (InterruptedException ex) { in sleep() 837 } catch (DeviceNotAvailableException ex) { in recoverConnectionRefused() 850 } catch (DeviceNotAvailableException ex) { in recoverConnectionRefused() 880 } catch (DeviceNotAvailableException ex) { in recoverComLinkKilled() 883 } catch (ProcessKillFailureException ex) { in recoverComLinkKilled() 897 } catch (DeviceNotAvailableException ex) { in recoverComLinkKilled() 900 } catch (ProcessKillFailureException ex) { in recoverComLinkKilled() 913 } catch (DeviceNotAvailableException ex) { in recoverComLinkKilled() [all …]
|
/cts/tests/app/src/android/app/cts/ |
D | SearchManagerStubActivity.java | 154 private void fail(Exception ex) { in fail() argument 155 Log.e(TAG, "test failed", ex); in fail() 213 } catch (FailException ex) { in handleMessage() 214 fail(ex); in handleMessage()
|
/cts/tools/cfassembler/src/dxconvext/util/ |
D | FileUtils.java | 86 } catch (IOException ex) { in readFile() 87 throw new RuntimeException(file + ": trouble reading", ex); in readFile()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | MessageQueueTest.java | 143 } catch (InterruptedException ex) { } in testIsIdle() 231 } catch (IllegalArgumentException ex) { in testRegisterFileDescriptorCallbackThrowsWhenFdIsNull() 244 } catch (IllegalArgumentException ex) { in testRegisterFileDescriptorCallbackThrowsWhenCallbackIsNull() 255 } catch (IllegalArgumentException ex) { in testUnregisterFileDescriptorCallbackThrowsWhenFdIsNull() 308 } catch (IOException ex) { in testFileDescriptorCallbacks() 309 throw new RuntimeException(ex); in testFileDescriptorCallbacks() 344 } catch (IOException ex) { in testFileDescriptorCallbacks() 345 throw new RuntimeException(ex); in testFileDescriptorCallbacks() 680 } catch (IOException ex) { in testPathologicalFileDescriptorReuseCallbacks4() 681 throw new RuntimeException(ex); in testPathologicalFileDescriptorReuseCallbacks4() [all …]
|
D | MessageTest.java | 242 } catch (IllegalStateException ex) { in testRecycleThrowsIfMessageAlreadyRecycled() 254 } catch (IllegalStateException ex) { in testSendMessageThrowsIfMessageAlreadyRecycled() 266 } catch (IllegalStateException ex) { in testRecycleThrowsIfMessageIsBeingDelivered() 267 caught[0] = ex; // expected in testRecycleThrowsIfMessageIsBeingDelivered() 286 } catch (IllegalStateException ex) { in testSendMessageThrowsIfMessageIsBeingDelivered() 287 caught[0] = ex; // expected in testSendMessageThrowsIfMessageIsBeingDelivered()
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | Camera2PermissionTest.java | 19 import static com.android.ex.camera2.blocking.BlockingStateCallback.*; 29 import com.android.ex.camera2.blocking.BlockingCameraManager; 30 import com.android.ex.camera2.blocking.BlockingStateCallback;
|
/cts/tools/vm-tests-tf/src/util/build/ |
D | JillBuildStep.java | 51 } catch (Throwable ex) { in build() 52 ex.printStackTrace(); in build()
|
D | JackDexBuildStep.java | 69 } catch (Throwable ex) { in build() 73 ex.printStackTrace(); in build()
|
D | JackBuildStep.java | 70 } catch (Throwable ex) { in build() 71 ex.printStackTrace(); in build()
|
/cts/tools/cfassembler/src/dxconvext/ |
D | ClassFileAssembler.java | 133 } catch (NoSuchAlgorithmException ex) { in calcSignature() 134 throw new RuntimeException(ex); in calcSignature() 145 } catch (DigestException ex) { in calcSignature() 146 throw new RuntimeException(ex); in calcSignature()
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | CameraUtils.java | 48 } catch (Exception ex) { in blockUntilOpenCamera() 50 ex.printStackTrace(); in blockUntilOpenCamera()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/move_exception/d/ |
D | T_move_exception_1.java | 24 } catch(Exception ex) { in run()
|
/cts/apps/CameraITS/tests/scene1/ |
D | test_crop_region_raw.py | 101 ex = aw * err_delta 103 assert ((abs(cr_expected["left"] - cr_reported["left"]) <= ex) and 104 (abs(cr_expected["right"] - cr_reported["right"]) <= ex) and
|
/cts/tests/tests/view/src/android/view/cts/ |
D | ChoreographerTest.java | 177 } catch (IllegalArgumentException ex) { in testPostCallbackThrowsIfRunnableIsNull() 187 } catch (IllegalArgumentException ex) { in testPostCallbackDelayedThrowsIfRunnableIsNull() 277 } catch (IllegalArgumentException ex) { in testPostFrameCallbackThrowsIfCallbackIsNull() 286 } catch (IllegalArgumentException ex) { in testPostFrameCallbackDelayedThrowsIfCallbackIsNull() 295 } catch (IllegalArgumentException ex) { in testRemoveFrameCallbackThrowsIfCallbackIsNull()
|
/cts/tests/tests/permission/ |
D | Android.mk | 27 LOCAL_STATIC_JAVA_LIBRARIES := ctstestrunner guava android-ex-camera2
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/ |
D | CameraSessionUtils.java | 30 import com.android.ex.camera2.blocking.BlockingCaptureCallback; 31 import com.android.ex.camera2.blocking.BlockingSessionCallback; 32 import com.android.ex.camera2.exceptions.TimeoutRuntimeException;
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | SQLiteStatementTest.java | 270 } catch (SQLiteDoneException ex) { in testGetBlobFailureNoParam() 271 expectedException = ex; in testGetBlobFailureNoParam() 291 } catch (SQLiteDoneException ex) { in testGetBlobFailureParam() 292 expectedException = ex; in testGetBlobFailureParam()
|
D | SQLiteQueryBuilderTest.java | 304 } catch (OperationCanceledException ex) { in testCancelableQuery_WhenCanceledBeforeQuery_ThrowsImmediately() 324 } catch (OperationCanceledException ex) { in testCancelableQuery_WhenCanceledAfterQuery_ThrowsWhenExecuted() 353 } catch (InterruptedException ex) { in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows() 377 } catch (OperationCanceledException ex) { in testCancelableQuery_WhenCanceledDueToContention_StopsWaitingAndThrows() 418 } catch (InterruptedException ex) { in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows() 439 } catch (OperationCanceledException ex) { in testCancelableQuery_WhenCanceledDuringLongRunningQuery_CancelsQueryAndThrows()
|
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/testcases/ |
D | Camera2MultiViewTestCase.java | 20 import static com.android.ex.camera2.blocking.BlockingSessionCallback.*; 21 import static com.android.ex.camera2.blocking.BlockingStateCallback.*; 48 import com.android.ex.camera2.blocking.BlockingCameraManager; 49 import com.android.ex.camera2.blocking.BlockingSessionCallback; 50 import com.android.ex.camera2.blocking.BlockingStateCallback;
|