Loading core/java/android/hardware/camera2/CameraMetadata.java +23 −9 Original line number Diff line number Diff line Loading @@ -94,6 +94,20 @@ public abstract class CameraMetadata<TKey> { mNativeInstance = nativeInstance; } /** * Retrieves the native CameraMetadata* as a Java long. * Returns 0 if mNativeInstance is null. * * @hide */ public long getNativeMetadataPtr() { if (mNativeInstance == null) { return 0; } else { return mNativeInstance.getMetadataPtr(); } } /** * @hide */ Loading core/java/android/hardware/camera2/impl/CameraMetadataNative.java +9 −0 Original line number Diff line number Diff line Loading @@ -1702,6 +1702,15 @@ public class CameraMetadataNative implements Parcelable { } /** * Retrieves the pointer to the native CameraMetadata as a Java long. * * @hide */ public long getMetadataPtr() { return mMetadataPtr; } /** * Return a list containing keys of the given key class for all defined vendor tags. * Loading Loading
core/java/android/hardware/camera2/CameraMetadata.java +23 −9 Original line number Diff line number Diff line Loading @@ -94,6 +94,20 @@ public abstract class CameraMetadata<TKey> { mNativeInstance = nativeInstance; } /** * Retrieves the native CameraMetadata* as a Java long. * Returns 0 if mNativeInstance is null. * * @hide */ public long getNativeMetadataPtr() { if (mNativeInstance == null) { return 0; } else { return mNativeInstance.getMetadataPtr(); } } /** * @hide */ Loading
core/java/android/hardware/camera2/impl/CameraMetadataNative.java +9 −0 Original line number Diff line number Diff line Loading @@ -1702,6 +1702,15 @@ public class CameraMetadataNative implements Parcelable { } /** * Retrieves the pointer to the native CameraMetadata as a Java long. * * @hide */ public long getMetadataPtr() { return mMetadataPtr; } /** * Return a list containing keys of the given key class for all defined vendor tags. * Loading