Commit Graph

22248 Commits

Author SHA1 Message Date
David Zeuthen
6a4e36fcfd Identity Credential: Restrict AccessControlProfile identifiers to 32. am: a0796e98c2 am: b1b0175138 am: fb9bffe0f7
Change-Id: Ie4c4b8713ee232a4dc8041aeefbd83f8fbe9921d
2020-04-28 00:39:14 +00:00
David Zeuthen
fb9bffe0f7 Identity Credential: Restrict AccessControlProfile identifiers to 32. am: a0796e98c2 am: b1b0175138
Change-Id: I81dac45583c3224110dc5188b66ecc53585fcb35
2020-04-28 00:21:11 +00:00
David Zeuthen
b1b0175138 Identity Credential: Restrict AccessControlProfile identifiers to 32. am: a0796e98c2
Change-Id: Ic7f60ca5d1ec9e2eda2bd095ebd98c462f42ab27
2020-04-28 00:05:43 +00:00
TreeHugger Robot
7aa6c31971 Merge "Identity Credential: Restrict AccessControlProfile identifiers to 32." into rvc-dev am: 17c8d7c043 am: 29a2b19794
Change-Id: I016399138287825f7bfebeb9f5465c4a0371d583
2020-04-27 22:23:30 +00:00
TreeHugger Robot
29a2b19794 Merge "Identity Credential: Restrict AccessControlProfile identifiers to 32." into rvc-dev am: 17c8d7c043
Change-Id: I33fcbd572087ae634be1b3d04c820587b03c9e57
2020-04-27 22:07:19 +00:00
TreeHugger Robot
1cd4a45a14 Merge "Identity Credential: Restrict AccessControlProfile identifiers to 32." into rvc-dev am: 17c8d7c043 am: f959dfd73a
Change-Id: If658843d34213269bc65513ac13b74da8c8d8968
2020-04-27 21:59:20 +00:00
TreeHugger Robot
f959dfd73a Merge "Identity Credential: Restrict AccessControlProfile identifiers to 32." into rvc-dev am: 17c8d7c043
Change-Id: I3b04b9b6e37b4bc50a44ffea18f9215ac14c199d
2020-04-27 21:58:17 +00:00
TreeHugger Robot
17c8d7c043 Merge "Identity Credential: Restrict AccessControlProfile identifiers to 32." into rvc-dev 2020-04-27 21:47:01 +00:00
Hall Liu
d73f8206d1 Merge "Allow android.hardware.radio 1.4 for R" into rvc-dev am: 6fa742d6c5 am: 519bb589f5
Change-Id: I88b7d91c7ff90fb44698fda27aa39442ef11c395
2020-04-27 21:32:58 +00:00
Hall Liu
f6efb4296e Merge "Allow android.hardware.radio 1.4 for R" into rvc-dev am: 6fa742d6c5 am: c74c21eacc
Change-Id: Ibba3e8afcab7e659ccbdc882907c45835928a956
2020-04-27 21:32:42 +00:00
Hall Liu
519bb589f5 Merge "Allow android.hardware.radio 1.4 for R" into rvc-dev am: 6fa742d6c5
Change-Id: I413b54271d874fe348a6eea519e333cc23fa005a
2020-04-27 21:10:35 +00:00
Hall Liu
c74c21eacc Merge "Allow android.hardware.radio 1.4 for R" into rvc-dev am: 6fa742d6c5
Change-Id: I3c0f771955106f2b5a227ac3b979b4f677d9d4b3
2020-04-27 21:10:18 +00:00
Hall Liu
6fa742d6c5 Merge "Allow android.hardware.radio 1.4 for R" into rvc-dev 2020-04-27 20:56:02 +00:00
David Zeuthen
602753593e Identity Credential: Restrict AccessControlProfile identifiers to 32.
In order to implement Identity Credential on resource-restricted
secure hardware, we need to limit the number of possible
AccessControlProfile in a credential. A limit of 32 means that such
hardware only need to devote four bytes of RAM for a bitmask with
information about which profiles are authorized.

Document this, add new VTS test, and update the default
implementation.

