- May 22, 2021
-
-
TreeHugger Robot authored
[automerger skipped] Merge "Use CS identity to update setting while performing factory reset" into sc-dev am: 08bbc34b -s ours am skip reason: Merged-In If2dd69f702a1eafff331f9e71f6b92aeadfb715d with SHA-1 bc667123 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14674293 Change-Id: I3672d2fe9420368e76ce7e724b7d9c2b7ac26660
-
TreeHugger Robot authored
[automerger skipped] Merge "Add test for NetworkCapabilities.Builder.withoutDefaultCapabilities" into sc-dev am: 7094b6470f -s ours am skip reason: Merged-In I369e71dd6ae85da78e114ea8377967ab0bde787b with SHA-1 92346fdf is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14674291 Change-Id: Ib7f2157f4b1cf82dd7d124ac263fd9c3a61f2c7c
-
TreeHugger Robot authored
-
- May 21, 2021
-
-
Yan Yan authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1690265 Change-Id: I0e467627fdbf70d6ec704f1f2be58223df9642ed
-
Yan Yan authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1690265 Change-Id: I8b8a423b093f5a8696e43afbdac0cbb555dd4aff
-
Yan Yan authored
-
Yan Yan authored
This commit allows IKEv2/IPsec VPN to propose more algorithms that newly added in IpSecAlgorithm. Those new algorithms have stronger security guarantees and better performances. This commit also removes algorithm name validation because all algorithms are URL encoded to ensure no special characters create problems due to their use by VpnProfile for list or field delimiting (e.g. rfc7539esp(chacha20,poly1305)) Bug: 185265778 Test: atest FrameworksNetTests, CtsNetTestCases Test: All new algorithms are manually verified Change-Id: I1de322c95aacc8924e95bcdbcfdbd1ec441de99c
-
Orion Hodson authored
[automerger skipped] Merge "Move to renamed NDK symbol AFileDescriptor_getFd" am: 54498935 am: 0def2a4e -s ours am skip reason: Merged-In Ic13f1d9832d5ae5b6ae4b96323025d9b695fdaf9 with SHA-1 a1a2ccb8 is already in history Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1703089 Change-Id: I9a5838ea3a86a64214181135ff87d2fb52cfcddd
-
Orion Hodson authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1703089 Change-Id: Ia45703aa469fcfb1efcc6b12479254e731dc794b
-
Orion Hodson authored
-
Treehugger Robot authored
When apps try to call factoryReset to do networking reset, it will result in updating the setting in SettingsProvider. ContentProvider will verify if the package name of the caller that initiated the request being processed on the current thread. The package should belong to the calling UID. The setting update started from the ConnectivityService context, so the package will be android but the calling UID will be the calling app. It will cause a SecurityException. The behavior is fine previously as its known caller(Settings) shares system UID. But it will be a problem for other callers, such as CTS. Thus, clear the identity since the necessary permission check should be examined at the top of the method. The following actions should be fine to be proceed from the system itself. Also replace the user restriction check via hasUserRestrictionForUser with the UserHandle created from the calling uid to ensure it's verified with correct user. Bug: 186061922 Test: Factory reset from Settings Merged-In: If2dd69f702a1eafff331f9e71f6b92aeadfb715d Change-Id: If2dd69f702a1eafff331f9e71f6b92aeadfb715d (cherry picked from commit 10ba4b77)
-
Chiachang Wang authored
Bug: 186061922 Test: atest CtsNetTestCases:android.net.NetworkCapabilitiesTest Merged-In: I369e71dd6ae85da78e114ea8377967ab0bde787b Change-Id: I369e71dd6ae85da78e114ea8377967ab0bde787b (cherry picked from commit 0aa0790d)
-
Chiachang Wang authored
Merge "Add test for NetworkCapabilities.Builder.withoutDefaultCapabilities" am: 32bd81d8 am: 38b86a2c Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1712731 Change-Id: I53a692383de98d959b029cfd618621f47059fdd5
-
Chiachang Wang authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1712731 Change-Id: I6a5f4681224315c2c63cad24e0defd1abcc25330
-
Chiachang Wang authored
-
Treehugger Robot authored
Merge "Use CS identity to update setting while performing factory reset" am: 049dbc56 am: ab42076b Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1695309 Change-Id: I7c23d33349e7f28a6fc17f5191e973f60e1eb96d
-
Chiachang Wang authored
Bug: 186061922 Test: atest CtsNetTestCases:android.net.NetworkCapabilitiesTest Change-Id: I369e71dd6ae85da78e114ea8377967ab0bde787b
-
Treehugger Robot authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1695309 Change-Id: Ifce6312c750c738a4e4afb93f39522b4a282ae4a
-
Treehugger Robot authored
-
- May 20, 2021
-
-
Cody Kesting authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1699069 Change-Id: I6ca0b27d9280e9246fbf6ea105f18d6f1d073388
-
Cody Kesting authored
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1699069 Change-Id: Idfea26523ff297f8be22695dd5a4e5351a7ccda4
-
Cody Kesting authored
-
TreeHugger Robot authored
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14640282 Change-Id: I578b566c5b73e06b9f675cbde6954dccbc0a5a57
-
TreeHugger Robot authored
-
Les Lee authored
[automerger skipped] Merge "Support to query TYPE_WIFI usage with subscriberId" into sc-dev am: 627c4465 -s ours am skip reason: Merged-In Ia033521a24e2bb56182d74a41bb2b39710571782 with SHA-1 614551c3 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14622496 Change-Id: If1a3eeb5077d7b078a3be260e01c4cf3f6790437
-
Paul Hu authored
[automerger skipped] Merge "Register APPS_ALLOWED_ON_RESTRICTED_NETWORKS setting observer" into sc-dev am: 5acfe493 -s ours am skip reason: Merged-In I4b6a21bd3f47b7bcaac36fcabf1202a5a84a4520 with SHA-1 f11da7e2 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14622493 Change-Id: I2b1a734003cf71be772550bfef68f3c057d1f22f
-
Les Lee authored
-
Paul Hu authored
-
Paul Hu authored
[automerger skipped] Merge "Read APPS_ALLOWED_ON_RESTRICTED_NETWORKS setting from PermissionMonitor" into sc-dev am: 740da160 -s ours am skip reason: Merged-In I856b545c0339a262abbe9d432cfda125bc82dc12 with SHA-1 a7b9535f is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14622492 Change-Id: Idd31246804a7374929545c7a4c021058a33a9758
-
Paul Hu authored
-
TreeHugger Robot authored
Merge "Check NETWORK_SETTINGS permission for getAllNetworkStateSnapshots" into sc-dev am: 6f0f141c Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14601670 Change-Id: Ib259c6351471aca6656dc4d46bb7242228a226c2
-
TreeHugger Robot authored
-
Remi NGUYEN VAN authored
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14622504 Change-Id: Iee4dd439c3f98e600c6a6b1ed6a73384f9a1c2ac
-
Remi NGUYEN VAN authored
-
Chiachang Wang authored
When apps try to call factoryReset to do networking reset, it will result in updating the setting in SettingsProvider. ContentProvider will verify if the package name of the caller that initiated the request being processed on the current thread. The package should belong to the calling UID. The setting update started from the ConnectivityService context, so the package will be android but the calling UID will be the calling app. It will cause a SecurityException. The behavior is fine previously as its known caller(Settings) shares system UID. But it will be a problem for other callers, such as CTS. Thus, clear the identity since the necessary permission check should be examined at the top of the method. The following actions should be fine to be proceed from the system itself. Also replace the user restriction check via hasUserRestrictionForUser with the UserHandle created from the calling uid to ensure it's verified with correct user. Bug: 186061922 Test: Factory reset from Settings Change-Id: If2dd69f702a1eafff331f9e71f6b92aeadfb715d
-
- May 19, 2021
-
-
Junyu Lai authored
Ignore-AOSP-First: Avoid merge conflict Test: atest android.net.ConnectivityManagerTest Bug: 188657173 Change-Id: I33612650eb89486a14fcfc440ba0c357f4bb513c
-
Les Lee authored
[automerger skipped] Merge "Add metered filter for API: buildTemplateCarrier" into sc-dev am: 8a2405cb -s ours am skip reason: Merged-In I7196d62bb60844458a6c4b1d94e2baccb71e15cd with SHA-1 575b5569 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14622495 Change-Id: Ica7cf82e3d17cbe5d0577e14faa563cfbfdc9385
-
Les Lee authored
-
Junyu Lai authored
am skip reason: Merged-In I3ba50cbd8a7f60779c69ba85e10dc3cc8a52f8b1 with SHA-1 5744432f is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14562500 Change-Id: Ic87d5b62ddd55ec1c264839dd84c3c375794e428
-
Junyu Lai authored
* changes: [FUI29] Migrate ConnectivityService to use getAllNetworkStateSnapshots [FUI27] Fix internal naming of notifyNetworkStatus
-