309853 Commits

Author SHA1 Message Date
Hector Tellez
d66c95fa90 Revert "Support multiple filters per association request"
This reverts commit e70e6aa62c6f3a9a79624a4f9d97df95edda0364.

Change-Id: I12857cbbea0a0c74521191ab5e3713db230626ab
2017-03-09 17:55:43 +00:00
Eugene Susla
e70e6aa62c Support multiple filters per association request
By supporting multiple filters per one request we should be able to cover
multiple kinds of use cases such as:
 - Letting the user select from a list of devices of more then one medium
 type (e.g. Bluetooth and BLE)
 - Allowing to provide multiple criteria for any field (e.g. filtering by
 more than one service UUID)

Bug: 30932767
Test: Provide multiple filters and ensure that devices matching either are
shown in the list to choose from.
Ensure wifi SSIDs are shown in the list if wifi filter is provided
Change-Id: I6621da388e2bf4ed97c5af2692629a321d0b63c7
2017-03-08 16:52:14 -08:00
TreeHugger Robot
35fe82fd54 Merge "Throw at getPackageSizeInfoAsUser() callers." 2017-03-09 00:10:03 +00:00
TreeHugger Robot
61c9bf957b Merge "Optimize ViewStructure for autofill by removing irrelevant nodes." 2017-03-08 23:21:54 +00:00
Dmitry Dementyev
8e4d22b85a Merge "Use LinedHashMap in AccountManagerService to return accounts in the order of database addition" 2017-03-08 23:21:01 +00:00
TreeHugger Robot
62dd27ab3b Merge "Move lagging users over to new storage API." 2017-03-08 22:51:52 +00:00
Jeff Sharkey
e6306c485f Throw at getPackageSizeInfoAsUser() callers.
But only when targeting O; if they're old apps then log and pass
a soft failure message to their callback.

Test: builds, boots
Bug: 35749102
Change-Id: I6c6b5a37c23669e7b1ed3c30207bca610821eb1f
2017-03-08 15:25:38 -07:00
Scott Main
2ba0df0374 Merge "update uiautomator doclava build to use new location for templates as per: https://googleplex-android-review.git.corp.google.com/#/c/1524290/" 2017-03-08 21:59:13 +00:00
Selim Cinek
3660504f14 Merge "Fixed a bug where the scrim was distracting when pulling on HUN" 2017-03-08 21:52:59 +00:00
Tenghui Zhu
fd7e897193 Merge "Disable versioning for pathInterpolator when no-version-vectors is on." 2017-03-08 21:42:49 +00:00
Felipe Leme
d04a697ede Optimize ViewStructure for autofill by removing irrelevant nodes.
Test: CtsAutoFillServiceTestCases (with new tests) pass
Fixes: 35840787

Change-Id: Iaa2c1907c8383b4a820fd7204e67fa2d276ad2b8
2017-03-08 13:31:38 -08:00
Jeff Sharkey
4f459b85d4 Merge "Revert "Throw at getPackageSizeInfoAsUser() callers."" 2017-03-08 21:19:42 +00:00
Wally Yau
0fd8e4af27 Merge "AC3/EAC3 MaxInputChannelCount support" 2017-03-08 21:12:00 +00:00
TreeHugger Robot
7e547fbe88 Merge "Replace AutoFillType by view constants." 2017-03-08 21:08:56 +00:00
TreeHugger Robot
932eb90eb4 Merge "Surrounding some field names with quotes to avoid breaking CSV assumptions." 2017-03-08 21:06:21 +00:00
Jeff Sharkey
60f95aa00a Move lagging users over to new storage API.
Over the last month we've been moving everyone over to the new
StorageStatsManager public APIs, but we missed these users.

The ApplicationsState changes are straightforward, but we had to
completely rewrite StorageMeasurement to use the new fast-path
quota APIs.

Test: builds, boots, UI using StorageMeasurement works.
Bug: 36056120
Change-Id: If02177c95bf8c96ae4eceac4d631a168f99bef84
2017-03-08 13:57:29 -07:00
Keun-young Park
c09af775c6 Merge "log fs_stat from fs_mgr and mount_all time" 2017-03-08 20:56:17 +00:00
Jesse Evans
3c887cb581 Merge "Adds an explicit id for visibleToInstantApps attr" 2017-03-08 20:52:50 +00:00
TreeHugger Robot
e8914d2ba4 Merge "Do not disable Open Network Notifications setting on profile change." 2017-03-08 20:41:03 +00:00
TreeHugger Robot
a76876c48a Merge "Updating moveTaskToBack to handle PiP activities" 2017-03-08 20:38:08 +00:00
Brad Ebinger
5fe6fbcaad Merge "Return generic Binder on onBind" am: c6613f7206 am: 2a71bd5150
am: 2fca3afd4b

