Commit Graph

688405 Commits

Author SHA1 Message Date
Jack Yu
ae11b299df Traffic descriptor only data profile should be enabled
If a data profile only contains traffic descriptor, and has no
APN setting, it should be considered enabled.

Fix: 233557423
Test: Manual + atest DataProfileTest
Merged-In: Ied26cbba3bde8491bfd6299a2724fc2c5b26c026
Change-Id: Ied26cbba3bde8491bfd6299a2724fc2c5b26c026
2022-05-24 18:41:56 -07:00
Treehugger Robot
fbc5263e1a Merge "Updating nativeAsyncTraceForTrackEnd to not require a name argument" 2022-05-24 19:27:55 +00:00
Victor Chang
b284c36224 Merge "Re-land "Switch file size formatters to use ICU's MeasureFormat"" 2022-05-24 10:04:46 +00:00
brycelee
c2495a0d1f Merge "Add wleshner and justinkoh to OWNERS." 2022-05-23 22:56:18 +00:00
Treehugger Robot
41cd5e5f0d Merge "Fix JobStoreTest after adding defensive copy to NetworkRequest.Builder" 2022-05-23 22:44:22 +00:00
brycelee
09766e3630 Add wleshner and justinkoh to OWNERS.
Change-Id: I78308bb67e6894cb81ebf48453cc31d23a969b2b
Test: n/a
2022-05-23 20:43:32 +00:00
Patrick Rohr
b4e7f6f7d4 Fix JobStoreTest after adding defensive copy to NetworkRequest.Builder
JobStatus.createFromJobInfo() uses the
NetworkRequest.Builder(NetworkRequest) API, which previously failed to
create a copy of the passed NetworkRequest. This means, that up until
now, SOME_UID was not only set on the second job status, but also on the
first, as the NetworkRequest used came from first.getRequiredNetwork().

Since JobStatus changes the JobInfo object, the second JobInfo object
should be compared a a JobInfo object that has also been changed by
JobStatus in the same way.

Test: atest JobStoreTest
Bug: 233580437
Change-Id: Ic4584575e2bc092c49b7b9ecb9b115da189bdfed
2022-05-23 12:38:38 -07:00
Treehugger Robot
f012e83299 Merge "Add a config to control split-screen task dimming" 2022-05-23 11:34:23 +00:00
Treehugger Robot
f3c204c6fc Merge "Revert "Persist permission state for updated apps synchronously."" 2022-05-21 03:58:19 +00:00
Hai Zhang
fe1f3596d2 Revert "Persist permission state for updated apps synchronously."
This reverts commit 36ee4c554b.

Reason for revert: b/233170021

Change-Id: I911aaf3388dd00e33284c687aa9ddfb1bb1113bf
Merged-In: Ib26cf2940beb66bd1f74d0fcfb623f3183367f31
2022-05-21 02:49:54 +00:00
Hasini Gunasinghe
e8363cd943 Merge "Update the StatsPullAtomsService to accommodate RkpErrorStats." 2022-05-20 18:04:02 +00:00
Treehugger Robot
2ef3cee44d Merge "Print key for too long property values" 2022-05-20 15:58:46 +00:00
Treehugger Robot
6b5a4f3d37 Merge "Improve the code of handleSessionLost()" 2022-05-20 01:59:14 +00:00
Treehugger Robot
d2ac8db60a Merge "Do not get portInfo if physical address is 0x0000" 2022-05-19 14:29:57 +00:00
lucaslin
bd9dace4a0 Improve the code of handleSessionLost()
Bug: 229350078
Test: atest FrameworksNetTests:VpnTest
Change-Id: I747e119bc201123b5ee3abb9e01ca3d4183aa6e4
2022-05-19 21:55:54 +08:00
Henrik Baard
c12ed61d4a Print key for too long property values
In case of a too long property value in
SettingsToPropertiesMapper, only the value is printed, not
the key.

It makes sense also to print the key making it easier
to find what is causing the problem.

Change-Id: I3cef0d404037d3c515fae116752c4e73c6699b62
2022-05-19 15:05:42 +02:00
Benedict Wong
089c119f4d Merge "Enable MOBIKE in IKEv2 VPN" 2022-05-19 05:46:29 +00:00
Treehugger Robot
6d1cecb385 Merge "Persist permission state for updated apps synchronously." 2022-05-19 03:00:44 +00:00
daren.liao
14fb38b5ed Do not get portInfo if physical address is 0x0000
Bug: 232904062

Test: CtsHdmiCecHostTestCases