Bug: 155100967
Test: atest android.security.identity.cts
Test: atest VtsHalIdentityTargetTest
Merged-In: Ia4f2ee0013b330561df744e0595f298a0d156122
Change-Id: I2dd672447bedfa9407bf1044e6261af26fd137f9
2020-04-27 16:03:36 -04:00
TreeHugger Robot
3839d6c045 [automerger skipped] Merge "Moved emulated User HAL capabilities into a library." into rvc-dev am: d2115c9876 am: d529e419dc -s ours
am skip reason: Change-Id I2d0c5039c3b994dfe10d3b411f6d502bebe7cca0 with SHA-1 9c998c0720 is in history

Change-Id: I884f307c93dd73926d465342518fe92ca57c091c
2020-04-27 19:56:24 +00:00
TreeHugger Robot
e10be3b4b8 Merge "Moved emulated User HAL capabilities into a library." into rvc-dev am: d2115c9876 am: 7de2ac3171
Change-Id: Id9f4740f81a573ab658f89626078e4f66892b70e
2020-04-27 19:56:09 +00:00
TreeHugger Robot
d529e419dc Merge "Moved emulated User HAL capabilities into a library." into rvc-dev am: d2115c9876
Change-Id: I826c03b06e92c8e21da820b2226de78ad0aea1e3
2020-04-27 19:41:04 +00:00
TreeHugger Robot
7de2ac3171 Merge "Moved emulated User HAL capabilities into a library." into rvc-dev am: d2115c9876
Change-Id: I2ea8162bba5ff9eaa5e7de85801107d3e1d3f9eb
2020-04-27 19:40:50 +00:00
David Zeuthen
a0796e98c2 Identity Credential: Restrict AccessControlProfile identifiers to 32.
In order to implement Identity Credential on resource-restricted
secure hardware, we need to limit the number of possible
AccessControlProfile in a credential. A limit of 32 means that such
hardware only need to devote four bytes of RAM for a bitmask with
information about which profiles are authorized.

Document this, add new VTS test, and update the default
implementation.

Bug: 155100967
Test: atest android.security.identity.cts
Test: atest VtsHalIdentityTargetTest
Change-Id: Ia4f2ee0013b330561df744e0595f298a0d156122
2020-04-27 15:28:27 -04:00
TreeHugger Robot
d2115c9876 Merge "Moved emulated User HAL capabilities into a library." into rvc-dev 2020-04-27 19:23:12 +00:00
David Zeuthen
99da6f4c92 [automerger skipped] Merge "Fix IC vts bugs and add tests for IC IWritableIdentityCredential.aidl interface." into rvc-dev am: c94901552b -s ours am: afd93d52a5 -s ours
am skip reason: Change-Id I51902681776c6230e49589fc75a8145e79d7d1a6 with SHA-1 92b61d650f is in history

Change-Id: Ica2a5792970d0e2535a2c075172d634df8dc27e1
2020-04-27 19:04:12 +00:00
David Zeuthen
a9157b9f6e [automerger skipped] Merge "Fix IC vts bugs and add tests for IC IWritableIdentityCredential.aidl interface." into rvc-dev am: c94901552b am: 240cb53cab -s ours
am skip reason: Change-Id I51902681776c6230e49589fc75a8145e79d7d1a6 with SHA-1 92b61d650f is in history

Change-Id: I714b283adbdcb693e4f3f4e43c0fdec6fd21aed6
2020-04-27 19:03:56 +00:00
David Zeuthen
afd93d52a5 [automerger skipped] Merge "Fix IC vts bugs and add tests for IC IWritableIdentityCredential.aidl interface." into rvc-dev am: c94901552b -s ours
am skip reason: Change-Id I51902681776c6230e49589fc75a8145e79d7d1a6 with SHA-1 92b61d650f is in history

Change-Id: Ie13db6ddaed7567d32cc116fb7e6e506dd3f1321
2020-04-27 18:45:43 +00:00
David Zeuthen
240cb53cab Merge "Fix IC vts bugs and add tests for IC IWritableIdentityCredential.aidl interface." into rvc-dev am: c94901552b
Change-Id: I925a8ce5e55fdb471a88e41179ed2c02b2da3b16
2020-04-27 18:45:40 +00:00
David Zeuthen
c94901552b Merge "Fix IC vts bugs and add tests for IC IWritableIdentityCredential.aidl interface." into rvc-dev 2020-04-27 18:33:04 +00:00
Hall Liu
5db41c8698 Allow android.hardware.radio 1.4 for R
SOC manufacturers have requested that devices be allowed to ship with R
without using the IRadio 1.5 API.

