sm8550-common: add shim for libhypervintf

* Needed by camera, we don't use hyper HAL.

Co-authored-by: chaptsand <chaptsand@gmail.com>
Co-authored-by: pckotzer <thegamethis@outlook.com>
Change-Id: I823e9286fe2b8ad2320b83cca0e6f59707c30f5b
This commit is contained in:
Josip Kelecic
2022-12-10 17:38:33 +01:00
committed by chaptsand
parent e8ab765331
commit 4649cac293
13 changed files with 43 additions and 42 deletions

View File

@@ -0,0 +1,32 @@
/*
* Copyright (C) 2024 The LineageOS Project
*
* SPDX-License-Identifier: Apache-2.0
*/
#include <string>
#include <vector>
struct HyPerToken {
};
void hyper_getNewHyPerToken(void) {
}
void hyper_setTokenProcName(HyPerToken*, std::string) {
}
void hyper_checkResourceExist(int) {
}
void hyper_acquire(HyPerToken, std::vector<int>) {
}
void hyper_setProcName(std::string) {
}
void hyper_getSupportedFrequency(int, int) {
}
void hyper_release(HyPerToken) {
}