Loading camera/CameraMetadata.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -170,6 +170,11 @@ bool CameraMetadata::isEmpty() const { return entryCount() == 0; } size_t CameraMetadata::bufferSize() const { return (mBuffer == NULL) ? 0 : get_camera_metadata_size(mBuffer); } status_t CameraMetadata::sort() { if (mLocked) { ALOGE("%s: CameraMetadata is locked", __FUNCTION__); Loading camera/include/camera/CameraMetadata.h +5 −0 Original line number Diff line number Diff line Loading @@ -127,6 +127,11 @@ class CameraMetadata: public Parcelable { */ bool isEmpty() const; /** * Return the allocated camera metadata buffer size in bytes. */ size_t bufferSize() const; /** * Sort metadata buffer for faster find */ Loading Loading
camera/CameraMetadata.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -170,6 +170,11 @@ bool CameraMetadata::isEmpty() const { return entryCount() == 0; } size_t CameraMetadata::bufferSize() const { return (mBuffer == NULL) ? 0 : get_camera_metadata_size(mBuffer); } status_t CameraMetadata::sort() { if (mLocked) { ALOGE("%s: CameraMetadata is locked", __FUNCTION__); Loading
camera/include/camera/CameraMetadata.h +5 −0 Original line number Diff line number Diff line Loading @@ -127,6 +127,11 @@ class CameraMetadata: public Parcelable { */ bool isEmpty() const; /** * Return the allocated camera metadata buffer size in bytes. */ size_t bufferSize() const; /** * Sort metadata buffer for faster find */ Loading