Fixes: 153495340
Test: build flame
Change-Id: Iba2ac5902e69fc0af0c5f4d7cae4fed77204acd1
2020-04-27 18:18:22 +00:00
Selene Huang
d39b9fb604 Fix IC vts bugs and add tests for IC IWritableIdentityCredential.aidl interface.
Fixed following bugs in WritableIdentityCredential.cpp
  - Do not allow startPersonalization to be called more than once per
  aidl.
  - Do not preceed with beginAddEntry if addAccessControlProfile and
  startPersonalization profile count mismatch.
  - Verify access control profile ids are unique.
  - Do not let empty name space to mess up beginAddEntry.
  - Do not allow beginAddEntry to add entries interleaving namespace
    groupings. Enforce all entries must be added in namespace "groups"
    per aidl.
  - Fix counting error that allowed one entries to be added per name
    space than startPersonalization limit.
  - Do not approve finishAddingEntries if there are more profiles or
    entries to be added than startPersonalization set accounting.
  - Add testing utilities library for identity credential.
  - Refactored end to end tests.

Bug: 154909726
Test: atest VtsHalIdentityTargetTest
Test: atest android.security.identity.cts
Merged-In: I51902681776c6230e49589fc75a8145e79d7d1a6

Change-Id: Ib7c108f67c61125edba6177dcac61cfbf58da671
2020-04-27 13:03:20 -04:00
Amy Zhang
af6dc646fb Merge "Make dvr tests a separate module" into rvc-dev am: d8040b86f7 am: b886d30845
Change-Id: I9cf467e2fb618bf00c7bea64cfce68cb626d7098
2020-04-25 01:32:18 +00:00
Amy Zhang
38f5760b30 Merge "Make dvr tests a separate module" into rvc-dev am: d8040b86f7 am: 469196a204
Change-Id: I44fa0b811b948917bbb02c1c396bb5bc562544c9
2020-04-25 01:26:49 +00:00
Amy Zhang
b886d30845 Merge "Make dvr tests a separate module" into rvc-dev am: d8040b86f7
Change-Id: Id3a66bf57c1b30bf13ffd17b7a19ee4c01ba86a7
2020-04-25 01:12:35 +00:00
Amy Zhang
469196a204 Merge "Make dvr tests a separate module" into rvc-dev am: d8040b86f7
Change-Id: I997cd76cb0e441f0252618f0dbd4561a96ad5e8a
2020-04-25 01:10:28 +00:00
Amy Zhang
d8040b86f7 Merge "Make dvr tests a separate module" into rvc-dev 2020-04-25 00:48:21 +00:00
Steven Moreland
d02d80602f [automerger skipped] Merge "android.hardware.tests.lazy@1.0::ILazy" into rvc-dev am: 0239729262 -s ours am: f2e3df989b -s ours
am skip reason: Change-Id I710c11c0cb59f04b4f162d627ca0d11135ab1437 with SHA-1 1f9aa386ba is in history

Change-Id: I0e55389985a702aa498a0e9b81423291a2f08d29
2020-04-25 00:37:00 +00:00
Steven Moreland
12d7b66ed7 [automerger skipped] Merge "android.hardware.tests.lazy@1.0::ILazy" into rvc-dev am: 0239729262 am: 22ec381f68 -s ours
am skip reason: Change-Id I710c11c0cb59f04b4f162d627ca0d11135ab1437 with SHA-1 1f9aa386ba is in history

Change-Id: I8428c8b24ffaf0f21afcbfc2e5a78613190325c7
2020-04-25 00:36:42 +00:00
Steven Moreland
22ec381f68 Merge "android.hardware.tests.lazy@1.0::ILazy" into rvc-dev am: 0239729262
Change-Id: Ie5ed30054e073b9101914ec901c964f5618ec368
2020-04-25 00:26:21 +00:00
Steven Moreland
f2e3df989b [automerger skipped] Merge "android.hardware.tests.lazy@1.0::ILazy" into rvc-dev am: 0239729262 -s ours
am skip reason: Change-Id I710c11c0cb59f04b4f162d627ca0d11135ab1437 with SHA-1 1f9aa386ba is in history

