Commit Graph

632365 Commits

Author SHA1 Message Date
Kevin Chyn
15e1d3f7e7 Update removeAll path
1) Make the resulting face/fingerprint can be @Nullable. Not all
   removal callers care about the template that was removed, just
   that they were all removed.

2) FingerprintService/FaceService should wait for all providers to
   finish removing before notifying the upper layer of completion

Fixes: 183758063
Test: atest CtsBiometricsTestCases, notice
      testLockoutResetRequestedAfterCredentialUnlock finishes
      10 seconds quicker now (latch in LSS doesn't time out anymore)
Change-Id: I87c50ccf5524fd5440c9a6c2c7a0fd4cc61e684d
2021-03-29 23:06:03 -07:00
Kevin Chyn
17681607d9 Update getAuthenticatorId logic
1) Theoretically, 0 is a valid random authenticatorId
2) A more precise way of handling this is by checking enrollment
   status. If the sensor has no enrollments, do not add its
   authenticatorId to the list

Bug: 183142128
Test: atest CtsBiometricsTestCases
Change-Id: I80e9b27a297480b02015b20788d56703833245ab
2021-03-29 19:19:55 -07:00
Automerger Merge Worker
3309f23317 Merge "Merge "Use framework-annotation-libs for hwbinder-stubs-docs" am: 35f70208f8 am: b4f0aacecd am: ad8bcb3ac6" into sc-dev 2021-03-26 19:28:12 +00:00
Ahaan Ugale
5395b1a47f Merge "Unset default reco if selectableAsDefault=false." into sc-dev 2021-03-26 19:27:58 +00:00
Colin Cross
9c3cceac50 Merge "Use framework-annotation-libs for hwbinder-stubs-docs" am: 35f70208f8 am: b4f0aacecd am: ad8bcb3ac6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1652998

Change-Id: I786eec77e59d86f204108830a5f2f1eca4a815ed
2021-03-26 19:27:42 +00:00
Colin Cross
ad8bcb3ac6 Merge "Use framework-annotation-libs for hwbinder-stubs-docs" am: 35f70208f8 am: b4f0aacecd
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1652998

Change-Id: I144e656a8f4921b9b8569a93df4f8fa7ec72e9ac
2021-03-26 18:38:37 +00:00
Ahaan Ugale
80348b5baf Merge "Implement dispatchRequestTranslation for getting translation information." into sc-dev 2021-03-26 18:28:17 +00:00
TreeHugger Robot
7b186b567f Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-03-26 18:19:29 +00:00
Colin Cross
b4f0aacecd Merge "Use framework-annotation-libs for hwbinder-stubs-docs" am: 35f70208f8
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1652998

Change-Id: Ie914d2ac2f1dfdad1c3a8374c9861e0a9b9bff41
2021-03-26 18:15:28 +00:00
TreeHugger Robot
9af0fe4e78 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-03-26 18:02:54 +00:00
Colin Cross
35f70208f8 Merge "Use framework-annotation-libs for hwbinder-stubs-docs" 2021-03-26 17:44:57 +00:00
Colin Cross
037d7fb498 Use framework-annotation-libs for hwbinder-stubs-docs
hwbinder.stubs and hwbinder-stubs-docs use SystemApi annotations.
Provide an explicit definition of SystemApi to metalava by adding
framework-annotations-libs to libs so it doesn't find it on its
own without a dependency.  Replace stub-annotations with
framework-annotations-libs in hwbinder.stubs for consistency.

Bug: 153703940
Test: m hwbinder.stubs
Change-Id: I777d68e446f8c7c1064667fd7c07b1e2ee6bfb1b
2021-03-26 17:44:07 +00:00
Sunny Goyal
75238d1237 Merge "Using IconLoader lib to load splashscreen icons" into sc-dev 2021-03-26 16:41:57 +00:00
Dmitri Plotnikov
eb2a57b807 Merge "Add SystemBatteryConsumer.getPowerConsumedByApps()" into sc-dev 2021-03-26 14:31:35 +00:00
Sergey Volnov
86d7e7d2e0 Merge "Introduce the concept of software and external hotword." into sc-dev 2021-03-26 12:28:21 +00:00
Shinru Han
c247fad24e Merge "Add docs to SatellitePvt class" into sc-dev 2021-03-26 09:59:31 +00:00
Jackal Guo
a62a68dba7 Merge "Migrate the usage of sUseRoundIcon to PackageParserUtils" into sc-dev 2021-03-26 08:01:07 +00:00
Sudheer Shanka
ef688bbdf5 Merge "Rename Context.BIND_ALLOW_NETWORK_ACCESS." into sc-dev 2021-03-26 07:56:19 +00:00
Treehugger Robot
655b204a8c [automerger skipped] Merge "Add network disconnected callback" am: 1ac46f932e am: 00d44574b9 am: fabb82dced -s ours
am skip reason: skip tag Change-Id I602ff2c688909473b03b72c9407d4286608cff4c with SHA-1 3d80507917 is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1652259

