344557 Commits

Author SHA1 Message Date
Chalard Jean
b16a6053fe Merge "Have the status bar listen to all macro-users VPN changes." 2018-03-23 07:33:02 +00:00
Erik Kline
e5dac904d3 Pass all relevant resolver info to netd
Test: runtest frameworks-net passes
Test: manual testing of opportunistic and strict mode works
Bug: 34953048
Bug: 64133961
Bug: 72345192
Change-Id: Ia4f1905e1fa60e7a468c2246fb809191d2ba796b
2018-03-22 23:50:13 -07:00
Chalard Jean
06f0fc04e7 Merge "Have PermissionMonitor arbiter which app can access background networks" 2018-03-23 06:15:00 +00:00
Chen Xu
8bcb7aa971 Merge "new WFC registration failure notification string" 2018-03-23 04:00:25 +00:00
Treehugger Robot
1a6228e595 Merge "Add multisim notifications for SST" 2018-03-23 03:47:48 +00:00
Remi NGUYEN VAN
db89ca3c12 Merge "Add method to NetworkStatsService for UID stats." 2018-03-23 02:39:00 +00:00
Treehugger Robot
dd6764a522 Merge "Enable Checkstyle for "repo upload" for more projects." 2018-03-23 00:59:13 +00:00
fionaxu
eaba3e06c0 new WFC registration failure notification string
Bug: 37579327
Test: Manual
Change-Id: I5adaf643b2b2c86cac28dabb944765d0a8bcefd0
(cherry picked from commit 6ac589ae665b2190a762d71948de6f41922352d6)
Merged-in: I5adaf643b2b2c86cac28dabb944765d0a8bcefd0
2018-03-22 17:05:49 -07:00
Jack Yu
8ee42c2b95 Enable Checkstyle for "repo upload" for more projects.
This CL enables Checkstyle for the following directories:
- telephony/

Bug: 34746646, 32954735
Test: Compilation
Change-Id: Ia67eaf5b871e6b74f21344fef1572835801843a5
2018-03-22 16:47:16 -07:00
Treehugger Robot
8085d6f247 Merge "HIDD: Address API Review concerns" 2018-03-22 21:50:57 +00:00
Elliott Hughes
08de1891c8 Prune files from /data/anr/ by number as well as age.
tombstoned prunes based on both age and number of files. Until we can
fully switch over to tombstoned, emulate that here too.

Bug: http://b/73140330
Test: ran tests
Change-Id: I824034019e91d541fc7b7ba49d152e1ceaf37621
2018-03-22 14:06:37 -07:00
Ying Xu
ec76adb9ff Merge "Add more comments for the isConfigForIdentifiedCarrier()" 2018-03-22 19:07:45 +00:00
Tej Singh
e7e9fca001 Revert "Revert "Logging: Bluetooth Enabled""
This reverts commit 46850eb3d2180d29751a18056ae094965e840827.

Reason for revert: The dummy StatsLog class was merged into stage-aosp-master and oc-mr1-dev-plus-aosp, which were the branches that broke initially.

Change-Id: Iab9bac487d845db0ba70b2622679523604b4944e
2018-03-22 18:30:31 +00:00
Pankaj Kanwar
320b6c2312 Merge "Revert "Change KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL to false"" 2018-03-22 17:03:39 +00:00
David Srbecky
28a89370f0 Fix mini-debug-info generation for apps with wrap.sh script.
Debuggable apps enable mini-debug-info after fork, however, this does not
work with apps with wrap.sh script since they follow different code path.

Enable mini-debug-info generation for those as well.

Bug: 74070426
Test: check that app with wrap.sh generates debug info for JIT now
Change-Id: I489ac3c82bcced8fc0448ed5666f67009cbb043d
2018-03-22 13:58:19 +00:00
Chalard Jean
1d738004e8 Have PermissionMonitor arbiter which app can access background networks
This will let ConnectivityService send the right callbacks to the
relevant apps.

Test: manual with apps
      runtest frameworks-net
      cts
      new tests for this functionality
Bug: 67408339

Change-Id: I6f08efd9e73c7e191f833d7f307a3bf4c9e2f0b4
2018-03-22 19:03:59 +09:00
Remi NGUYEN VAN
088ff6824f Add method to NetworkStatsService for UID stats.
Useful for clients such as BatteryStats which currently rely
on NetworkStatsFactory. Data at that stage is incomplete as
it does not account for tethering, VT data and corresponding
464xlat corrections.