Change-Id: I6bf2570d753e1908766541a6676f2dbb25c4c45e
2020-04-25 00:25:47 +00:00
Steven Moreland
0239729262 Merge "android.hardware.tests.lazy@1.0::ILazy" into rvc-dev 2020-04-25 00:14:18 +00:00
TreeHugger Robot
306eecfbb9 Merge "Add Lnbs for CTS" into rvc-dev am: 8350572765 am: a7ed07bd71
Change-Id: I94d23288619e97631af46c3ac1476a5c505e21cc
2020-04-25 00:05:40 +00:00
TreeHugger Robot
53bf01f26a Merge "Add Lnbs for CTS" into rvc-dev am: 8350572765 am: 199bf5002c
Change-Id: I7fecbfadf9458c9bd82f269bd8f742bf8f235bc9
2020-04-25 00:05:18 +00:00
TreeHugger Robot
a7ed07bd71 Merge "Add Lnbs for CTS" into rvc-dev am: 8350572765
Change-Id: I432e99964cd63c208118f659273d566323ba4743
2020-04-24 23:51:19 +00:00
TreeHugger Robot
199bf5002c Merge "Add Lnbs for CTS" into rvc-dev am: 8350572765
Change-Id: I265a01e4ef50510cd45ad6c69e50b0447a65d40d
2020-04-24 23:48:55 +00:00
TreeHugger Robot
8350572765 Merge "Add Lnbs for CTS" into rvc-dev 2020-04-24 23:28:00 +00:00
felipeal
9c998c0720 Moved emulated User HAL capabilities into a library.
So it can be used by other Vehicle HAL implementations.

Test: adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --user-hal
Test: adb shell lshal debug android.hardware.automotive.vehicle@2.0::IVehicle/default --help
Test: m -j android.hardware.automotive.vehicle@2.0-emulated-user-hal-lib

Bug: 150167241
Bug: 150409377

Merged-In: I2d0c5039c3b994dfe10d3b411f6d502bebe7cca0
Change-Id: I2d0c5039c3b994dfe10d3b411f6d502bebe7cca0
2020-04-24 16:11:19 -07:00
Steven Moreland
0c6e08d07a android.hardware.tests.lazy@1.0::ILazy
For testing lazy HALs in HIDL on continuous integration.

Bug: 148114689
Test: hidl_lazy_test
Change-Id: I710c11c0cb59f04b4f162d627ca0d11135ab1437
(cherry picked from commit 1f9aa386ba)
Merged-In: I710c11c0cb59f04b4f162d627ca0d11135ab1437
2020-04-24 14:09:38 -07:00
Treehugger Robot
0ee9db0684 Merge "Fix IC vts bugs and add tests for IC IWritableIdentityCredential.aidl interface." am: 71156e527c am: 0e5e21e55a am: d63d135677
Change-Id: I316e288beb270cb5976ad6589f445a470a866954
2020-04-24 14:36:57 +00:00
Treehugger Robot
d63d135677 Merge "Fix IC vts bugs and add tests for IC IWritableIdentityCredential.aidl interface." am: 71156e527c am: 0e5e21e55a
Change-Id: Ia89041927381beb0617bded45000065beebbba6d
2020-04-24 14:27:51 +00:00
Treehugger Robot
0e5e21e55a Merge "Fix IC vts bugs and add tests for IC IWritableIdentityCredential.aidl interface." am: 71156e527c
Change-Id: If6b18f5ecd261fd68dda1fd79b2daaad88422716
2020-04-24 14:11:47 +00:00
Treehugger Robot
71156e527c Merge "Fix IC vts bugs and add tests for IC IWritableIdentityCredential.aidl interface." 2020-04-24 14:00:54 +00:00
Treehugger Robot
98df927cfc Merge "Allow device properties tags for attestation" am: 9a2f497439 am: 3fd8b10984 am: 349af3e40c
Change-Id: I8bf83707c8837b08624fceafebed9edb73ad7c4e
2020-04-24 08:47:31 +00:00
Treehugger Robot
349af3e40c Merge "Allow device properties tags for attestation" am: 9a2f497439 am: 3fd8b10984
Change-Id: I3b8e79ebf16b60d9236f1ba207255950ade3c701
2020-04-24 08:30:54 +00:00