Commit Graph

8065 Commits

Author SHA1 Message Date
Rick Yiu
ac2eaa1729 Merge "Revert "Refine documentation for Process.setThreadPriority"" am: fe6160ab9c am: 1cb565ec3c am: 017adb4085 am: 765dbc6b67
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440031

Change-Id: If918ed3b7a64bd8e9e3421d4cee2dc82d08117eb
2020-10-02 14:06:33 +00:00
Rick Yiu
765dbc6b67 Merge "Revert "Refine documentation for Process.setThreadPriority"" am: fe6160ab9c am: 1cb565ec3c am: 017adb4085
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440031

Change-Id: Ib3da013ce94288729a2b2d177fcc4d2345e1af58
2020-10-02 13:47:00 +00:00
Rick Yiu
017adb4085 Merge "Revert "Refine documentation for Process.setThreadPriority"" am: fe6160ab9c am: 1cb565ec3c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1440031

Change-Id: I1715fe8876ad912282114a2d3db531fdfe577655
2020-10-02 13:15:24 +00:00
Rick Yiu
fe6160ab9c Merge "Revert "Refine documentation for Process.setThreadPriority"" 2020-10-02 12:23:53 +00:00
Treehugger Robot
ff31d87058 Merge "FileBridge: fix fd ownership mismanagement." am: e80c7cb69a am: bc2ef840e1 am: 5cc3eac681 am: 58c615fbaa
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1433025

Change-Id: I9dcad087714df784820af2b2439478928dfa5555
2020-10-02 01:03:23 +00:00
Treehugger Robot
cf682d9c2e Merge "Parcel interface token methods @NonNull." am: 403f00bfb8 am: f74b2d4192 am: 008ff2619b am: 92bcee154f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1444678

Change-Id: Ie8c367e500572f3cb1cf8817d28141d52b06867e
2020-10-02 01:02:27 +00:00
Treehugger Robot
58c615fbaa Merge "FileBridge: fix fd ownership mismanagement." am: e80c7cb69a am: bc2ef840e1 am: 5cc3eac681
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1433025

Change-Id: Ic3b714e1e80c4a9ced5373f1490d77ce80cd868c
2020-10-02 00:46:23 +00:00
Treehugger Robot
92bcee154f Merge "Parcel interface token methods @NonNull." am: 403f00bfb8 am: f74b2d4192 am: 008ff2619b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1444678

Change-Id: I08fb4d9849f38737528924fdc75944d362f1d9f5
2020-10-02 00:45:23 +00:00
Treehugger Robot
5cc3eac681 Merge "FileBridge: fix fd ownership mismanagement." am: e80c7cb69a am: bc2ef840e1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1433025

Change-Id: I5016af13c2b9ee3032daa345b82f7479a6ba5072
2020-10-02 00:02:19 +00:00
Treehugger Robot
008ff2619b Merge "Parcel interface token methods @NonNull." am: 403f00bfb8 am: f74b2d4192
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1444678

Change-Id: Ie1f7f8707dfda71df646c1363a1a7e238301838d
2020-10-02 00:01:22 +00:00
Treehugger Robot
e80c7cb69a Merge "FileBridge: fix fd ownership mismanagement." 2020-10-01 22:35:55 +00:00
Steven Moreland
414da7912c Parcel interface token methods @NonNull.
These functions have always aborted when there is a null argument
(before, because they used GetStringCritical). Noticed while working
on b/169674485.

Bug: N/A
Test: N/A
Change-Id: Ic24bd26b4c0323fa3ebee78ccf60bbba4627b565
2020-10-01 19:36:14 +00:00
Rick Yiu
b551e63ea7 Revert "Refine documentation for Process.setThreadPriority"
This reverts commit c3648a82f1.

Reason for revert: will cause lock contention

