Add Telecom Call Audio Test App.
It is sometimes useful to be able to have a device auto answer and play
back some audio. This can be useful for edge of service call testing
where we need one endpoint to remain in a stable service area and another
to be mobile for testing purposes.
This app has one purpose only; it exposes an activity which allows the user
to enable auto answer. When enabled, the first paragraph of
"A Tale of Two Cities" by Charles Dickens is read to the caller in a
continual loop.
Test: This is just a test app itself.
Bug: 163085177
Change-Id: I46094262f464d935f1d41aa9ac1fe5be65ca43d3
diff --git a/testapps/callaudiotest/Android.bp b/testapps/callaudiotest/Android.bp
new file mode 100644
index 0000000..81164e6
--- /dev/null
+++ b/testapps/callaudiotest/Android.bp
@@ -0,0 +1,31 @@
+//
+// 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.
+//
+
+package {
+ default_applicable_licenses: ["Android-Apache-2.0"],
+}
+
+android_test {
+ name: "TelecomCallAudioTestApp",
+ static_libs: [
+ "androidx.legacy_legacy-support-v4",
+ "guava",
+ ],
+ srcs: ["src/**/*.java"],
+ platform_apis: true,
+ certificate: "platform",
+ privileged: true,
+}