/cts/tests/tests/media/src/android/media/cts/ |
D | CamcorderProfileTest.java | 79 private void checkProfile(CamcorderProfile profile, List<Size> videoSizes) { in checkProfile() argument 84 profile.duration, in checkProfile() 85 profile.quality, in checkProfile() 86 profile.fileFormat, in checkProfile() 87 profile.videoCodec, in checkProfile() 88 profile.videoBitRate, in checkProfile() 89 profile.videoFrameRate, in checkProfile() 90 profile.videoFrameWidth, in checkProfile() 91 profile.videoFrameHeight, in checkProfile() 92 profile.audioCodec, in checkProfile() [all …]
|
D | MediaCodecCapabilitiesTest.java | 315 private boolean checkDecoder(String mime, int profile, int level) { in checkDecoder() argument 316 if (!hasDecoder(mime, profile, level)) { in checkDecoder() 318 + profile + " and level " + level); in checkDecoder() 324 private boolean hasDecoder(String mime, int profile, int level) { in hasDecoder() argument 325 return supports(mime, false /* isEncoder */, profile, level, false /* defaultOnly */); in hasDecoder() 328 private boolean hasEncoder(String mime, int profile, int level) { in hasEncoder() argument 329 return supports(mime, true /* isEncoder */, profile, level, false /* defaultOnly */); in hasEncoder() 334 private boolean checkDecodeWithDefaultPlayer(String mime, int profile, int level) { in checkDecodeWithDefaultPlayer() argument 335 if (!supports(mime, false /* isEncoder */, profile, level, true /* defaultOnly */)) { in checkDecodeWithDefaultPlayer() 343 String mime, boolean isEncoder, int profile, int level, in supports() argument [all …]
|
D | MediaRecorderTest.java | 235 CamcorderProfile profile = CamcorderProfile.get( in testRecorderCamera() local 237 if (profile != null) { in testRecorderCamera() 238 width = profile.videoFrameWidth; in testRecorderCamera() 239 height = profile.videoFrameHeight; in testRecorderCamera() 309 CamcorderProfile profile = CamcorderProfile.get( in testRecorderMPEG2TS() local 311 if (profile != null) { in testRecorderMPEG2TS() 312 width = profile.videoFrameWidth; in testRecorderMPEG2TS() 313 height = profile.videoFrameHeight; in testRecorderMPEG2TS() 841 int bitrate, int profile, int requestedLevel, int... expectedLevels) throws Exception { in testLevel() argument 871 mMediaRecorder.setVideoEncodingProfileLevel(profile, -1); in testLevel() [all …]
|
D | MediaCodecListTest.java | 423 for (int profile : profiles) { in testFindDecoderWithAacProfile() 424 format.setInteger(MediaFormat.KEY_AAC_PROFILE, profile); in testFindDecoderWithAacProfile() 426 assertNotNull("Profile " + profile + " must be supported.", codecName); in testFindDecoderWithAacProfile() 441 for (int profile : profiles) { in testFindEncoderWithAacProfile() 442 format.setInteger(MediaFormat.KEY_AAC_PROFILE, profile); in testFindEncoderWithAacProfile() 444 assertNotNull("Profile " + profile + " must be supported.", codecName); in testFindEncoderWithAacProfile()
|
/cts/hostsidetests/compilation/assets/ |
D | README.txt | 1 This APK and profile file are generated from CompilationTargetActivity.java and must be 8 # Now run the app manually for a couple of minutes, look for the profile: 10 # once the profile appears and is nonempty, grab it:
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/ |
D | ProfileManager.java | 89 public boolean addProfile(PeripheralProfile profile) { in addProfile() argument 90 mProfiles.add(profile); in addProfile() 167 for(PeripheralProfile profile : mProfiles) { in getProfile() 168 if (productName.equals(profile.getProductName())) { in getProfile() 169 return profile; in getProfile()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVRecordActivity.java | 462 CamcorderProfile profile = null; in setupCamera() local 470 profile = CamcorderProfile.get(i); in setupCamera() 474 if (j.width == profile.videoFrameWidth && in setupCamera() 475 j.height == profile.videoFrameHeight) { in setupCamera() 481 if (j.width == profile.videoFrameWidth && in setupCamera() 482 j.height == profile.videoFrameHeight) { in setupCamera() 488 param.setPreviewSize(profile.videoFrameWidth, profile.videoFrameHeight); in setupCamera() 489 param.setPictureSize(profile.videoFrameWidth, profile.videoFrameHeight); in setupCamera() 493 profile = null; in setupCamera() 510 if (profile != null) { in setupCamera() [all …]
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | RecordingTest.java | 459 CamcorderProfile profile = CamcorderProfile.get(cameraId, profileId); in testRecordingFramerateLowToHigh() local 460 if (profile.videoFrameRate < minFps) { in testRecordingFramerateLowToHigh() 462 minFps = profile.videoFrameRate; in testRecordingFramerateLowToHigh() 464 if (profile.videoFrameRate > maxFps) { in testRecordingFramerateLowToHigh() 466 maxFps = profile.videoFrameRate; in testRecordingFramerateLowToHigh() 769 CamcorderProfile profile = CamcorderProfile.get(quality); in getFpsFromHighSpeedProfileForSize() local 770 if (size.equals(new Size(profile.videoFrameWidth, profile.videoFrameHeight))){ in getFpsFromHighSpeedProfileForSize() 771 return profile.videoFrameRate; in getFpsFromHighSpeedProfileForSize() 918 CamcorderProfile profile = CamcorderProfile.get(cameraId, profileId); in basicRecordingTestByCamera() local 919 Size videoSz = new Size(profile.videoFrameWidth, profile.videoFrameHeight); in basicRecordingTestByCamera() [all …]
|
D | ExtendedCameraCharacteristicsTest.java | 1302 CamcorderProfile profile = CamcorderProfile.get(cameraId, quality); in testConstrainedHighSpeedCapability() local 1304 new Size(profile.videoFrameWidth, profile.videoFrameHeight); in testConstrainedHighSpeedCapability() 1310 new Range<Integer>(profile.videoFrameRate, profile.videoFrameRate); in testConstrainedHighSpeedCapability()
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
D | MediaRecorderStressTest.java | 64 private static CamcorderProfile profile = field in MediaRecorderStressTest 89 CamcorderProfile profile = CamcorderProfile.get(cameraId, CamcorderProfile.QUALITY_HIGH); in setUp() local 90 mVideoEncoder = profile.videoCodec; in setUp() 91 mAudioEncoder = profile.audioCodec; in setUp() 92 mFrameRate = profile.videoFrameRate; in setUp() 93 mVideoWidth = profile.videoFrameWidth; in setUp() 94 mVideoHeight = profile.videoFrameHeight; in setUp() 95 mBitRate = profile.videoBitRate; in setUp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/ |
D | HidDeviceActivity.java | 65 public void onServiceConnected(int profile, BluetoothProfile proxy) { 66 if (profile == BluetoothProfile.HID_DEVICE) { 71 public void onServiceDisconnected(int profile) { 72 if (profile == BluetoothProfile.HID_DEVICE) {
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | MediaDeviceInfo.java | 62 store.addResult("profile", profileLevel.profile); in collectDeviceInfo()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 1209 CamcorderProfile profile = CamcorderProfile.get(cameraId, in testLockUnlockByCamera() local 1217 setPreviewSizeByProfile(parameters, profile); in testLockUnlockByCamera() 1228 recordVideo(profile, surfaceHolder); in testLockUnlockByCamera() 1246 recordVideo(profile, surfaceHolder); // should not throw exception in testLockUnlockByCamera() 1272 private void setPreviewSizeByProfile(Parameters parameters, CamcorderProfile profile) { in setPreviewSizeByProfile() argument 1274 parameters.setPreviewSize(profile.videoFrameWidth, in setPreviewSizeByProfile() 1275 profile.videoFrameHeight); in setPreviewSizeByProfile() 1340 private void recordVideo(CamcorderProfile profile, in recordVideo() argument 1348 recorder.setProfile(profile); in recordVideo() 2719 CamcorderProfile profile = CamcorderProfile.get(cameraId, [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
D | CameraVideoActivity.java | 619 CamcorderProfile profile = CamcorderProfile.get(cameraId, possibleQuality[i]); in findRecordSize() local 621 profile.videoFrameWidth, profile.videoFrameHeight)); in findRecordSize()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 562 Integer profile, Integer level, Integer bitrate) { in canDecodeVideo() argument 565 if (profile != null) { in canDecodeVideo() 566 format.setInteger(MediaFormat.KEY_PROFILE, profile); in canDecodeVideo()
|