- Apr 09, 2021
-
-
Treehugger Robot authored
-
Remi NGUYEN VAN authored
-
Remi NGUYEN VAN authored
-
Remi NGUYEN VAN authored
-
Remi NGUYEN VAN authored
-
Remi NGUYEN VAN authored
-
Remi NGUYEN VAN authored
-
- Apr 08, 2021
-
-
Benedict Wong authored
* changes: Dynamically set MTU based on proposed algorithms Create proxy NetworkAgent for testing Ensure teardown() only triggered on the right NetworkAgent. Add dump to VcnManagementService
-
Paul Duffin authored
-
Nathan Harold authored
-
Steven Moreland authored
-
Paul Duffin authored
-
James Mattis authored
-
Benedict Wong authored
This change adds the relevant utilities and plumbing to ensure that MTUs are set dynamically based on the underlying network's MTU. Bug: 184697651 Test: atest FrameworksVcnTests Change-Id: I77e34a92eb4e81e83d20fe6019b38ea5f1af4765
-
Treehugger Robot authored
-
Benjamin Franz authored
-
Treehugger Robot authored
-
Anton Hansson authored
-
Remi NGUYEN VAN authored
The venue friendly name comes from the network, and only plain strings should be used in practice. writeCharSequence is also not usable in CaptivePortalData, as it must build using module_api. Use a String as the underlying type in CaptivePortalData, keeping CharSequence in the API for consistency with UI-related elements. This brings CaptivePortalData in line with downstream branches. Bug: 183174863 Test: atest FrameworksNetTests Merged-In: Ifa3ea9aae0cabf5757791c4ae13e6f551759ed97 Change-Id: Ic662d3b546d52f825f9c3a24c5e0d4ba03818ab0
-
Remi NGUYEN VAN authored
Explain that: - The method does not cause an actual data stall. - The detectionMethod parameter refers to ConnectivityDiagnosticsManager.DataStallReport constants (which already use an IntDef). - timestampMillis is relative to SystemClock.elapsedRealtime. Fixes: 183972768 Test: m Change-Id: I2eeb79e0e8ec6e8fd3b8fe1dcb1abbf2e6338983
-
Remi NGUYEN VAN authored
All API methods in TestNetworkManager require the MANAGE_TEST_NETWORKS permission. Fixes: 183972672 Test: m Change-Id: Ic5929c24ea88d7259d367a81fec8f223a2e3ecb0
-
Remi NGUYEN VAN authored
As there is no strong reason to keep the constructors module-lib, set them as public API. This is in response to API feedback. Fixes: 183446251 Test: m Change-Id: I01daa6f6f8095f7a4db94d1ca05f913166939df3
-
Remi NGUYEN VAN authored
Add javadoc on the constructor and getInterfaceName method. Fixes: 182979732 Test: m Change-Id: Iced805149a8344b953331501b48184661be0053a
-
Harpreet "Eli" Sangha authored
-
Remi NGUYEN VAN authored
General guidance is to have getters in the API instead of fields. Fixes: 181014882 Test: m Change-Id: Id4bfc447701e8d0380163047779fbba043f17b6f
-
Remi NGUYEN VAN authored
Introduce a Build.isDebuggable() getter instead of the IS_DEBUGGABLE static member. Also make it module API as APK modules now have access to module APIs in S, but also TestApi so it can be tested. Test: m Fixes: 182345786 Change-Id: I25d0848aee758792bbaba8ab73b5dd997a7250b3
-
Aaron Huang authored
-
Yan Wang authored
-
Harpreet "Eli" Sangha authored
-
Paul Hu authored
-
- Apr 07, 2021
-
-
yawanng authored
Bug: 177694884 Test: Comprae the uid with the log Change-Id: I68b73e24317b83e9969f86c755298cc7b789d4a1
-
Janis Danisevskis authored
getAttestationIds shall return an empty array instead of null. Bug: 184026478 Test: N/A Change-Id: I6c6233fa50a83cf7d6354d2783525704a3b39d0d
-
Paul Duffin authored
The relevant files (and corresponding OWNERS entries) have been moved to frameworks/base/boot/hiddenapi/. Bug: 179354495 Test: m nothing Change-Id: Ie0d7bb8c0c5176c165102f83d2d2f71d152cfd7a
-
Paul Duffin authored
The config/hiddenapi-*.txt files have moved so this change updates the preupload scripts to match their new location. Test: Modify the boot/hiddenapi/hiddenapi-*.txt files in various ways to verify the scripts fail. Change-Id: I725458e809d9871b2c21bc4e18f62441aaa775a9
-
Siim Sammul authored
-
Sudheer Shanka authored
-
Benedict Wong authored
This change adds a proxy NetworkAgent to facilitate testing, adding the ability to test final methods such as sendNetworkCapabilities() and sendLinkProperties(), which would otherwise call a real implementation, and throw a null pointer while trying to access internal fields. Bug: 184579891 Bug: 184697651 Test: atest FrameworksVcnTests Change-Id: I8f13159bd266bf488f095a13d6ffe444bec65f38
-
Benedict Wong authored
This change ensures that teardown() is only ever triggered when the NetworkAgent matches the one that the unwanted() callback is triggered on. This ensures that in cases where the unwanted() is called as a result of unregister(), or even after a new NetworkAgent is created (and stored in the mNetworkAgent field), the teardown does not occur. Bug: 184304972 Test: atest FrameworksVcnTests Change-Id: Ic8ab66ff1e48d43be784974cda7574d0191e557f
-
Benedict Wong authored
This change adds basic dump functionality for debugging purposes to the VcnManagementService Test: atest FrameworksVcnTests Change-Id: Id9494f69450ffff57945701255181052f52bbb37
-
Yan Wang authored
-