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
Motomu Utsumi ed4e7ec954 Update the logic of isFeatureEnabled and isFeatureNotChickenedOut
If the flag value is unset or 0, isFeatureEnabled return false and
isFeatureNotChickenedOut return true.
If the flag value is -1 (force disable), both return false.
If the flag value is other values, both query the package version and
return `flagValue <= packageVersion`

Now the only difference is a default behavior when the flag is not set
or 0.
So isFeatureEnabled and isFeatureNotChickenedOut can use the same flag.

This CL also fixes the issue in rollback.
Before this CL, isFeatureNotChickenedOut did not check the module
version and could have a issue if there is a rollback.

Test: NetworkStaticLibsTests
Bug: 279108992
Change-Id: I12d6ebadff3aee7b7c614aca4eb0a34ef0db9857
2023-09-27 17:30:01 +09:00
bpf_progs [Refactor] Make uid owner match comparison logic into a function 2023-09-17 00:11:48 +08:00
clatd remove clatd OWNERS 2023-09-12 11:48:34 -07:00
common Connectivity: bump min sdk 29(Q) to 30(R) 2023-06-15 00:22:48 +00:00
Cronet Merge "Add third_party/cpu_features to Cronet's copybara" into main 2023-09-12 17:48:34 +00:00
framework Merge "Add test for downstream tethering" into main 2023-09-13 01:01:32 +00:00
framework-t Park RemoteAuth Manager and Service 2023-09-22 04:09:02 +00:00
nearby [nearby][clean up] Delete all Fast Pair AOSP and HalfSheetUX code 2023-09-07 16:03:09 -07:00
netd BpfHandler: U requires 4.14+, V requires 4.19+ 2023-09-01 21:07:15 +00:00
remoteauth Park RemoteAuth Manager and Service 2023-09-22 04:09:02 +00:00
service Update the logic of isFeatureEnabled and isFeatureNotChickenedOut 2023-09-27 17:30:01 +09:00
service-t Update the logic of isFeatureEnabled and isFeatureNotChickenedOut 2023-09-27 17:30:01 +09:00
staticlibs Update the logic of isFeatureEnabled and isFeatureNotChickenedOut 2023-09-27 17:30:01 +09:00
tests Merge "Nat464Xlat: rely on netd events being called on handler thread." into main 2023-09-27 02:01:58 +00:00
Tethering Merge "SyncSM04: implement processMessage function" into main 2023-09-20 02:36:05 +00:00
thread [Thread] initial Thread network service 2023-09-12 21:48:57 +08:00
tools gn2bp: delete obsolete version in p/m/C 2023-03-29 16:23:45 -07:00
.gitignore Ignores VS Code files from git 2023-08-27 20:10:55 +08:00
OWNERS Move OWNER reference master=>main. 2023-07-18 17:12:49 +00:00
OWNERS_core_networking Cleanup OWNERS 2023-01-23 15:55:23 +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 [Cronet] NetHttpCoverageTests presubmit SLO fixes 2023-08-17 14:52:31 +00:00