universal7885: interfaces: Forgot to rename package name

* Also, fix errors

Change-Id: Iafa0a6f6c34c9b13aff464765ef00cffbc6330dd
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
roynatech2544 2022-02-18 18:14:27 +09:00
commit 0885f01f81
No known key found for this signature in database
GPG key ID: 9675C32163D88D30
12 changed files with 22 additions and 19 deletions

View file

@ -2,7 +2,7 @@
#include <hidl/HidlSupport.h>
#include <hidl/LegacySupport.h>
#include <hidl/Status.h>
#include <vendor/eureka/hardware/parts/1.0/IFlashlight.h>
#include <vendor/eureka/hardware/parts/1.0/IFlashLight.h>
#include "jni.h"
using android::sp;
@ -13,7 +13,7 @@ using vendor::eureka::hardware::parts::V1_0::Number;
extern "C" JNIEXPORT void JNICALL Java_com_eurekateam_samsungextras_interfaces_Flashlight_setFlash(
JNIEnv* env, __unused jobject obj, jint value) {
android::sp<IFlashlight> service = IFlashLight::getService();
android::sp<IFlashLight> service = IFlashLight::getService();
service->setFlashlightEnable(Number::ENABLE);
switch (value) {
case 1:
@ -52,7 +52,7 @@ extern "C" JNIEXPORT void JNICALL Java_com_eurekateam_samsungextras_interfaces_F
}
extern "C" JNIEXPORT jint JNICALL Java_com_eurekateam_samsungextras_interfaces_Flashlight_getFlash(
JNIEnv* env, jobject clazz, jint isA10) {
android::sp<IFlashlight> service = IFlashLight::getService();
android::sp<IFlashLight> service = IFlashLight::getService();
int ret;
if (isA10 == 1) {
ret = service->readFlashlightstats(Device::A10);

View file

@ -6,7 +6,7 @@
#include "jni.h"
using android::sp;
using vendor::eureka::hardware::parts::V1_0::Enable;
using vendor::eureka::hardware::parts::V1_0::Number;
using vendor::eureka::hardware::parts::V1_0::IGpu;
extern "C" JNIEXPORT void JNICALL