Benedict Wong
6e8c1d6da7
Add support for retrieval of configured VCNs by carrier privilege
...
This change adds support for retrieval of a list of subscription groups
that have a VCN configured.
Bug: 184612525
Test: atest FrameworksVcnTests
Change-Id: I40553a7bb45d9b1f948c7d0a791f1b22a422d55c
2021-04-21 13:49:14 -07:00
Jing Ji
598675abef
Merge "Update Kotlin sample code for CountDownTimer and Parcelable"
2021-04-19 19:23:06 +00:00
Treehugger Robot
f7cde977db
Merge "Hide RCS PUBLISH mapping due to complicated structure"
2021-04-19 19:09:22 +00:00
Treehugger Robot
ca53d40161
Merge "Clarify SipDelegateImsConfiguration getVersion Documentation"
2021-04-19 19:08:51 +00:00
Steven Moreland
12d2d7fd9c
Merge "reflect libbinder->libpermission: appops"
2021-04-19 17:20:21 +00:00
Yan Yan
3022c5437c
Merge "Use #setNetwork and #getNetwork for IkeSessionParams"
2021-04-19 17:04:25 +00:00
Aurimas Liutikas
6dd6c5a603
Merge "Cleanup nativeHeapZeroInit and memtagMode implementation."
2021-04-19 16:52:58 +00:00
Sally Yuen
afbb23d1d3
Merge "Add UiAutomation shell permission tests to Shell presubmit tests"
2021-04-19 16:14:01 +00:00
Treehugger Robot
6e7f16ac1e
Merge "CEC: Drop TODOs marked as fixed/obsolete"
2021-04-19 09:46:37 +00:00
Treehugger Robot
5e7d4961e6
Merge "Add missing synchronized(mLock) into Autofill onServiceDied"
2021-04-19 08:58:17 +00:00
v-qianliguo
60db8208a8
Add missing synchronized(mLock) into Autofill onServiceDied
...
Test: N/A
Signed-off-by: v-qianliguo <v-qianliguo@xiaomi.com >
Merged-In: Ic16ed5e4ac507f02e56f9e9cd94d4b4cfb028d69
Change-Id: I5c9640ab0695386effdbaaad7b72e143668af876
2021-04-19 08:04:14 +00:00
Chiachang Wang
32032cbfe3
Merge "Update the permission check for dump"
2021-04-19 05:37:09 +00:00
Remi NGUYEN VAN
68090c1373
Merge "Add a test for ParseException"
2021-04-19 04:57:31 +00:00
Chiachang Wang
d0365eb2d7
Update the permission check for dump
...
ServicePermissionsTest#testDumpProtected expects to see nothing
from dump() if the caller does not have the required permission.
After the refactor the ConnectivityService#dump(). It does not
leak real information for those callers without permission but
show the title of dumpsys, i.e. it shows "DUMP OF SERVICE HIGH
connectivity". This breaks the test since the test expects to
see nothing.
Move the permission check to the front of dump call stack since
there is no way to call other private dump related methods.
Bug: 185425662
Test: atest android.security.cts.ServicePermissionsTest
Test: adb shell dumpsys connectivity
Change-Id: I173c968a4f1c4d6f618ed87725a6ccda8d309988
2021-04-19 11:09:15 +08:00
Treehugger Robot
29d0c73416
Merge "Move CtsHostsideNetworkTests to group presubmit-large"
2021-04-19 03:05:59 +00:00
Brad Ebinger
844b7dee2a
Hide RCS PUBLISH mapping due to complicated structure
...
Hide until we can encode complicated structures like this
in something like a parcelable.
Bug: 182370110
Test: manual
Change-Id: I1797da52bfd447f198b48bd163b1bd0944aadb58
2021-04-17 21:07:45 +00:00
Brad Ebinger
e09fc1cd18
Clarify SipDelegateImsConfiguration getVersion Documentation
...
Bug: 181764870
Test: docs only change
Change-Id: I5ced81d33d80ecc90f704d910c08d0625396d163
2021-04-17 20:40:43 +00:00
Janis Danisevskis
b3671c4ab5
Merge "Fix operation auth bound keys."
2021-04-17 05:51:38 +00:00
Janis Danisevskis
8c97d4fe79
Fix operation auth bound keys.
...
CryptoObject still called the legacy AndroidKeystoreProvider which did
not return the correct operation handle for per operation auth bound
keys.
Bug: 184804041
Bug: 185181377
Test: CtsVerifier->Security->Biometric Tests->2a Strong Biometrics +
Crypto
Merged-In: I0bceff0425e7ef32c394f33deda3c78f729c0c6c
Change-Id: I0bceff0425e7ef32c394f33deda3c78f729c0c6c
2021-04-16 12:55:33 -07:00
Junyu Lai
28aca09bbf
Merge "[VCN20] Change requestBackgroundNetwork argument order"
2021-04-16 16:04:31 +00:00
Paul Duffin
b82853357b
Merge "Move hiddenapi sort preupload tools to tools/platform-compat"
2021-04-16 15:07:52 +00:00
Rubin Xu
3ccd60f47e
Merge "Fix LockSettingsServiceTest"
2021-04-16 12:53:39 +00:00
Rubin Xu
074a8b7012
Fix LockSettingsServiceTest
...
* Mock out registerReceiverAsUser() to avoid SecurityException
* Mock out setKeystorePassword() to not call into the real keystore
Bug: 170661840
Test: atest com.android.server.locksettings
Change-Id: I97c33f3b21ac16d2bb92e1658c222e4d0fd1970e
2021-04-16 11:00:27 +01:00
Anton Hansson
6c57d63fcd
Merge "Add visibility rules to StubLibraries.bp"
2021-04-16 08:52:46 +00:00
Paul Hu
e87f10b9a6
Merge "Add NWM#getWatchlistConfigHash to test api for testing"
2021-04-16 08:10:33 +00:00
Lorenzo Colitti
4b4cc572c0
Merge "Don't expose raw IBinder APIs."
2021-04-16 07:22:13 +00:00
Aaron Huang
452dc83724
Merge "Handle null pointer cases in ConnectivityService"
2021-04-16 07:06:37 +00:00
Treehugger Robot
40fa3f58b2
Merge "[Telephoy] Add phone Id to support DSDS"
2021-04-16 02:28:45 +00:00
Chiachang Wang
82628265f6
Merge "Remove hidden connectivity method usage"
2021-04-16 01:44:39 +00:00
Sally
8724e0eb75
Add UiAutomation shell permission tests to Shell presubmit tests
...
Bug: 185174828
Test: (on internal branch) run atest in packages/Shell, tests run
Change-Id: I3e53116239ec39e4c6cb3325dbfb8aa1a501377f
2021-04-16 00:57:49 +00:00
Siim Sammul
0c67225999
Merge "Add dplotnikov and gaillard as owners for binder proto file too."
2021-04-15 21:51:23 +00:00
Treehugger Robot
3a4f319145
Merge "OOB generateLocalOobData"
2021-04-15 20:00:44 +00:00
Martin Brabham
76a512f958
OOB generateLocalOobData
...
unhide @SystemApi callback methods
Bug: 178007935
Tag: #feature
Test: compiles
Change-Id: I2d4167a6c92ee0cc24da12df206838161c8f3318
Merged-In: I2d4167a6c92ee0cc24da12df206838161c8f3318
2021-04-15 18:36:06 +00:00
Donald Chai
6b5e6bba9b
Merge "Fix typo"
2021-04-15 16:50:02 +00:00
junyulai
c219d421eb
[VCN20] Change requestBackgroundNetwork argument order
...
Test: atest FrameworksNetTests FrameworksVcnTests
Fix: 185215095
Merged-In: Id281678fe85ce0894b0e92e11c0283d4d1b4ecdb
Change-Id: Id281678fe85ce0894b0e92e11c0283d4d1b4ecdb
(cherry-picked from ag/14198667)
2021-04-16 00:16:21 +08:00
Aaron Huang
abbee6e7c6
Handle null pointer cases in ConnectivityService
...
If a method is called by adb command "service call"
with no parameters. It will cause to crash because
of a null object reference.
Add a null check for them to avoid system server crash.
Bug: 172885426
Test: FrameworksNetTest
adb shell service call connectivity #
Change-Id: I8748fc5c6a7a6e82db3581e3026a3f75909a357e
2021-04-16 00:15:25 +08:00
George Chang
2195e2b514
Merge changes from topic "nfcc_aon_listener"
...
* changes:
Add NfcManagerTests
Update ControllerAlwaysOnStateCallback to ControllerAlwaysOnListener
2021-04-15 15:09:00 +00:00
Siim Sammul
0ad62a2471
Add dplotnikov and gaillard as owners for binder proto file too.
...
Change-Id: I83774866d1713ec17e5bc547c22e3da6b7b0a2b2
Test: n/a
Bug: 180584913
2021-04-15 13:22:52 +00:00
Chiachang Wang
fe09ad78cd
Merge "Remove hidden method link in public addRoute API"
2021-04-15 11:26:41 +00:00
Zoey Chen
30ad4bf90a
[Telephoy] Add phone Id to support DSDS
...
Bug: 185451283
Test: atest TelephonyRegistryTest
Change-Id: Ia09d0979bda94470f0c41cff9349c74d06ecc003
Merged-In: I6bf2285e37366ca517a3ea16194a203371e44964
2021-04-15 11:11:11 +00:00
Pedro Loureiro
c91722d3b1
Merge "Add lint baseline to address NewApi errors"
2021-04-15 11:03:47 +00:00
Lorenzo Colitti
103e78ed48
Don't expose raw IBinder APIs.
...
APIs should not expose raw IBinder objects.
Fix: 184735751
Test: builds, boots
Test: atest CtsNetTestCases:android.net.cts.ConnectivityManagerTest
Test: atest CtsNetTestCases:android.net.cts.DnsResolverTest
Change-Id: Ia0c4170def31123f0b79318fec2cfe02e4fcd3bf
2021-04-15 18:47:21 +09:00
Paul Duffin
738f919418
Move hiddenapi sort preupload tools to tools/platform-compat
...
Bug: 179354495
Test: try and upload changes to hiddenapi flag files
Change-Id: Iedc21893bbc62adaaca4de353d022e77fc70ace2
2021-04-15 10:45:39 +01:00
Treehugger Robot
3fbec7cf77
Merge "Add test for [set|is]BypassableVpn"
2021-04-15 09:21:57 +00:00
Chiachang Wang
2f8522313b
Remove hidden method link in public addRoute API
...
The build will complain after moving connectivity framework code
outside framework because the hidden methods/members accesses are
not allowed anymore. Link to a hidden class will not work since
it's not visible in public.
Bug: 182859030
Test: make docs
Change-Id: I5726f80be7cf92b648ce851d9601d5f58bc2b647
2021-04-15 16:21:00 +08:00
lucaslin
12d6eb2871
Add test for [set|is]BypassableVpn
...
Bug: 182963397
Test: 1. atest CtsNetTestCases:NetworkAgentConfigTest
2. atest CtsNetTestCasesLatestSdk:NetworkAgentConfigTest
Change-Id: I0250a0313d3a7561ab8efa851fbc06f5bce11185
2021-04-15 15:44:01 +08:00
Aravind Angadi
9eee708a97
CEC: Drop TODOs marked as fixed/obsolete
...
Bug: 159901363
Test: None
Change-Id: Ied8bf487857c3fb3f27d92d7dbdd8beeb981442c
2021-04-15 12:52:53 +05:30
Treehugger Robot
435ba73a94
Merge "[Telephony] Physical Channel Config should support DSDS"
2021-04-15 06:13:57 +00:00
Treehugger Robot
590949fd61
Merge "Make TYPE_VPN_LEGACY no longer deprecated."
2021-04-15 03:57:20 +00:00
Treehugger Robot
51e5e80876
Merge "Grant shell missing permissions"
2021-04-15 00:52:03 +00:00