diff options
author | Derek Sollenberger <djsollen@google.com> | 2020-02-19 15:37:29 -0500 |
---|---|---|
committer | Derek Sollenberger <djsollen@google.com> | 2020-02-20 21:50:06 -0500 |
commit | 2173ea286afff6766043227de0bc2d82d9595f77 (patch) | |
tree | 9cf383925d98852990be3bc3df8bafad4398f272 /libs/hwui/jni/GraphicsStatsService.cpp | |
parent | 42c50042d1f05d92ecc57baebe3326a57aeecf77 (diff) |
Export symbols for the newly exposed APEX/internal headers
Bug: 137655431
Test: CtsUiRenderingTestCases
Change-Id: I71c6d1a53ae080bf104848679ee62a77cf07c9fa
Diffstat (limited to 'libs/hwui/jni/GraphicsStatsService.cpp')
-rw-r--r-- | libs/hwui/jni/GraphicsStatsService.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libs/hwui/jni/GraphicsStatsService.cpp b/libs/hwui/jni/GraphicsStatsService.cpp index e9259462bcac..6076552fc094 100644 --- a/libs/hwui/jni/GraphicsStatsService.cpp +++ b/libs/hwui/jni/GraphicsStatsService.cpp @@ -25,6 +25,8 @@ #include <stats_event.h> #include <stats_pull_atom_callback.h> #include <statslog.h> + +#include "android/graphics/jni_runtime.h" #include "GraphicsJNI.h" namespace android { @@ -171,6 +173,9 @@ static void nativeDestructor(JNIEnv* env, jobject javaObject) { gGraphicsStatsServiceObject = nullptr; } +} // namespace android +using namespace android; + static const JNINativeMethod sMethods[] = {{"nGetAshmemSize", "()I", (void*)getAshmemSize}, {"nCreateDump", "(IZ)J", (void*)createDump}, @@ -190,5 +195,3 @@ int register_android_graphics_GraphicsStatsService(JNIEnv* env) { return jniRegisterNativeMethods(env, "android/graphics/GraphicsStatsService", sMethods, NELEM(sMethods)); } - -} // namespace android |