mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 16:23:37 +00:00
Merge "Remove unnecessary NNAPI header files" am: 9ec39aa042 am: 340e03f4b9 am: 970d671c9b
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1880752 Change-Id: Ieb360bbd9e5e1b129a8e72567d59e98947a26a4a
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2021 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 "nnapi/hal/aidl/BufferTracker.h"
|
||||
@@ -1,17 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2021 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 "nnapi/hal/aidl/HalInterfaces.h"
|
||||
@@ -1,17 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2021 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 "nnapi/hal/aidl/HalUtils.h"
|
||||
@@ -1,17 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2021 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 "nnapi/hal/aidl/ValidateHal.h"
|
||||
@@ -22,7 +22,6 @@
|
||||
|
||||
#include "Conversions.h"
|
||||
#include "Utils.h"
|
||||
#include "nnapi/hal/aidl/Conversions.h"
|
||||
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
@@ -14,9 +14,12 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include "AidlBufferTracker.h"
|
||||
#include "BufferTracker.h"
|
||||
|
||||
#include "HalInterfaces.h"
|
||||
|
||||
#include <android-base/macros.h>
|
||||
#include <nnapi/TypeUtils.h>
|
||||
|
||||
#include <memory>
|
||||
#include <mutex>
|
||||
@@ -25,9 +28,6 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "AidlHalInterfaces.h"
|
||||
#include "nnapi/TypeUtils.h"
|
||||
|
||||
namespace android::nn {
|
||||
|
||||
std::shared_ptr<AidlManagedBuffer> AidlManagedBuffer::create(
|
||||
@@ -17,9 +17,12 @@
|
||||
// utilities. LegacyUtils.h is the subset of these utilities that do not touch
|
||||
// HAL.
|
||||
|
||||
#include "AidlHalUtils.h"
|
||||
#include "HalUtils.h"
|
||||
|
||||
#include "HalInterfaces.h"
|
||||
|
||||
#include <android-base/logging.h>
|
||||
#include <nnapi/TypeUtils.h>
|
||||
#include <nnapi/hal/aidl/Conversions.h>
|
||||
|
||||
#include <algorithm>
|
||||
@@ -27,9 +30,6 @@
|
||||
#include <type_traits>
|
||||
#include <vector>
|
||||
|
||||
#include "AidlHalInterfaces.h"
|
||||
#include "nnapi/TypeUtils.h"
|
||||
|
||||
namespace android::nn {
|
||||
|
||||
std::vector<aidl_hal::OperandPerformance> nonExtensionOperandPerformance(
|
||||
@@ -16,9 +16,12 @@
|
||||
|
||||
#define LOG_TAG "ValidateHal"
|
||||
|
||||
#include "AidlValidateHal.h"
|
||||
#include "ValidateHal.h"
|
||||
|
||||
#include "HalUtils.h"
|
||||
|
||||
#include <android-base/logging.h>
|
||||
#include <nnapi/TypeUtils.h>
|
||||
#include <nnapi/hal/aidl/Conversions.h>
|
||||
|
||||
#include <algorithm>
|
||||
@@ -27,9 +30,6 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "AidlHalUtils.h"
|
||||
#include "nnapi/TypeUtils.h"
|
||||
|
||||
namespace android {
|
||||
namespace nn {
|
||||
|
||||
@@ -28,9 +28,9 @@
|
||||
#include <Utils.h>
|
||||
#include <nnapi/SharedMemory.h>
|
||||
#include <nnapi/hal/aidl/Conversions.h>
|
||||
#include <nnapi/hal/aidl/HalInterfaces.h>
|
||||
#include <nnapi/hal/aidl/Utils.h>
|
||||
|
||||
#include "AidlHalInterfaces.h"
|
||||
#include "Callbacks.h"
|
||||
#include "GeneratedTestHarness.h"
|
||||
#include "MemoryUtils.h"
|
||||
|
||||
Reference in New Issue
Block a user