summaryrefslogtreecommitdiff
path: root/transport/memory
diff options
context:
space:
mode:
authorJoachim Sauer <jsauer@google.com>2017-11-29 11:21:41 +0000
committerJoachim Sauer <jsauer@google.com>2017-11-29 11:35:46 +0000
commitc68b413ee56b0a309ff0b1c44cd2749c6028c3ee (patch)
treea6e1124b9c24140f78f5e3a304ea17c5148837ec /transport/memory
parent2c16d029914a7908e225e9b7dca555b32638ea57 (diff)
downloadlibhidl-c68b413ee56b0a309ff0b1c44cd2749c6028c3ee.tar.gz
Revert "Add IMemoryToken and the HidlMemoryToken"
This reverts commit 2c16d029914a7908e225e9b7dca555b32638ea57. Bug: 69640337 Test: m tests Change-Id: Ibe3b751f98646ccf84e65bfebd3e639f9ec3c7e2
Diffstat (limited to 'transport/memory')
-rw-r--r--transport/memory/token/1.0/Android.bp17
-rw-r--r--transport/memory/token/1.0/IMemoryToken.hal27
2 files changed, 0 insertions, 44 deletions
diff --git a/transport/memory/token/1.0/Android.bp b/transport/memory/token/1.0/Android.bp
deleted file mode 100644
index 6fc1af6..0000000
--- a/transport/memory/token/1.0/Android.bp
+++ /dev/null
@@ -1,17 +0,0 @@
-// This file is autogenerated by hidl-gen -Landroidbp.
-
-hidl_interface {
- name: "android.hidl.memory.token@1.0",
- root: "android.hidl",
- vndk: {
- enabled: true,
- },
- srcs: [
- "IMemoryToken.hal",
- ],
- interfaces: [
- "android.hidl.base@1.0",
- ],
- gen_java: false,
-}
-
diff --git a/transport/memory/token/1.0/IMemoryToken.hal b/transport/memory/token/1.0/IMemoryToken.hal
deleted file mode 100644
index 6507cee..0000000
--- a/transport/memory/token/1.0/IMemoryToken.hal
+++ /dev/null
@@ -1,27 +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.
- */
-package android.hidl.memory.token@1.0;
-
-/**
- * Interface which composes shared memory
- */
-interface IMemoryToken {
- /**
- * The returned instance of memory must always be a reference to the same memory.
- * @return mem Memory referenced by this token.
- */
- get() generates (memory mem);
-};