Commit Graph

73176 Commits

Author SHA1 Message Date
Svet Ganov
ec7daa59be Avoid stale caching of print and companion system services
Test: manual

bug:62297669

Change-Id: I2029ec292a80aefcaf9f0aab27a0564c68486fe9
2017-06-30 12:03:02 -07:00
Scott Main
87c751f3b2 Merge "Merge "add links to Log class summary for methods and logcat doc" into oc-dev am: ea6fea4d5d am: afeb63d823" into oc-dr1-dev-plus-aosp
am: ef5b81dd69

Change-Id: I3c489f89e2838ee7770f21d7e82ad4678be7f1e4
2017-06-29 16:36:27 +00:00
Scott Main
ecc03fbc9e Merge "add links to Log class summary for methods and logcat doc" into oc-dev am: ea6fea4d5d
am: afeb63d823

Change-Id: If161555970f40d9db0e15c20768a7ddb46527302
2017-06-29 16:27:24 +00:00
Scott Main
afeb63d823 Merge "add links to Log class summary for methods and logcat doc" into oc-dev
am: ea6fea4d5d

Change-Id: I205254f618a3a405aab6f783f5d7de99c9a3a907
2017-06-29 16:19:25 +00:00
Scott Main
ea6fea4d5d Merge "add links to Log class summary for methods and logcat doc" into oc-dev 2017-06-29 16:12:47 +00:00
Neil Fuller
5f06cf4690 Merge "Use sendBroadcastAsUser rather than sendBroadcast" am: d129a14647 am: 93b232db41 am: 95eab26704
am: 488469fac3

Change-Id: Ibef988b2491c32f16c806402f907db1754a22fb2
2017-06-29 12:01:44 +00:00
Neil Fuller
488469fac3 Merge "Use sendBroadcastAsUser rather than sendBroadcast" am: d129a14647 am: 93b232db41
am: 95eab26704

Change-Id: I3fee39d494d9ea041351218e72ebbe65bdb07637
2017-06-29 11:53:48 +00:00
Neil Fuller
95eab26704 Merge "Use sendBroadcastAsUser rather than sendBroadcast" am: d129a14647
am: 93b232db41

Change-Id: I749e98ea84dd8c3811d302848a14576c6aff8fb1
2017-06-29 11:45:04 +00:00
Neil Fuller
93b232db41 Merge "Use sendBroadcastAsUser rather than sendBroadcast"
am: d129a14647

Change-Id: I76324b2d983887dbdac4b26e518a68d8c4035a47
2017-06-29 11:37:13 +00:00
Treehugger Robot
d129a14647 Merge "Use sendBroadcastAsUser rather than sendBroadcast" 2017-06-29 11:29:37 +00:00
Andre Eisenbach
7162057fa4 Merge "HFP: Modify comments for ACTION_HF_INDICATORS_VALUE_CHANGED (1/2)" am: 5790bae2f4 am: df1831d2ee am: 83e46cbacc
am: eabb060f3f

Change-Id: I6ffc3de9fb1fe9585850dbf60224d5e963ea26a9
2017-06-29 09:01:08 +00:00
Andre Eisenbach
eabb060f3f Merge "HFP: Modify comments for ACTION_HF_INDICATORS_VALUE_CHANGED (1/2)" am: 5790bae2f4 am: df1831d2ee
am: 83e46cbacc

Change-Id: I43fb2e8c31de5dfff2eb517e59951ddf60575a9c
2017-06-29 08:53:03 +00:00
Andre Eisenbach
83e46cbacc Merge "HFP: Modify comments for ACTION_HF_INDICATORS_VALUE_CHANGED (1/2)" am: 5790bae2f4
am: df1831d2ee

Change-Id: I33fb994d049b033d9e58bbc080fa6ce1efc8e240
2017-06-29 08:45:01 +00:00
Andre Eisenbach
df1831d2ee Merge "HFP: Modify comments for ACTION_HF_INDICATORS_VALUE_CHANGED (1/2)"
am: 5790bae2f4

Change-Id: I480ef38d5aa61aa153ee53d325e8b249c1eab222
2017-06-29 08:39:40 +00:00
Jack He
73795440a5 HFP: Modify comments for ACTION_HF_INDICATORS_VALUE_CHANGED (1/2)
* Per HFP 1.7.1 spec page 102 of 144
  EXTRA_HF_INDICATORS_IND_ID should be int
  EXTRA_HF_INDICATORS_IND_VALUE should be int

Bug: 35874078
Test: make, PTS test, unit tests
runtest -c com.android.bluetooth.btservice.RemoteDevicesTest bluetooth

Change-Id: Idd316a82bab164b6ea1701bb261b1cc3dee196f1
2017-06-29 08:30:37 +00:00
TreeHugger Robot
ee39d54a8d Merge "Initial implementation of the new Save APIs." 2017-06-29 02:43:36 +00:00
Robert Carr
7ac5c00246 Merge "Merge "Disable requestVisibleBehind." into oc-dev am: e33c33e38a am: 1c89591f94" into oc-dr1-dev-plus-aosp
am: 72f4e8e370

