summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-06-12Refresh terminal instances when switching between SS and DS am: a0108ddb86 ↵android-11.0.0_r48android-11.0.0_r47android-11.0.0_r46android-11.0.0_r45android-11.0.0_r44android-11.0.0_r43android-11.0.0_r42android-11.0.0_r41android-11.0.0_r40android-11.0.0_r39android-11.0.0_r38android-11.0.0_r37android-11.0.0_r36android-11.0.0_r35android-11.0.0_r34android-11.0.0_r33android-11.0.0_r32android-11.0.0_r31android-11.0.0_r30android-11.0.0_r29android-11.0.0_r28android-11.0.0_r27android-11.0.0_r26android-11.0.0_r24android-11.0.0_r23android-11.0.0_r22android-11.0.0_r21android-11.0.0_r20android-11.0.0_r19android-11.0.0_r18android11-qpr3-s1-releaseandroid11-qpr3-releaseandroid11-qpr2-releaseandroid11-qpr1-s2-releaseandroid11-qpr1-s1-releaseandroid11-qpr1-releaseandroid11-qpr1-d-s1-releaseandroid11-qpr1-d-releaseandroid11-qpr1-c-releaseandroid11-d2-releaseJack Yu
am: 66db1eb283 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/SecureElement/+/11675379 Change-Id: I8ec5c83a3ba0a07b47a79e0d37495cac823f41ce
2020-06-12Refresh terminal instances when switching between SS and DS am: a0108ddb86android-11.0.0_r16android11-d1-b-releaseJack Yu
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/SecureElement/+/11675379 Change-Id: I4aca49ad426195a20b2d0c0a5b19350cfabcd24a
2020-06-11Refresh terminal instances when switching between SS and DSandroid11-devJack Yu
Listen to CARRIER_CONFIG_CHANGED and reinitialize UICC terminals. Bug: 152008670 Test: adb shell dumpsys secure_element Merged-In: I8bb13b43de6f17f0b5b82440708d90bf684ca7ec Change-Id: I8bb13b43de6f17f0b5b82440708d90bf684ca7ec
2020-06-10Merge "Allow OpenLogicalChannel with null aid for privilege apps" into ↵TreeHugger Robot
rvc-dev am: da6daab1eb am: a69c3d10ee Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/SecureElement/+/11628925 Change-Id: I4b493adab9fde398ecc411f5cf6411a48599cbc1
2020-06-10Merge "Allow OpenLogicalChannel with null aid for privilege apps" into ↵TreeHugger Robot
rvc-dev am: da6daab1eb Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/SecureElement/+/11628925 Change-Id: I46507e9b4a76e26f9d257cb1a354b10ace89e45d
2020-06-10Merge "Allow OpenLogicalChannel with null aid for privilege apps" into rvc-devTreeHugger Robot
2020-06-08Deny the operation to select ISD-R aid am: 69dbe6f5de am: 7074bc2780Jack Yu
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/SecureElement/+/11786959 Change-Id: Id6b8519ca333e1897377c231dcb0a7bcf4bbe340
2020-06-08Deny the operation to select ISD-R aid am: 69dbe6f5deJack Yu
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/SecureElement/+/11786959 Change-Id: I587beab9aea7c31c9ab7c66e02704d74c0805e56
2020-06-08Deny the operation to select ISD-R aidJack Yu
Do not directly provide privilege access to carrier privilege apps to select ISD-R aid. Fallback to GP rules checking. Bug: 157968163 Test: select ISD-R aid is not directly allowed for carrier privilege apps Merged-In: Id7dd6e3afcb88d97b7c62e8710ef16fbc35010f3 Change-Id: Id7dd6e3afcb88d97b7c62e8710ef16fbc35010f3
2020-06-03Allow OpenLogicalChannel with null aid for privilege appsJack Yu
Do not return null directly when application try to openLogicalChannel with null aid. Check if it is privilege application first. Bug: 157349625 Test: openLogicalChannel with null aid Merged-In: Icf7ee2b299154874f1bdd4b5b409c7df04eb831b Change-Id: Icf7ee2b299154874f1bdd4b5b409c7df04eb831b
2020-05-25Fix ActivityNotFoundException am: b8b2823edd am: 904263bc38Jack Yu
Change-Id: I44a6d6666afb7f53d9c829cd76756261d3f0e262
2020-05-25Fix ActivityNotFoundException am: b8b2823eddJack Yu
Change-Id: If34ad6817f28a5c7d730c821400b2ac46066867c
2020-05-25Fix ActivityNotFoundExceptionJack Yu
In Android 11, we need an additional permission to access all other installed packages Bug: 157119957 Test: build pass Merged-In: I721549c68430bec4f777e560642864907c60f90f Change-Id: I721549c68430bec4f777e560642864907c60f90f
2020-04-22Correct carrier privilege checking am: 6b46ee4406 am: 685c72767bJack Yu
Change-Id: I1e52f57c5995839dc49d3ec73ebb1fd929598013
2020-04-22Correct carrier privilege checking am: 6b46ee4406Jack Yu
Change-Id: Id001b22aad02d88f508b262554f8057f8a0f6b11
2020-04-22OpenBasicChannel with UICC should not be allowed for non-privilege apps am: ↵Jack Yu
489369c429 am: 79c9537013 Change-Id: I5f29be6ee80264aa721db719dc2ad0ec414c772b
2020-04-22OpenBasicChannel with UICC should not be allowed for non-privilege apps am: ↵Jack Yu
489369c429 Change-Id: I4fce40dfb2180ed5621b2420cbd6086ee2749a49
2020-04-22Correct carrier privilege checkingJack Yu
Bug: 154094471 Test: check carrier privilege Merged-In: Id1a3fdb669c8e85aafcdb9623ec30b098f6c36c2 Change-Id: Id1a3fdb669c8e85aafcdb9623ec30b098f6c36c2
2020-04-22OpenBasicChannel with UICC should not be allowed for non-privilege appsJack Yu
Throw exception in setUpChannelAccess if this is not a privilege app. Bug: 153934978 Test: atest CtsOmapiTestCases Merged-In: Id39bcad679e856370b985bb77ca77aaadc84c7a0 Change-Id: Id39bcad679e856370b985bb77ca77aaadc84c7a0
2020-04-15Fix redundant codeflow in openLogicalChannel with UICC terminal am: ↵Jack Yu
054af27cab am: cbddd0c10e Change-Id: Ibe346edebde27e37d92463bb7a434627d698b84e
2020-04-15Fix redundant codeflow in openLogicalChannel with UICC terminal am: 054af27cabJack Yu
Change-Id: Iae86ee1b1d99725384774bc0f31b5ba04e34f483
2020-04-14Fix redundant codeflow in openLogicalChannel with UICC terminalJack Yu
When setup channel access for UICC terminal, carrier privileges checking add unnecessary rules loading. Bug: 152060727 Bug: 153832909 Test: atest CtsOmapiTestCases Merged-In: Ia3230a7f0165b9233196a698d9bfd0e243fa0db6 Change-Id: Ia3230a7f0165b9233196a698d9bfd0e243fa0db6
2020-03-31Do not overwrite mFullAccess setting am: 2add4761ca am: d746b735dfJack Yu
Change-Id: Ibf13042f00b0676945020d351430f42f9d00094f
2020-03-31Allow privilege app access to open channel am: f1ac0f7437 am: ed69bcb193Anil Hiranniah
Change-Id: I15badc49054b249ffa6faf4778f1ebee254e28f4
2020-03-31Do not overwrite mFullAccess setting am: 2add4761caJack Yu
Change-Id: I211e08ec99250c1079f1c7d82557ccc1b660cd30
2020-03-31Allow privilege app access to open channel am: f1ac0f7437Anil Hiranniah
Change-Id: Ia2571f107e1979cb5837a64ba5ff20616c609d7e
2020-03-31Do not overwrite mFullAccess settingJack Yu
Bug: 152817207 Test: mFullAccess could be modified in debug build by property Merged-In: I0fe3abda539d504bcf2ff314fc4bc5fa7419f614 Change-Id: I0fe3abda539d504bcf2ff314fc4bc5fa7419f614
2020-03-31Allow privilege app access to open channelAnil Hiranniah
Allow privilege app access to open channel even if AccessControlEnforcer is not available. Throw exception only for non privileged access. Bug: 149632580 Test: OpenBasicChannel from Privileged/Non privileged app Merged-In: Ie188d397f6bf641923d010ad3a9d00d21bc9351b Change-Id: Ie188d397f6bf641923d010ad3a9d00d21bc9351b
2020-03-23Include channel operation in synchronized area am: c3f935b630 am: ce9af7131e ↵Jack Yu
am: 54609b5f00 Change-Id: Ibd24b53ab09ff950ab6eb037843e06783602db11
2020-03-23Include channel operation in synchronized area am: c3f935b630 am: ce9af7131eJack Yu
Change-Id: I2328de6214102c76e70cdc59097e03808811a7e6
2020-03-23Include channel operation in synchronized area am: c3f935b630Jack Yu
Change-Id: I9873ffc144c6a3477e4e51306ff64a5a9d7ce634
2020-03-18Change naming to be more specific am: 9e1ce1906b am: e21ffb7ea8Jack Yu
Change-Id: I15371ef0386571d5230e554271bdefb72e38eb3c
2020-03-18Change naming to be more specific am: 9e1ce1906bJack Yu
Change-Id: Ifc5ad50262f20ca1b808b6bce0bbd17dd49280eb
2020-03-16Change naming to be more specificJack Yu
Change SECURE_ELEMENT_PRIVILEGED to SECURE_ELEMENT_PRIVILEGED_OPERATION. Bug: 150877612 Test: build pass Merged-In: I5c0d557f9ac43b64f2113de6c4a46f92e99b7c27 Change-Id: I5c0d557f9ac43b64f2113de6c4a46f92e99b7c27
2020-02-18Update OWNERS file am: 9f43436747 am: 397769dff6 am: c74cb81a3cGeorge Chang
Change-Id: Ie60354f0426a31e586081315214730be34f3a022
2020-02-18Update OWNERS file am: 9f43436747 am: 397769dff6George Chang
Change-Id: I18655424661053a43efc59e2c7298c5051477c28
2020-02-18Update OWNERS file am: 9f43436747George Chang
Change-Id: I9d3834439a1b0d6a250efdadd36a201f57f14ff8
2020-02-18Update OWNERS fileGeorge Chang
Test: None Change-Id: Id2e5629b687ff92d6cf38e8b8ddb4a3b05a89d20
2020-02-12Include channel operation in synchronized area am: 38da55f2ec am: 96b22f4f87 ↵Automerger Merge Worker
am: 235b4688ef Change-Id: Id9083df806b6cceaf0f339bf998971bb90afd42c
2020-02-12Include channel operation in synchronized area am: 38da55f2ec am: 96b22f4f87Automerger Merge Worker
Change-Id: Ia88bac4a5df1a0860d44243337fbad69884d6bd6
2020-02-12Include channel operation in synchronized area am: 38da55f2ecAutomerger Merge Worker
Change-Id: I8acbc07c7305aca59cea540fef5fe63b3cd21f62
2020-02-06Include channel operation in synchronized areaJack Yu
When application try to stress OMAPI by continuously open/close channels with multi-thread, there is possibility channel management is incorrect and result to no response. Bug: 148892905 Test: OMAPI works normal after multi-thread stress tests Change-Id: I530015ff20ed143a129024d6385fae9392a00a99
2020-02-06Include channel operation in synchronized areaJack Yu
When application try to stress OMAPI by continuously open/close channels with multi-thread, there is possibility channel management is incorrect and result to no response. Bug: 148892905 Test: OMAPI works normal after multi-thread stress tests Change-Id: I530015ff20ed143a129024d6385fae9392a00a99
2020-01-31Merge "Migrate to SecureElementStatsLog from StatsLog"TreeHugger Robot
2020-01-24Migrate to SecureElementStatsLog from StatsLogMuhammad Qureshi
As part of statsd becoming a Mainline module in R, autogenerated StatsLog.write() calls are going away and replaced by *StatsLog.java that is autogenerated for each module. This CL adds autogenerated SecureElementStatsLog and replaces usages of StatsLog with SecureElementStatsLog. Bug: 145952197 Test: m SecureElement Change-Id: Ided6c27ba2be86152949dcbf430bcc3140a62b58
2020-01-24Merge "Add support for secure_element HAL 1.2" am: 138fac9fd1 am: 463b696619 ↵Automerger Merge Worker
am: 5199b8777f Change-Id: I825ebd3f5664543b774fe07090ab336e097df572
2020-01-23Merge "Add support for secure_element HAL 1.2" am: 138fac9fd1 am: 463b696619Automerger Merge Worker
Change-Id: I02c1485e57b0555352d0f53840eaf525828af819
2020-01-22Merge "Add support for secure_element HAL 1.2"Jack Yu
am: 138fac9fd1 Change-Id: I71b2faf5fbb8ad26b9aed7cbfd93691c3b2bfd37
2020-01-23Merge "Add support for secure_element HAL 1.2"android-r-preview-1Treehugger Robot
2020-01-21Add support for secure_element HAL 1.2Jack Yu
Test: manual Bug: 142495673 Change-Id: I1338a2a11cc60fa50b1c8dd8e75022af9ea1b0a1