Commit Graph

688434 Commits

Author SHA1 Message Date
Anton Hansson
dffbaaed39 Merge "Convert filegroup to library" 2022-05-30 12:02:47 +00:00
Rambo Wang
19e53cfdc8 Merge "Fix race condition when TelephonyRegistry handles multi-SIM config change" 2022-05-27 16:22:21 +00:00
Anton Hansson
e4fcdec29f Convert filegroup to library
This filegroup makes more sense as a standalone modules-utils library,
and can be migrated to the modules-utils repository. Remove the
unnecessary dependency from services.net-module-wifi.

Test: m
Change-Id: I95d270e5e885fc40bd21af693058ace9818f1e3e
2022-05-27 15:15:11 +00:00
Betty Chang
e0939b12a8 Merge "Move the QrCodeGenerator from Settings to SettingsLib for Wifi and BT" 2022-05-27 14:30:02 +00:00
Treehugger Robot
51b916cb46 Merge "[LeAudio] Add LocalBluetoothLeBroadcast and LocalBluetoothLeBroadcastAssistant" 2022-05-27 08:57:12 +00:00
Zoey Chen
818bcf350a Merge "[LeAudio] Add LocalBluetoothLeAudioContentMetadata and LocalBluetoothLeBroadcastMetadata" 2022-05-27 08:40:10 +00:00
changbetty
83c8bbe303 Move the QrCodeGenerator from Settings to SettingsLib for Wifi and BT
Bug: 214338905
Test: Manual test
Change-Id: I51151d71b89a92fe6880a00ead490adeb14f20bb
Merged-In: I51151d71b89a92fe6880a00ead490adeb14f20bb
2022-05-27 04:23:30 +00:00
Treehugger Robot
4e76dec6c3 Merge "Update javadoc to correct the typo" 2022-05-27 03:24:33 +00:00
Jack Yu
a5fa62bcad Merge changes from topic "mvno_matching"
* changes:
  Document the QNS behavior
  Partially revert ag/17294635
  Moved MVNO matching logic out of old data stack
2022-05-27 02:43:25 +00:00
Treehugger Robot
cf852e7c52 Merge "Traffic descriptor only data profile should be enabled" 2022-05-27 02:32:33 +00:00
Rambo Wang
6f7d92c926 Fix race condition when TelephonyRegistry handles multi-SIM config change
TelephonyRegistry only updates some internal statuses related to
active modem count after receiving ACTION_MULTI_SIM_CONFIG_CHANGED.
If another component receives the same intent firstly and calls
TelephonyRegistryManager to either register or notify an event,
the internal status related to active modem count may not be able
to update yet, causing IAE saying e.g. phoneId is invalid.

To fix the issue, onMultiSimConfigChanged will be called to update
the internal statuses firstly before accessing them.

Bug: 230799289
Fix: 230773760
Test: atest TelephonyRegistryTest
Test: manual DS<->SS switching test
Merged-In: I31506a07406dee424546bfe4927e069280a7b011
Change-Id: I31506a07406dee424546bfe4927e069280a7b011
(cherry picked from commit 80b47e83f6)
2022-05-26 15:16:30 -07:00
Hui Wang
b694eea0a3 Update javadoc to correct the typo
Bug: 233943634
Test: make
Change-Id: I61c23c5b9024554553a57d74eb7bc92121865be6
2022-05-26 21:49:45 +00:00
Treehugger Robot
5a66f41fa4 Merge "Update security_log_writer group name" 2022-05-26 15:03:02 +00:00
Rubin Xu
4486314be6 Update security_log_writer group name
group name was changed during review but not updated
in the permission mapping.

Bug: 232283779
Test: manual
Change-Id: Ib7df61fa4fd49c8419f0543fd6c54186a33ebeb6
2022-05-26 12:44:55 +01:00
Zoey Chen
f99fb3fa33 [LeAudio] Add LocalBluetoothLeBroadcast and LocalBluetoothLeBroadcastAssistant
Test: manual
Bug: 222676140
Change-Id: I7b7ecb087b08aeaec9d8035fd490b40e273d8c90
Merged-In: I7b7ecb087b08aeaec9d8035fd490b40e273d8c90
2022-05-26 08:49:11 +00:00
Zoey Chen
ad7f77f4fe [LeAudio] Add LocalBluetoothLeAudioContentMetadata and LocalBluetoothLeBroadcastMetadata
Test: manual
Bug: 222676140
Change-Id: I3722ce537cc6e2b8a85d6390a432881e7fccef87
Merged-In: I3722ce537cc6e2b8a85d6390a432881e7fccef87
2022-05-26 08:49:01 +00:00
Treehugger Robot
aae5f3eecf Merge "Rename CtsAndroidTestBase29ApiSignatureTestCases in TEST MAPPING file." 2022-05-26 08:20:21 +00:00
Jack Yu
14111703f3 Document the QNS behavior
Clearly defined the QNS behavior to avoid
ambiguity.

