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
Junyu Lai a80fd3deba try-catch when calling createContextAsUser
There is no safe way to invoke this method correctly since the
package might not be installed for certain user type by OEM.

Thus, improve error handling and logging into WTF counter metrics.

Test: Manual:
  1. Use internal main branch
  2. Modify xml under vendor/google/data/etc/sysconfig to
     configure tethering only installs on the SYSTEM user
  3. Mock the device as entitlement required (ag/29664886)
  4. Create a secondary user which has the permission to
     enable tethering (go/hsum)
  5. adb shell pm list packages --user 10 | grep tether
  6. m statsd_testdrive && statsd_testdrive -e 979
  7. Enable tethering
Test: atest TetheringTests:EntitlementManagerTest
Bug: 382628161
Change-Id: I233cad672e41d2b4687e53e61b93dcea9eb07817
2025-01-22 11:22:59 +08:00
bpf bpf: Test bitmap open (duplicates GTS) 2024-12-18 13:49:45 -08:00
clatd Fix a function pointer type mismatch for C23. 2024-12-18 11:22:10 -08:00
common Merge "Export com.android.net.flags for wifi apex" into main 2024-12-18 18:56:14 -08:00
framework Add reserveNetwork API 2024-12-22 22:01:22 -08:00
framework-t Add API for FLAG_SKIP_PROBING 2024-12-24 16:00:53 +09:00
nearby Use @SdkSuppress in BluetoothFinder tests, now that Build.VERSION_CODES.VANILLA_ICE_CREAM is avilable. am: 79f907d195 2024-12-12 11:00:14 -08:00
networksecurity Add logging of cause of failure when the log list fails to update 2024-12-23 17:15:00 +00:00
remoteauth Merge "Use LazyLock rather than lazy_static macro." into main 2024-09-11 17:46:22 +00:00
service Add reserveNetwork API 2024-12-22 22:01:22 -08:00
service-b Conditionally include VCN in Tethering module 2024-12-09 12:04:12 -08:00
service-t Merge "Remove the transactionId field" into main 2024-12-24 21:22:07 -08:00
staticlibs Merge "Revert "Use timerfd to improve the accuracy of query timing"" into main 2024-12-24 05:15:27 -08:00
tests Merge "Remove the transactionId field" into main 2024-12-24 21:22:07 -08:00
Tethering try-catch when calling createContextAsUser 2025-01-22 11:22:59 +08:00
thread Enable ThreadNetworkDemoApp for TV launcher 2024-12-16 22:57:58 -08:00
tools Remove dependencies on the 1-variant fallback 2024-10-22 16:31:00 -07: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 Mark Martin as LAST_RESORT_SUGGESTION 2024-09-26 22:29:48 +00:00
OWNERS_core_networking_xts Add "no-op refactors" reviews for delegated reviewers 2024-06-20 06:29:09 +00:00
PREUPLOAD.cfg Disable ktfmt and rely solely on ktlint for Kotlin linting 2024-12-13 12:29:19 +09:00
TEST_MAPPING Add CtsNetTestCasesUpdateStatsPermission to automotive-mumd-presubmit 2024-11-26 23:29:10 +00:00