Change-Id: Ie77f01858b133233f8278e59edaa17fbc2f1a51c
2017-06-29 02:40:17 +00:00
Robert Carr
c09f11ad36 Merge "Disable requestVisibleBehind." into oc-dev am: e33c33e38a
am: 1c89591f94

Change-Id: Ife4908481549c956a23118ce5f8422161cc73d9e
2017-06-29 02:24:23 +00:00
TreeHugger Robot
94eb534881 Merge "Parcel: Use @CriticalNative when possible." 2017-06-29 00:52:27 +00:00
Robert Carr
1c89591f94 Merge "Disable requestVisibleBehind." into oc-dev
am: e33c33e38a

Change-Id: Ie0733cb79acbe34536c4c031f1234dac134841d3
2017-06-29 00:26:35 +00:00
TreeHugger Robot
e33c33e38a Merge "Disable requestVisibleBehind." into oc-dev 2017-06-29 00:17:19 +00:00
Scott Main
450a5bb81c add links to Log class summary for methods and logcat doc
bug: 29123084

Change-Id: Ida1351ca3647faa133905c5ff85df716bffd3203
2017-06-28 23:02:02 +00:00
Felipe Leme
979013d027 Initial implementation of the new Save APIs.
Test: manual verification with sample app (CTS tests coming later)

Bug: 62534917

Change-Id: I085a9c933bb5e8316d673976e059e13abd7098e5
2017-06-28 15:13:21 -07:00
Lei Yu
32fcad6b29 Merge "Add API to RuntimePermissionPresenter" into oc-dr1-dev am: a023184bbc
am: eba86e5147

Change-Id: I537c1fd6b4fbf3e00269c50aebb23e9fd7fa3ad6
2017-06-28 18:13:02 +00:00
Lei Yu
eba86e5147 Merge "Add API to RuntimePermissionPresenter" into oc-dr1-dev
am: a023184bbc

Change-Id: Ibd5d41feaf18aacad79345404c944f365aa19587
2017-06-28 18:05:18 +00:00
Lei Yu
a023184bbc Merge "Add API to RuntimePermissionPresenter" into oc-dr1-dev 2017-06-28 17:55:04 +00:00
Jeff Davidson
ad60b37575 Merge "Add EuiccManager#retainSubscriptionsOnFactoryReset API." into oc-dr1-dev am: f28843dd3f
am: 53ad2499f1

Change-Id: I538f0405811b0df28960acdb6f275689f19185dc
2017-06-28 17:41:26 +00:00
Jeff Davidson
53ad2499f1 Merge "Add EuiccManager#retainSubscriptionsOnFactoryReset API." into oc-dr1-dev
am: f28843dd3f

Change-Id: Ibd7c9c673c9272696cd955ddc50d4b55755d5429
2017-06-28 17:33:01 +00:00
Jeff Davidson
f28843dd3f Merge "Add EuiccManager#retainSubscriptionsOnFactoryReset API." into oc-dr1-dev 2017-06-28 17:23:49 +00:00
Makoto Onuki
b148b6c3c8 Parcel: Use @CriticalNative when possible.
- Change some methods from FastNative to CritcialNative
- Change nativeGetBlobAshmemSize to CritcalNative

- ParcelPerfTest.java (CorePerfTests)
bullhead-userdebug + prep_buller.sh, mean(ns), changed methods only
-- After
timeGetDataCapacity_mean    166 +39.16%
timeGetDataPosition_mean    169 +53.25%
timeReadByte_mean           296 +39.86%
timeReadLong_mean           284 +61.97%
timeSetDataPosition_mean    173 +34.10%
timeGetDataSize_mean        173 +37.57%
timeReadInt_mean            284 +57.04%

-- Before
timeGetDataCapacity_mean    231
timeGetDataPosition_mean    259
timeReadByte_mean           414
timeReadLong_mean           460
timeSetDataPosition_mean    232
timeGetDataSize_mean        238
timeReadInt_mean            446

Bug: 62135986
Test: bit CtsOsTestCases:android.os.cts.ParcelTest
Change-Id: I8c7ede25c87017ef2c7a49beaa3ac781c08ea365
2017-06-28 09:03:09 -07:00
TreeHugger Robot
77bada7e98 Merge "Fix ACTION_PROVISIONING_SUCCESSFUL documentation" 2017-06-28 12:00:32 +00:00
Esteban Talavera
4047bae5db Fix ACTION_PROVISIONING_SUCCESSFUL documentation
The current documentation implies that the intent is sent to the
application that requested provisioning (which would be in the
primary profile for managed profile provisioning). However it is
sent to the new DO or PO only.