Test: runtest frameworks-net, CTS tests pass.
Change-Id: I763b77f601c827fd2963204694fb5b45425cc791
2018-03-22 15:31:28 +09:00
Jordan Liu
249119da53 Merge "Finalise STK call control strings" 2018-03-22 05:14:31 +00:00
Chalard Jean
5b0c7c6403 Have the status bar listen to all macro-users VPN changes.
Bug: 73217368
Test: manual
      Using Datally on work profile. Before this, enabling the VPN
      does not show the key icon. After this it does.

Change-Id: I454eb8f3881a48af1b0187c2b14a2a399d3c2445
2018-03-22 13:25:09 +09:00
Holly Jiuyu Sun
a99b258049 Merge "Mark eraseSubscriptions as @SystemApi." 2018-03-22 03:45:55 +00:00
Jordan Liu
9af69a041e Finalise STK call control strings
Bug: 64685331
Bug: 70352301
Test: manual
Change-Id: I53e9ec5e520f960b7adb3a29770e1f57065eb4c8
2018-03-21 17:39:12 -07:00
Treehugger Robot
72fa61b325 Merge "Calls unlinkToDeath in binderDied to deregister" 2018-03-21 22:04:50 +00:00
Treehugger Robot
b2df57a42f Merge "Enable Belarusian and Latin languages in fontchain_lint tool." 2018-03-21 21:48:08 +00:00
Tyler Gunn
727097a400 Merge "Add Telecom debug setting for enabling enhanced call blocking." 2018-03-21 21:02:24 +00:00
Xin Li
fcf61630bf Enable Belarusian and Latin languages in fontchain_lint tool.
Bug: 68058172
Merged-In: I747cbb5ea3d36ca63335bfe6b337fad1e75ee79b
2018-03-21 20:20:57 +00:00
Pankaj Kanwar
77f2365672 Revert "Change KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL to false"
This reverts commit 84a8bb80a15ad9386983a619dafdc10748e6c14e.

Change-Id: Ied14258726d71262642f8d72db5ee11ea671836b
2018-03-21 20:20:06 +00:00
nharold
08ee27ff90 Merge "Add alpha Strings to CellIdentityTdscdma" 2018-03-21 20:06:59 +00:00
Treehugger Robot
21a9ebeb6c Merge "Revert "Logging: Bluetooth Enabled"" 2018-03-21 19:55:58 +00:00
nharold
baa4bf51c1 Merge "Add NonNull Annotations To IpSec API Surface" 2018-03-21 18:49:44 +00:00
Yueming Wang
46850eb3d2 Revert "Logging: Bluetooth Enabled"
This reverts commit f336d1e9cf8b48fe73ad8527365d5286d673ffba.

Reason for revert: Reverting this CL as it causes several build breakages in git_stage-aosp-master

Change-Id: I4a29f7313857a561452c01fb331accbf59c64a72
2018-03-21 18:20:34 +00:00
Nathan Harold
8fd26f67fd Add NonNull Annotations To IpSec API Surface
This CL adds NonNull annotations to a large
number of method returns and parameters as
part of API council feedback.

Bug: 72473424
Test: compilation (docstring-only change)
Change-Id: I2f865dde56fe12116c461ad98e9460bf1802ce18
2018-03-21 17:08:34 +00:00
Ivan Podogov
f2f5dc355f HIDD: Address API Review concerns
* Replace bare field usage with getter methods;
 * Remove Builder;
 * Move BluetoothHidDeviceCallback to inner class;
 * Remove toArray() and equals();
 * Throw IllegalArgumentException where applicable;
 * Add an Executor parameter before Callback;

Bug: 72168436, 72168126
Test: make update-api, make, make sl4a.Common
Change-Id: I13095458bf3ded7a376e8d20fd13df12ef426693
2018-03-21 09:44:57 -07:00
Treehugger Robot
8173db40c3 Merge "Logging: Bluetooth Enabled" 2018-03-21 16:25:27 +00:00
nharold
94d8fa0da6 Merge "Check mOwnedByTransform to avoid DELSA on SPI" 2018-03-21 01:27:22 +00:00
Treehugger Robot
ccf1064825 Merge "Fingerprint navigation settings is a secure setting" 2018-03-21 00:31:58 +00:00
Treehugger Robot
e3ee136c89 Merge "Cherry-pick 'Add @Nullable annotations to getOperatorAlphaLong and getOperatorAlphaShort to CellIdentity.'" 2018-03-21 00:15:10 +00:00
Stanley Tng
699f42e246 Calls unlinkToDeath in binderDied to deregister
When a registered BLE App unexpectedly dies and the binderDied callback
is called, the unlinkToDeath is called to remove linkage. Also, refactor
code to use an existing function.