Change-Id: I6f2d609bda8ba659f9079406f359bdf6da58d30f
2022-05-19 02:12:40 +00:00
Lucas Lin
77a0e3da9e Merge "Address leftover comments of ag/18108411" 2022-05-19 01:45:49 +00:00
Treehugger Robot
467ebb8379 Merge "Consolidate input OWNERS files" 2022-05-18 18:42:33 +00:00
Treehugger Robot
27e3cc6f2b Merge "Update OWNERS for appwidgets" 2022-05-18 15:51:45 +00:00
Treehugger Robot
003d08c7fd Merge "Revert "DO NOT MERGE temporarily disabled new data stack"" 2022-05-18 05:31:44 +00:00
Pinyao Ting
12adb658a0 Update OWNERS for appwidgets
Test: manual
Change-Id: I2bb2ddc4bd94e9e80d606e5141f336550eab8c88
2022-05-17 22:59:24 +00:00
Hai Zhang
36ee4c554b Persist permission state for updated apps synchronously.
Because if we lose the changes, an updated app won't be reconsidered for
new install permissions.

Fixes: 221899913
Test: presubmit
Change-Id: Ib82189b07cf4dfd132be37fb19843d770e871f8c
Merged-In: Ib82189b07cf4dfd132be37fb19843d770e871f8c
2022-05-17 21:15:18 +00:00
Jack Yu
9086501371 Revert "DO NOT MERGE temporarily disabled new data stack"
This reverts commit cbd1ca5905.

Reason for revert: all required CLs are in AOSP now.

Change-Id: Ia03b6db224b361c7e997b109d549502d82817ec0
2022-05-17 20:56:50 +00:00
Treehugger Robot
dcbb21deaa Merge "Make binderDied(IBinder who) public API" 2022-05-17 17:37:10 +00:00
Roozbeh Pournader
988cb5a32d Re-land "Switch file size formatters to use ICU's MeasureFormat"
Re-land http://ag/2443141 because the over-translation issue should be
resolved now.

Use ICU's MeasureFormat to the degree possible for formatting file
sizes.

Bug: 36994779
Bug: 71580745
Bug: 217592956
Test: atest FrameworksCoreTests:android.text
Test: atest CtsTextTestCases
Change-Id: If3416ec38cf18c0441576643bfab850148e18c8e
2022-05-17 17:05:48 +01:00
Seth Moore
bf73616e23 Merge "Ensure key generation retries after remote key provisioning" 2022-05-17 15:37:24 +00:00
Isak Lilja
221ec02ab4 Add a config to control split-screen task dimming
In split-screen when a task is the IME target, the other one is dimmed.
Add a config to enable/disable this functionality.

Test: Manual
Bug: 229090560
Change-Id: Id0935f1badec4620a97b8ea9826d32b94c186b98
Merged-In: If41d89744acd6dcba27085755b6cd3947ee3ad62
2022-05-17 00:42:55 +00:00
Yan Yan
1405296274 Enable MOBIKE in IKEv2 VPN
This commit enables MOBIKE on the VPN's IKE Session. In this way if
the VPN server also supports MOBIKE, IKEv2 VPN can migrate to a
different network by migrating the active IKE session, instead of
setting up a new IKE Session.

This commit also adds a grace period so that when the underlying network
is lost, the IKEv2 VPN will wait for some time before terminating the
IKE Session in case a new network will be available.

Bug: 192077544
Test: atest IkeV2VpnTest (new tests added)
Test: atest com.android.server.connectivity.VpnTest
Change-Id: Ie6ef3103200fef3b7e5f00918fee9e791cad9445
2022-05-16 17:32:51 -07:00
Seth Moore
b51dd03878 Ensure key generation retries after remote key provisioning
Previously, the key pair generation would error out even if we
successfully provisioned attestation keys. Instead, we should retry
key generation after the GenerateRkpKeyService reports an OK status.

Bug: 231495834
Test: RemoteProvisionerUnitTests
Change-Id: I049294cbc7119de55b5de02499bf4609d4c6de5d
Merged-In: I049294cbc7119de55b5de02499bf4609d4c6de5d
2022-05-16 16:11:32 -07:00
Xusong Wang
92ce74409b Merge "Fix bug in Blend that did not use options." 2022-05-16 22:40:50 +00:00
Hasini Gunasinghe
907a9a4888 Update the StatsPullAtomsService to accommodate RkpErrorStats.
Bug: 230750270
Test: Local testing with statsd TestDrive script
Change-Id: Iae546b9feea1c641687d89991a19c165b58d5a72
2022-05-16 22:16:56 +00:00
Ray Ye
8dae06607c Updating nativeAsyncTraceForTrackEnd to not require a name argument
Bug: 230399626
Test: atest TraceDevTest
Change-Id: Ic8f8a304f8fbb9c1bc6fbbac0e0bf5de97ce70aa
2022-05-16 21:27:11 +00:00
Jean-Luc Brouillet
1f42ae9112 Fix bug in Blend that did not use options.
For one of the many variants of Blend, a cut&paste error made
that the options were not passed.

