- Feb 22, 2023
-
-
Mohannad Farrag authored
* Aidl `local_include_dirs` was hardcoded. This change should handle extracting the srcs and local include dirs for any aidl action. Test: m Change-Id: I7893dd3897f292f96c1934b192d20b97c26c54cb
-
Dan Stahr authored
-
Aaron Huang authored
-
Chiachang Wang authored
-
Treehugger Robot authored
-
Chiachang Wang authored
-
- Feb 21, 2023
-
-
Chalard Jean authored
Test: new test in this patch Bug: 269719647 Change-Id: I32e8d35f1751e2fd81a0007ae6cb308b6bcbb463
-
Patrick Rohr authored
-
chiachangwang authored
Bug: 269714344 Test: atest FrameworksNetTests Change-Id: Ia9c47967a1b96204a6a739d133f2b8455229af52
-
Dan Stahr authored
Bug: 251012627 Test: atest CtsNetHttpTestCases Change-Id: I5bd980e6b289b8ef86f1c0d8b0f5fe473bd3aab8
-
Aaron Huang authored
A template with type MATCH_MOBILE could have empty subscriber IDs but it should not contain one of subscriber IDs is null. An app might still build a template through the constructor which is annotated with @UnsupportedAppUsage. NetworkTemplate will throw an exception when the app trying to construct a template with type *_WILDCARD. The constructor should be backward compatible with old version so this change is to add the backward compatibility to have NetworkTemplate not throw an exception. Bug: 267701889 Test: FrameworksNetTests Change-Id: I23a607dae508e0c53520e2edf187cb611ed36b68
-
Chalard Jean authored
Test: VpnTest Bug: 269714344 Change-Id: I0d8a2818ea0b67ebb5da7dbac9cd6aea9bede386
-
- Feb 20, 2023
-
-
Yuyang Huang authored
-
Yuyang Huang authored
Move the CtsHostsideNetworkTestsAppNext to the top of file to to prevent any future automerger merge conflict between aosp and downstream branches. The CtsHostsideNetworkTestsAppNext target will not exist in some downstream branches, but it should exist in aosp and some downstream branches. Test: atest -c CtsHostsideNetworkTests Bug: 270006466 Merged-In: I8cb64d8bb86b781cd57d1a1a466c56185573fcc2 Change-Id: Icc475586d6f26d913b328647b94af1b53a3bb32d
-
Motomu Utsumi authored
-
Yuyang Huang authored
-
Chiachang Wang authored
-
Yuyang Huang authored
The untrusted apps should not directly access /dev/socket/mdnsd since Android U(SDK 34). For untrusted apps built with target SDK 33 or less, it should still be able to access the mdnsd socket. Fix the mts test suits from mts-networking to mts-tethering. If the test suits is marked as mts-networking, it would run in NetworkStack MTS, which isn't really what is tested in the tests. Test: atest CtsNetTestCases CtsNetTestCasesMaxTargetSdk33 Bug: 267102290 Change-Id: Icfbce8bb387df4481eef7fae94ffc38539975ce5
-
chiachangwang authored
ActivityManager checks if there is any non-protected broadcast sent from the system to prevent malwares sending the fake intent. This could be fixed with declaring it as a protected broadcast which is the current implementation. However, the uid in the AndroidManifest for tethering is networkstack uid. Though system only check whether the intent is defined as protected broadcast or not regardless of where the protected intent is defined, it is confusing to define the protected intent in tethering AndroidManifest. Thus, update to alternative way to fulfill the protection in ActivityManager to declare the required permission in the broadcast filter and specify the expected package name of the intent. Bug: 269383522 Bug: 259000745 Test: atest FrameworksNetTests Test: manually check no am_wtf log complains sending non-protected broadcast from system Change-Id: I04986aed4fb92f85adcbac8a61665f3f465e2eab
-
- Feb 18, 2023
-
-
Chidera Olibie authored
-
Dan Stahr authored
-
Chiachang Wang authored
-
Chiachang Wang authored
Reduce duplicated code and remove unused variable. Test: atest VpnTest Change-Id: I9f38bf7e16d821b51ee966607f873c5d39714e3c
-
Lucas Lin authored
-
lucaslin authored
File a VPN request to prevent the VPN network being lingered. The VPN network will be lingered and onCapabilitiesChanged() will be fired when the linger timer is expired, which will cause the test receiving an unexpected onCapabilitiesChnaged() and make the test failed eventually. Bug: 265396507 Bug: 265510523 Test: atest FrameworksNetTests Change-Id: Id9ad810d46cb2bbb13fa5c602520635ae8e73e31
-
- Feb 17, 2023
-
-
Treehugger Robot authored
-
Patrick Rohr authored
This creates a very basic (and untested!) version of an import script. Checking this in now, so we can get better history as it evolves. import_cronet.sh can be used to invoke copybara and set the appropriate command line arguments. Test: ./import_cronet.sh -l 108.0.5359.128 -n 110.0.5481.65 Change-Id: I74c6aa9245e102a1f94d0630e41ddd1079e9d41f
-
Dan Stahr authored
Addressing API Councillor feedback, this is necessary for feature parity between existing networking APIs and AOSP Cronet. Test: m API-Coverage-Bug: 251012627 Change-Id: I462a234dd95aad5a1c09838fbca13b6cf9649cbd
-
Dan Stahr authored
-
Dan Stahr authored
This is required to provide a reasonably feature-comnplete implementation of current org.chromium.net APIs on top of android.net.http. The main targets for this change are gRPC (mostly bidirectional streaming) and prospective early adopters. Test: m API-Coverage-Bug: 251012627 Change-Id: I66341581501090641c7eea32de5a5b8453cd97d4
-
Treehugger Robot authored
-
Chidera Olibie authored
-
Patrick Rohr authored
* changes: ethernet: rename restart() to maybeRestart() ethernet: remove IpClient null check before restart
-
Chidera Olibie authored
Bug: 251012627 Test: atest CtsNetHttpTestCases Change-Id: Ic048a842e1f491d47c92b51ac05f55cec60eeda6
-
Chalard Jean authored
This can still be flagged off. Test: FrameworksNetTests Change-Id: Ic69911d21da380662a65f1c482ccee107f851a23
-
Aaron Huang authored
-
Maciej Żenczykowski authored
-
Yuyang Huang authored
-
Yuyang Huang authored
This reverts commit 7cdfc909. Reason for revert: b/269587343 Change-Id: I8e0fbc7148b14d0df60ecd51cfd83f93986594d1
-
Motomu Utsumi authored
-