Bug: 139521784
Test: build pass
Change-Id: Ic10951493ec8dda4e5a5adcbd1c3cb3be3b64782
2020-09-27 03:09:54 +00:00
Steven Moreland
4acdea4cb8 Merge "ServiceManager: add getDeclaredInstances" am: 9ff2444ba7 am: b1b830369e am: 7ceee368ee am: f5f4344d2f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436518

Change-Id: I6a8cebfe4e97f916b9411979b6bb2d5099882557
2020-09-25 19:19:47 +00:00
Steven Moreland
f5f4344d2f Merge "ServiceManager: add getDeclaredInstances" am: 9ff2444ba7 am: b1b830369e am: 7ceee368ee
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436518

Change-Id: I7755509b329914c491a205f843e731694b02ce84
2020-09-25 19:09:52 +00:00
Steven Moreland
7ceee368ee Merge "ServiceManager: add getDeclaredInstances" am: 9ff2444ba7 am: b1b830369e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1436518

Change-Id: I7c8d6058ac7fc4434870d808325823fdc7972c19
2020-09-25 18:52:01 +00:00
Steven Moreland
9ff2444ba7 Merge "ServiceManager: add getDeclaredInstances" 2020-09-25 18:25:55 +00:00
Treehugger Robot
ec0846ea9e Merge "Fix unique identifiers best practices links in device ID API docs" am: 8b6aa74d6b am: 1d8a35f66e am: 33035121fd am: 3c6a3316b0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1438023

Change-Id: I966b630eb1635094ab12eebe3c34f994579bcbc5
2020-09-25 07:46:39 +00:00
Treehugger Robot
3c6a3316b0 Merge "Fix unique identifiers best practices links in device ID API docs" am: 8b6aa74d6b am: 1d8a35f66e am: 33035121fd
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1438023

Change-Id: Iab0aeedf19911857e475ddb8efac6a2fffb4dc76
2020-09-25 07:27:18 +00:00
Treehugger Robot
33035121fd Merge "Fix unique identifiers best practices links in device ID API docs" am: 8b6aa74d6b am: 1d8a35f66e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1438023

Change-Id: If225d991796eebcb2fc37bc1451991f92fa3eed0
2020-09-25 07:10:58 +00:00
Treehugger Robot
8b6aa74d6b Merge "Fix unique identifiers best practices links in device ID API docs" 2020-09-25 04:32:42 +00:00
Michael Groover
a73539128d Fix unique identifiers best practices links in device ID API docs
Bug: 168447060
Test: m docs
Change-Id: I483e0cf4915862254461200deb5d3dc7302bafb4
Merged-In: I483e0cf4915862254461200deb5d3dc7302bafb4
2020-09-24 17:36:32 -07:00
Steven Moreland
d243d23f84 ServiceManager: add getDeclaredInstances
Corresponding to change in IServiceManager API, for finding out what
instances of a VINTF service are installed.

Bug: 168715768
Test: manual
Change-Id: Ic54b0cfd1bd42e45dc66858dbd614db7ba22083f
2020-09-24 00:46:56 +00:00
Suren Baghdasaryan
2042c9c32a Merge "Report ION usage event when ION heap size is 0" am: 7687adc00d am: d493ed705b am: da855f3363 am: 29711d8cba
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1431373

Change-Id: Ie65b8fbe70a82f4d00d2fb2dc824372329e3acb1
2020-09-23 20:20:06 +00:00
Suren Baghdasaryan
29711d8cba Merge "Report ION usage event when ION heap size is 0" am: 7687adc00d am: d493ed705b am: da855f3363
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1431373

Change-Id: I0abb5aebd750732e01a101cce8b9a7f80ebd9d51
2020-09-23 20:03:14 +00:00
Suren Baghdasaryan
da855f3363 Merge "Report ION usage event when ION heap size is 0" am: 7687adc00d am: d493ed705b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1431373

