com.android.server: use proper nativehelper headers

libnativehelper exports headers under nativehelper. These were
available before incorrectly as global headers in order to give
access to jni.h.

Test: com.android.server finds headers
Bug: 63762847
Change-Id: Icb3018f520004f65e8dd565d6e1d563551548eba
This commit is contained in:
Steven Moreland
2017-08-01 10:18:40 -07:00
parent f53501098c
commit c95dca8ce1
6 changed files with 9 additions and 9 deletions

View File

@@ -31,8 +31,8 @@
#include <android_os_MessageQueue.h>
#include <core_jni_helpers.h>
#include <jni.h>
#include <JNIHelp.h>
#include <ScopedPrimitiveArray.h>
#include <nativehelper/JNIHelp.h>
#include <nativehelper/ScopedPrimitiveArray.h>
#include <ScopedUtfChars.h>
#include <utils/Log.h>
#include <utils/Looper.h>

View File

@@ -17,14 +17,14 @@
#define LOG_TAG "ConsumerIrService"
#include "jni.h"
#include "JNIHelp.h"
#include <nativehelper/JNIHelp.h>
#include "android_runtime/AndroidRuntime.h"
#include <stdlib.h>
#include <utils/misc.h>
#include <utils/Log.h>
#include <android/hardware/ir/1.0/IConsumerIr.h>
#include <ScopedPrimitiveArray.h>
#include <nativehelper/ScopedPrimitiveArray.h>
using ::android::hardware::ir::V1_0::IConsumerIr;
using ::android::hardware::ir::V1_0::ConsumerIrFreqRange;

View File

@@ -19,8 +19,8 @@
#include <jni.h>
#include <log/log.h>
#include <nativehelper/JNIHelp.h>
#include <ScopedPrimitiveArray.h>
#include <ScopedUtfChars.h>
#include <nativehelper/ScopedPrimitiveArray.h>
#include <nativehelper/ScopedUtfChars.h>
#include <JankTracker.h>
#include <service/GraphicsStatsService.h>

View File

@@ -38,7 +38,7 @@
#include <cutils/log.h>
#include "core_jni_helpers.h"
#include "JNIHelp.h"
#include <nativehelper/JNIHelp.h>
using android::hardware::contexthub::V1_0::AsyncEventType;
using android::hardware::contexthub::V1_0::ContextHub;

View File

@@ -20,7 +20,7 @@
#include <android/hardware/gnss/1.0/IGnss.h>
#include "JNIHelp.h"
#include <nativehelper/JNIHelp.h>
#include "jni.h"
#include "hardware_legacy/power.h"
#include "utils/Log.h"

View File

@@ -22,7 +22,7 @@
#include "JNIHelp.h"
#include "jni.h"
#include <ScopedUtfChars.h>
#include <nativehelper/ScopedUtfChars.h>
#include <limits.h>