diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-10 06:53:13 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-10 06:53:13 +0000 |
commit | e452e19dad4644f74a566e47abbcaa52df0a58f8 (patch) | |
tree | 90aacb633d142c11c6922b13965018a37799de0e /libmemtrack/memtrack_hikey.c | |
parent | 0f093620bf86767800575bbd7644fde3c29963b1 (diff) | |
parent | 9f8b1d25aaf497ac7a04690a235050323519aecb (diff) | |
download | hikey-android13-mainline-resolv-release.tar.gz |
Snap for 8564071 from 9f8b1d25aaf497ac7a04690a235050323519aecb to mainline-resolv-releaseaml_res_331820000aml_res_331611010aml_res_331512000aml_res_331314010aml_res_331114000aml_res_331011050aml_res_330910000aml_res_330810000android13-mainline-resolv-release
Change-Id: Ic1557882342c481b802216c3b20cde785a1662d1
Diffstat (limited to 'libmemtrack/memtrack_hikey.c')
-rw-r--r-- | libmemtrack/memtrack_hikey.c | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/libmemtrack/memtrack_hikey.c b/libmemtrack/memtrack_hikey.c deleted file mode 100644 index d2ff1966..00000000 --- a/libmemtrack/memtrack_hikey.c +++ /dev/null @@ -1,45 +0,0 @@ -/* - * Copyright (C) 2017 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -#include <errno.h> - -#include <hardware/memtrack.h> - -int hikey_memtrack_init(const struct memtrack_module *module) -{ - if (!module) - return -1; - - return 0; -} - -static struct hw_module_methods_t memtrack_module_methods = { - .open = NULL, -}; - -struct memtrack_module HAL_MODULE_INFO_SYM = { - .common = { - .tag = HARDWARE_MODULE_TAG, - .module_api_version = MEMTRACK_MODULE_API_VERSION_0_1, - .hal_api_version = HARDWARE_HAL_API_VERSION, - .id = MEMTRACK_HARDWARE_MODULE_ID, - .name = "HiKey Memory Tracker HAL", - .author = "The Android Open Source Project", - .methods = &memtrack_module_methods, - }, - - .init = hikey_memtrack_init, -}; |