Loading drm/1.0/Android.bp +2 −0 Original line number Diff line number Diff line Loading @@ -89,3 +89,5 @@ cc_library_shared { "libutils", ], } subdirs = ["default"] drm/1.0/default/Android.bp 0 → 100644 +23 −0 Original line number Diff line number Diff line cc_library_static { name: "android.hardware.drm@1.0-helper", vendor: true, defaults: ["hidl_defaults"], srcs: [ "SharedLibrary.cpp", ], cflags: [ "-Werror", "-Wextra", "-Wall", ], shared_libs: [ "liblog", ], header_libs: [ "libutils_headers", ], export_header_lib_headers: [ "libutils_headers", ], export_include_dirs : ["include"] } drm/1.0/default/Android.mk +6 −1 Original line number Diff line number Diff line Loading @@ -36,6 +36,9 @@ LOCAL_SHARED_LIBRARIES := \ libutils \ libbinder \ LOCAL_STATIC_LIBRARIES := \ android.hardware.drm@1.0-helper \ LOCAL_C_INCLUDES := \ hardware/interfaces/drm Loading Loading @@ -71,10 +74,12 @@ LOCAL_SHARED_LIBRARIES := \ libhidlmemory \ libhidltransport \ liblog \ libmediadrm \ libstagefright_foundation_vendor \ libutils \ LOCAL_STATIC_LIBRARIES := \ android.hardware.drm@1.0-helper \ LOCAL_C_INCLUDES := \ frameworks/native/include \ frameworks/av/include Loading drm/1.0/default/CryptoFactory.h +3 −2 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ #include <android/hardware/drm/1.0/ICryptoFactory.h> #include <hidl/Status.h> #include <media/hardware/CryptoAPI.h> #include <media/PluginLoader.h> #include <PluginLoader.h> #include <media/SharedLibrary.h> namespace android { Loading @@ -28,6 +28,7 @@ namespace drm { namespace V1_0 { namespace implementation { using ::android::hardware::drm::V1_0::helper::PluginLoader; using ::android::hardware::drm::V1_0::ICryptoFactory; using ::android::hardware::drm::V1_0::ICryptoPlugin; using ::android::hardware::hidl_array; Loading @@ -51,7 +52,7 @@ struct CryptoFactory : public ICryptoFactory { override; private: android::PluginLoader<android::CryptoFactory> loader; PluginLoader<android::CryptoFactory> loader; CryptoFactory(const CryptoFactory &) = delete; void operator=(const CryptoFactory &) = delete; Loading drm/1.0/default/DrmFactory.h +3 −2 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ #include <android/hardware/drm/1.0/IDrmFactory.h> #include <hidl/Status.h> #include <media/drm/DrmAPI.h> #include <media/PluginLoader.h> #include <PluginLoader.h> #include <media/SharedLibrary.h> namespace android { Loading @@ -28,6 +28,7 @@ namespace drm { namespace V1_0 { namespace implementation { using ::android::hardware::drm::V1_0::helper::PluginLoader; using ::android::hardware::drm::V1_0::IDrmFactory; using ::android::hardware::drm::V1_0::IDrmPlugin; using ::android::hardware::hidl_array; Loading @@ -53,7 +54,7 @@ struct DrmFactory : public IDrmFactory { const hidl_string& appPackageName, createPlugin_cb _hidl_cb) override; private: android::PluginLoader<android::DrmFactory> loader; PluginLoader<android::DrmFactory> loader; DrmFactory(const DrmFactory &) = delete; void operator=(const DrmFactory &) = delete; Loading Loading
drm/1.0/Android.bp +2 −0 Original line number Diff line number Diff line Loading @@ -89,3 +89,5 @@ cc_library_shared { "libutils", ], } subdirs = ["default"]
drm/1.0/default/Android.bp 0 → 100644 +23 −0 Original line number Diff line number Diff line cc_library_static { name: "android.hardware.drm@1.0-helper", vendor: true, defaults: ["hidl_defaults"], srcs: [ "SharedLibrary.cpp", ], cflags: [ "-Werror", "-Wextra", "-Wall", ], shared_libs: [ "liblog", ], header_libs: [ "libutils_headers", ], export_header_lib_headers: [ "libutils_headers", ], export_include_dirs : ["include"] }
drm/1.0/default/Android.mk +6 −1 Original line number Diff line number Diff line Loading @@ -36,6 +36,9 @@ LOCAL_SHARED_LIBRARIES := \ libutils \ libbinder \ LOCAL_STATIC_LIBRARIES := \ android.hardware.drm@1.0-helper \ LOCAL_C_INCLUDES := \ hardware/interfaces/drm Loading Loading @@ -71,10 +74,12 @@ LOCAL_SHARED_LIBRARIES := \ libhidlmemory \ libhidltransport \ liblog \ libmediadrm \ libstagefright_foundation_vendor \ libutils \ LOCAL_STATIC_LIBRARIES := \ android.hardware.drm@1.0-helper \ LOCAL_C_INCLUDES := \ frameworks/native/include \ frameworks/av/include Loading
drm/1.0/default/CryptoFactory.h +3 −2 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ #include <android/hardware/drm/1.0/ICryptoFactory.h> #include <hidl/Status.h> #include <media/hardware/CryptoAPI.h> #include <media/PluginLoader.h> #include <PluginLoader.h> #include <media/SharedLibrary.h> namespace android { Loading @@ -28,6 +28,7 @@ namespace drm { namespace V1_0 { namespace implementation { using ::android::hardware::drm::V1_0::helper::PluginLoader; using ::android::hardware::drm::V1_0::ICryptoFactory; using ::android::hardware::drm::V1_0::ICryptoPlugin; using ::android::hardware::hidl_array; Loading @@ -51,7 +52,7 @@ struct CryptoFactory : public ICryptoFactory { override; private: android::PluginLoader<android::CryptoFactory> loader; PluginLoader<android::CryptoFactory> loader; CryptoFactory(const CryptoFactory &) = delete; void operator=(const CryptoFactory &) = delete; Loading
drm/1.0/default/DrmFactory.h +3 −2 Original line number Diff line number Diff line Loading @@ -19,7 +19,7 @@ #include <android/hardware/drm/1.0/IDrmFactory.h> #include <hidl/Status.h> #include <media/drm/DrmAPI.h> #include <media/PluginLoader.h> #include <PluginLoader.h> #include <media/SharedLibrary.h> namespace android { Loading @@ -28,6 +28,7 @@ namespace drm { namespace V1_0 { namespace implementation { using ::android::hardware::drm::V1_0::helper::PluginLoader; using ::android::hardware::drm::V1_0::IDrmFactory; using ::android::hardware::drm::V1_0::IDrmPlugin; using ::android::hardware::hidl_array; Loading @@ -53,7 +54,7 @@ struct DrmFactory : public IDrmFactory { const hidl_string& appPackageName, createPlugin_cb _hidl_cb) override; private: android::PluginLoader<android::DrmFactory> loader; PluginLoader<android::DrmFactory> loader; DrmFactory(const DrmFactory &) = delete; void operator=(const DrmFactory &) = delete; Loading