Test: Manual test by repeatedly killing the gms core process.
Bug: 74076974
Change-Id: If47a534ecafe7fceae14f8cf8526987cabd279cd
2018-03-20 16:54:27 -07:00
Nathan Harold
a7b147eb05 Add alpha Strings to CellIdentityTdscdma
Add equivalent alphaLong and alphaShort to
TD-SCDMA so that it's equivalent to LTE, WCDMA,
GSM, etc.

Bug: 75980473
Test: compilation
Merged-In: Ibaa8a7daafb44f7fc94f0fd6aaa193b67793eea4
Change-Id: Ibaa8a7daafb44f7fc94f0fd6aaa193b67793eea4
(cherry picked from commit 0acd7eeed49555f0a07283a6146bbe24c096cd87)
2018-03-20 16:46:28 -07:00
Holly Jiuyu Sun
bbebf8feb4 Mark eraseSubscriptions as @SystemApi.
This is a blocker for P.

Bug: 74621500
Test: test on phone
Merged-In: I9455a0b7594cbd2acbdbba99a725c9866c448a07
Change-Id: I9455a0b7594cbd2acbdbba99a725c9866c448a07
2018-03-20 16:31:59 -07:00
Kevin Chyn
ea68e9e63d Fingerprint navigation settings is a secure setting
Fixes: 76025501

Test: turning on/off the navigation setting actually turns on/off
      the ability to swipe the notification panel

Change-Id: I465fcebfc1e248bd37a609f404462ae8a45cf31b
Merged-In: I465fcebfc1e248bd37a609f404462ae8a45cf31b
Signed-Off-By: Siarhei Vishniakou <svv@google.com>
2018-03-20 16:01:31 -07:00
nharold
8e2b079f56 Merge "Expose add/removeAddress for IpSecInterfaces" 2018-03-20 22:53:39 +00:00
Cassie
f7bb40affb Cherry-pick 'Add @Nullable annotations to getOperatorAlphaLong and
getOperatorAlphaShort to CellIdentity.'

Bug: 75984192
Test: Unit test
Change-Id: I71feb20075559c7b28d4aa346a603f0d11ca69da
Merged-In: I71feb20075559c7b28d4aa346a603f0d11ca69da
2018-03-20 21:04:09 +00:00
Treehugger Robot
3dd075ad1c Merge "Remove Make side (system/test-)api-stubs droiddoc targets" 2018-03-20 20:04:47 +00:00
Nathan Harold
a83601a511 Expose add/removeAddress for IpSecInterfaces
When exposing the APIs, these were missed.
The outer structure is exposed, so this exposes
the addAddress and removeAddress methods.

Bug: 75234273
Test: compilation
Change-Id: I79911434f9baa660e4d8564cc59d80da4a710c42
2018-03-20 12:32:20 -07:00
Treehugger Robot
1a99d557e1 Merge "Remove BLE App entry from mBleApps list when App died" 2018-03-20 19:20:12 +00:00
Jeff Davidson
88826dceef Merge "Expose remaining READ_PHONE_STATE and SEND_SMS APIs to carrier apps." 2018-03-20 18:47:34 +00:00
Nan Zhang
54963cba91 Remove Make side (system/test-)api-stubs droiddoc targets
Remove old droiddoc targets for api-stubs, system-api-stubs, and test-api-stubs.

And also set api_tag_name, api_filename, private_api_filename, and etc.
properties in Android.bp for new droiddoc.
Test: manually compare if dependencies change after Soong based droiddoc runs.
Bug: b/70351683

Change-Id: I8d944c83de120ec8148276adc1c9872113d9d29b
Merged-In: I8d944c83de120ec8148276adc1c9872113d9d29b
2018-03-20 11:43:51 -07:00
Treehugger Robot
275749c0b2 Merge "Add support for auth-only transforms" 2018-03-20 18:36:04 +00:00
Nathan Harold
22795302be Check mOwnedByTransform to avoid DELSA on SPI
The owned by transform flag prevents the removal
of an SPI from accidentally deleting an associated
SA in the kernel. That flag wasn't actually being
checked, so deleting an SPI would result in the
transform being removed.

The existing code already guarantees that the SA is
deleted when the transform is deleted

Bug: 73258845
Test: runtest frameworks-net
Change-Id: I4c26aea7af817a5d9e54da5db1cdf4f943bcae06
2018-03-20 11:26:29 -07:00
Madiyar Aitbayev
fedc8278ea Merge "Close file descriptors of ProfilerInfo" 2018-03-20 18:14:42 +00:00