82 lines
5.8 KiB
C++
82 lines
5.8 KiB
C++
|
/*
|
||
|
* Copyright (C) 2024 The LineageOS Project
|
||
|
*
|
||
|
* SPDX-License-Identifier: Apache-2.0
|
||
|
*/
|
||
|
|
||
|
#include "CameraModule.h"
|
||
|
|
||
|
using android::SortedVector;
|
||
|
using android::sp;
|
||
|
using android::hardware::camera::common::helper::CameraModule;
|
||
|
|
||
|
// android::hardare::camera::device::V1_0
|
||
|
extern "C" void*
|
||
|
_ZN7android8hardware6camera6device4V1_014implementation12CameraDeviceC1ENS_2spINS1_6common6helper12CameraModuleEEERKNSt3__112basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNS_12SortedVectorINSB_4pairISH_SH_EEEE(
|
||
|
void* thisptr, const sp<CameraModule>& cameraModule, const std::string& str,
|
||
|
const SortedVector<std::pair<std::string, std::string>>& sortedVector);
|
||
|
|
||
|
extern "C" void*
|
||
|
_ZN7android8hardware6camera6device4V1_014implementation12CameraDeviceC1ENS_2spINS1_6common4V1_06helper12CameraModuleEEERKNSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEERKNS_12SortedVectorINSC_4pairISI_SI_EEEE(
|
||
|
void* thisptr, const sp<CameraModule>& cameraModule, const std::string& str,
|
||
|
const SortedVector<std::pair<std::string, std::string>>& sortedVector) {
|
||
|
return _ZN7android8hardware6camera6device4V1_014implementation12CameraDeviceC1ENS_2spINS1_6common6helper12CameraModuleEEERKNSt3__112basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNS_12SortedVectorINSB_4pairISH_SH_EEEE(
|
||
|
thisptr, cameraModule, str, sortedVector);
|
||
|
}
|
||
|
|
||
|
// android::hardware::camera::device::V3_2
|
||
|
extern "C" void*
|
||
|
_ZN7android8hardware6camera6device4V3_214implementation12CameraDeviceC1ENS_2spINS1_6common6helper12CameraModuleEEERKNSt3__112basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNS_12SortedVectorINSB_4pairISH_SH_EEEE(
|
||
|
void* thisptr, const sp<CameraModule>& cameraModule, const std::string& str,
|
||
|
const SortedVector<std::pair<std::string, std::string>>& sortedVector);
|
||
|
|
||
|
extern "C" void*
|
||
|
_ZN7android8hardware6camera6device4V3_214implementation12CameraDeviceC1ENS_2spINS1_6common4V1_06helper12CameraModuleEEERKNSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEERKNS_12SortedVectorINSC_4pairISI_SI_EEEE(
|
||
|
void* thisptr, const sp<CameraModule>& cameraModule, const std::string& str,
|
||
|
const SortedVector<std::pair<std::string, std::string>>& sortedVector) {
|
||
|
return _ZN7android8hardware6camera6device4V3_214implementation12CameraDeviceC1ENS_2spINS1_6common6helper12CameraModuleEEERKNSt3__112basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNS_12SortedVectorINSB_4pairISH_SH_EEEE(
|
||
|
thisptr, cameraModule, str, sortedVector);
|
||
|
}
|
||
|
|
||
|
// android::hardware::camera::device::V3_3
|
||
|
extern "C" void*
|
||
|
_ZN7android8hardware6camera6device4V3_314implementation12CameraDeviceC1ENS_2spINS1_6common6helper12CameraModuleEEERKNSt3__112basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNS_12SortedVectorINSB_4pairISH_SH_EEEE(
|
||
|
void* thisptr, const sp<CameraModule>& cameraModule, const std::string& str,
|
||
|
const SortedVector<std::pair<std::string, std::string>>& sortedVector);
|
||
|
|
||
|
extern "C" void*
|
||
|
_ZN7android8hardware6camera6device4V3_314implementation12CameraDeviceC1ENS_2spINS1_6common4V1_06helper12CameraModuleEEERKNSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEERKNS_12SortedVectorINSC_4pairISI_SI_EEEE(
|
||
|
void* thisptr, const sp<CameraModule>& cameraModule, const std::string& str,
|
||
|
const SortedVector<std::pair<std::string, std::string>>& sortedVector) {
|
||
|
return _ZN7android8hardware6camera6device4V3_314implementation12CameraDeviceC1ENS_2spINS1_6common6helper12CameraModuleEEERKNSt3__112basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNS_12SortedVectorINSB_4pairISH_SH_EEEE(
|
||
|
thisptr, cameraModule, str, sortedVector);
|
||
|
}
|
||
|
|
||
|
// android::hardware::camera::device::V3_4
|
||
|
extern "C" void*
|
||
|
_ZN7android8hardware6camera6device4V3_414implementation12CameraDeviceC1ENS_2spINS1_6common6helper12CameraModuleEEERKNSt3__112basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNS_12SortedVectorINSB_4pairISH_SH_EEEE(
|
||
|
void* thisptr, const sp<CameraModule>& cameraModule, const std::string& str,
|
||
|
const SortedVector<std::pair<std::string, std::string>>& sortedVector);
|
||
|
|
||
|
extern "C" void*
|
||
|
_ZN7android8hardware6camera6device4V3_414implementation12CameraDeviceC1ENS_2spINS1_6common4V1_06helper12CameraModuleEEERKNSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEERKNS_12SortedVectorINSC_4pairISI_SI_EEEE(
|
||
|
void* thisptr, const sp<CameraModule>& cameraModule, const std::string& str,
|
||
|
const SortedVector<std::pair<std::string, std::string>>& sortedVector) {
|
||
|
return _ZN7android8hardware6camera6device4V3_414implementation12CameraDeviceC1ENS_2spINS1_6common6helper12CameraModuleEEERKNSt3__112basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNS_12SortedVectorINSB_4pairISH_SH_EEEE(
|
||
|
thisptr, cameraModule, str, sortedVector);
|
||
|
}
|
||
|
|
||
|
// android::hardware::camera::device::V3_5
|
||
|
extern "C" void*
|
||
|
_ZN7android8hardware6camera6device4V3_514implementation12CameraDeviceC1ENS_2spINS1_6common6helper12CameraModuleEEERKNSt3__112basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNS_12SortedVectorINSB_4pairISH_SH_EEEE(
|
||
|
void* thisptr, const sp<CameraModule>& cameraModule, const std::string& str,
|
||
|
const SortedVector<std::pair<std::string, std::string>>& sortedVector);
|
||
|
|
||
|
extern "C" void*
|
||
|
_ZN7android8hardware6camera6device4V3_514implementation12CameraDeviceC1ENS_2spINS1_6common4V1_06helper12CameraModuleEEERKNSt3__112basic_stringIcNSC_11char_traitsIcEENSC_9allocatorIcEEEERKNS_12SortedVectorINSC_4pairISI_SI_EEEE(
|
||
|
void* thisptr, const sp<CameraModule>& cameraModule, const std::string& str,
|
||
|
const SortedVector<std::pair<std::string, std::string>>& sortedVector) {
|
||
|
return _ZN7android8hardware6camera6device4V3_514implementation12CameraDeviceC1ENS_2spINS1_6common6helper12CameraModuleEEERKNSt3__112basic_stringIcNSB_11char_traitsIcEENSB_9allocatorIcEEEERKNS_12SortedVectorINSB_4pairISH_SH_EEEE(
|
||
|
thisptr, cameraModule, str, sortedVector);
|
||
|
}
|