Convert tests mk file to bp.

Test: atest TeleServiceTests
Bug: 144806641
Merged-in: Ie1a7d873c0da70180c159ac8ca50b93edf37da12
Change-Id: Ie1a7d873c0da70180c159ac8ca50b93edf37da12
(cherry picked from commit 16237d2d7c6c1909ab34849d33877e6ca8e1c570)
diff --git a/tests/Android.bp b/tests/Android.bp
new file mode 100644
index 0000000..7a59651
--- /dev/null
+++ b/tests/Android.bp
@@ -0,0 +1,42 @@
+//
+// Copyright (C) 2009 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.
+//
+
+android_test {
+    name: "TeleServiceTests",
+
+    srcs: ["src/**/*.java"],
+
+    libs: [
+        "android.test.runner",
+        "telephony-common",
+        "android.test.base",
+        "ims-common",
+    ],
+    platform_apis: true,
+    certificate: "platform",
+
+    instrumentation_for: "TeleService",
+
+    static_libs: [
+        "androidx.test.rules",
+        "mockito-target-minus-junit4",
+        "androidx.test.espresso.core",
+        "truth-prebuilt",
+    ],
+
+    test_suites: ["device-tests"],
+
+}