Test: make docs
Change-Id: I9d1f66ec6f3d6d7fbaa1617d13a7da12d4acb490
2017-06-28 11:03:09 +01:00
Jack He
e70848b8a9 Merge "Add APIs to get remote device's battery level (1/2)" am: ceaccbfe70 am: 96f98f255b am: 3b22538b46
am: 45c074d406

Change-Id: I64c83fe094697b9d34a41e4044606e07d15a42e2
2017-06-28 08:50:29 +00:00
Jack He
45c074d406 Merge "Add APIs to get remote device's battery level (1/2)" am: ceaccbfe70 am: 96f98f255b
am: 3b22538b46

Change-Id: I0a579a4dfd47161b3d9aaccaae9a9a43fcc3bafd
2017-06-28 08:44:01 +00:00
Jack He
3b22538b46 Merge "Add APIs to get remote device's battery level (1/2)" am: ceaccbfe70
am: 96f98f255b

Change-Id: I004b05f007def7f995112b867f102fe11b88064d
2017-06-28 08:37:50 +00:00
Jack He
96f98f255b Merge "Add APIs to get remote device's battery level (1/2)"
am: ceaccbfe70

Change-Id: Ic3253ef666632aaaffe8e1547dc563cd3bca9e37
2017-06-28 08:32:54 +00:00
TreeHugger Robot
c1323664d4 Merge "Make the android.R.string.autofill public." 2017-06-28 01:55:57 +00:00
Jack He
1d312bfa78 Add APIs to get remote device's battery level (1/2)
* Add BluetoothDevice.getBatteryLevel() API to retreive battery level
  information of remote device
* Add BluetoothDevice.ACTION_BATTERY_LEVEL_CHANGED intent to notify user
  that remote device's battery level has changed

Bug: 35874078
Test: make, pair with devices and use them
Change-Id: I41051ee25383f5f3a1e505aef6f8c526385f58bd
2017-06-27 16:53:09 -07:00
Sudheer Shanka
ae4d5d93bd Merge "Check and block for network connectivity in onStart as well." 2017-06-27 21:24:33 +00:00
Robert Carr
8661c5e519 Disable requestVisibleBehind.
As there is no caller for the SystemAPI convertToTranslucent, there is no situation
where requestVisibleBehind will actually result in the activity becoming
visible behind. However we have bugs in the requestVisibleBehind code-path,
so rather than fix them...it seems better to just prevent ourselves from
running in to them. Full deletion of the code-path is scheduled for post-O
branches.

Change-Id: I6e7c79e036986564d2d443a603e63c341de23057
Fixes: 62512584
Test: Repro from bug. go/wm-smoke.
2017-06-27 13:46:14 -07:00
TreeHugger Robot
ab620613b9 Merge "Fixes grammatical error in InputMethodManager doc" 2017-06-27 19:54:23 +00:00
TreeHugger Robot
26426a7f64 Merge changes Ie5c878d3,I33d9be04
* changes:
  Remove forward-lock install tests
  Use PackageInstaller
2017-06-27 19:50:42 +00:00
Jeff Sharkey
55b390b399 Merge "Only require that system UIDs tag their sockets." 2017-06-27 19:11:03 +00:00
Android Build Merger (Role)
995b131ef9 Merge "Merge "Allow VR Virtual display to rotate with content." into oc-dr1-dev am: 9747b4ace5 am: f251056e0d" 2017-06-27 19:02:34 +00:00
Alex Sakhartchouk
07d9516d21 Merge "Allow VR Virtual display to rotate with content." into oc-dr1-dev am: 9747b4ace5
am: f251056e0d

Change-Id: I04d20a7cec15e321efd688b0dd7a5c740033cd99
2017-06-27 19:01:33 +00:00
TreeHugger Robot
77198fa260 Merge "Strip extenders on android go devices." 2017-06-27 19:00:27 +00:00
Neil Fuller
23eb3a19b8 Use sendBroadcastAsUser rather than sendBroadcast
According to messages in the logcat sendBroadcastAsUser
is the better option.

Test: Manual
Bug: 31008728
Change-Id: I06bcd3c53878fc2b1b817337ea8719fcc4975501
2017-06-27 19:04:50 +01:00
Nick Felker
8efc3ee3ee Fixes grammatical error in InputMethodManager doc
Fixes: 29645208
Test: This is not a code change, so tests should be unaffected.
Change-Id: I8b76166f3a7f1c825dc9725f6d7fd8e8c96fe410
2017-06-27 17:59:36 +00:00
Udam Saini
9981053810 Merge "Adds necessary permissions to system apis" 2017-06-27 17:59:21 +00:00
Julia Reynolds
8a3b459765 Strip extenders on android go devices.
Test: runtest notification-systemui
Bug: 35219985
Change-Id: I5a2d25c4ea33510c397b351d3604bd3f23f81521
2017-06-27 13:19:15 -04:00