Home
last modified time | relevance | path

Searched refs:transcodeReason (Results 1 – 3 of 3) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DTranscodeHelperTest.java84 int transcodeReason = mUnderTest.shouldTranscode(SOME_VALID_FILE_PATH, in testDoesNotTranscodeForMediaProvider() local
87 assertThat(transcodeReason).isEqualTo(0); in testDoesNotTranscodeForMediaProvider()
95 transcodeReason = mUnderTest.shouldTranscode(SOME_VALID_FILE_PATH, randomAppUid, bundle); in testDoesNotTranscodeForMediaProvider()
96 assertThat(transcodeReason).isEqualTo(0); in testDoesNotTranscodeForMediaProvider()
103 int transcodeReason = mUnderTest.shouldTranscode(SOME_VALID_FILE_PATH, in testDoesNotTranscodeForSystemProcesses() local
105 assertThat(transcodeReason).isEqualTo(0); in testDoesNotTranscodeForSystemProcesses()
116 int transcodeReason = mUnderTest.doesAppNeedTranscoding(randomAppUid, bundle, in testDoesNotTranscodeIfAppAcceptsOriginalFormat() local
118 assertThat(transcodeReason).isEqualTo(0); in testDoesNotTranscodeIfAppAcceptsOriginalFormat()
132 int transcodeReason = mUnderTest.doesAppNeedTranscoding(randomAppUid, bundle, in testDoesNotTranscodeIfAppExtraMediaCapabilitiesHevc_supported() local
134 assertThat(transcodeReason).isEqualTo(0); in testDoesNotTranscodeIfAppExtraMediaCapabilitiesHevc_supported()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/metrics/
DTranscodeMetrics.java171 long videoDurationMillis, long frameRate, short transcodeReason) { in TranscodingStatsData() argument
179 mAccessReason = transcodeReason; in TranscodingStatsData()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java2370 transformsReason = info.transcodeReason; in handleTranscodedFileLookup()
9309 int modeBits, boolean shouldRedact, boolean shouldTranscode, int transcodeReason)
9320 new PendingOpenInfo(uid, mediaCapabilitiesUid, shouldRedact, transcodeReason));
9497 final int transcodeReason = mTranscodeHelper.shouldTranscode(filePath, uid, opts);
9498 final boolean shouldTranscode = transcodeReason > 0;
9509 true /* shouldRedact */, shouldTranscode, transcodeReason);
9512 false /* shouldRedact */, shouldTranscode, transcodeReason);
9532 false /* shouldRedact */, shouldTranscode, transcodeReason);
9767 public final int transcodeReason;
9770 int transcodeReason) {
[all …]