Home
last modified time | relevance | path

Searched refs:shouldTranscode (Results 1 – 8 of 8) sorted by relevance

/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DTranscodeHelperTest.java84 int transcodeReason = mUnderTest.shouldTranscode(SOME_VALID_FILE_PATH, in testDoesNotTranscodeForMediaProvider()
95 transcodeReason = mUnderTest.shouldTranscode(SOME_VALID_FILE_PATH, randomAppUid, bundle); in testDoesNotTranscodeForMediaProvider()
103 int transcodeReason = mUnderTest.shouldTranscode(SOME_VALID_FILE_PATH, in testDoesNotTranscodeForSystemProcesses()
DTranscodeHelperNoOpTest.java39 assertThat(mTranscodeHelper.shouldTranscode(TEST_STRING, 0, null)).isEqualTo(0); in testBasicFunctionality()
/packages/providers/MediaProvider/src/com/android/providers/media/
DTranscodeHelper.java34 public int shouldTranscode(String path, int uid, Bundle bundle); in shouldTranscode() method
DTranscodeHelperNoOp.java48 public int shouldTranscode(String path, int uid, Bundle bundle) { in shouldTranscode() method in TranscodeHelperNoOp
DMediaProvider.java2372 transformsReason = mTranscodeHelper.shouldTranscode(path, uid, null /* bundle */); in handleTranscodedFileLookup()
9309 int modeBits, boolean shouldRedact, boolean shouldTranscode, int transcodeReason)
9315 + ". ShouldTranscode: " + shouldTranscode);
9497 final int transcodeReason = mTranscodeHelper.shouldTranscode(filePath, uid, opts);
9498 final boolean shouldTranscode = transcodeReason > 0;
9500 if (!shouldTranscode || mediaCapabilitiesUid < Process.FIRST_APPLICATION_UID) {
9509 true /* shouldRedact */, shouldTranscode, transcodeReason);
9510 } else if (shouldTranscode) {
9512 false /* shouldRedact */, shouldTranscode, transcodeReason);
9532 false /* shouldRedact */, shouldTranscode, transcodeReason);
DTranscodeHelperImpl.java620 public int shouldTranscode(String path, int uid, Bundle bundle) { in shouldTranscode() method in TranscodeHelperImpl
/packages/modules/Media/apex/framework/java/android/media/
DMediaTranscodingManager.java864 abstract boolean shouldTranscode(); in shouldTranscode() method in MediaTranscodingManager.TranscodingRequest.MediaFormatResolver
926 public boolean shouldTranscode() { in shouldTranscode() method in MediaTranscodingManager.TranscodingRequest.VideoFormatResolver
949 if (!shouldTranscode()) { in resolveVideoFormat()
1047 if (!shouldTranscode()) { in resolveAudioFormat()
/packages/modules/Media/apex/framework/api/
Dsystem-current.txt24 method public boolean shouldTranscode();