Change-Id: I7a5a9589eaa8ef0022d5f9ee5f857bbe70fa38ad
2021-03-26 07:54:23 +00:00
Sergey Volnov
baceb11e71 Introduce the concept of software and external hotword.
Follow-up: implement circular buffer and integrate with the flows.

Bug: 182788844
Bug: 168305377
CTS-Coverage-Bug: 183425641
Test: atest CtsVoiceInteractionTestCases
Change-Id: I654a06afb27bb961bfb547a6636e08eb72a031fc
2021-03-26 00:10:44 -07:00
Treehugger Robot
fabb82dced Merge "Add network disconnected callback" am: 1ac46f932e am: 00d44574b9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1652259

Change-Id: Iec2661c2f77a17784f7be963d1a4d8ec8ef483ec
2021-03-26 07:05:30 +00:00
Treehugger Robot
00d44574b9 Merge "Add network disconnected callback" am: 1ac46f932e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1652259

Change-Id: I75bd112821c42c16d7ed91ecbb4f21104c95204b
2021-03-26 06:28:19 +00:00
Treehugger Robot
1ac46f932e Merge "Add network disconnected callback" 2021-03-26 05:47:33 +00:00
Joanne Chung
f51da99ac1 Implement dispatchRequestTranslation for getting translation information.
This change doesn't contain the virtual view part and the API, it
will be done in the next change.

Bug: 178046780
Test: manual
Test: atest CtsTranslationTestCases
CTS-Coverage-Bug: 177960696

Change-Id: Idba66a882a90168ecdd93423c0d5d054ab040dad
2021-03-25 22:31:54 -07:00
Lorenzo Colitti
58ee26218c Merge changes from topic "blocked-reasons-callback-tests" am: 2108a92452 am: 6456359a0e am: 8afa9811c7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1652214

Change-Id: I4d69b1ce096d83c311620950650460024ae348c0
2021-03-26 05:27:47 +00:00
paulhu
15ba17a308 [automerger skipped] Add MOBILE_DATA_PREFERRED_APPS setting am: 6a29f472bf am: eece0e5412 am: 29a67e7a34 -s ours
am skip reason: skip tag Change-Id Ic5e0515b2b948de3d333c8d8e073d0b15514562a with SHA-1 45515ca169 is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1654015

Change-Id: I2c0061b6ee92303bb68f2752d038e578abcb1b85
2021-03-26 05:27:25 +00:00
paulhu
15c7691312 [automerger skipped] Add PRIVATE_DNS_MODE setting setter am: 5dfacdee51 am: f8215991ca am: f7b4e3d070 -s ours
am skip reason: skip tag Change-Id If234426f041606c4881de1eca31b6f5bdb3c6bfe with SHA-1 37135512f8 is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1654014

Change-Id: I75eaedbfd00428cad87e5398c1f3bd54f0dbcd43
2021-03-26 05:27:07 +00:00
paulhu
dedc805f09 [automerger skipped] Expose ConnectivitySettingsManager as module-lib API am: 1108c1299c am: 26d7d676bf am: c1ceb15c58 -s ours
am skip reason: skip tag Change-Id I82225a43f95e3e1d3e52c4e7a0fc541c0087292e with SHA-1 a05dac7b25 is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1654013

Change-Id: Ibbe2daf0a26138fce2db0a00eebd32f1dd7c0df5
2021-03-26 05:26:39 +00:00
Chalard Jean
6c67db7ba2 Merge changes from topic "ns05" into sc-dev
* changes:
  [NS06] Implement the don't-reap mechanism
  [NS05] Feed network offer callbacks
2021-03-26 05:07:39 +00:00
TreeHugger Robot
b752366da0 Merge "Import translations. DO NOT MERGE ANYWHERE" into sc-dev 2021-03-26 04:47:04 +00:00
Lorenzo Colitti
8afa9811c7 Merge changes from topic "blocked-reasons-callback-tests" am: 2108a92452 am: 6456359a0e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1652214

Change-Id: Ie51249f5fa47b0a5afe287083139082488f9b503
2021-03-26 04:36:19 +00:00
paulhu
29a67e7a34 Add MOBILE_DATA_PREFERRED_APPS setting am: 6a29f472bf am: eece0e5412
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1654015

Change-Id: I25b39c8f35dd80d13775c4a9c5074b2cd8c9f297
2021-03-26 04:36:10 +00:00
paulhu
f7b4e3d070 Add PRIVATE_DNS_MODE setting setter am: 5dfacdee51 am: f8215991ca
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1654014

