ethernet-service is going to be moved into Connectivity mainline module.
Notice that below sources are also only used in the ethernet framework
during compiling the filegroup: framework-connectivity-ethernet-sources.
Move them from f/b to f/b/packages/ConnectivityT as well.
Ethernet framework only related files:
- IInternalNetworkManagementListener.aidl
- InternalNetworkManagementException.java
- InternalNetworkManagementException.aidl
- InternalNetworkUpdateRequest.java
- InternalNetworkUpdateRequest.aidl
Ethernet service only related files:
- DelayedDiskWrite.java(IpConfigStore imports this class)
Bug: 210586283
Test: build pass
atest FrameworksNetTests
atest EthernetServiceTests
Change-Id: I1ec2d1d182c04f3f2acc9b757d5061ca749a4a3c
179 lines
4.8 KiB
Plaintext
179 lines
4.8 KiB
Plaintext
//
|
|
// 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 {
|
|
// See: http://go/android-license-faq
|
|
default_applicable_licenses: ["Android-Apache-2.0"],
|
|
}
|
|
|
|
// NetworkStats related libraries.
|
|
|
|
filegroup {
|
|
name: "framework-connectivity-netstats-internal-sources",
|
|
srcs: [
|
|
"src/android/app/usage/*.java",
|
|
"src/android/net/DataUsageRequest.*",
|
|
"src/android/net/INetworkStatsService.aidl",
|
|
"src/android/net/INetworkStatsSession.aidl",
|
|
"src/android/net/NetworkIdentity.java",
|
|
"src/android/net/NetworkIdentitySet.java",
|
|
"src/android/net/NetworkStateSnapshot.*",
|
|
"src/android/net/NetworkStats.*",
|
|
"src/android/net/NetworkStatsAccess.*",
|
|
"src/android/net/NetworkStatsCollection.*",
|
|
"src/android/net/NetworkStatsHistory.*",
|
|
"src/android/net/NetworkTemplate.*",
|
|
"src/android/net/TrafficStats.java",
|
|
"src/android/net/UnderlyingNetworkInfo.*",
|
|
"src/android/net/netstats/**/*.*",
|
|
"src/com/android/server/NetworkManagementSocketTagger.java",
|
|
],
|
|
path: "src",
|
|
visibility: [
|
|
"//visibility:private",
|
|
],
|
|
}
|
|
|
|
filegroup {
|
|
name: "framework-connectivity-netstats-aidl-export-sources",
|
|
srcs: [
|
|
"aidl-export/android/net/NetworkStats.aidl",
|
|
"aidl-export/android/net/NetworkTemplate.aidl",
|
|
],
|
|
path: "aidl-export",
|
|
visibility: [
|
|
"//visibility:private",
|
|
],
|
|
}
|
|
|
|
filegroup {
|
|
name: "framework-connectivity-netstats-sources",
|
|
srcs: [
|
|
":framework-connectivity-netstats-internal-sources",
|
|
":framework-connectivity-netstats-aidl-export-sources",
|
|
],
|
|
visibility: [
|
|
"//visibility:private",
|
|
],
|
|
}
|
|
|
|
// Nsd related libraries.
|
|
|
|
filegroup {
|
|
name: "framework-connectivity-nsd-internal-sources",
|
|
srcs: [
|
|
"src/android/net/nsd/*.aidl",
|
|
"src/android/net/nsd/*.java",
|
|
],
|
|
path: "src",
|
|
visibility: [
|
|
"//visibility:private",
|
|
],
|
|
}
|
|
|
|
filegroup {
|
|
name: "framework-connectivity-nsd-aidl-export-sources",
|
|
srcs: [
|
|
"aidl-export/android/net/nsd/*.aidl",
|
|
],
|
|
path: "aidl-export",
|
|
visibility: [
|
|
"//visibility:private",
|
|
],
|
|
}
|
|
|
|
filegroup {
|
|
name: "framework-connectivity-nsd-sources",
|
|
srcs: [
|
|
":framework-connectivity-nsd-internal-sources",
|
|
":framework-connectivity-nsd-aidl-export-sources",
|
|
],
|
|
visibility: [
|
|
"//visibility:private",
|
|
],
|
|
}
|
|
|
|
// IpSec related libraries.
|
|
|
|
filegroup {
|
|
name: "framework-connectivity-ipsec-sources",
|
|
srcs: [
|
|
"src/android/net/IIpSecService.aidl",
|
|
"src/android/net/IpSec*.*",
|
|
],
|
|
path: "src",
|
|
visibility: [
|
|
"//visibility:private",
|
|
],
|
|
}
|
|
|
|
// Ethernet related libraries.
|
|
|
|
filegroup {
|
|
name: "framework-connectivity-ethernet-sources",
|
|
srcs: [
|
|
"src/android/net/EthernetManager.java",
|
|
"src/android/net/EthernetNetworkSpecifier.java",
|
|
"src/android/net/IEthernetManager.aidl",
|
|
"src/android/net/IEthernetServiceListener.aidl",
|
|
"src/android/net/IInternalNetworkManagementListener.aidl",
|
|
"src/android/net/InternalNetworkUpdateRequest.java",
|
|
"src/android/net/InternalNetworkUpdateRequest.aidl",
|
|
"src/android/net/InternalNetworkManagementException.java",
|
|
"src/android/net/InternalNetworkManagementException.aidl",
|
|
"src/android/net/ITetheredInterfaceCallback.aidl",
|
|
],
|
|
path: "src",
|
|
visibility: [
|
|
"//visibility:private",
|
|
],
|
|
}
|
|
|
|
// Connectivity-T common libraries.
|
|
|
|
filegroup {
|
|
name: "framework-connectivity-tiramisu-internal-sources",
|
|
srcs: [
|
|
"src/android/net/ConnectivityFrameworkInitializerTiramisu.java",
|
|
],
|
|
path: "src",
|
|
visibility: [
|
|
"//visibility:private",
|
|
],
|
|
}
|
|
|
|
filegroup {
|
|
name: "framework-connectivity-tiramisu-sources",
|
|
srcs: [
|
|
":framework-connectivity-ethernet-sources",
|
|
":framework-connectivity-ipsec-sources",
|
|
":framework-connectivity-netstats-sources",
|
|
],
|
|
visibility: ["//frameworks/base"],
|
|
}
|
|
|
|
filegroup {
|
|
name: "framework-connectivity-tiramisu-updatable-sources",
|
|
srcs: [
|
|
":framework-connectivity-nsd-sources",
|
|
":framework-connectivity-tiramisu-internal-sources",
|
|
],
|
|
visibility: [
|
|
"//frameworks/base",
|
|
"//packages/modules/Connectivity:__subpackages__",
|
|
],
|
|
}
|