/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 | 168 public void runEOS() { ex(AllCodecs(), new Test[] { in runEOS() 178 public void runAll() { ex(AllCodecs(), allTests); } in runAll() 179 public void runSW() { ex(SWCodecs(), allTests); } in runSW() 180 public void runHW() { ex(HWCodecs(), allTests); } in runHW() 186 public void runH264() { ex(H264(), allTests); } in runH264() 187 public void runHEVC() { ex(HEVC(), allTests); } in runHEVC() 188 public void runVP8() { ex(VP8(), allTests); } in runVP8() 189 public void runVP9() { ex(VP9(), allTests); } in runVP9() 190 public void runMpeg4() { ex(Mpeg4(), allTests); } in runMpeg4() 191 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/tests/tests/transition/src/android/transition/cts/ |
D | ArcMotionTest.java | 105 float ex = 50 + (50 * ratio); in testMaximumAngle() local 106 float ey = ex; in testMaximumAngle() 108 Path expected = arcWithPoint(0, 100, 100, 0, ex, ey); in testMaximumAngle() 119 float ex = 50; in testMinimumHorizontalAngle() local 120 Path expected = arcWithPoint(0, 0, 100, 0, ex, ey); in testMinimumHorizontalAngle() 125 expected = arcWithPoint(0, 0, 100.001f, 0, ex, ey); in testMinimumHorizontalAngle() 135 float ex = (float)(Math.tan(Math.PI/8) * 50); in testMinimumVerticalAngle() local 137 Path expected = arcWithPoint(0, 0, 0, 100, ex, ey); in testMinimumVerticalAngle() 142 expected = arcWithPoint(0, 0, 0, 100.001f, ex, ey); in testMinimumVerticalAngle()
|
/cts/libs/deviceutil/src/android/cts/util/ |
D | MediaUtils.java | 315 public static boolean hasCodecForTrack(MediaExtractor ex, int track) { in hasCodecForTrack() argument 316 int count = ex.getTrackCount(); in hasCodecForTrack() 320 return canDecode(ex.getTrackFormat(track)); in hasCodecForTrack() 326 public static boolean hasCodecsForMedia(MediaExtractor ex) { in hasCodecsForMedia() argument 327 for (int i = 0; i < ex.getTrackCount(); ++i) { in hasCodecsForMedia() 328 MediaFormat format = ex.getTrackFormat(i); in hasCodecsForMedia() 344 public static boolean hasCodecForMediaAndDomain(MediaExtractor ex, String mimePrefix) { in hasCodecForMediaAndDomain() argument 346 for (int i = 0; i < ex.getTrackCount(); ++i) { in hasCodecForMediaAndDomain() 347 MediaFormat format = ex.getTrackFormat(i); in hasCodecForMediaAndDomain() 363 MediaExtractor ex = null; in hasCodecsForResourceCombo() local [all …]
|
/cts/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/tests/tests/print/src/android/print/cts/ |
D | PrinterInfoTest.java | 219 } catch (RuntimeException ex) { 220 e = ex; 238 } catch (RuntimeException ex) { 239 e = ex; 260 } catch (RuntimeException ex) { 261 e = ex; 283 } catch (RuntimeException ex) { 284 e = ex; 302 } catch (RuntimeException ex) { 303 e = ex;
|
/cts/tests/tests/security/src/android/security/cts/ |
D | StagefrightTest.java | 343 MediaExtractor ex = new MediaExtractor(); in doStagefrightTestMediaCodec() local 345 ex.setDataSource(fd.getFileDescriptor(), fd.getStartOffset(), fd.getLength()); in doStagefrightTestMediaCodec() 350 int numtracks = ex.getTrackCount(); in doStagefrightTestMediaCodec() 356 MediaFormat format = ex.getTrackFormat(t); in doStagefrightTestMediaCodec() 376 ex.selectTrack(t); in doStagefrightTestMediaCodec() 379 ex.seekTo(0, MediaExtractor.SEEK_TO_CLOSEST_SYNC); in doStagefrightTestMediaCodec() 390 int flags = ex.getSampleFlags(); in doStagefrightTestMediaCodec() 391 long time = ex.getSampleTime(); in doStagefrightTestMediaCodec() 394 int n = ex.readSampleData(codec.getInputBuffer(bufidx), 0); in doStagefrightTestMediaCodec() 401 ex.advance(); in doStagefrightTestMediaCodec() [all …]
|
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | DeqpTestRunner.java | 671 } catch (NumberFormatException ex) { in processNewLines() 748 } catch (NumberFormatException ex) { in processNewLines() 795 } catch (InterruptedException ex) { in sleep() 897 } catch (DeviceNotAvailableException ex) { in recoverConnectionRefused() 910 } catch (DeviceNotAvailableException ex) { in recoverConnectionRefused() 940 } catch (DeviceNotAvailableException ex) { in recoverComLinkKilled() 943 } catch (ProcessKillFailureException ex) { in recoverComLinkKilled() 957 } catch (DeviceNotAvailableException ex) { in recoverComLinkKilled() 960 } catch (ProcessKillFailureException ex) { in recoverComLinkKilled() 973 } catch (DeviceNotAvailableException ex) { in recoverComLinkKilled() [all …]
|
/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/app/app/src/android/app/stubs/ |
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/tests/tests/carrierapi/src/android/carrierapi/cts/ |
D | CarrierApiTest.java | 80 } catch (PackageManager.NameNotFoundException ex) { in getCertHash() 81 Log.e(TAG, pkgName + " not found", ex); in getCertHash() 82 } catch (NoSuchAlgorithmException ex) { in getCertHash()
|
/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/permission/src/android/permission/cts/ |
D | Camera2PermissionTest.java | 19 import static com.android.ex.camera2.blocking.BlockingStateCallback.*; 30 import com.android.ex.camera2.blocking.BlockingCameraManager; 31 import com.android.ex.camera2.blocking.BlockingStateCallback;
|
/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/tools/vm-tests-tf/src/util/build/ |
D | JillBuildStep.java | 69 } catch (Throwable ex) { in build() 73 ex.printStackTrace(); in build()
|
D | JackDexBuildStep.java | 88 } catch (Throwable ex) { in build() 92 ex.printStackTrace(); in build()
|
/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/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/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/tools/vm-tests-tf/src/dot/junit/opcodes/move_exception/d/ |
D | T_move_exception_1.java | 24 } catch(Exception ex) { in run()
|
/cts/tests/tests/os/src/android/os/health/cts/ |
D | SystemHealthManagerTest.java | 66 } catch (SecurityException ex) { in testTakeMyUidSnapshotWithSystem() 116 } catch (SecurityException ex) { in testTakeMyUidSnapshotsWithSystem()
|
/cts/tests/camera/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()
|