- Feb 16, 2021
-
-
Lorenzo Colitti authored
-
Frank Li authored
-
Tianjie Xu authored
-
- Feb 15, 2021
-
-
Tianjie authored
Devices updating from R will still use the old version reboot escrow data. We need to have the backward compatibility to avoid the one-time failure. Bug: 178646806 Test: atest FrameworksServicesTests:RebootEscrowDataTest; Apply an OTA from SP1A.210114.001 to local build with fix, RoR succeeds. Change-Id: I320966340faa80b97f79e732fb728260dfa1cee8
-
Treehugger Robot authored
-
lifr authored
The connection service will become the mainline module. The mutable NetworkCapabilities is deprecated, and the NetworkCapabilities should be built through their Builder instead. Bug: 170598012 Test: atest FrameworksNetTests Test: atest IpConnectivityMetricsTest Change-Id: I73a4d3a7c118b9cef037ed52efb96ed123da2fa5
-
Lorenzo Colitti authored
-
Lorenzo Colitti authored
Bug: 173331190 Test: atest FrameworksNetTests HostsideVpnTests CtsNetTestCases Change-Id: Idc6ed1a544e744f8661d1e387da278736d407489
-
Lorenzo Colitti authored
-
Lorenzo Colitti authored
Test: m Change-Id: Id02a37624655c4ff88744c9c57af9f2a17953667 Merged-In: Id02a37624655c4ff88744c9c57af9f2a17953667
-
Remi NGUYEN VAN authored
-
Treehugger Robot authored
-
Kholoud Mohamed authored
-
Lorenzo Colitti authored
-
Lorenzo Colitti authored
Currently, BroadcastInterceptingContext always runs broadcast receivers on the thread that called sendBroadcast. This means: 1. Receivers might run on the wrong thread, making the test less realistic. 2. If any receiver checks what thread it's running on, then either the check needs to be modified or deleted, or the test must call sendBroadcast on the thread that the receiver expects to run on. The latter is impossible when there is more than one receiver that needs to run on more than one thread. This CL adds a setUseRegisteredHandlers method that allows tests to say that they want each receiver to run on the Handler specified at registration time. This CL also enables the new mode for ConnectivityServiceTest, and resolves a TODO to re-enable a disabled thread check. The new mode cannot be enabled by default because it would break most of the tests. All the below tests pass except for the car bluetooth test testAutoConnectAdapterOff_returnsImmediately which was already failing. Bug: 173331190 Test: atest CarInputServiceTest BluetoothProfileDeviceManagerTest Test: atest NetworkPolicyManagerServiceTest Test: atest ConnectivityServiceTest Test: atest TetheringTest TetheringNotificationUpdaterTest Test: atest VersionedBroadcastListenerTest EntitlementManagerTest Test: atest TetheringConfigurationTest Test: atest CachedDeviceStateServiceTest Test: atest EmergencyAffordanceServiceTest Change-Id: I3303bb14516f07a55d82a16b59c111ab3f8b0389
-
Lorenzo Colitti authored
-
Treehugger Robot authored
-
Lorenzo Colitti authored
1. Remove the legacy network type. This is only used for logging. - Replace the logcat logging with the display transport - Remove the EventLogTags logging, since it's likely not actually used by anyone. 2. Remove code that checks for NetworkInfo objects in state FAILED, since LockdownVpnTracker can never have received any such NetworkInfo from ConnectivityService since lollipop. Bug: 173331190 Test: passes existing tests in ConnectivityServiceTest Change-Id: I66ed71e51ba18b95862f3a0a5df2775eecea501e
-
Lorenzo Colitti authored
This information originates in non-mainline system server code and needs to be passed to the connectivity mainline code. Bug: 173331190 Test: already covered by CTS tests Change-Id: Ic612b6a51f7ec13e2213c8754312cf716130c876
-
Lorenzo Colitti authored
* changes: Check registering system default callback needs NETWORK_SETTINGS. Move VPN code from ConnectivityService to VpnManagerService. Add a skeleton VpnManagerService, and start it on boot. Convert LockdownVpnTracker to NetworkCallbacks. Minor fixes to VpnTransportInfo.
-
- Feb 14, 2021
-
-
Rubin Xu authored
-
Treehugger Robot authored
-
Rubin Xu authored
Missed from previous cherry-pick. Test: make -j docs Bug: 179180345 Merged-In: I1e57ed9c18a1ada463c55dbf17ce30e31aa7bad2 Change-Id: I1d88e11740a13490613962c944b528e6c2bd0fcb
-
Rubin Xu authored
-
Tianjie Xu authored
-
- Feb 13, 2021
-
-
James Mattis authored
* changes: Marking setOemNetworkPreference as @SystemApi Adding permission for OEM managed preferences Implementation of setOemNetworkPreference
-
Rubin Xu authored
-
Kalesh Singh authored
-
Suren Baghdasaryan authored
Modify lost RAM calculation to use total mapped dmabuf and private GPU allocations instead of memtrack HAL's reported Graphics and GL values. All of memtrack HAL's reported Graphics should be accounted for as part of mapped dmabufs. In order to not count it twice and not to depend on memtrack HAL's reported value we exclude it from total PSS calculation and replace it with mapped dmabufs. All of memtrack HAL's reported GL should be accounted for as part of private GPU allocations. In order to not count it twice and not to depend on memtrack HAL's reported value we exclude it from total PSS calculation and add GPU private allocations to total kernel memory usage. Bug: 165832481 Test: dumpsys meminfo Signed-off-by:
Suren Baghdasaryan <surenb@google.com> Change-Id: I631488d95cfd91d5428c877b3a004215031dd223 Merged-In: I631488d95cfd91d5428c877b3a004215031dd223
-
Kalesh Singh authored
-
- Feb 12, 2021
-
-
Benedict Wong authored
-
Rubin Xu authored
Bug: 179180345 Test: atest KeyChainTests Test: m RunKeyChainRoboTests Change-Id: I4290bccf5ae04de0d84c7091729e86704b937295 Merged-In: I4290bccf5ae04de0d84c7091729e86704b937295
-
Rubin Xu authored
(Trimmed down version) Bug: 179180345 Test: atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testKeyManagement Test: atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testDelegatedCertInstallerDirectly Test: atest android.admin.cts.DevicePolicyManagerTest Change-Id: Ieee1048b145fb8400eccbf32c054afc64b5d90c0 Merged-In: Ieee1048b145fb8400eccbf32c054afc64b5d90c0 Change-Id: Id1ab42ddbf04a3f6874ba5ce7eb937114d2194ef
-
Rubin Xu authored
(Trimmed down version) Bug: 179180345 Test: Manual Testing atest com.android.keychain.KeyChainServiceRoboTest Change-Id: I00b7df27a92f6ee4f74546f892c83290fead1112 Merged-In: I00b7df27a92f6ee4f74546f892c83290fead1112
-
Rubin Xu authored
This is part of the work to support a credential management app on unmanaged devices. Bug: 179180345 Test: atest android.appsecurity.cts.AppOpsTest Merged-In: Ifd87b5e38f341db4b34bf9f61480e29e49148846 Change-Id: Ifd87b5e38f341db4b34bf9f61480e29e49148846
-
Yan Yan authored
* changes: [API] Expose IpSecTunnelInterface#setUnderlyingNetwork Update underlying network of IpSecTunnelInterface
-
Brad Ebinger authored
-
Kalesh Singh authored
The DMA buffers mapped by GPU device(s) are already accounted for in the total exported dmabuf size (ionHeap) size. To remove GPU memory from lost RAM, provide an API to get only the DMA buf memory mapped by the GPU device(s). Bug: 176477627 Test: adb shell dumpsys meminfo Change-Id: Ie72f46c8de026b143629406714f413677ce6693b Merged-In: Ie72f46c8de026b143629406714f413677ce6693b
-
Anthony Stange authored
Bug: 166846988 Change-Id: Id2b82d4df8083d4b70be2e27d31e32ead7ce7c75 Test: presubmits
-
Jeff Sharkey authored
-