Change-Id: Ic668d9bb43f58f28c096083f89c6bec30cf9640a
2017-03-08 20:11:04 +00:00
Brad Ebinger
2fca3afd4b Merge "Return generic Binder on onBind" am: c6613f7206
am: 2a71bd5150

Change-Id: Ie447b8094ca9c483aac3886c795240301b5f2ace
2017-03-08 20:06:26 +00:00
Lei Yu
30d69eaf86 Merge "Add BatterySaverPolicy for power save mode" 2017-03-08 20:02:46 +00:00
Brad Ebinger
2a71bd5150 Merge "Return generic Binder on onBind"
am: c6613f7206

Change-Id: Ibc8cce3c63b93820f6bdd842e6a751233240874d
2017-03-08 20:02:03 +00:00
TreeHugger Robot
2277480ef2 Merge "Add metric for openProxyFileDescriptor." 2017-03-08 19:55:43 +00:00
Brad Ebinger
c6613f7206 Merge "Return generic Binder on onBind" 2017-03-08 19:53:26 +00:00
TreeHugger Robot
eb47ae261a Merge "TextClassifier: Introduce LocaleList in the API." 2017-03-08 19:50:20 +00:00
TreeHugger Robot
d11fbe34bd Merge "Add new constants to track successful contact queries Bug: 35803126,35873712 Test: No need to add any tests for this" 2017-03-08 19:49:41 +00:00
Jakub Pawlowski
6f45188e87 Merge "Bluetooth 5 Advertising API" am: 1bb08c25b8 am: fc3c9d0e9e
am: c162879c6a

Change-Id: I61382d466f28311b8ba5dd4ab120747eb0708501
2017-03-08 19:45:37 +00:00
Jakub Pawlowski
2ad15fd129 Merge "Bluetooth 5 PHY selection API" am: 104eeedb42 am: 4f6034160c
am: 3730cd9608  -s ours

Change-Id: I5d0dfea7068f123e544686d0522d06a3a1bbf095
2017-03-08 19:44:04 +00:00
Jakub Pawlowski
65ded7fc07 Merge "Bluetooth 5 periodc scan API (1/2)" am: f1d76a71c8 am: 8acd7391bd
am: 600a67a8c8  -s ours

Change-Id: Ibc1fc04aa569bb641a006b490ebf8450480b00ed
2017-03-08 19:35:27 +00:00
Jakub Pawlowski
c162879c6a Merge "Bluetooth 5 Advertising API" am: 1bb08c25b8
am: fc3c9d0e9e

Change-Id: Ib8e53386754ccfec27314bc1d29aaabde0cb7976
2017-03-08 19:28:54 +00:00
Keun-young Park
b799838dbe log fs_stat from fs_mgr and mount_all time
- fs_mgr reports fs_stat int value during bootup when mounting
  an ext4 partition.
- This includes information like:
  if previous shutdown was clean
  if e2fsck has fixed any fs issue
  if any mounting or quota related operations has failed.
- Each information is set as flag. Flag definitions are avaiable from
  FsStatFlags in system/core/fs_mgr/fs_mgr.cpp
- log ro.boottime.init.mount_all.[early|default|late] which represent
  time duration for each mount stage. Depending on device's config, some of
  these stages may not exist. So do not log if value is 0, which means not existing.

bug: 32246772
bug: 35949600
bug: 35329915

Test: manual, check log after boot-up.

Change-Id: I4ceca88776119d88d5352d6793be122e82688279
2017-03-08 11:28:12 -08:00
Jakub Pawlowski
3730cd9608 Merge "Bluetooth 5 PHY selection API" am: 104eeedb42
am: 4f6034160c

Change-Id: I3183ead1802d166aae903c180be46f19ea8291ee
2017-03-08 19:27:38 +00:00
Jakub Pawlowski
86559f7ce6 Merge "Bluetooth 5 enhanced scanning API" am: bed6fb3f5a am: 71760b71fd
am: f64a341eb7

Change-Id: I309e654e65001d9b97c457a272601761e54f9a73
2017-03-08 19:27:32 +00:00
Jakub Pawlowski
600a67a8c8 Merge "Bluetooth 5 periodc scan API (1/2)" am: f1d76a71c8
am: 8acd7391bd

