00551f44d6
* Namespace V1_0::helper has been deprecated in [1]. Wrap old symbols to accommodate this change. [1] I8c3160497c1e2fe7a0a7155641f0e1f5e47ec32e Change-Id: I4c9094add5c2484fd00b04e6236ba86ac693dbfd
81 lines
5.8 KiB
C++
81 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);
|
|
}
|