Paul Hu
a6c364d805
Merge "Fix Automated API Review issues." am: 814bb8f627
...
am: 69aa833953
Change-Id: I29f4cb581574f2542d461de6a0939e58bfc88059
2019-03-21 07:33:48 -07:00
Paul Hu
69aa833953
Merge "Fix Automated API Review issues."
...
am: 814bb8f627
Change-Id: I9cbe7dc166ec066b8785553f31dc32ea0572be8e
2019-03-21 07:24:16 -07:00
Paul Hu
814bb8f627
Merge "Fix Automated API Review issues."
2019-03-21 14:11:36 +00:00
paulhu
79b380cfe7
Fix Automated API Review issues.
...
These API's argument/return value must be marked either @NonNull
or @Nullable.
Bug: 126701148
Bug: 126699090
Bug: 126701058
Bug: 126700772
Bug: 126699941
Bug: 126701299
Bug: 126700007
Bug: 126700900
Test: atest FrameworksNetTests
Change-Id: Id030a9f1116178b96aa3d4614b10969a537b2fc4
2019-03-21 15:16:58 +08:00
Luke Huang
e800f7719f
Merge "Cleanup NetworkManagementService for Netd commnads binder migrartion" am: 3af01e2f46
...
am: e374524144
Change-Id: Idb5909a8a537ae155a985670cfaf4e993ef3d95d
2019-03-20 23:28:53 -07:00
Luke Huang
e374524144
Merge "Cleanup NetworkManagementService for Netd commnads binder migrartion"
...
am: 3af01e2f46
Change-Id: I86ca4cab29099b26f797ef6fce94dbb6f5183b90
2019-03-20 23:18:25 -07:00
Luke Huang
909b31aaf1
Cleanup NetworkManagementService for Netd commnads binder migrartion
...
remove dead code used for netd UNIX sokcet
Bug: 65862741
Test: atest NetworkManagementServiceTest FrameworksNetTests
Change-Id: I5db61cb86325b71ac8a8fce7b15dbf569abc5935
2019-03-20 20:02:24 +08:00
Andrei-Valentin Onea
abea8411b5
Merge "Add @UnsupportedAppUsage annotations" am: 09426de69d
...
am: 4bd5774611
Change-Id: Ibf3acf98e452060afa8975b6f91a8921c0032e80
2019-03-18 07:59:22 -07:00
Andrei-Valentin Onea
4bd5774611
Merge "Add @UnsupportedAppUsage annotations"
...
am: 09426de69d
Change-Id: I8be4fa32c92a5b5ac335bfbfa0a6edffcb881b22
2019-03-18 07:49:55 -07:00
Andrei Onea
dcb67738f6
Add @UnsupportedAppUsage annotations
...
For packages:
android.os
This is an automatically generated CL. See go/UnsupportedAppUsage
for more details.
Exempted-From-Owner-Approval: Mechanical changes to the codebase
which have been approved by Android API council and announced on
android-eng@
Bug: 110868826
Test: m
Merged-In: I4ece0a3f37f88fc2508cb965092aed7cabc61819
Change-Id: I0d942254f06c1a355fb906640e223ad34cced6ab
2019-03-18 12:04:18 +00:00
Josh Gao
b578ef38ed
Merge "ParcelFileDescriptor: improve javadoc." am: c4e2b24d87
...
am: bc7222d46d
Change-Id: I4a6d999b503985a84f44ad487bb36a505d80de6a
2019-03-15 20:02:34 -07:00
Josh Gao
bc7222d46d
Merge "ParcelFileDescriptor: improve javadoc."
...
am: c4e2b24d87
Change-Id: Ic01db5d3f9c7527f2458aa4cf10bd2c43d685bed
2019-03-15 19:52:34 -07:00
Treehugger Robot
c4e2b24d87
Merge "ParcelFileDescriptor: improve javadoc."
2019-03-16 02:36:30 +00:00
Nandana Dutt
8ea4083e36
Merge changes I39e84219,I8d0e12cb am: cae221acac
...
am: 20324711c0
Change-Id: I6d345de879380cd2797008efa79e3befa978f136
2019-03-15 03:47:20 -07:00
Nandana Dutt
20324711c0
Merge changes I39e84219,I8d0e12cb
...
am: cae221acac
Change-Id: I5fe14b5b25a1b22e184aa02e658c81d9d0238541
2019-03-15 03:39:51 -07:00
Treehugger Robot
cae221acac
Merge changes I39e84219,I8d0e12cb
...
* changes:
Bugreporting API: Take ownership of fds.
Don't manage dumpstate lifecycle from system server
2019-03-15 10:28:06 +00:00
Nandana Dutt
9d6ff2968e
Bugreporting API: Take ownership of fds.
...
BUG: 126434607
FIXES: 127649051
Test: manual
Change-Id: I39e8421925c53061b6bc2954dffe3bccb7b3314d
2019-03-14 16:16:33 +00:00
Nandana Dutt
be80e309ea
Don't manage dumpstate lifecycle from system server
...
Dumpstate now exits correctly when it's finished. So we don't have to
manage its lifecycle from system server.
BUG: 123571915
Test: manually verified dumpstate service dies
Change-Id: I8d0e12cb607cda74b5cc36e26306ea106da67ba3
2019-03-13 15:19:55 +00:00
Abhijeet Kaur
ec0a01ec78
Merge "Clean up bugreport API." am: 2e44838064
...
am: 8deb2ecb31
Change-Id: I9054327b5f9b072986dd2d7ef5b38716138132c9
2019-03-13 07:30:03 -07:00
Abhijeet Kaur
8deb2ecb31
Merge "Clean up bugreport API."
...
am: 2e44838064
Change-Id: Ib21ecea8a3dc63808784aba20f018ddd012c03c8
2019-03-13 07:20:42 -07:00
Abhijeet Kaur
0bbb9f6882
Clean up bugreport API.
...
Make BugreportManager class final.
Add FloatRange annotation for BugreportManager.onProgress() function's
parameter.
Make @IntDef in BugreportMode hidden.
Bug: 126434607
Test: builds
Change-Id: I95f004106ba97bc9e99859a8b23b96a86b6a43f4
Merged-In: I95f004106ba97bc9e99859a8b23b96a86b6a43f4
2019-03-13 11:49:42 +00:00
Josh Gao
4a64663c0f
ParcelFileDescriptor: improve javadoc.
...
Add some warnings to adoptFd, getFd, and from[Datagram]Socket.
Bug: http://b/111790184
Test: none
Change-Id: I1963e5c28ad6201660c37ee5f3cfe6c8bf0ff392
2019-03-08 15:36:23 -08:00
Steven Moreland
927dee8243
Merge "NativeHandle.java: set Nullable/NonNull" am: 6792c595a2
...
am: b5e85d6bb6
Change-Id: If8aa9d85330683954856e2f1f2755d251bd0bb36
2019-03-06 12:37:46 -08:00
Steven Moreland
b5e85d6bb6
Merge "NativeHandle.java: set Nullable/NonNull"
...
am: 6792c595a2
Change-Id: I09cdb1ce3cc64cb8ca42a13b307b93b5dab8e42c
2019-03-06 12:28:23 -08:00
Steven Moreland
0ff061a607
NativeHandle.java: set Nullable/NonNull
...
Fixes: 126700972
Test: hidl_test_java
Test: atest android.os.cts.HwBinderTest
Change-Id: Id45c6d0757913014028f7629db78b64f27cad084
2019-03-06 17:17:30 +00:00
Nandana Dutt
a973019596
Merge "Add a new error code for disallowing concurrent bugreports" am: 2badc1e434
...
am: 1ae35be3e3
Change-Id: I7440be8e4605466958d072dd977e0019f13b2193
2019-02-25 10:20:50 -08:00
Xin Li
f90d07b1b3
Merge "DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master" into stage-aosp-master
2019-02-23 00:39:16 +00:00
Xin Li
b455c3a7f3
DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master
...
Bug: 120848293
Change-Id: I2f9a524f2ba552de3f62e343075cf0abf400bbae
2019-02-21 16:02:06 -08:00
Nandana Dutt
cfb3d4856e
Add a new error code for disallowing concurrent bugreports
...
BUG:123571915
Test: manual
Change-Id: I8787137c3cfeb33aacfa439f6eab1a668977e572
2019-02-21 16:17:54 +00:00
Christian Wailes
49574608ae
Merge "Updated Zygote IPC related comments." am: f8881b6821
...
am: c850654edc
Change-Id: I15a33cdf792727f58b3d89d86ccf454536737868
2019-02-20 16:12:40 -08:00
Chris Wailes
b13bfc5682
Updated Zygote IPC related comments.
...
Bug: 124637285
Test: None; comment only changes
Change-Id: Ie567715a1ee08cdf65e3135aa75e3bd95ef5ab0d
2019-02-20 11:19:54 -08:00
Xin Li
07ec9dbec5
Merge "DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into stage-aosp-master" into stage-aosp-master
2019-02-14 22:11:32 +00:00
Xin Li
0e71b4f19b
DO NOT MERGE - Merge pi-platform-release (PPRL.190205.001) into
...
stage-aosp-master
Bug: 124234733
Change-Id: Ic4f67fde0835da0b1c363906cccef0d244e38393
2019-02-14 09:48:06 -08:00
Tianjie Xu
3c4afc34ee
Merge "Improved wipe reason information for RecoverySystem" am: c8f5981028
...
am: 361d379280
Change-Id: I224a98abd065bf5437d4a2ea242f146e91740ef1
2019-02-13 11:55:34 -08:00
Tianjie Xu
c8f5981028
Merge "Improved wipe reason information for RecoverySystem"
2019-02-13 19:18:01 +00:00
Blake Kragten
47552367f4
Merge "Modem power monitor" am: 366318b9c3
...
am: e66ad835f2
Change-Id: I8753ea8b944c7dfea1fa049f67350a1ce85fd9f7
2019-02-13 09:42:43 -08:00
Blake Kragten
4d3a9f2b3c
Modem power monitor
...
This is an AOSP carry over for the frameworks base CL. This change is needed here to allow telephony changes to be added to AOSP with no issues.
Adding monitored power rail as a new cellular battery stats component. This will be used to better determine actual power usage of the modem rather than relying on battery reduction rates.
If the device does not support rail power monitoring then this value
will always remain at 0.
Test: adb shell dumpsys activity service TelephonyDebugService --metrics
Results Examples:
Energy consumed by modem (mAh): 2.41
Change-Id: If85af2f2e1b255661e189c5375ecc5825be84c58
2019-02-13 16:02:03 +00:00
Hans Boehm
4e85978e38
Merge "Adjust AsyncTask.THREAD_POOL_EXECUTOR config" am: 2b56c4cf48
...
am: e0203aa6ec
Change-Id: I1b96696556a49faab4d003c71e78efda823da193
2019-02-12 21:41:56 -08:00
Hans Boehm
2b56c4cf48
Merge "Adjust AsyncTask.THREAD_POOL_EXECUTOR config"
2019-02-13 05:14:43 +00:00
Yutaro Maruyama
3835f6a4f9
Improved wipe reason information for RecoverySystem
...
More information will be useful to investigate unintentional wipe
for users. Added timestamp information into reason text.
Bug: 120586954
Change-Id: I26dd4eff815d736bf34e944be6843cbb80515ca9
2019-02-13 10:53:16 +09:00
Hans Boehm
573bb79cfb
Adjust AsyncTask.THREAD_POOL_EXECUTOR config
...
Remove the queue, reduce core pool size but no longer let it time out.
Reduce the timeout for additional threads.
If necessary, use a special executor, with an unbounded queue, to run
overflow tasks.
Bug: 123762797
Test: AOSP boots, also with MAXIMUM_POOL_SIZE = 1.
Change-Id: I4bc9593a044d1773ff1878684e2397a7c2a9a87a
2019-02-12 15:43:26 -08:00
Steven Moreland
a1f96c0af8
Merge "Remove ParcelFileDescriptor.aidl" am: c7c7fe6325
...
am: 21f4e04f3d
Change-Id: Ibd87a9a61ae70779baa90ced2eaab5526d4d815d
2019-02-12 10:11:54 -08:00
Steven Moreland
a4912bd4a4
Remove ParcelFileDescriptor.aidl
...
This is now a built-in type in AIDL.
Bug: N/A
Test: N/A
Change-Id: Ibbc1251ce3378fed39b7edeb611185358a1c0dc0
2019-02-11 18:54:32 -08:00
Nandana Dutt
d77536e116
Merge "Add error handling and other improvements to Bugreporting API" am: cefdee8540
...
am: 98e6b6bb58
Change-Id: Id84876ed95cd327ef09d5053b784e0842a06cce1
2019-02-05 06:15:14 -08:00
Nandana Dutt
cefdee8540
Merge "Add error handling and other improvements to Bugreporting API"
2019-02-05 13:48:13 +00:00
Nandana Dutt
551906c296
Add error handling and other improvements to Bugreporting API
...
* Validate input arguments
* Ensure primary user
* Handle remote exceptions
* Pass error conditions to listener
* Ensure only one bugreport is in progress, at least via the API.
BUG: 123584708
BUG: 123571915
Test: Builds
Test: Manual; unit tests coming up
Change-Id: I4d1e0000fe815a02b82ce625864759fd818e6a24
2019-02-05 10:37:37 +00:00
Hans Boehm
6ff6c4de73
Merge "Improve AsyncTask API documentation" am: 1cbb20b2df
...
am: 8f39deb490
Change-Id: Idd279158405207d9afac604b8acc6bf49232cb2f
2019-02-04 21:16:57 -08:00
Hans Boehm
13060ffbd8
Improve AsyncTask API documentation
...
Bug: 34278255
Test: TreeHugger
Change-Id: I0347072112254f98d257a72ef1fc7c21b086df39
2019-01-31 17:36:36 -08:00
Howard Chen
1906271db6
Merge "Add the DynamicAndroid Service" am: 0b2057db02
...
am: 683251a1e2
Change-Id: Ia23e042273c8ab1a9d6de5e393b126794822cb5f
2019-01-31 07:11:33 -08:00
Howard Chen
0b2057db02
Merge "Add the DynamicAndroid Service"
2019-01-31 14:35:49 +00:00