From 6770260f83f5576b041b7b3a2536d082a631f9b0 Mon Sep 17 00:00:00 2001 From: Ruben Brunk Date: Sat, 3 May 2014 00:28:33 +0000 Subject: Revert "camera3: Update CameraMetadata vendor tag handling." This reverts commit 4764324d2704f1b08bb7407014bf203924ff2363. Change-Id: I86d7fcc11423502b73fab2a82af6aa89804f0b76 --- include/camera/VendorTagDescriptor.h | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'include') diff --git a/include/camera/VendorTagDescriptor.h b/include/camera/VendorTagDescriptor.h index 1758acf..ea21d31 100644 --- a/include/camera/VendorTagDescriptor.h +++ b/include/camera/VendorTagDescriptor.h @@ -16,7 +16,6 @@ #ifndef VENDOR_TAG_DESCRIPTOR_H -#include #include #include #include @@ -68,24 +67,6 @@ class VendorTagDescriptor /*out*/ Parcel* parcel) const; - /** - * Convenience method to get a vector containing all vendor tag - * sections, or an empty vector if none are defined. - */ - SortedVector getAllSectionNames() const; - - /** - * Lookup the tag id for a given tag name and section. - * - * Returns OK on success, or a negative error code. - */ - status_t lookupTag(String8 name, String8 section, /*out*/uint32_t* tag) const; - - /** - * Dump the currently configured vendor tags to a file descriptor. - */ - void dump(int fd, int verbosity, int indentation) const; - // Static methods: /** @@ -128,11 +109,9 @@ class VendorTagDescriptor static sp getGlobalVendorTagDescriptor(); protected: VendorTagDescriptor(); - KeyedVector*> mReverseMapping; KeyedVector mTagToNameMap; - KeyedVector mTagToSectionMap; // Value is offset in mSections + KeyedVector mTagToSectionMap; KeyedVector mTagToTypeMap; - SortedVector mSections; // must be int32_t to be compatible with Parcel::writeInt32 int32_t mTagCount; private: -- cgit v1.1