#include <android/hardware/gnss/1.0/IGnss.h>
-#include <hwbinder/IPCThreadState.h>
-#include <hwbinder/ProcessState.h>
-
#include "JNIHelp.h"
#include "jni.h"
#include "hardware_legacy/power.h"
using android::status_t;
using android::String16;
-using android::hardware::IPCThreadState;
-using android::hardware::ProcessState;
using android::hardware::Return;
using android::hardware::Void;
using android::hardware::hidl_vec;
} else {
ALOGE("Unable to get GPS service\n");
}
- ProcessState::self()->setThreadPoolMaxThreadCount(0);
- ProcessState::self()->startThreadPool();
}
static jboolean android_location_GnssLocationProvider_is_supported(