Commit Graph

654819 Commits

Author SHA1 Message Date
Hao Ke
ce08bacce0 Merge "Add “@throws BadParcelableException” to the JavaDoc of new API methods that throw the exception." am: d6f306117a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1857934

Change-Id: Ie91b63142355e26dc5e27216ac9f53a4ebe492d3
2021-10-14 17:47:17 +00:00
Hao Ke
d6f306117a Merge "Add “@throws BadParcelableException” to the JavaDoc of new API methods that throw the exception." 2021-10-14 17:30:43 +00:00
Treehugger Robot
63013a442b Merge "Partial revert "Wait for unlock to start jobs."" am: 214a74b728
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1852928

Change-Id: I7a7edfc0e461268dc7c25f504dc674100aeb8e9b
2021-10-14 17:01:58 +00:00
Treehugger Robot
214a74b728 Merge "Partial revert "Wait for unlock to start jobs."" 2021-10-14 16:43:16 +00:00
Hao Ke
f98489f1c0 Add “@throws BadParcelableException” to the JavaDoc of new API methods that throw the exception.
Test: atest -d android.os.cts.ParcelTest
Bug: b/203004511
Change-Id: I24bf7314e63015d46ab478ec8c44ecf22857bac2
2021-10-14 15:31:37 +00:00
Neil Fuller
dc313c42be Merge "Attempt 2 for adding OWNERS for SNTP code" am: c3c74384e2
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1857735

Change-Id: Id65ae303a84c87c144eaf45b979e0b234036da67
2021-10-14 12:49:55 +00:00
Neil Fuller
c3c74384e2 Merge "Attempt 2 for adding OWNERS for SNTP code" 2021-10-14 12:37:09 +00:00
Neil Fuller
3725e9c638 Attempt 2 for adding OWNERS for SNTP code
Commit e5ad129716 combined with pending
reviews demonstrated the OWNERS syntax has quirks and it is not working
as intended.

Documentation used:
https://android-review.googlesource.com/plugins/code-owners/Documentation/backend-find-owners.html#syntax