Bug: 226267529
Test: atest AccessNetworksManagerTest
Merged-In: I274d88338ac4f15a4458e035af0e5c0b278f9c1b
Change-Id: I274d88338ac4f15a4458e035af0e5c0b278f9c1b
2022-05-25 17:28:30 -07:00
Jack Yu
ca544abf6f Partially revert ag/17294635
The qualified network service change was accidentally
merged in ag/17294635. It should be merged in a different
CL. Revert back to the previous version.

Bug: 171809764
Test: Build
Merged-In: Id50e376c04141a347ff70cdc7ab7ad1fab661844
Change-Id: Id50e376c04141a347ff70cdc7ab7ad1fab661844
2022-05-25 17:28:04 -07:00
Jack Yu
a95dd62e85 Moved MVNO matching logic out of old data stack
Moved MVNO matching logic out of old data stack. There
is no logic change here.

Bug: 171809764
Test: Manual
Merged-In: Ia7fc8042fe81a884bbab60c7a9bb6423f0401d65
Change-Id: Ia7fc8042fe81a884bbab60c7a9bb6423f0401d65
2022-05-25 17:25:08 -07:00
easoncylee
5875d7c12c Rename CtsAndroidTestBase29ApiSignatureTestCases in TEST MAPPING file.
Reason: CtsAndroidTestBase28ApiSignatureTestCases has been renamed to
CtsAndroidTestBase29ApiSignatureTestCases, so correct this.

Bug: 233937435

Test: unittest
Change-Id: I3b1be4ce4033104fcb86027fe596c852d64e6fa1
2022-05-26 08:04:22 +08:00
Treehugger Robot
6b7ebbfd26 Merge "Add dipankarb to storage owners" 2022-05-25 18:21:47 +00:00
Treehugger Robot
94651571bc Merge "Treat allowlists differently for flattened apex" 2022-05-25 17:59:05 +00:00
Dipankar Bhardwaj
2b932750af Add dipankarb to storage owners
Change-Id: I486ad459e945340865adcc030286c443afa7007b
Test: n/a
Bug: 233893599
2022-05-25 16:20:53 +00:00
Treehugger Robot
24fbdff6a0 Merge "Update ASM usage to ASM9" 2022-05-25 16:03:15 +00:00
Andrei Onea
ede686e3a3 Treat allowlists differently for flattened apex
On devices which use flattened APEX, treat the allowlists as part of the
system image.

Test: m # lunch wembley_2GB-userdebug
Bug: 221862988
Change-Id: I1971a686aa111b396f9e694a74be70d758078423
Merged-In: I1971a686aa111b396f9e694a74be70d758078423
2022-05-25 13:23:08 +00:00
Rubin Xu
2b2b455884 Merge "Map WRITE_SECURITY_LOG permission to gid" 2022-05-25 11:43:50 +00:00
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
Rubin Xu
e806776e54 Map WRITE_SECURITY_LOG permission to gid
Map WRITE_SECURITY_LOG to AID_SECURITY_LOG_WRITE which is how logd
controls access to security log buffer.

Bug: 232283779
Test: manual
Change-Id: Ifde2e5192326f0811807dcb05563b1b5b63077ce
2022-05-24 23:27:10 +01:00
Treehugger Robot
fbc5263e1a Merge "Updating nativeAsyncTraceForTrackEnd to not require a name argument" 2022-05-24 19:27:55 +00:00
Sorin Basca
aca5300cd4 Update ASM usage to ASM9
Bug: 233029164
Test: EXPERIMENTAL_TARGET_JAVA_VERSION_17=true \
      EXPERIMENTAL_USE_OPENJDK17_TOOLCHAIN=true m
Change-Id: If534878b3880352ca6afea3d0cd5229e98e302bc
2022-05-24 12:27:31 +01: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