summaryrefslogtreecommitdiff
path: root/wifi/1.4/default/hidl_sync_util.cpp
diff options
context:
space:
mode:
authorJimmy Chen <jimmycmchen@google.com>2019-11-29 17:31:22 +0200
committerJimmy Chen <jimmycmchen@google.com>2020-07-22 13:20:39 +0800
commitd460df3f3b8ee46bc712dc99e3fe46d9b4f1e2a3 (patch)
tree1bcbc54b41753c0fd38bc3e76f18b2b5ec691a78 /wifi/1.4/default/hidl_sync_util.cpp
parent00d353b2650752fcbeb2e5f35584cf3f19ad2f7c (diff)
wifi: upgrade wifi interface to 1.5
Only a root interface is added and update relevant code. Bug: 160834354 Test: atest VtsHalWifiV1_0TargetTest VtsHalWifiNanV1_0TargetTest VtsHalWifiApV1_0TargetTest \ VtsHalWifiV1_1TargetTest \ VtsHalWifiV1_2TargetTest VtsHalWifiNanV1_2TargetTest \ VtsHalWifiV1_3TargetTest \ VtsHalWifiApV1_4TargetTest VtsHalWifiNanV1_4TargetTest VtsHalWifiRttV1_4TargetTest Change-Id: Ifdffa3a6996eca1d3c4b499258896cdfe5eb9c87
Diffstat (limited to 'wifi/1.4/default/hidl_sync_util.cpp')
-rw-r--r--wifi/1.4/default/hidl_sync_util.cpp39
1 files changed, 0 insertions, 39 deletions
diff --git a/wifi/1.4/default/hidl_sync_util.cpp b/wifi/1.4/default/hidl_sync_util.cpp
deleted file mode 100644
index 593a3bc5be..0000000000
--- a/wifi/1.4/default/hidl_sync_util.cpp
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2016 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 "hidl_sync_util.h"
-
-namespace {
-std::recursive_mutex g_mutex;
-} // namespace
-
-namespace android {
-namespace hardware {
-namespace wifi {
-namespace V1_4 {
-namespace implementation {
-namespace hidl_sync_util {
-
-std::unique_lock<std::recursive_mutex> acquireGlobalLock() {
- return std::unique_lock<std::recursive_mutex>{g_mutex};
-}
-
-} // namespace hidl_sync_util
-} // namespace implementation
-} // namespace V1_4
-} // namespace wifi
-} // namespace hardware
-} // namespace android