Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73b38938 authored by James Dong's avatar James Dong Committed by Android Git Automerger
Browse files

am 9807a7b2: Merge "Reduce the JNI native method visibility" into honeycomb

* commit '9807a7b2':
  Reduce the JNI native method visibility
parents 2292fb4a 9807a7b2
Loading
Loading
Loading
Loading
+9 −10
Original line number Diff line number Diff line
@@ -3946,8 +3946,7 @@ class MediaArtistNativeHelper {
       nativeClearSurface(surface,width,height);
    }
    /**     Native Methods        */

    public native Properties getMediaProperties(String file) throws IllegalArgumentException,
    native Properties getMediaProperties(String file) throws IllegalArgumentException,
    IllegalStateException, RuntimeException, Exception;

    /**
@@ -3957,7 +3956,7 @@ class MediaArtistNativeHelper {
     * @throws RuntimeException if an error occurred
     * @see Version
     */
    public static native Version getVersion() throws RuntimeException;
    private static native Version getVersion() throws RuntimeException;

    /**
     * Returns the video thumbnail in an array of integers. Output format is
@@ -3974,10 +3973,10 @@ class MediaArtistNativeHelper {
     *             negative
     * @throws RuntimeException on runtime errors in native code
     */
    public native int nativeGetPixels(String fileName, int[] pixelArray, int width, int height,
    private native int nativeGetPixels(String fileName, int[] pixelArray, int width, int height,
            long timeMS);

    public native int nativeGetPixelsList(String fileName, int[] pixelArray, int width, int height,
    private native int nativeGetPixelsList(String fileName, int[] pixelArray, int width, int height,
            int timeMS, int nosofTN, long startTimeMs, long endTimeMs);

    /**
@@ -3986,7 +3985,7 @@ class MediaArtistNativeHelper {
     *
     * @throws IllegalStateException if the method could not be called
     */
    public native void release() throws IllegalStateException, RuntimeException;
    private native void release() throws IllegalStateException, RuntimeException;

    /*
     * Clear the preview surface
@@ -4000,7 +3999,7 @@ class MediaArtistNativeHelper {
     *
     * @throws IllegalStateException if the method could not be called
     */
    public native void stopEncoding() throws IllegalStateException, RuntimeException;
    private native void stopEncoding() throws IllegalStateException, RuntimeException;



@@ -4026,12 +4025,12 @@ class MediaArtistNativeHelper {

    private native void nativeStopPreview();

    public native int nativeGenerateAudioGraph(String pcmFilePath, String outGraphPath,
    private native int nativeGenerateAudioGraph(String pcmFilePath, String outGraphPath,
            int frameDuration, int channels, int sampleCount);

    public native int nativeGenerateRawAudio(String InFileName, String PCMFileName);
    private native int nativeGenerateRawAudio(String InFileName, String PCMFileName);

    public native int nativeGenerateClip(EditSettings editSettings)
    private native int nativeGenerateClip(EditSettings editSettings)
    throws IllegalArgumentException, IllegalStateException, RuntimeException;

}