Merge "Remove unnecessary NNAPI header files"

This commit is contained in:
Michael Butler
2021-11-09 01:35:46 +00:00
committed by Gerrit Code Review
9 changed files with 13 additions and 82 deletions

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -22,7 +22,6 @@
#include "Conversions.h"
#include "Utils.h"
#include "nnapi/hal/aidl/Conversions.h"
#include <memory>
#include <utility>

View File

@@ -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(

View File

@@ -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(

View File

@@ -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 {

View File

@@ -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"