Change-Id: Iddc394112f17b3e4264a42c6326148833efe9297
2021-03-26 04:36:06 +00:00
paulhu
c1ceb15c58 Expose ConnectivitySettingsManager as module-lib API am: 1108c1299c am: 26d7d676bf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1654013

Change-Id: I0d623f62c2e5d4c975f74b1efed24bdf5cc7c669
2021-03-26 04:36:02 +00:00
Bill Yi
b23454a799 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Icb6afda3dd121777b2868361d2349917d2008d4d
2021-03-26 04:18:32 +00:00
Jiabin Huang
ae6711b2a7 Merge "Add short audio descriptor and encapsulation type in AudioProfile." into sc-dev 2021-03-26 04:08:33 +00:00
Lorenzo Colitti
6456359a0e Merge changes from topic "blocked-reasons-callback-tests" am: 2108a92452
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1652214

Change-Id: I02f2f4458329e17ab33d792dee98ffe5f6499ad0
2021-03-26 04:04:27 +00:00
paulhu
eece0e5412 Add MOBILE_DATA_PREFERRED_APPS setting am: 6a29f472bf
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1654015

Change-Id: I4d5c5cfaa2a35a6919517c6e5737fffdd0f217f3
2021-03-26 04:02:02 +00:00
paulhu
f8215991ca Add PRIVATE_DNS_MODE setting setter am: 5dfacdee51
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1654014

Change-Id: I97de83147a0c656802601ec116ee9ee7de114884
2021-03-26 03:58:53 +00:00
Steven Moreland
32f27edf97 Merge "Binder: allow stability downgrade" am: 7236cf6dca am: 0852de16cb am: e86ea5d7d4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1651544

Change-Id: Icb13c0c97fb72d56c0212fe2ec4100653c454bd4
2021-03-26 03:58:18 +00:00
paulhu
26d7d676bf Expose ConnectivitySettingsManager as module-lib API am: 1108c1299c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1654013

Change-Id: I6b53ced3ed523f984dde3c5b24cd53f832284da0
2021-03-26 03:54:38 +00:00
Bill Yi
c3c58cd9d9 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I1a3201e1786d66de43d0d55f0fd4eb14809cecec
2021-03-26 03:35:54 +00:00
Lorenzo Colitti
2108a92452 Merge changes from topic "blocked-reasons-callback-tests"
* changes:
  Add unit tests for onBlockedStatusChanged(Network, int).
  Add onBlockedStatusChanged(Network, int) to NetworkCallback.
  Add MOBILE_DATA_PREFERRED_APPS setting
  Add PRIVATE_DNS_MODE setting setter
  Expose ConnectivitySettingsManager as module-lib API
2021-03-26 03:30:11 +00:00
Steven Moreland
e86ea5d7d4 Merge "Binder: allow stability downgrade" am: 7236cf6dca am: 0852de16cb
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1651544

Change-Id: I5f0e1dcb3a06dcb35bf2c68f077afbe32a4e8088
2021-03-26 03:14:29 +00:00
Bill Yi
17284baf7a Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I415d832e5f58ea7c304493547140d4f8578b22b0
2021-03-26 02:55:51 +00:00
Roman Kiryanov
6264987a00 Merge "Emulator cleanup in ClipboardService.java (send/receive)" am: c4bc4fb144 am: fadfebd06a am: bda0cd8f50
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1634489

Change-Id: Ic9aee266d7d7ade45e39ed6e7957f8fe57a7cfe8
2021-03-26 02:55:23 +00:00
Chiachang Wang
34a2358da0 Add network disconnected callback
Create a network callback to notify network agent after the
native network being destroyed by netd which means the network
is fully disconnected. The NetworkAgent may handle this event
after sending disconnect state to ConnectivityService to proceed
its pending works that have to be done after it.

Bug: 178725261
Test: make update-api
Change-Id: I602ff2c688909473b03b72c9407d4286608cff4c
Merged-In: I602ff2c688909473b03b72c9407d4286608cff4c
2021-03-26 02:53:29 +00:00
Chiachang Wang
e87a4dacd7 Merge "Expose BIP and VSIM relavent definitions" into sc-dev 2021-03-26 02:38:34 +00:00
Steven Moreland
0852de16cb Merge "Binder: allow stability downgrade" am: 7236cf6dca
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1651544

Change-Id: Ie9c185ebf71687fbc7c4036ba9296b32e9a63383
2021-03-26 02:28:36 +00:00
Shawn Lin
b7a273470e Merge "Attached the navigation bar to app for launching from notification" into sc-dev 2021-03-26 02:15:54 +00:00