- Feb 28, 2024
-
-
Joseph Murphy authored
This reverts commit 55648268. Reason for revert: DroidMonitor revert Change-Id: Idd86b0ceb18fc425c39fe3c75603a472568eabe1
-
Handa Wang authored
Previously we were using TUN test network which is not eligible for mDNS operations. The tests are flaky because we need to depend on other test cases to connect to WiFi, which is not guaranteed. We'll use the TAP test network to fix it. Bug: 327306555 Bug: 327306158 Bug: 327306608 Change-Id: Ia6de8a507578dbdeea4a7ceaf52f417acf35baa2
-
Yang Sun authored
-
Maciej Żenczykowski authored
-
Motomu Utsumi authored
-
Motomu Utsumi authored
-
Maciej Żenczykowski authored
should never fail, since we now have M-2024-1 module prebuilts: $ adb shell ls -d /apex/com.android.tethering* /apex/com.android.tethering /apex/com.android.tethering@341310230 Test: TreeHugger, manually on a Pixel device Signed-off-by:
Maciej Żenczykowski <maze@google.com> Change-Id: Ib145fba8e3c47bc300f4589723d9c80749770a19
-
Kangping Dong authored
-
Motomu Utsumi authored
-
Yang Sun authored
The multicast listening address from ot-daemon is maintained separately from the bbr state. When bbr changes from primary to secondary, there can still be subscribed addresses and should not be missed when switching back to primary mode. So instead of sending address add/remove events from ot-daemon and maintain the list in system server, ot-daemon will send full list of addresses together with the multicast routing enablement state each time there is an update to the bbr state or listening addresses. Bug: 321624274 Test: atest ThreadNetworkIntegrationTests Change-Id: Ic9ce77bb7fdeacf2def216cf9bcd44095083a992
-
Kangping Dong authored
-
Suprabh Shukla authored
-
Motomu Utsumi authored
testSampleConnectivityState was flaky since sometimes networks were disconnected before ConnectivityService#sampleConnectivityState generates metrics This CL fixes this issue by adding setKeepConnectedReason to prevent networks are disconnected Bug: 318546530 Test: TH Change-Id: I824f5cd379c8144b48341cc0fd18eb976a4b1cde
-
- Feb 27, 2024
-
-
Suprabh Shukla authored
36a8ecbb Bug: 304347838 Change-Id: I6f8b20e65539a7523db6a7a9d92444dec0523d10
-
Yan Yan authored
-
Nagendra Prasad Nagarle Basavaraju authored
-
Motomu Utsumi authored
Upcoming change will make subIds public and not redacted but this change will make cts fail. So this CL updates test to be compatible with current code and code with planned changes. After the current cts support window is over, subIds can be public. Bug: 324357121 Test: TH, TH with aosp/2969321 Change-Id: I45d39f5bc3b1c4af26cc990ce29b45e9ad7d3c3c
-
Kangping Dong authored
Background: go/mcts-design Bug: 327091762 Change-Id: I5c4f7c33579a84626bcc3f662b9658c646eefbf5
-
Yang Sun authored
-
Yang Sun authored
-
- Feb 26, 2024
-
-
Nagendra Prasad Nagarle Basavaraju authored
-
Nagendra Prasad Nagarle Basavaraju authored
- Allow adding two non test transports i.e. satellite and cellular at setNetworkSpecifier, to receive network requests related to satellite transport capabilities Bug: 324347502 Test: atest FrameworksNetTests Change-Id: I03a3d701e214792184bacfe5b5b59cdef61d555e
-
Nagendra Prasad Nagarle Basavaraju authored
- onRoleHoldersChanged & onRoleSmsChanged handling for multiple Users - Different satelliteNetworkFallbackUids cache for each user. - Merging uid of each user cache and sending for Multi Layer request - check SATELLITE_COMMUNICATION permission based package manager context at different UserHandle Bug: 324347502 Test: atest FrameworksNetTests Change-Id: If98524ec7846909d70db3e962e2a11c912768551
-
Kangping Dong authored
Existing ThreadNetworkControllerService tests are using RunAsShell to grant the permissions for indivitual APIs. Given the permission checks are tested in the CTS tests, this is not very useful with the overhead of complicating the testing code. Instead, this CL grants all the permissions in setUp() with spy-ed Context. This commit also fixes the issue in b/326793058 that the tests doesn't run on a U device where the THREAD_NETWORK_PRIVILEGED permission doesn't exist. Bug: 326793058 Test: m ThreadNetworkUnitTests Change-Id: I477cf30d737969ccf12180eae48d3b8fd6ed4a51
-
Suprabh Shukla authored
-
Chiachang Wang authored
-
Chiachang Wang authored
-
Yang Sun authored
Added E2E test cases to verify that packets from Thread network with link-local/mesh-local source address to multicast group with scope larger than realm-local are not forwarded to infra link. Bug: 325770316 Test: atest ThreadNetworkIntegrationTests:android.net.thread.BorderRoutingTest Change-Id: I77cb8dbc43d0a2d6936a2a4db45e9dea541ea3c0
-
Yang Sun authored
Added E2E test for Thread multicast routing. Bug: 320616891 Test: atest ThreadNetworkIntegrationTests:android.net.thread.BorderRoutingTest Change-Id: Icbaa9f6645080bd1a0a95ddc7902b9a468dd0088
-
Kangping Dong authored
This commit also moves Thread flags to Connectivity/common to ease maintenance. Test: m framework-connectivity-t Bug: 317290555 Merged-In: I50f3d3b8205a5a9ee8154a649318a2c175edbb71 Merged-In: I8a71f4ee49cc68a9512f432e454469200f2a5058 Change-Id: I8a71f4ee49cc68a9512f432e454469200f2a5058
-
Chiachang Wang authored
The hasNetworkStackPermission() method does not enfore the permission check. It should be replaced with enforceNetworkStackPermission(). Bug: 325984919 Test: atest FrameworksNetTests Change-Id: I9ad0b47190dbc9afd2ee6f5dfc21a4935036733a
-
Chiachang Wang authored
Test: atest FrameworksNetTests Bug: 325984919 Change-Id: If76a216eca8527b4a7a7f7776d09f66e62daea06
-
Zhanglong Xia authored
-
Junyu Lai authored
-
- Feb 23, 2024
-
-
Suprabh Shukla authored
Revert submission 2970571-turn-on-network-restrictions Reason for revert: b/326370901 Reverted changes: /q/submissionid:2970571-turn-on-network-restrictions Change-Id: I6d38da59ac979af3a600ba695de2890e2d4c7bb0
-
Junyu Lai authored
-
Zhanglong Xia authored
The API `createRandomizedDataset()` randomly selects a channel between channel 11 and 26. But not all countries support channels between 11 and 26. This CL selects random channel from the preferred channel mask if the preferred channel mask is not 0, otherwise choose one from the supported channel mask. Bug:b/308310823 Test: atest ThreadNetworkUnitTests && atest CtsThreadNetworkTestCases Change-Id: I6add3edc7e4fa888c46b57c4463ab18e0aa84e80
-
- Feb 22, 2024
-
-
Paul Hu authored
* changes: Add CTS test for Multipacket Known-Answer Suppression Add CTS test for Known-Answer Suppression
-
Yahav Nussbaum authored
-
Junyu Lai authored
This change is a follow-up from aosp/2970991. The kernel bug can trigger crashes on some T devices. Therefore, bumping the required API level is necessary. No CTS modification since the check doesn't exist in pre-U CTS releases. Test: atest CtsHostsideNetworkTests:com.android.cts.net.HostsideNetworkCallbackTests Bug: 326143935 Change-Id: I63796f25315ee9f966dd5bf0afd2240b1ed456e1
-