aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-09-21 22:10:11 +0000
committerAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-09-21 22:10:11 +0000
commit75a8674b4be582e8ad1d8cacbaf7b2c29165f827 (patch)
treea0999ef5b59b6ab5336e0e7509e3ab723d6a2456
parent1d2d5781fc70d57869a16893f1a1013088b413c1 (diff)
parent1b5ff0453f5fc7d33b7cfed157b91bce50751c00 (diff)
downloadThreadNetwork-android14-qpr2-s1-release.tar.gz
Change-Id: I67eac420ec6b204b19bd6ff3b08965d4ee7cf800
-rw-r--r--OWNERS2
-rw-r--r--README.md3
-rw-r--r--apex/Android.bp31
-rw-r--r--apex/test_apex_manifest.json4
-rw-r--r--apex/threadnetwork.rc22
-rw-r--r--service/Android.bp50
-rw-r--r--service/java/com/android/server/threadnetwork/ThreadNetworkService.java27
7 files changed, 6 insertions, 133 deletions
diff --git a/OWNERS b/OWNERS
index 82020cc..c858ef9 100644
--- a/OWNERS
+++ b/OWNERS
@@ -1,6 +1,8 @@
# Bug component: 1203089
+handaw@google.com
jonhui@google.com
+sunytt@google.com
wgtdkp@google.com
xyk@google.com
yuwenlan@google.com
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..6b82d85
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# ThreadNetwork
+
+This project has been moved to `packages/modules/Connectivity/thread`.
diff --git a/apex/Android.bp b/apex/Android.bp
index 48659e5..e4ab29f 100644
--- a/apex/Android.bp
+++ b/apex/Android.bp
@@ -21,14 +21,7 @@ package {
apex_defaults {
name: "com.android.threadnetwork-defaults",
min_sdk_version: "current",
- systemserverclasspath_fragments: ["com.android.threadnetwork-systemserverclasspath-fragment"],
- binaries: [
- "ot-daemon",
- "ot-ctl",
- ],
- compile_multilib: "both",
- prebuilts: ["com.android.threadnetwork.init.rc"],
-
+ file_contexts: ":apex.test-file_contexts",
manifest: "apex_manifest.json",
key: "com.android.threadnetwork.key",
certificate: ":com.android.threadnetwork.certificate",
@@ -42,22 +35,6 @@ apex {
],
}
-// threadnetwork apex with INT_MAX version code, to allow for upgrade/rollback testing.
-apex_test {
- name: "test_com.android.threadnetwork",
- defaults: ["com.android.threadnetwork-defaults"],
- manifest: "test_apex_manifest.json",
- file_contexts: ":com.android.threadnetwork-file_contexts",
- installable: false,
-}
-
-prebuilt_etc {
- name: "com.android.threadnetwork.init.rc",
- src: "threadnetwork.rc",
- filename: "init.rc",
- installable: false,
-}
-
apex_key {
name: "com.android.threadnetwork.key",
public_key: "com.android.threadnetwork.avbpubkey",
@@ -68,9 +45,3 @@ android_app_certificate {
name: "com.android.threadnetwork.certificate",
certificate: "com.android.threadnetwork",
}
-
-systemserverclasspath_fragment {
- name: "com.android.threadnetwork-systemserverclasspath-fragment",
- standalone_contents: ["service-threadnetwork"],
- apex_available: ["com.android.threadnetwork"],
-}
diff --git a/apex/test_apex_manifest.json b/apex/test_apex_manifest.json
deleted file mode 100644
index a3e9804..0000000
--- a/apex/test_apex_manifest.json
+++ /dev/null
@@ -1,4 +0,0 @@
-{
- "name": "com.android.threadnetwork",
- "version": 2147483647
-}
diff --git a/apex/threadnetwork.rc b/apex/threadnetwork.rc
deleted file mode 100644
index 8fc41e1..0000000
--- a/apex/threadnetwork.rc
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright (C) 2023 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.
-
-service ot-daemon /apex/com.android.threadnetwork/bin/ot-daemon -I thread-wpan threadnetwork_hal://binder?none
- disabled
- updatable
- class main
- user thread_network
- group thread_network inet system
- seclabel u:r:ot_daemon:s0
- override
diff --git a/service/Android.bp b/service/Android.bp
deleted file mode 100644
index a5aaa98..0000000
--- a/service/Android.bp
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-// Copyright (C) 2023 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"],
-}
-
-filegroup {
- name: "service-threadnetwork-srcs",
- srcs: [
- "java/**/*.java",
- ],
-}
-
-java_defaults {
- name: "service-threadnetwork-defaults",
- min_sdk_version: "current",
- errorprone: {
- javacflags: ["-Xep:CheckReturnValue:ERROR"],
- },
-}
-
-// service-threadnetwork static library
-// ==============================================================
-java_library {
- name: "service-threadnetwork",
- defaults: ["service-threadnetwork-defaults"],
- sdk_version: "system_server_current",
- installable: true,
- srcs: [ ":service-threadnetwork-srcs" ],
- visibility: [
- "//packages/modules/ThreadNetwork/apex",
- ],
- apex_available: [
- "com.android.threadnetwork",
- ],
-}
diff --git a/service/java/com/android/server/threadnetwork/ThreadNetworkService.java b/service/java/com/android/server/threadnetwork/ThreadNetworkService.java
deleted file mode 100644
index 641d06e..0000000
--- a/service/java/com/android/server/threadnetwork/ThreadNetworkService.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * Copyright (C) 2023 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 com.android.server.threadnetwork;
-
-/**
- * A placeholder java class: it doesn't build if there are no source files for
- * "service-threadnetwork" target.
- *
- * Should be replaced by the real service implementation soon.
- */
-public class ThreadNetworkService {
-
-}