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
Chalard Jean 98732dbd6d Use the binder token to reference AutoKI in alarm
This patch uses the binder token represented by the callback
to communicate the identity of the AutoOnOffKeepalive through
the alarm mechanism. This is a lot more robust and easy to
understand.

Addressing this, on top of the robustness and readability
advantages, corrects three bugs.

• The |obj| in the message to CMD_MONITOR_AUTOMATIC_KEEPALIVE
  is now the binder token both on the sender side and the
  receiver side, while the previous code had a Network in the
  sender while the receiver expected AutoOnOffKeepalive,
  crashing the system server with a wrong cast.
• The intent sent in the alarm would have a yet-uninitialized
  value for the slot, so it would not be possible to find the
  auto keepalive when the alarm fires.
• When the slot is reassigned, the alarm continued to fire
  with the same slot value, so the auto keepalive would no
  longer be found after a pause/resume cycle that would
  change the slot.

Test: FrameworksNetTests
Change-Id: Ibdbfcd884e0d3559206cbaae7b6b7a524972c3ca
2023-02-04 08:05:00 +00:00
bpf_progs Add packet tracing bpf implementation 2023-01-23 09:51:31 -08:00
common Fix errorprone warnings that should be errors 2022-11-02 10:13:14 -07:00
Cronet cronet: add CTS test for net.http.UrlRequest.cancel() 2023-02-02 16:54:30 +00:00
framework Use the binder token to reference AutoKI in alarm 2023-02-04 08:05:00 +00:00
framework-t New API to listen service update 2023-01-19 20:16:03 +09:00
nearby Update UiAutomator Condition 2023-01-30 19:39:39 +00:00
netd wire bpf_base_test into netd_updatable_unit_test 2022-12-20 00:41:05 +00:00
service Use the binder token to reference AutoKI in alarm 2023-02-04 08:05:00 +00:00
service-t Merge "Reduce binary size by excluding perfetto consumer" 2023-02-02 04:41:16 +00:00
tests Merge "Allow Advertiser, DiscoveryManager runtime toggle" 2023-02-02 02:53:47 +00:00
Tethering Merge changes Ie2ba9805,I8f5b23f9 2023-02-01 06:35:13 +00:00
tools gn2bp: Remove -Wno-deprecated-non-prototype from C++ defaults 2023-01-30 11:37:41 +00:00
.gitignore Add a .gitignore in packages/modules/Connectivity. 2020-11-27 18:09:21 +09:00
OWNERS Add additional IPsec owners 2021-12-08 06:57:51 +00:00
OWNERS_core_networking Cleanup OWNERS 2023-01-23 15:55:23 +00:00
OWNERS_core_networking_xts Allow jchalard@, maze@ and reminv@ to approve fixes for flaky tests. 2022-10-06 09:06:20 +00:00
PREUPLOAD.cfg Enable tethering to perform its own hidden API processing 2021-06-28 23:41:38 +01:00
TEST_MAPPING cronet: merge cronet TEST_MAPPING into connectivity TEST_MAPPING 2023-01-24 02:42:00 -08:00