[DON'T BLOCK] Test ownership migration rules

This CL is created as a best effort to migrate test targets
to the new android ownership model. If you find incorrect or unnecessary
attribution in this CL, please create a separate CL to fix that.

For more details please refer to the link below,
<add g3 doc link>

Bug: 304529413
Test: N/A
(cherry picked from https://android-review.googlesource.com/q/commit:a8ac702eb268d687d089ba218926ae6b17cda33c)

Change-Id: I243f17b3f0ad7af9ffa15ca242456e36688733f5
Merged-In: I243f17b3f0ad7af9ffa15ca242456e36688733f5
This commit is contained in:
Aditya Choudhary 2024-01-31 11:08:57 +00:00
parent 5d787936cf
commit 985604c94f
88 changed files with 239 additions and 109 deletions

View file

@ -17,6 +17,7 @@
// They must be fast and stable, and exercise public or test APIs.
package {
default_team: "trendy_team_fwk_core_networking",
// See: http://go/android-license-faq
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -46,7 +47,9 @@ android_library {
"framework-connectivity",
"org.apache.http.legacy",
],
lint: { test: true }
lint: {
test: true,
},
}
android_test {

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
// See: http://go/android-license-faq
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -14,6 +14,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -56,7 +57,10 @@ cc_library {
cc_test {
name: "dns_helper_unit_test",
defaults: ["netd_defaults"],
test_suites: ["general-tests", "mts-tethering"],
test_suites: [
"general-tests",
"mts-tethering",
],
test_config_template: ":net_native_test_config_template",
header_libs: [
"bpf_connectivity_headers",
@ -68,8 +72,8 @@ cc_test {
"libcom.android.tethering.dns_helper",
],
shared_libs: [
"libbase",
"libcutils",
"libbase",
"libcutils",
],
compile_multilib: "both",
multilib: {

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -92,7 +93,7 @@ apex {
both: {
jni_libs: [
"libframework-connectivity-jni",
"libframework-connectivity-tiramisu-jni"
"libframework-connectivity-tiramisu-jni",
],
},
},

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
default_visibility: ["//packages/modules/Connectivity/Tethering:__subpackages__"],
}
@ -22,4 +23,4 @@ package {
filegroup {
name: "privapp_allowlist_com.android.tethering",
srcs: ["permissions.xml"],
}
}

View file

@ -14,6 +14,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -55,14 +56,16 @@ java_sdk_library {
hostdex: true, // for hiddenapi check
permitted_packages: ["android.net"],
lint: { strict_updatability_linting: true },
lint: {
strict_updatability_linting: true,
},
}
java_library {
name: "framework-tethering-pre-jarjar",
defaults: [
"framework-tethering-defaults",
],
name: "framework-tethering-pre-jarjar",
defaults: [
"framework-tethering-defaults",
],
}
java_genrule {
@ -88,7 +91,7 @@ java_defaults {
name: "framework-tethering-defaults",
defaults: ["framework-module-defaults"],
srcs: [
":framework-tethering-srcs"
":framework-tethering-srcs",
],
libs: ["framework-connectivity.stubs.module_lib"],
aidl: {
@ -107,5 +110,5 @@ filegroup {
"src/**/*.aidl",
"src/**/*.java",
],
path: "src"
path: "src",
}

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -24,5 +25,5 @@ filegroup {
visibility: [
"//packages/modules/Connectivity/tests:__subpackages__",
"//packages/modules/Connectivity/Tethering/tests:__subpackages__",
]
],
}

View file

@ -14,6 +14,7 @@
// limitations under the License.
//
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -50,7 +51,7 @@ android_library {
visibility: [
"//packages/modules/Connectivity/Tethering/tests/mts",
"//packages/modules/Connectivity/tests/cts/net",
]
],
}
// Library including tethering integration tests targeting the latest stable SDK.
@ -67,7 +68,7 @@ android_library {
"//packages/modules/Connectivity/tests/cts/tethering",
"//packages/modules/Connectivity/tests:__subpackages__",
"//packages/modules/Connectivity/Tethering/tests:__subpackages__",
]
],
}
// Library including tethering integration tests targeting current development SDK.
@ -83,7 +84,7 @@ android_library {
visibility: [
"//packages/modules/Connectivity/tests/cts/tethering",
"//packages/modules/Connectivity/Tethering/tests/mts",
]
],
}
// TODO: remove because TetheringIntegrationTests has been covered by ConnectivityCoverageTests.

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -16,6 +16,7 @@
// Tests in this folder are included both in unit tests and CTS.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -23,7 +24,7 @@ java_library {
name: "TetheringCommonTests",
srcs: [
"common/**/*.java",
"common/**/*.kt"
"common/**/*.kt",
],
static_libs: [
"androidx.test.rules",
@ -95,7 +96,7 @@ android_library {
visibility: [
"//packages/modules/Connectivity/tests:__subpackages__",
"//packages/modules/Connectivity/Tethering/tests:__subpackages__",
]
],
}
android_test {

View file

@ -18,6 +18,7 @@
// struct definitions shared with JNI
//
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -1,4 +1,5 @@
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["external_android-clat_license"],
}
@ -54,7 +55,7 @@ cc_binary {
defaults: ["clatd_defaults"],
srcs: [
":clatd_common",
"main.c"
"main.c",
],
static_libs: [
"libip_checksum",
@ -101,7 +102,7 @@ cc_test {
defaults: ["clatd_defaults"],
srcs: [
":clatd_common",
"clatd_test.cpp"
"clatd_test.cpp",
],
static_libs: [
"libbase",

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_core_networking",
// See: http://go/android-license-faq
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_core_networking",
// See: http://go/android-license-faq
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -34,6 +35,7 @@ java_defaults {
name: "enable-framework-connectivity-t-targets",
enabled: true,
}
// The above defaults can be used to disable framework-connectivity t
// targets while minimizing merge conflicts in the build rules.

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_core_networking",
// See: http://go/android-license-faq
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -12,6 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -41,4 +42,4 @@ java_library {
apex_available: [
"com.android.tethering",
],
}
}

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -14,6 +14,10 @@
// limitations under the License.
//
package {
default_team: "trendy_team_fwk_core_networking",
}
cc_binary {
name: "netbpfload",

View file

@ -14,6 +14,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -58,15 +59,18 @@ cc_library {
cc_test {
name: "netd_updatable_unit_test",
defaults: ["netd_defaults"],
test_suites: ["general-tests", "mts-tethering"],
test_suites: [
"general-tests",
"mts-tethering",
],
test_config_template: ":net_native_test_config_template",
require_root: true, // required by setrlimitForTest()
require_root: true, // required by setrlimitForTest()
header_libs: [
"bpf_connectivity_headers",
],
srcs: [
"BpfHandlerTest.cpp",
"BpfBaseTest.cpp"
"BpfBaseTest.cpp",
],
static_libs: [
"libbase",

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -1,4 +1,5 @@
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_core_networking",
// See: http://go/android-license-faq
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -57,9 +58,12 @@ cc_library {
cc_test {
name: "libnetworkstats_test",
test_suites: ["general-tests", "mts-tethering"],
test_suites: [
"general-tests",
"mts-tethering",
],
test_config_template: ":net_native_test_config_template",
require_root: true, // required by setrlimitForTest()
require_root: true, // required by setrlimitForTest()
header_libs: ["bpf_connectivity_headers"],
srcs: [
"BpfNetworkStatsTest.cpp",

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_core_networking",
// See: http://go/android-license-faq
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -16,6 +16,7 @@
// APK to hold all the wifi overlayable resources.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_core_networking",
// See: http://go/android-license-faq
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -38,7 +39,10 @@ cc_library_static {
cc_test {
name: "libclat_test",
defaults: ["netd_defaults"],
test_suites: ["general-tests", "mts-tethering"],
test_suites: [
"general-tests",
"mts-tethering",
],
test_config_template: ":net_native_test_config_template",
srcs: [
"clatutils_test.cpp",

View file

@ -28,34 +28,35 @@
// though they are not in the current.txt files.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
java_library {
name: "net-utils-device-common",
srcs: [
"device/com/android/net/module/util/arp/ArpPacket.java",
"device/com/android/net/module/util/DeviceConfigUtils.java",
"device/com/android/net/module/util/DomainUtils.java",
"device/com/android/net/module/util/FdEventsReader.java",
"device/com/android/net/module/util/NetworkMonitorUtils.java",
"device/com/android/net/module/util/PacketReader.java",
"device/com/android/net/module/util/SharedLog.java",
"device/com/android/net/module/util/SocketUtils.java",
"device/com/android/net/module/util/FeatureVersions.java",
"device/com/android/net/module/util/HandlerUtils.java",
// This library is used by system modules, for which the system health impact of Kotlin
// has not yet been evaluated. Annotations may need jarjar'ing.
// "src_devicecommon/**/*.kt",
],
sdk_version: "module_current",
min_sdk_version: "30",
target_sdk_version: "30",
apex_available: [
"//apex_available:anyapex",
"//apex_available:platform",
],
visibility: [
name: "net-utils-device-common",
srcs: [
"device/com/android/net/module/util/arp/ArpPacket.java",
"device/com/android/net/module/util/DeviceConfigUtils.java",
"device/com/android/net/module/util/DomainUtils.java",
"device/com/android/net/module/util/FdEventsReader.java",
"device/com/android/net/module/util/NetworkMonitorUtils.java",
"device/com/android/net/module/util/PacketReader.java",
"device/com/android/net/module/util/SharedLog.java",
"device/com/android/net/module/util/SocketUtils.java",
"device/com/android/net/module/util/FeatureVersions.java",
"device/com/android/net/module/util/HandlerUtils.java",
// This library is used by system modules, for which the system health impact of Kotlin
// has not yet been evaluated. Annotations may need jarjar'ing.
// "src_devicecommon/**/*.kt",
],
sdk_version: "module_current",
min_sdk_version: "30",
target_sdk_version: "30",
apex_available: [
"//apex_available:anyapex",
"//apex_available:platform",
],
visibility: [
"//frameworks/base/packages/Tethering",
"//packages/modules/Connectivity:__subpackages__",
"//packages/modules/Connectivity/framework:__subpackages__",
@ -65,26 +66,26 @@ java_library {
"//frameworks/opt/net/telephony",
"//packages/modules/NetworkStack:__subpackages__",
"//packages/modules/CaptivePortalLogin",
],
static_libs: [
"net-utils-framework-common",
],
libs: [
"androidx.annotation_annotation",
"framework-annotations-lib",
"framework-configinfrastructure",
"framework-connectivity.stubs.module_lib",
],
lint: {
strict_updatability_linting: true,
error_checks: ["NewApi"],
},
],
static_libs: [
"net-utils-framework-common",
],
libs: [
"androidx.annotation_annotation",
"framework-annotations-lib",
"framework-configinfrastructure",
"framework-connectivity.stubs.module_lib",
],
lint: {
strict_updatability_linting: true,
error_checks: ["NewApi"],
},
}
java_defaults {
name: "lib_mockito_extended",
static_libs: [
"mockito-target-extended-minus-junit4"
"mockito-target-extended-minus-junit4",
],
jni_libs: [
"libdexmakerjvmtiagent",
@ -95,12 +96,12 @@ java_defaults {
java_library {
name: "net-utils-dnspacket-common",
srcs: [
"framework/**/DnsPacket.java",
"framework/**/DnsPacketUtils.java",
"framework/**/DnsSvcbPacket.java",
"framework/**/DnsSvcbRecord.java",
"framework/**/HexDump.java",
"framework/**/NetworkStackConstants.java",
"framework/**/DnsPacket.java",
"framework/**/DnsPacketUtils.java",
"framework/**/DnsSvcbPacket.java",
"framework/**/DnsSvcbRecord.java",
"framework/**/HexDump.java",
"framework/**/NetworkStackConstants.java",
],
sdk_version: "module_current",
visibility: [
@ -464,10 +465,10 @@ filegroup {
filegroup {
name: "net-utils-wifi-service-common-srcs",
srcs: [
"device/android/net/NetworkFactory.java",
"device/android/net/NetworkFactoryImpl.java",
"device/android/net/NetworkFactoryLegacyImpl.java",
"device/android/net/NetworkFactoryShim.java",
"device/android/net/NetworkFactory.java",
"device/android/net/NetworkFactoryImpl.java",
"device/android/net/NetworkFactoryLegacyImpl.java",
"device/android/net/NetworkFactoryShim.java",
],
visibility: [
"//frameworks/opt/net/wifi/service",

View file

@ -1,4 +1,5 @@
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -10,17 +11,17 @@ java_library {
apex_available: [
"//apex_available:platform",
"com.android.tethering",
"com.android.wifi"
"com.android.wifi",
],
visibility: [
"//packages/modules/Connectivity:__subpackages__",
"//frameworks/base/services:__subpackages__",
"//frameworks/base/packages:__subpackages__",
"//packages/modules/Wifi/service:__subpackages__"
"//packages/modules/Wifi/service:__subpackages__",
],
libs: ["androidx.annotation_annotation"],
static_libs: [
"netd_aidl_interface-lateststable-java",
"netd_event_listener_interface-lateststable-java"
]
"netd_event_listener_interface-lateststable-java",
],
}

View file

@ -1,4 +1,5 @@
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -26,7 +27,7 @@ android_library {
"//packages/modules/Connectivity/tests:__subpackages__",
"//packages/modules/Connectivity/Tethering/tests:__subpackages__",
"//packages/modules/NetworkStack/tests/integration",
]
],
}
android_test {

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -1,4 +1,5 @@
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -22,7 +23,10 @@ cc_library {
"Utils.cpp",
],
defaults: ["netd_defaults"],
cflags: ["-Wall", "-Werror"],
cflags: [
"-Wall",
"-Werror",
],
shared_libs: [
"libbase",
"liblog",

View file

@ -3,12 +3,16 @@
//########################################################################
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_library {
name: "NetworkStaticLibTestsLib",
srcs: ["src/**/*.java","src/**/*.kt"],
srcs: [
"src/**/*.java",
"src/**/*.kt",
],
min_sdk_version: "30",
defaults: ["framework-connectivity-test-defaults"],
static_libs: [
@ -35,7 +39,7 @@ android_library {
],
lint: {
strict_updatability_linting: true,
test: true
test: true,
},
}
@ -52,5 +56,7 @@ android_test {
],
jarjar_rules: "jarjar-rules.txt",
test_suites: ["device-tests"],
lint: { strict_updatability_linting: true },
lint: {
strict_updatability_linting: true,
},
}

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -24,11 +25,11 @@ java_library {
],
defaults: [
"framework-connectivity-test-defaults",
"lib_mockito_extended"
"lib_mockito_extended",
],
libs: [
"androidx.annotation_annotation",
"net-utils-device-common-bpf", // TestBpfMap extends IBpfMap.
"net-utils-device-common-bpf", // TestBpfMap extends IBpfMap.
],
static_libs: [
"androidx.test.ext.junit",
@ -42,7 +43,9 @@ java_library {
"net-utils-device-common-wear",
"modules-utils-build_system",
],
lint: { strict_updatability_linting: true },
lint: {
strict_updatability_linting: true,
},
}
java_library {
@ -72,9 +75,11 @@ java_library {
"jsr305",
],
static_libs: [
"kotlin-test"
"kotlin-test",
],
lint: { strict_updatability_linting: true },
lint: {
strict_updatability_linting: true,
},
}
java_test_host {

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -30,5 +31,7 @@ android_test_helper_app {
"net-tests-utils",
],
host_required: ["net-tests-utils-host-common"],
lint: { strict_updatability_linting: true },
lint: {
strict_updatability_linting: true,
},
}

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_core_networking",
// See: http://go/android-license-faq
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -40,4 +41,3 @@ android_test {
test_suites: ["device-tests"],
jarjar_rules: ":connectivity-jarjar-rules",
}

View file

@ -17,6 +17,7 @@
// Tests in this folder are included both in unit tests and CTS.
// They must be fast and stable, and exercise public or test APIs.
package {
default_team: "trendy_team_fwk_core_networking",
// See: http://go/android-license-faq
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -93,7 +94,10 @@ android_test {
name: "ConnectivityCoverageTests",
// Tethering started on SDK 30
min_sdk_version: "30",
test_suites: ["general-tests", "mts-tethering"],
test_suites: [
"general-tests",
"mts-tethering",
],
defaults: [
"ConnectivityTestsLatestSdkDefaults",
"framework-connectivity-internal-test-defaults",
@ -185,7 +189,7 @@ java_defaults {
// See SuiteModuleLoader.java.
// TODO: why are the modules separated by + instead of being separate entries in the array?
mainline_presubmit_modules = [
"CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex",
"CaptivePortalLoginGoogle.apk+NetworkStackGoogle.apk+com.google.android.resolv.apex+com.google.android.tethering.apex",
]
cc_defaults {

View file

@ -23,6 +23,7 @@ next_app_data = []
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -45,7 +46,7 @@ java_test_host {
"general-tests",
"mcts-tethering",
"mts-tethering",
"sts"
"sts",
],
data: [
":CtsHostsideNetworkTestsApp",

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -1,4 +1,5 @@
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -39,8 +40,8 @@ java_defaults {
android_test_helper_app {
name: "CtsHostsideNetworkCapTestsAppWithoutProperty",
defaults: [
"cts_support_defaults",
"CtsHostsideNetworkCapTestsAppDefaults"
"cts_support_defaults",
"CtsHostsideNetworkCapTestsAppDefaults",
],
manifest: "AndroidManifestWithoutProperty.xml",
}
@ -48,8 +49,8 @@ android_test_helper_app {
android_test_helper_app {
name: "CtsHostsideNetworkCapTestsAppWithProperty",
defaults: [
"cts_support_defaults",
"CtsHostsideNetworkCapTestsAppDefaults"
"cts_support_defaults",
"CtsHostsideNetworkCapTestsAppDefaults",
],
manifest: "AndroidManifestWithProperty.xml",
}
@ -57,8 +58,8 @@ android_test_helper_app {
android_test_helper_app {
name: "CtsHostsideNetworkCapTestsAppSdk33",
defaults: [
"cts_support_defaults",
"CtsHostsideNetworkCapTestsAppDefaults"
"cts_support_defaults",
"CtsHostsideNetworkCapTestsAppDefaults",
],
target_sdk_version: "33",
manifest: "AndroidManifestWithoutProperty.xml",

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -69,7 +70,7 @@ java_defaults {
data: [
":ConnectivityTestPreparer",
":CtsCarrierServicePackage",
]
],
}
// Networking CTS tests for development and release. These tests always target the platform SDK

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -15,6 +15,7 @@
// Build the unit tests.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -1,4 +1,5 @@
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -16,12 +16,16 @@
// Common utilities for cts net tests.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
java_library {
name: "cts-net-utils",
srcs: ["java/**/*.java", "java/**/*.kt"],
srcs: [
"java/**/*.java",
"java/**/*.kt",
],
static_libs: [
"compatibility-device-util-axt",
"junit",

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_core_networking",
// See: http://go/android-license-faq
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_core_networking",
// See: http://go/android-license-faq
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -74,7 +75,10 @@ android_test {
java_library {
name: "frameworks-net-integration-testutils",
defaults: ["framework-connectivity-test-defaults"],
srcs: ["util/**/*.java", "util/**/*.kt"],
srcs: [
"util/**/*.java",
"util/**/*.kt",
],
static_libs: [
"androidx.annotation_annotation",
"androidx.test.rules",

View file

@ -14,6 +14,7 @@
//
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -38,5 +39,5 @@ cc_test {
"bpf_existence_test.cpp",
],
compile_multilib: "first",
min_sdk_version: "30", // Ensure test runs on R and above.
min_sdk_version: "30", // Ensure test runs on R and above.
}

View file

@ -1,4 +1,5 @@
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -14,6 +14,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_core_networking",
default_applicable_licenses: ["Android-Apache-2.0"],
}
@ -21,7 +22,7 @@ cc_test_library {
name: "libconnectivity_native_test_utils",
defaults: [
"netd_defaults",
"resolv_test_defaults"
"resolv_test_defaults",
],
srcs: [
"firewall.cpp",

View file

@ -10,6 +10,7 @@
// TODO: remove this hack when there is a better solution for jni_libs that includes
// dependent libraries.
package {
default_team: "trendy_team_fwk_core_networking",
// See: http://go/android-license-faq
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -2,6 +2,7 @@
// Build FrameworksNetTests package
//########################################################################
package {
default_team: "trendy_team_fwk_core_networking",
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "Android-Apache-2.0"
@ -73,7 +74,7 @@ filegroup {
"java/com/android/server/connectivity/NetdEventListenerServiceTest.java",
"java/com/android/server/connectivity/VpnTest.java",
"java/com/android/server/net/ipmemorystore/*.java",
]
],
}
// Subset of services-core used to by ConnectivityService tests to test VPN realistically.
@ -115,7 +116,7 @@ java_defaults {
"service-connectivity-tiramisu-pre-jarjar",
"services.core-vpn",
"testables",
"cts-net-utils"
"cts-net-utils",
],
libs: [
"android.net.ipsec.ike.stubs.module_lib",

View file

@ -1,4 +1,5 @@
package {
default_team: "trendy_team_fwk_core_networking",
// See: http://go/android-license-faq
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_thread_network",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -13,6 +13,7 @@
// limitations under the License.
package {
default_team: "trendy_team_fwk_thread_network",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_thread_network",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_thread_network",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_thread_network",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_thread_network",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_thread_network",
default_applicable_licenses: ["Android-Apache-2.0"],
}

View file

@ -15,6 +15,7 @@
//
package {
default_team: "trendy_team_fwk_core_networking",
// See: http://go/android-license-faq
default_applicable_licenses: ["Android-Apache-2.0"],
}