The syntax guide recommends that patterns like sub-dir/* aren't used as
they can cause problems when renaming directories; better to have OWNERS
in the sub-dir. The pattern sntp/* didn't appear to be working (perhaps
because of spaces).

Test: None
Bug: 199481251
Change-Id: I193744eaaad529b9680d3ccf905b86d68f62f7ff
2021-10-14 13:28:57 +01:00
Treehugger Robot
91b6322393 Merge "Pass Binder token to ISuspendControlServiceInternal#enableAutosuspend" am: 530fbd2d14
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1841755

Change-Id: Icacc80a3b85878db5e5068e23da8437f17576209
2021-10-14 12:02:58 +00:00
Treehugger Robot
530fbd2d14 Merge "Pass Binder token to ISuspendControlServiceInternal#enableAutosuspend" 2021-10-14 11:48:30 +00:00
Anton Hansson
c075b75396 Merge "Add build rule to merge annotation zips" am: e71f30f079
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1837316

Change-Id: Ie5fe50cb3b3215b57c5728427c2b6f767584c23d
2021-10-14 11:28:36 +00:00
Anton Hansson
e71f30f079 Merge "Add build rule to merge annotation zips" 2021-10-14 11:10:37 +00:00
Neil Fuller
77e6b45c8b Merge "Add additional OWNERS for SNTP client code" am: ba2cccd507
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1856326

Change-Id: I7a35401d99e0c7366b492dadc99e752edd73331d
2021-10-14 10:07:11 +00:00
Neil Fuller
ba2cccd507 Merge "Add additional OWNERS for SNTP client code" 2021-10-14 09:53:59 +00:00
Neil Fuller
e5ad129716 Add additional OWNERS for SNTP client code
Add additional OWNERS for SNTP client code.  This may be enough to cover
test code that will match the same patterns in
core/tests/coretests/src/android/net (which imports/includes
core/java/android/net/OWNERS). If not, there will be a follow-up for
test code.

Test: None
Bug: 199481251
Change-Id: I1dd6ce6afa0cb441279f3fad3e82483ce6dcaf1b
2021-10-14 09:35:58 +01:00
Tsung-Mao Fang
b619341566 Merge "Remove the owner for settings_enums.proto" am: 11e5ef318f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1856038

Change-Id: I93545359a5741fba1c5f24399093afef552d2d07
2021-10-14 07:14:56 +00:00
Jakub Pawlowski
b2da79c8de Merge changes If0e5861e,Ib385b24d am: 488d8f2060
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1856318

Change-Id: Iea74610f3437640b40ea716bfc9b52d8b466bb45
2021-10-14 07:14:39 +00:00
Jakub Pawlowski
b0182963ab Merge "bluetooth: Fix common typo" am: 2f8032fd8b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1856317

Change-Id: I52f56b11ddc93ba2fce742f970704cbf26807a28
2021-10-14 07:13:47 +00:00
Tsung-Mao Fang
11e5ef318f Merge "Remove the owner for settings_enums.proto" 2021-10-14 07:06:59 +00:00
Jakub Pawlowski
488d8f2060 Merge changes If0e5861e,Ib385b24d
* changes:
  leaudio: Add missing context types
  leaudio: Add API to add/remove group node
2021-10-14 07:03:31 +00:00
Jakub Pawlowski
2f8032fd8b Merge "bluetooth: Fix common typo" 2021-10-14 06:59:51 +00:00
Tyler Gunn
647ac1a233 Merge "Update call log provider docs to clarify how to use LIMIT." am: 5563f3ad03
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1852925

Change-Id: Ia91c02202f74793f22a9631664fe7527f931d83a
2021-10-14 01:22:43 +00:00
Tyler Gunn
5563f3ad03 Merge "Update call log provider docs to clarify how to use LIMIT." 2021-10-14 01:11:27 +00:00
Jakub Pawlowski
b77335b8fc Merge "bluetoothUuid: Add placeholder for CAP uuid" am: 948f5cc547
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1856322

Change-Id: I98cb11690fe5c3decfd9b9b0118d87635f7a0873
2021-10-13 22:22:45 +00:00
Jakub Pawlowski
948f5cc547 Merge "bluetoothUuid: Add placeholder for CAP uuid" 2021-10-13 22:08:07 +00:00
Grzegorz Kołodziejczyk
b92392dff9 leaudio: Add missing context types
BYPASS_INCLUSIVE_LANGUAGE_REASON=exact wording for constant from BT specification
Bug: 150670922
Tag: #feature
Sponsor: jpawlowski@
Test: compile
Change-Id: If0e5861e882636afba6a29c0ae34362d179035ea
2021-10-13 21:59:29 +00:00
Anton Hansson
1bf568ed3e Add build rule to merge annotation zips
This target produces nearly identical contents to the build target
framework-doc-stubs (the only diffs are in whitespace). Using this
module in the SDK zip will allow changing the inputs of
framework-doc-stubs to java sources that don't have all the annotations
(the jar stubs).

Bug: 187397779
Test: m sdk-annotations.zip and diff with framework-doc-stubs zip
Change-Id: Id163473c455f25c5f31c965d907c0c3b0e7755fc
2021-10-13 19:46:31 +01:00
Sarah Chin
85d1a81135 Merge "Move HAL constructors to RILUtils" am: 626939d412
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1853855

Change-Id: I83e194802bdfb26cd24685433152e4dda0f19700
2021-10-13 18:23:01 +00:00
Sarah Chin
626939d412 Merge "Move HAL constructors to RILUtils" 2021-10-13 18:09:04 +00:00
Neil Fuller
81115930fa Merge "Adjust OWNERS to reflect new ownership" am: ead9d53764
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1856324

Change-Id: Ic28fcd3e4cebf3a8f5382fc4777bcb9d7282a0e9
2021-10-13 17:07:03 +00:00
Neil Fuller
ead9d53764 Merge "Adjust OWNERS to reflect new ownership" 2021-10-13 16:48:33 +00:00
Pavel Grafov
d64e6a1802 Merge "Delay instantiation of PacProcessor until unlocked" am: f1d0976115
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1853047

Change-Id: Iaa8c3086166cdf8d92e24f3afdad37b6d167984d
2021-10-13 16:22:26 +00:00
Pavel Grafov
f1d0976115 Merge "Delay instantiation of PacProcessor until unlocked" 2021-10-13 16:05:55 +00:00
Bernardo Rufino
bdfc59ce7b Merge "Add range-based Parcel.hasFileDescriptors(offset, length)" am: ef5365a7f6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1849458

Change-Id: I64ef9460c72e7b35f1d18773d03cc211b3c8bf82
2021-10-13 15:49:52 +00:00
Bernardo Rufino
ef5365a7f6 Merge "Add range-based Parcel.hasFileDescriptors(offset, length)" 2021-10-13 15:34:32 +00:00
Łukasz Rymanowski
ef061e6a00 bluetoothUuid: Add placeholder for CAP uuid
Bug: 150670922
Tag: #feature
Sponsor: jpawlowski@
Test: Manual

Change-Id: I69a9cb6a341d42eff3e5ae92d9c99ab5fa3bf9a3
2021-10-13 14:11:52 +00:00
Pavel Grafov
3f0400e221 Delay instantiation of PacProcessor until unlocked
Webkit PAC processor cannot be created before the user is unlocked,
this is currently causing crashes during boot.
With this CL PacProcessor instantiation is delayed and will happen
only when the user is unlocked either when handling a request or
when PAC script is set.

Instantiation of PacProcessor can take substantial time, on order
of a second.

Bug: 200241231
Test: manual, set PAC proxy and reboot
Change-Id: Id42d857289a0b0f7df5b1c48f94d1b363d94235e
2021-10-13 15:10:55 +01:00
Neil Fuller
e26bbeb94a Adjust OWNERS to reflect new ownership
This changes owners files based on latest org changes and changes
links to improve maintainability.

Changes:
+ It removes a specific owner from most to reduce future maintenance.
+ It adds indirection so android/app references the associated service
code, tests reference the OWNERS of the code under test.
+ services/core/java/com/android/server/timezonedetector/OWNERS is the
single list of time / time zone detector maintainers.
+ Code associated with time zone rules moved to libcore/ ownership
+ It adds one new file for an upcoming commit.
+ Added documentation around API purpose to API OWNERS files, since
there are multiple similar-looking package names with different purposes
/ clients.

Test: None
Bug: 189810551
Change-Id: I948d4b8eff59f3cd5ff63018949e49679795a5c0
2021-10-13 13:57:42 +01:00
Łukasz Rymanowski
6c3fc79d87 leaudio: Add API to add/remove group node
Bug: 150670922
Tag: #feature
Sponsor: jpawlowski@
Test: Manual

Change-Id: Ib385b24d6b10754d9cadea2363e81c78b4382a44
2021-10-13 11:39:29 +00:00
Tsung-Mao Fang
481cdf67fd Remove the owner for settings_enums.proto
Because settings_enums.proto migrated to the frameworks/proto_logging/ now.

Change-Id: I0297792b6aa960ccd4afced8bac5e7085b7444a6
Test: N/A
Bug: 176987254
2021-10-13 08:46:48 +00:00
Łukasz Rymanowski
27064f0bcf bluetooth: Fix common typo
sponsor: jpawlowski@
test: NA

Change-Id: I0e93b87371f434c229f211c480727cc26434a5e0
2021-10-13 07:55:26 +00:00
Tyler Gunn
5a6034c220 Merge "Update API docs for "is_ims_conference_size_enforced_bool" key." am: be88f1fa54
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1853625

Change-Id: I60c2db7ef803c00f7264c1bbe9f1a1aa30a716fe
2021-10-12 23:47:37 +00:00
Tyler Gunn
be88f1fa54 Merge "Update API docs for "is_ims_conference_size_enforced_bool" key." 2021-10-12 23:31:16 +00:00
Michael Wright
187ec0f00f Merge "Update haptics OWNERS" am: 0c3e42ebd3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1853474

Change-Id: Id8a28b1754215a0c690e9f0ef728489e106fefee
2021-10-12 22:25:16 +00:00
Michael Wright
0c3e42ebd3 Merge "Update haptics OWNERS" 2021-10-12 22:08:50 +00:00
Steven Moreland
ddf85ed33d Merge "Parcel: remove use of getOpenAshmemSize" am: 8cb9efdb74
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1850626

Change-Id: Id8892c8d5f122fff9bdf9ab26246447e84ba2d88
2021-10-12 21:06:11 +00:00
Steven Moreland
8cb9efdb74 Merge "Parcel: remove use of getOpenAshmemSize" 2021-10-12 20:49:37 +00:00
Kweku Adams
14841f18ff Partial revert "Wait for unlock to start jobs."
This reverts commit e61cf5125e
but changes onUserUnlocking to onUserUnlocked.

Reason for revert: Direct-boot-aware jobs should be allowed to run when the user is locked

Bug: 200174299
Bug: 201307089
Test: N/A
Change-Id: Ic5a67a42590e171f0bfed8da0c138096031469d5
(cherry picked from commit 171bf04113)
2021-10-12 13:07:14 -07:00
Tyler Gunn
86d27b262b Update call log provider docs to clarify how to use LIMIT.
Clarifying that you CANNOT use LIMIT in the where clause and provide
instructions on the right way to limit results.

Test: Docs only change
Bug: 175599057
Change-Id: Ib4e828fc33ae9b75e7a240e9f456907049fcc35e
2021-10-12 12:00:31 -07:00
wyau
117570f57c Merge "Add start_time and end_time for PreviewPrograms" am: b46475496f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1842874

Change-Id: I1bf7e91e72ebc3c9e59c32d1bed1761f5dcc6a8f
2021-10-12 16:52:22 +00:00