This was not caught because no test exercised this.

I've added the test (in a related CL) and fixed the bug.

Bug: 178718752
Test: Ran the RS Java tests
Change-Id: Ide2fef96137ffd89e4431cf15be5df398036d909
Merged-In: Ide2fef96137ffd89e4431cf15be5df398036d909
(cherry picked from commit a2c6eb2f1a)
2022-05-16 13:44:32 -07:00
Yan Yan
2775f8a1d1 Merge "Use token to identify IKE Session" 2022-05-16 20:27:52 +00:00
lucaslin
a0cb82f78b Address leftover comments of ag/18108411
Bug: 229799060
Test: atest FrameworksNetTests:VpnTest
Change-Id: Iade04ede17b9371e530556acb2bd84c4b57c1581
2022-05-17 00:45:57 +08:00
Lorenzo Colitti
92891b4bcb Merge "Don't throw in socket_read if socket_read_all returns < 0." 2022-05-16 13:00:13 +00:00
Treehugger Robot
9feb61d1e6 Merge "media jni: fix CryptoException error code to string" 2022-05-16 09:17:03 +00:00
Lucas Lin
d34c7307f6 Merge changes I0b129ec3,I49a5aee1
* changes:
  Address leftover comments of ag/18112116
  Rename vars of Ikev2VpnRunner
2022-05-16 08:27:34 +00:00
Treehugger Robot
01447fa5e4 Merge "PBAP: Do not set phonebook access to ACCESS_REJECTED automatically" 2022-05-16 07:40:23 +00:00
Robert Shih
3401098d26 media jni: fix CryptoException error code to string
Bug: 231468328
Test: atest WidevineFailureTests
Change-Id: I1ee13a2e91d925082261880bfe48d58f2b8b3109
Merged-In: I1ee13a2e91d925082261880bfe48d58f2b8b3109
2022-05-16 06:27:59 +00:00
Chienyuan
5bc5f10310 PBAP: Do not set phonebook access to ACCESS_REJECTED automatically
The value is saved in SharedPreferences. However, it will return ACCESS_UNKNOWN in several cases. We shouldn't set it as rejected automatically. We should ask user when PBAP connect.

Bug: 230712201
Test: manual
Change-Id: Ia3f373b9799cf02c47dc782688430fb234491f61
2022-05-16 03:35:16 +00:00
Ling Ma
ecb5d530c2 Merge "Make registrationState consistent with RoamType in case of override" 2022-05-15 23:56:31 +00:00
Taras Antoshchuk
e6cf914c3f Don't throw in socket_read if socket_read_all returns < 0.
All codepaths in socket_read_all that return a negative value have
already thrown an exception. socket_read should not throw again.

This causes debuggagle apps to crash with a JNI failure if
LocalSocket#read gets an error.

Test: atest CtsNetTestCases
Bug: 229813087
Change-Id: I2a04a799d3748c221f8555fa7afc40d73f0f392c
2022-05-15 18:03:55 +00:00
Ling Ma
17b399056a Make registrationState consistent with RoamType in case of override
Bug: 231357778
Test: manual + atest frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/NetworkRegistrationInfoTest.java
Merged-In: Ibf74839f688df587d1f791795924a8152c52e3dc
Change-Id: Ibf74839f688df587d1f791795924a8152c52e3dc
2022-05-14 17:09:53 -07:00
Wonsik Kim
4f9ab851b3 Merge "MediaCodec: don't cache buffers until requested" 2022-05-14 00:05:05 +00:00
Wonsik Kim
07358dfea5 MediaCodec: don't cache buffers until requested
Bug: 189889230
Test: manual & presubmit
Change-Id: I4caca59d6854416cedb6758fe66aefaacb69beb7
2022-05-14 00:04:51 +00:00
Lucas Dupin
6562eb87f3 Merge "[Bugfix][BootAnimation] Fix the issue of the transparent background image shows transparent background unexpectedly in BootAnimation on some MTK platforms." 2022-05-13 23:02:22 +00:00