Change-Id: If28e751c19883914f3a44eb9fdec03e08a6a1901
2017-03-08 19:22:59 +00:00
Jakub Pawlowski
db45efccbd Merge "Bluetooth 5 feature check API (1/2)" am: a06a0dfdb7 am: e9bd9be3cb
am: 0798f31c34

Change-Id: I871c18d414ce5a7517eba911c7e4ee441377f14c
2017-03-08 19:22:05 +00:00
Scott Main
bd401a77f8 update uiautomator doclava build to use new location for templates
as per:
https://googleplex-android-review.git.corp.google.com/#/c/1524290/

Change-Id: Ib8588f01005a691474622e6ca81f63234f796f82
2017-03-08 11:21:03 -08:00
Jakub Pawlowski
fc3c9d0e9e Merge "Bluetooth 5 Advertising API"
am: 1bb08c25b8

Change-Id: Ifd95aacf025929d3c9f5a1762f31ed20c26fabfd
2017-03-08 19:21:03 +00:00
Jakub Pawlowski
f64a341eb7 Merge "Bluetooth 5 enhanced scanning API" am: bed6fb3f5a
am: 71760b71fd

Change-Id: I6a5de71a10fb1e326e57f3a9bd665229535a6571
2017-03-08 19:21:00 +00:00
Kweku Adams
e0dd9c1293 Surrounding some field names with quotes to avoid breaking CSV assumptions.
Some names can include commas, and if they're not surrounded by quotes,
then CSV parsing breaks, as was the case in
https://github.com/google/battery-historian/issues/94#issuecomment-282790498
and several other circumstances.

Test: flashed local device and ran batterystats output through Historian

Change-Id: I070c5d873d9f79996a581bf0a5f664136c0af454
2017-03-08 19:19:46 +00:00
Jakub Pawlowski
4f6034160c Merge "Bluetooth 5 PHY selection API"
am: 104eeedb42

Change-Id: I0ee2daaf0771b405c8a14598a70459879d31c953
2017-03-08 19:18:50 +00:00
Jakub Pawlowski
0798f31c34 Merge "Bluetooth 5 feature check API (1/2)" am: a06a0dfdb7
am: e9bd9be3cb

Change-Id: I462d459638f2b41f8806b877a6b307e21e6e30d3
2017-03-08 19:17:08 +00:00
Jakub Pawlowski
8acd7391bd Merge "Bluetooth 5 periodc scan API (1/2)"
am: f1d76a71c8

Change-Id: I7b68746e3dc02a12d13380a90bcf26cebfd31f16
2017-03-08 19:14:22 +00:00
Jakub Pawlowski
71760b71fd Merge "Bluetooth 5 enhanced scanning API"
am: bed6fb3f5a

Change-Id: I27d61ec7446c36143dcd5a94158451e1be9a5411
2017-03-08 19:12:08 +00:00
Jakub Pawlowski
e9bd9be3cb Merge "Bluetooth 5 feature check API (1/2)"
am: a06a0dfdb7

Change-Id: I59cf0e8f496e6a1201a3a6ec832c33cd1c8972df
2017-03-08 19:09:43 +00:00
Jakub Pawlowski
1bb08c25b8 Merge "Bluetooth 5 Advertising API" 2017-03-08 19:05:12 +00:00
Winson Chung
261c0f3c69 Updating moveTaskToBack to handle PiP activities
- When a PiP activity calls moveTaskToBack(), we should fall through to
  the same behaviour as dismissing the PiP if there are no other tasks
  to show.

Bug: 36034065
Test: android.server.cts.ActivityManagerPinnedStackTests
Test: #testMovePipToBackWithNoFullscreenStack
Test: #testMovePipToBackWithVisibleFullscreenStack
Test: #testMovePipToBackWithHiddenFullscreenStack

Change-Id: I83c3d27dabc031546f9f1cf20b808bb8f13d4646
Signed-off-by: Winson Chung <winsonc@google.com>
2017-03-08 11:04:56 -08:00
Jakub Pawlowski
a9d1a32e5e Bluetooth 5 Advertising API
Test: manual
Bug: 30622771
Change-Id: Id6856e6110872ec50ff1af54ddc75c0104a6459c
(cherry picked from commit 5324a14cf490656269ef862d7f8f6b139a21c0e6)
2017-03-08 19:04:49 +00:00
Jakub Pawlowski
104eeedb42 Merge "Bluetooth 5 PHY selection API" 2017-03-08 19:04:31 +00:00