Searched refs:shouldTranscode (Results 1 – 8 of 8) sorted by relevance
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | TranscodeHelperTest.java | 84 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()
|
D | TranscodeHelperNoOpTest.java | 39 assertThat(mTranscodeHelper.shouldTranscode(TEST_STRING, 0, null)).isEqualTo(0); in testBasicFunctionality()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | TranscodeHelper.java | 34 public int shouldTranscode(String path, int uid, Bundle bundle); in shouldTranscode() method
|
D | TranscodeHelperNoOp.java | 48 public int shouldTranscode(String path, int uid, Bundle bundle) { in shouldTranscode() method in TranscodeHelperNoOp
|
D | MediaProvider.java | 2372 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);
|
D | TranscodeHelperImpl.java | 620 public int shouldTranscode(String path, int uid, Bundle bundle) { in shouldTranscode() method in TranscodeHelperImpl
|
/packages/modules/Media/apex/framework/java/android/media/ |
D | MediaTranscodingManager.java | 864 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/ |
D | system-current.txt | 24 method public boolean shouldTranscode();
|