/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 | 330 private boolean checkDecoder(String mime, int profile, int level) { in checkDecoder() argument 331 if (!hasDecoder(mime, profile, level)) { in checkDecoder() 333 + profile + " and level " + level); in checkDecoder() 339 private boolean hasDecoder(String mime, int profile, int level) { in hasDecoder() argument 340 return supports(mime, false /* isEncoder */, profile, level, false /* defaultOnly */); in hasDecoder() 343 private boolean hasEncoder(String mime, int profile, int level) { in hasEncoder() argument 344 return supports(mime, true /* isEncoder */, profile, level, false /* defaultOnly */); in hasEncoder() 349 private boolean checkDecodeWithDefaultPlayer(String mime, int profile, int level) { in checkDecodeWithDefaultPlayer() argument 350 if (!supports(mime, false /* isEncoder */, profile, level, true /* defaultOnly */)) { in checkDecodeWithDefaultPlayer() 358 String mime, boolean isEncoder, int profile, int level, in supports() argument [all …]
|
D | MediaRecorderTest.java | 238 CamcorderProfile profile = CamcorderProfile.get( in testRecorderCamera() local 240 if (profile != null) { in testRecorderCamera() 241 width = profile.videoFrameWidth; in testRecorderCamera() 242 height = profile.videoFrameHeight; in testRecorderCamera() 312 CamcorderProfile profile = CamcorderProfile.get( in testRecorderMPEG2TS() local 314 if (profile != null) { in testRecorderMPEG2TS() 315 width = profile.videoFrameWidth; in testRecorderMPEG2TS() 316 height = profile.videoFrameHeight; in testRecorderMPEG2TS() 852 int bitrate, int profile, int requestedLevel, int... expectedLevels) throws Exception { in testLevel() argument 882 mMediaRecorder.setVideoEncodingProfileLevel(profile, -1); in testLevel() [all …]
|
D | MediaCodecListTest.java | 434 for (int profile : profiles) { in testFindDecoderWithAacProfile() 435 format.setInteger(MediaFormat.KEY_AAC_PROFILE, profile); in testFindDecoderWithAacProfile() 437 assertNotNull("Profile " + profile + " must be supported.", codecName); in testFindDecoderWithAacProfile() 452 for (int profile : profiles) { in testFindEncoderWithAacProfile() 453 format.setInteger(MediaFormat.KEY_AAC_PROFILE, profile); in testFindEncoderWithAacProfile() 455 assertNotNull("Profile " + profile + " must be supported.", codecName); in testFindEncoderWithAacProfile()
|
D | MediaPlayerTest.java | 1043 CamcorderProfile profile = CamcorderProfile.get(0, CamcorderProfile.QUALITY_LOW); in testRecordedVideoPlaybackWithAngle() local 1045 videoSizes.add(mCamera.new Size(profile.videoFrameWidth, profile.videoFrameHeight)); in testRecordedVideoPlaybackWithAngle()
|
D | DecoderTest.java | 2404 String mime, int width, int height, float rate, int profile, int level, int bitrate) { 2412 format.setInteger(MediaFormat.KEY_PROFILE, profile);
|
/cts/tests/tests/car/src/android/car/cts/ |
D | CarBluetoothTest.java | 188 public void onServiceConnected(int profile, BluetoothProfile proxy) { in onServiceConnected() argument 190 Log.d(TAG, "Profile '" + profile + "' has connected"); in onServiceConnected() 194 sRequiredBluetoothProfiles.get(profile).mConnected = true; in onServiceConnected() 205 public void onServiceDisconnected(int profile) { in onServiceDisconnected() argument 207 Log.d(TAG, "Profile '" + profile + "' has disconnected"); in onServiceDisconnected() 211 sRequiredBluetoothProfiles.get(profile).mConnected = false; in onServiceDisconnected() 228 int profile = sRequiredBluetoothProfiles.keyAt(i); in waitForProfileConnections() local 229 mBluetoothAdapter.getProfileProxy(mContext, new ProfileServiceListener(), profile); in waitForProfileConnections() 266 int profile = sRequiredBluetoothProfiles.keyAt(i); in checkProfileConnections() local 267 String name = sRequiredBluetoothProfiles.get(profile).mName; in checkProfileConnections() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/ |
D | ProfileManager.java | 110 public boolean addProfile(PeripheralProfile profile) { in addProfile() argument 111 mProfiles.add(profile); in addProfile() 188 for(PeripheralProfile profile : mProfiles) { in getProfile() 189 if (productName.equals(profile.getProductName())) { in getProfile() 190 return profile; in getProfile()
|
/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/tests/camera/src/android/hardware/camera2/cts/ |
D | RecordingTest.java | 510 CamcorderProfile profile = CamcorderProfile.get(cameraId, profileId); in testRecordingFramerateLowToHigh() local 511 if (profile.videoFrameRate < minFps) { in testRecordingFramerateLowToHigh() 513 minFps = profile.videoFrameRate; in testRecordingFramerateLowToHigh() 515 if (profile.videoFrameRate > maxFps) { in testRecordingFramerateLowToHigh() 517 maxFps = profile.videoFrameRate; in testRecordingFramerateLowToHigh() 823 CamcorderProfile profile = CamcorderProfile.get(quality); in getFpsFromHighSpeedProfileForSize() local 824 if (size.equals(new Size(profile.videoFrameWidth, profile.videoFrameHeight))){ in getFpsFromHighSpeedProfileForSize() 825 return profile.videoFrameRate; in getFpsFromHighSpeedProfileForSize() 981 CamcorderProfile profile = CamcorderProfile.get(cameraId, profileId); in basicRecordingTestByCamera() local 982 Size videoSz = new Size(profile.videoFrameWidth, profile.videoFrameHeight); in basicRecordingTestByCamera() [all …]
|
D | ExtendedCameraCharacteristicsTest.java | 548 for (int profile : profileList) { in verifyRecommendedVideoConfiguration() 550 if (CamcorderProfile.hasProfile(idx, profile)) { in verifyRecommendedVideoConfiguration() 551 CamcorderProfile videoProfile = CamcorderProfile.get(idx, profile); in verifyRecommendedVideoConfiguration() 2000 CamcorderProfile profile = CamcorderProfile.get(cameraId, quality); in testConstrainedHighSpeedCapability() local 2002 new Size(profile.videoFrameWidth, profile.videoFrameHeight); in testConstrainedHighSpeedCapability() 2008 new Range<Integer>(profile.videoFrameRate, profile.videoFrameRate); in testConstrainedHighSpeedCapability()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | RVCVRecordActivity.java | 474 CamcorderProfile profile = null; in setupCamera() local 482 profile = CamcorderProfile.get(i); in setupCamera() 486 if (j.width == profile.videoFrameWidth && in setupCamera() 487 j.height == profile.videoFrameHeight) { in setupCamera() 493 if (j.width == profile.videoFrameWidth && in setupCamera() 494 j.height == profile.videoFrameHeight) { in setupCamera() 500 param.setPreviewSize(profile.videoFrameWidth, profile.videoFrameHeight); in setupCamera() 501 param.setPictureSize(profile.videoFrameWidth, profile.videoFrameHeight); in setupCamera() 505 profile = null; in setupCamera() 522 if (profile != null) { in setupCamera() [all …]
|
/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/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 1248 CamcorderProfile profile = null; // Used for built-in camera in testLockUnlockByCamera() local 1255 profile = CamcorderProfile.get(cameraId, CamcorderProfile.QUALITY_LOW); in testLockUnlockByCamera() 1256 setPreviewSizeByProfile(parameters, profile); in testLockUnlockByCamera() 1267 recordVideo(profile, surfaceHolder); in testLockUnlockByCamera() 1285 recordVideo(profile, surfaceHolder); // should not throw exception in testLockUnlockByCamera() 1311 private void setPreviewSizeByProfile(Parameters parameters, CamcorderProfile profile) { in setPreviewSizeByProfile() argument 1313 parameters.setPreviewSize(profile.videoFrameWidth, in setPreviewSizeByProfile() 1314 profile.videoFrameHeight); in setPreviewSizeByProfile() 1379 private void recordVideo(CamcorderProfile profile, in recordVideo() argument 1387 recorder.setProfile(profile); in recordVideo() [all …]
|
/cts/tools/release-parser/tests/resources/ |
D | boot-framework.oat.pb.txt | 38 value: "speed-profile" 66 …--runtime-arg -Xms64m --runtime-arg -Xmx64m --compiler-filter=speed-profile --profile-file=out/tar…
|
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/ |
D | HearingAidProfileTest.java | 373 public void onServiceConnected(int profile, BluetoothProfile proxy) { in onServiceConnected() argument 384 public void onServiceDisconnected(int profile) { in onServiceDisconnected() argument
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | MediaDeviceInfo.java | 71 store.addResult("profile", profileLevel.profile); in collectDeviceInfo()
|
/cts/hostsidetests/devicepolicy/app/CorpOwnedManagedProfile/ |
D | Android.bp | 16 // This allow us to have different device owner and profile owner, some APIs may behave differently
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/video/ |
D | CameraVideoActivity.java | 701 CamcorderProfile profile = CamcorderProfile.get(cameraId, possibleQuality[i]); in findRecordSize() local 703 profile.videoFrameWidth, profile.videoFrameHeight)); in findRecordSize()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 565 Integer profile, Integer level, Integer bitrate) { in canDecodeVideo() argument 568 if (profile != null) { in canDecodeVideo() 569 format.setInteger(MediaFormat.KEY_PROFILE, profile); in canDecodeVideo()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | MediaUtils.java | 563 Integer profile, Integer level, Integer bitrate) { in canDecodeVideo() argument 566 if (profile != null) { in canDecodeVideo() 567 format.setInteger(MediaFormat.KEY_PROFILE, profile); in canDecodeVideo()
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | AppWidgetTest.java | 144 UserHandle profile = profiles.get(i); in testGetAppInstalledProvidersForCurrentUserNewAllProfiles() local 146 .getInstalledProvidersForProfile(profile); in testGetAppInstalledProvidersForCurrentUserNewAllProfiles()
|