No description. Add one?
  • Java 78%
  • Kotlin 11.8%
  • AIDL 4.4%
  • C++ 3.7%
  • C 1.5%
  • Other 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Kangping Dong a3c94d5273 [Thread] pre-grant all permissions for ThreadNetworkControllerServiceTest
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
2024-02-26 17:15:07 +08:00
bpf_progs eliminate some casts 2024-02-16 18:20:55 +00:00
clatd [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
common Merge "Move Nearby flags to common and add specify it in java_sdk_library" into main 2024-02-22 12:37:57 +00:00
Cronet [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
DnsResolver [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
framework Merge "Bump the required SDK level to U for isUidNetworkingBlocked" into main 2024-02-26 02:04:13 +00:00
framework-t Merge "Move Nearby flags to common and add specify it in java_sdk_library" into main 2024-02-22 12:37:57 +00:00
nearby Move Nearby flags to common and add specify it in java_sdk_library 2024-02-22 06:49:15 +00:00
netbpfload netbpfload: V+ x86 require 64-bit kernel 2024-02-17 03:47:52 +00:00
netd [DON'T BLOCK] Test ownership migration rules 2024-01-31 12:34:50 +00:00
remoteauth Replace use of deprecated logging functions 2024-02-05 07:47:42 +01:00
service Correct the method used for permission check 2024-02-26 03:08:22 +00:00
service-t Merge "Support TrafficStatsRateLimitCache" into main 2024-02-23 07:36:51 +00:00
staticlibs Merge "Use custom defined DNS/HTTP port" into main 2024-02-21 09:03:47 +00:00
tests Merge "Revert "Re-enable the tests for background restrictions"" into main 2024-02-26 08:11:07 +00:00
Tethering Update flags.aconfig to follow the current APIs 2024-02-19 06:58:35 +00:00
thread [Thread] pre-grant all permissions for ThreadNetworkControllerServiceTest 2024-02-26 17:15:07 +08:00
tools Add sdk_version to test libraries 2024-02-19 18:36:40 +00:00
.gitignore Ignores vim temporary files from git 2023-12-23 17:45:32 +08:00
OWNERS Move the owner of xfrm netlink source code to its own directory. 2023-11-22 18:50:00 +09:00
OWNERS_core_networking OWNERS: remove ex-employees 2024-01-22 22:24:54 +00:00
OWNERS_core_networking_xts Adjust owners for incremental NsdManager changes 2023-08-18 14:49:34 +09:00
PREUPLOAD.cfg Enable tethering to perform its own hidden API processing 2021-06-28 23:41:38 +01:00
TEST_MAPPING Remove TrafficController 2023-11-07 20:25:24 +09:00