Change-Id: I11cfef78933c1978919b6e85bc0ebf817993d73a
2020-09-23 18:25:44 +00:00
Suren Baghdasaryan
193da6e642 Report ION usage event when ION heap size is 0
In a situation when ION heap size is 0 dumpsys meminfo will not report
ION memory usage. Fix this by differentiating 0-size ION heap or pool
from the cases when /sys/kernel/ion/* do not exist or not readable.

Bug: 168942451
Test: emulate 0-size ION heap and run dumpsys meminfo
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: I66624c9e3c73a59462cce8830a36323677db0029
2020-09-23 16:09:08 +00:00
Josh Gao
4c392e8057 FileBridge: fix fd ownership mismanagement.
This patch switches everything over to ParcelFileDescriptor, but the
important part of the change is changing FileBridge.getClientSocket to
return a ParcelFileDescriptor. Previously, it returned a raw
FileDescriptor that was closed by FileBridge, and the only non-test
caller of that function was taking it and constructing a
ParcelFileDescriptor from it, which would also attempt to close the fd,
leading to an fdsan abort.

Bug: http://b/162811367
Test: atest FileBridgeTest
Test: treehugger
Change-Id: I724ea7601bb072c98895f68abc08bb0e339d1db0
2020-09-21 14:47:56 -07:00
Jeff Sharkey
487d394296 Merge changes from topic "sep11" am: c0b288133a am: 69e6f07347 am: 741c0a78cc am: da7478b570
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1426195

Change-Id: I79488866c538bf9e76d0a6429e30262978f6fdab
2020-09-15 00:13:08 +00:00
Jeff Sharkey
da7478b570 Merge changes from topic "sep11" am: c0b288133a am: 69e6f07347 am: 741c0a78cc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1426195

Change-Id: I9b79dbf3e9983523db11599d8ae289b05aabf80c
2020-09-14 23:42:34 +00:00
Jeff Sharkey
741c0a78cc Merge changes from topic "sep11" am: c0b288133a am: 69e6f07347
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1426195

Change-Id: I7da537200efe31e803234bd1a0236843064186c8
2020-09-14 23:10:42 +00:00
Jeff Sharkey
16dd960d6f Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference

Test: none
Bug: 168334533
Exempt-From-Owner-Approval: docs updates
Change-Id: Id1a0f2a38e41badee3a34bd71af240511f273a7b
2020-09-14 10:00:05 -06:00
Jeff Sharkey
6516a83886 Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference

Test: none
Bug: 168334533
Exempt-From-Owner-Approval: docs updates
Change-Id: Ifce5239991e3b78dd4757712e3b88093ad7161f0
2020-09-14 10:00:02 -06:00
Jeff Sharkey
705f6bec2d Update language to comply with Android's inclusive language guidance
See https://source.android.com/setup/contribute/respectful-code for reference

Test: none
Bug: 168334533
Exempt-From-Owner-Approval: docs updates
Change-Id: I53003332717baf57dc088b2f6b969cdb1863f65e
2020-09-14 09:59:01 -06:00
Bradley Allen
9920ad38f6 Merge "docs: Added links to the Android 11 summary pages on developer.android.com." into rvc-dev am: 5d7be413bc am: 7fad6c94d6 am: 86b4867913
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12548368

Change-Id: I18cf6a43e0e89bc6d8a0833fa797f6f39fabc153
2020-09-10 16:23:56 +00:00
Bradley Allen
86b4867913 Merge "docs: Added links to the Android 11 summary pages on developer.android.com." into rvc-dev am: 5d7be413bc am: 7fad6c94d6
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12548368

Change-Id: I5c439afb2294cbae80660178dce46d4f2cd3300a
2020-09-10 16:02:36 +00:00
Bradley Allen
e2cc59d76c Merge "docs: Added links to the Android 11 summary pages on developer.android.com." into rvc-dev am: 5d7be413bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12548368

Change-Id: Ic39b3b9ffd4338b4fcd060fd628411b5beceb060
2020-09-10 15:52:28 +00:00
Bradley Allen
7fad6c94d6 Merge "docs: Added links to the Android 11 summary pages on developer.android.com." into rvc-dev am: 5d7be413bc
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12548368

Change-Id: Ib44d0aee6a87a79dcc668337c945d67678e4c43d
2020-09-10 15:51:51 +00:00
Bradley Allen
5d7be413bc Merge "docs: Added links to the Android 11 summary pages on developer.android.com." into rvc-dev 2020-09-10 15:23:01 +00:00
Martijn Coenen
cf38e32ef4 Merge "Don't kill for REQUEST_INSTALL_PACKAGES on default/error mode transition." into rvc-qpr-dev am: f902374308
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12419090

Change-Id: If07ef71f7c175c32096631eb9aea1f00636a1713
2020-09-10 10:49:11 +00:00
Martijn Coenen
f902374308 Merge "Don't kill for REQUEST_INSTALL_PACKAGES on default/error mode transition." into rvc-qpr-dev 2020-09-10 10:21:49 +00:00
Seigo Nonaka
f192ef78ae Accept repeated locale as an input of LocaleList construction. am: 41b1674f77 am: 8b4cd9aef3 am: c0b541b0ec
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12540040

Change-Id: I1d7f2cf3d005534c841e16d46fdd5096ef5047e0
2020-09-09 21:29:29 +00:00
Seigo Nonaka
9555d60871 Accept repeated locale as an input of LocaleList construction. am: 41b1674f77 am: 8b4cd9aef3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12540040

Change-Id: I5e6889206dc08d4475695ed619c5b5fc1423e6a0
2020-09-09 20:57:57 +00:00
Seigo Nonaka
c0b541b0ec Accept repeated locale as an input of LocaleList construction. am: 41b1674f77 am: 8b4cd9aef3
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12540040

Change-Id: If6140b007349d0c4be79c98acc816c9de3c55e61
2020-09-09 20:57:20 +00:00
Seigo Nonaka
8b4cd9aef3 Accept repeated locale as an input of LocaleList construction. am: 41b1674f77
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12540040

Change-Id: I69509d7ddadb1787f56ce31f0ff2fb617537b2ce
2020-09-09 20:33:10 +00:00
TreeHugger Robot
6e480c0dde Merge "Accept repeated locale as an input of LocaleList construction." into rvc-qpr-dev am: b303b8eae1
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/12540550

Change-Id: I3283505c572d270a2a7b50e4fa83f747ab3d09cd
2020-09-09 20:19:08 +00:00
Bradley Allen
cefc89c911 docs: Added links to the Android 11 summary pages on developer.android.com.
Test: http://go/forrest-run/L06800000688439076
Bug: 163618180
Change-Id: Ibe136020df4ef60183f3726fc0f6336b58c37f99
2020-09-09 17:41:07 +00:00
Seigo Nonaka
373ac57b2d Accept repeated locale as an input of LocaleList construction.
Repeated locale has not been accepted and IllegalArgumentException
is thrown. Instead of throwing exception, dropping repeated locale
instead.

Bug: 152410253
Test: atest LocaleListTest
Change-Id: I80f243678ac3024eaeb0349f770cff897df7f332
2020-09-08 22:35:39 +00:00
Seigo Nonaka
41b1674f77 Accept repeated locale as an input of LocaleList construction.
Repeated locale has not been accepted and IllegalArgumentException
is thrown. Instead of throwing exception, dropping repeated locale
instead.

Bug: 152410253
Test: atest LocaleListTest
Change-Id: I80f243678ac3024eaeb0349f770cff897df7f332
2020-09-08 20:22:48 +00:00
Treehugger Robot
f5d56737ea Merge "android.os.Binder: remove unused getFinalizer" am: c59758ab41 am: e98c205ba8 am: 4d279afec1 am: 402ef20f46
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1418956

Change-Id: If247aae8c28671f63f0101cc96f1443b56173dee
2020-09-08 17:06:18 +00:00