OSDN Git Service
Steven Moreland [Wed, 7 Feb 2018 18:07:03 +0000 (10:07 -0800)]
HIDL: add APIs used by subclasses to SystemApi
Two methods:
- HwBinder()
- HwBinder registerService
- HwBinder onTransact
are used by Stub classes generated by hidl-gen.
Bug:
72480743
Test: build hidl-gen generated stubs with system_current
after manually copying stub jar to prebuilts.
Change-Id: I9b409271b683ad4769a0420e1688b14c561d39d1
Merged-In: I9b409271b683ad4769a0420e1688b14c561d39d1
(cherry picked from commit
4c0d6b62a9d60798f54de33d6cea1626cc21cc4a)
Steven Moreland [Tue, 30 Jan 2018 18:11:40 +0000 (10:11 -0800)]
Update HIDL-related documentation.
This is a followup CL to previous @SystemApi CLs.
Bug: N/A
Test: N/A
Change-Id: I9c7dcc776dcfb89fd90afa4fc5d74e40ff0a5f94
Merged-In: I9c7dcc776dcfb89fd90afa4fc5d74e40ff0a5f94
(cherry picked from commit
739811a5c53e435b3f0cfd5abf58389416be429c)
Steven Moreland [Thu, 25 Jan 2018 18:24:07 +0000 (10:24 -0800)]
Add remaining missing HIDL SystemApi methods.
A couple methods of Java classes which became SystemApis
but were used are still @hide.
Bug:
72480743
Test: hidl_test_java
Change-Id: I0cb82384932ab1758fa7576b2125825c48a4a6c9
Merged-In: I0cb82384932ab1758fa7576b2125825c48a4a6c9
(cherry picked from commit
adcb896fd6e476f277d6f1d20e2e50b8e81c4369)
Steven Moreland [Thu, 25 Jan 2018 23:42:02 +0000 (15:42 -0800)]
HIDL: reportSyspropMethod -> enableInstrumentation
Renaming this method with a semantic meaning which
better explains its purpose without caring about
its implementation details.
Bug:
72480743
Test: hidl_test_java
Change-Id: I4b0577b3f61180ecfd66ae146973fa5cc2a3b244
Merged-In: I4b0577b3f61180ecfd66ae146973fa5cc2a3b244
(cherry picked from commit
36be191dfdd220e24f166b96cbdd64cfa30b4eb5)
Steven Moreland [Wed, 10 Jan 2018 23:45:36 +0000 (15:45 -0800)]
Allow HIDL to be used in priv-apps.
Marking HIDL as SystemApi to allow vendor apps to talk to their own
native HIDL services. This includes implementing HIDL callback objects.
HIDL (HAL interface design language) is a language that is used to
facilitate vendor<->system communication which provides guarantees
of ABI stability. For system and vendor services alike, this can also
be used for internal communication.
Bug:
67725182
Test: boot device, hidl_test_java
Change-Id: I9d028cc43ce6f81ea619f01e18f1cd772e17cbfa
Merged-In: I9d028cc43ce6f81ea619f01e18f1cd772e17cbfa
(cherry picked from commit
e8e63aae6f705cbe316a1d9a7780f9f534bc3948)
Hall Liu [Wed, 28 Mar 2018 22:25:44 +0000 (22:25 +0000)]
Merge "Add additional logging for EMBMS edge cases"
Holly Jiuyu Sun [Wed, 28 Mar 2018 21:56:40 +0000 (21:56 +0000)]
Merge "Address comments from API Review."
Treehugger Robot [Wed, 28 Mar 2018 21:25:13 +0000 (21:25 +0000)]
Merge "Remove non-tombstoned ANR path."
Treehugger Robot [Wed, 28 Mar 2018 18:40:17 +0000 (18:40 +0000)]
Merge "Clean new TelephonyManager API."
Treehugger Robot [Wed, 28 Mar 2018 18:06:31 +0000 (18:06 +0000)]
Merge "MessageQueue: explicitly remove FD event listeners."
Elliott Hughes [Fri, 23 Mar 2018 18:06:36 +0000 (11:06 -0700)]
Remove non-tombstoned ANR path.
Bug: http://b/
73140330
Test: boots with ANR
Change-Id: Ib58724a0a6b831c05cb59d053520a4169ea591fd
Merged-In: Ib58724a0a6b831c05cb59d053520a4169ea591fd
Brad Ebinger [Wed, 28 Mar 2018 16:59:41 +0000 (16:59 +0000)]
Merge "Parse SMS locally upon error to get message ref"
Treehugger Robot [Wed, 28 Mar 2018 16:57:30 +0000 (16:57 +0000)]
Merge "Use commas to separate API exemptions list, not colon."
Mathew Inwood [Wed, 28 Mar 2018 12:01:37 +0000 (13:01 +0100)]
Use commas to separate API exemptions list, not colon.
A colon appears in the type signature of a field, so is not safe to use in
this context.
Test: m
Test: $ adb shell settings put global hidden_api_blacklist_exemptions \
Test: > Landroid/app/Activity;->mResumed:Z,Landroid/view/RemoteAnimationDefinition\\\;
Bug:
73337509
Change-Id: Ia9171fecc9c3ed265b87921b31458de25304486e
Lorenzo Colitti [Wed, 28 Mar 2018 09:17:41 +0000 (09:17 +0000)]
Merge "Allow third party cookies in the captive portal login app."
Holly Jiuyu Sun [Fri, 16 Mar 2018 01:06:42 +0000 (18:06 -0700)]
Address comments from API Review.
Bug:
74975825
Bug:
74976716
Bug:
74976875
Test: test on phone
Merged-In: I5417e5dd95c75fd3fd9fa98d7559511bd0fcd8a0
Change-Id: I5417e5dd95c75fd3fd9fa98d7559511bd0fcd8a0
Andreas Gampe [Wed, 28 Mar 2018 02:53:57 +0000 (02:53 +0000)]
Merge "BgDexopt: Reschedule job on timeout"
Malcolm Chen [Sat, 24 Mar 2018 01:45:42 +0000 (18:45 -0700)]
Clean new TelephonyManager API.
This is to apply API council's review opinion on a previous commit.
We are reverting previous change, which renamed isDataEnabled and
setDataEnabled to isUserMobileDataEnabled and setUserMobileDataEnabled.
So this commit will remove the new APIs isUserMobileDataEnabled and
setUserMobileDataEnabled, and also rename hidden API isMobileDataEnabled
to isDataCapable.
Bug:
71584593
Test: unittest
Change-Id: I84d65776874e7a7f6e3a9af9ff7ec7dcbd715c2c
Treehugger Robot [Tue, 27 Mar 2018 22:45:18 +0000 (22:45 +0000)]
Merge changes I70eafe03,Ia44e16c5
* changes:
Hearing Aid Profile: set and get activeDevice
Move the setActiveDevice logic from Settings to SettingsLib (1/2)
Benedict Wong [Tue, 27 Mar 2018 22:19:37 +0000 (22:19 +0000)]
Merge "Add documentation for TCP interactions with transforms"
Andreas Gampe [Tue, 27 Mar 2018 22:04:19 +0000 (15:04 -0700)]
BgDexopt: Reschedule job on timeout
When the background dexopt job times out, tell the scheduler to
reschedule it, as we have more work to do.
Bug:
76425903
Test: m
Test: manual
Change-Id: Ibbdb979bceb1ff0a25f8aed2b3cc26a7f30057e2
Lorenzo Colitti [Sun, 25 Mar 2018 16:32:33 +0000 (01:32 +0900)]
Allow third party cookies in the captive portal login app.
Fix:
73909651
Test: Captive portal login app still works
Change-Id: I3ffda92e7d764ea9957df1a5408839cf10a26be5
Merged-In: I0174124cad9c108a26594b0ddd6162ca3ea6e68d
(cherry picked from commit
c3c95bab8ec7f3ef4e7649b5d24ea6525a407c44)
Brad Ebinger [Mon, 19 Mar 2018 21:30:32 +0000 (14:30 -0700)]
Parse SMS locally upon error to get message ref
Parse the SMS locally to get the message ref when
onSmsReceived fails due to the platform being
unavailable. This allows the correct message ref
to be sent back via acknowledgeSms, instead of
the incorrect "0" value.
Bug:
74551838
Test: Manual
Merged-In: I3b75da909f1f07125c5696f7f9e525736732f3c1
Change-Id: I2f8128d8ff4e07bb3720a344cee70fa5fd5d7535
Eric Schwarzenbach [Tue, 27 Mar 2018 20:59:20 +0000 (20:59 +0000)]
Merge "Add constants for reporting criteria"
Treehugger Robot [Tue, 27 Mar 2018 20:49:45 +0000 (20:49 +0000)]
Merge "Configurable hidden API exemptions."
Treehugger Robot [Tue, 27 Mar 2018 18:30:12 +0000 (18:30 +0000)]
Merge "Tell the user to toggle Bluetooth when enabling HCI logs"
Myles Watson [Mon, 26 Mar 2018 21:28:46 +0000 (14:28 -0700)]
Tell the user to toggle Bluetooth when enabling HCI logs
Bug:
67634644
Test: Manually inspect the new text in developer settings
Change-Id: Ic8b08c8d6d0c7727a03a265fb6b10a3c55fd96cb
Remi NGUYEN VAN [Tue, 27 Mar 2018 10:17:44 +0000 (10:17 +0000)]
Merge "Add tests for IPv4 of dual stack tethering."
Mathew Inwood [Fri, 16 Mar 2018 14:26:08 +0000 (14:26 +0000)]
Configurable hidden API exemptions.
Extend the existing hidden_api_blacklist_exemptions config to support a
list of API signature prefixes to exclude from hidden API enforcement.
Push this list down to the zygote process when that process is created,
and when the list changes. This minimizes overhead, but should also ensure
that all new processes get the latest whitelist.
Test: $ adb shell settings put global hidden_api_blacklist_exemptions \
Test: Landroid/view/RemoteAnimationDefinition\\\;:Landroid/app/ActivityManager\\\$TaskDescription\\\;
Test: Manually verify logcat output from app which uses named APIs
Bug:
73337509
Change-Id: Ib1245b69da4dac50c6968f1be62f1a74591dc433
Treehugger Robot [Tue, 27 Mar 2018 04:40:40 +0000 (04:40 +0000)]
Merge "Modify Open Mobile API to follow Android API guidelines"
Treehugger Robot [Mon, 26 Mar 2018 23:53:40 +0000 (23:53 +0000)]
Merge "Split the DownloadStateCallback class into two"
Ruchi Kandoi [Thu, 22 Mar 2018 18:06:36 +0000 (11:06 -0700)]
Modify Open Mobile API to follow Android API guidelines
- Add @Nullable/@NonNull to input arguments for APIs
- Remove deprecated methods openBasicChannel(aid) and
openLogicalChannel(aid)
- SecureElementListener is converted to a stand-alone interface
- serviceConnected() callback is renamed to onServiceConnected()
Bug:
64994044
Test: Run Cts Test
Change-Id: I503044a26a81dae8befb87fb8e8ac96d19de883b
Hall Liu [Tue, 20 Mar 2018 01:12:23 +0000 (18:12 -0700)]
Split the DownloadStateCallback class into two
Use individually-registered DownloadStatusListener and
DownloadProgressListener instead to listen for download status and
progress, respectively.
Bug:
74409377
Test: cts
Change-Id: Ifd5289038ffd66eef8bd7916f5256205b49be5f9
Merged-In: Ifd5289038ffd66eef8bd7916f5256205b49be5f9
Tyler Gunn [Mon, 26 Mar 2018 21:18:54 +0000 (21:18 +0000)]
Merge "Add exception catching for BlockedNumberContract methods used by Telecom."
Martijn Coenen [Mon, 26 Mar 2018 19:00:57 +0000 (19:00 +0000)]
Merge "Add new trace tag for AIDL."
Benedict Wong [Thu, 15 Mar 2018 02:01:14 +0000 (19:01 -0700)]
Add documentation for TCP interactions with transforms
Updates API documentation to mention that TCP sockets where transforms
are deactivated will not send FIN packets.
Bug:
74851550
Test: API updates only
Change-Id: I8169f221c8c747538a8bddfbf02dcc73c9337189
Treehugger Robot [Mon, 26 Mar 2018 16:28:58 +0000 (16:28 +0000)]
Merge "Better javadoc and rename several methods in ApnSetting."
yuemingw [Wed, 21 Mar 2018 15:20:43 +0000 (15:20 +0000)]
Better javadoc and rename several methods in ApnSetting.
Cherrypicked from ag/
3709855.
Test: Manually by TestDpc
Bug:
73087996
Merged-In: I5232c92a44ab505946956f81965a205f170aa52b
Martijn Coenen [Fri, 9 Mar 2018 08:26:54 +0000 (09:26 +0100)]
Add new trace tag for AIDL.
So we can auto-generate tracing code for AIDL interfaces.
Bug:
74416314
Test: inspect atrace output
Change-Id: I42eee24358763305d6b4e954087f3331ad20f9b7
Merged-In: I42eee24358763305d6b4e954087f3331ad20f9b7
Remi NGUYEN VAN [Thu, 15 Mar 2018 02:57:14 +0000 (11:57 +0900)]
Add tests for IPv4 of dual stack tethering.
Also refactoring some Tethering and TetherInterfaceStateMachine calls
to address testability issues.
This is in preparation of other work to have IPv6-only or 464xlat
tethering working.
Test: runtest frameworks-net
Bug:
38218697
Bug:
64382985
Bug:
64976379
Bug:
64995262
Change-Id: I721aca4789ddfbee5a97316aae0b378d79ee2107
Treehugger Robot [Fri, 23 Mar 2018 23:41:11 +0000 (23:41 +0000)]
Merge "Pass all relevant resolver info to netd"
Tyler Gunn [Fri, 23 Mar 2018 17:16:15 +0000 (10:16 -0700)]
Add exception catching for BlockedNumberContract methods used by Telecom.
The content resolver can throw in some instances when using the blocked
number provider. Rather than crashing all of telecom, adding exception
handling to provide graceful fallback in these cases.
Test: Compile / build
Bug:
74965829
Change-Id: I2e1accce3ed6fac4ec2b8e6a92585abf630b84fe
Treehugger Robot [Fri, 23 Mar 2018 21:06:45 +0000 (21:06 +0000)]
Merge "Change null behavior of getCellBandwidths"
Elliott Hughes [Fri, 23 Mar 2018 19:51:59 +0000 (19:51 +0000)]
Merge "Use ABI_STRING."
Hansong Zhang [Fri, 16 Mar 2018 16:15:48 +0000 (09:15 -0700)]
Hearing Aid Profile: set and get activeDevice
Add setActiveDevice() for Hearing Aid Profile in SettingsLib
Bug:
69623109
Test: robolectric test and manual test
Change-Id: I70eafe030747053876e2ab8a125d5dd01c5e0eb9
Merged-In: I70eafe030747053876e2ab8a125d5dd01c5e0eb9
(cherry picked from commit
d7b359165968199e034bd46ca97526dbf719602d)
Hansong Zhang [Tue, 20 Mar 2018 01:20:38 +0000 (18:20 -0700)]
Move the setActiveDevice logic from Settings to SettingsLib (1/2)
Currently the Settings app handles the logic of setting active device;
however, this should be handled by SettingsLib so the logic can be shared.
Bug:
75984255
Test: robolectric test
Change-Id: Ia44e16c550d5b57c985e29e46e17044a895b495a
Merged-In: Ia44e16c550d5b57c985e29e46e17044a895b495a
(cherry picked from commit
6a416327e5b52d6bb78202bd05a86ab84cf2304e)
Eric Schwarzenbach [Thu, 22 Mar 2018 20:49:25 +0000 (13:49 -0700)]
Change null behavior of getCellBandwidths
Returns empty array instead of null when there are
no cell bandwidths.
Bug:
73751023
Test: make, runtest
Change-Id: Idc3f034bbea8f6c3f11dcd125f760b121d2c91d9
Merged-In: Idc3f034bbea8f6c3f11dcd125f760b121d2c91d9
(cherry picked from commit
c119a863501cc21bfe4853ad46987a2021041e2b)
Elliott Hughes [Fri, 23 Mar 2018 18:27:04 +0000 (11:27 -0700)]
Use ABI_STRING.
Bug: N/A
Test: builds
Change-Id: I5a9d2a6604887f1f0e9583086e012a086042b7df
Eric Schwarzenbach [Wed, 14 Feb 2018 01:45:27 +0000 (17:45 -0800)]
Add constants for reporting criteria
Adds RILConstants and TelephonyManager constants for reporting and
setting indication filter bits.
Bug:
72117365
Test: make
Change-Id: Ia52ffdbc9ea2499893ece518aba4a99c6fe4ee90
Elliott Hughes [Fri, 23 Mar 2018 17:36:23 +0000 (17:36 +0000)]
Merge "Prune files from /data/anr/ by number as well as age."
Treehugger Robot [Fri, 23 Mar 2018 17:29:36 +0000 (17:29 +0000)]
Merge "Revert "Revert "Logging: Bluetooth Enabled"""
Mathew Inwood [Fri, 23 Mar 2018 13:29:03 +0000 (13:29 +0000)]
Merge "More flexible API enforcement policy."
Mathew Inwood [Fri, 23 Mar 2018 10:05:01 +0000 (10:05 +0000)]
More flexible API enforcement policy.
This CL adds the basics to set black, dark gray or light gray list
enforcement, rather than just black as before. It's not possible to
actually set the policy per-package yet.
PackageDexOptimizer still uses a single bit, for API checks on/off, rather
than the new enum. It assumes blacklist enforcement internally. This can
be improved in a follow up CL.
(cherry-picked from commit
e52130ae4cf3b046b38a09fc7cc7712f5b7fb83d)
Test: m
Test: Boot device
BUG:
73337509
Change-Id: Ic0d5b8fa631c2bd583b6fc52b2ee3708c8113f59
Merged-In: Idd73c9938592c5c4d67cfb9efefdffed0dd5f262
David Srbecky [Fri, 23 Mar 2018 10:50:32 +0000 (10:50 +0000)]
Merge "Fix mini-debug-info generation for apps with wrap.sh script."
Treehugger Robot [Fri, 23 Mar 2018 08:38:21 +0000 (08:38 +0000)]
Merge "audioservice: Add a property for default voice call volume"
Chalard Jean [Fri, 23 Mar 2018 07:33:02 +0000 (07:33 +0000)]
Merge "Have the status bar listen to all macro-users VPN changes."
Erik Kline [Sun, 4 Mar 2018 12:01:01 +0000 (21:01 +0900)]
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
Chalard Jean [Fri, 23 Mar 2018 06:15:00 +0000 (06:15 +0000)]
Merge "Have PermissionMonitor arbiter which app can access background networks"
Chen Xu [Fri, 23 Mar 2018 04:00:25 +0000 (04:00 +0000)]
Merge "new WFC registration failure notification string"
Treehugger Robot [Fri, 23 Mar 2018 03:47:48 +0000 (03:47 +0000)]
Merge "Add multisim notifications for SST"
Remi NGUYEN VAN [Fri, 23 Mar 2018 02:39:00 +0000 (02:39 +0000)]
Merge "Add method to NetworkStatsService for UID stats."
Treehugger Robot [Fri, 23 Mar 2018 00:59:13 +0000 (00:59 +0000)]
Merge "Enable Checkstyle for "repo upload" for more projects."
fionaxu [Thu, 22 Mar 2018 23:37:54 +0000 (16:37 -0700)]
new WFC registration failure notification string
Bug:
37579327
Test: Manual
Change-Id: I5adaf643b2b2c86cac28dabb944765d0a8bcefd0
(cherry picked from commit
6ac589ae665b2190a762d71948de6f41922352d6)
Merged-in: I5adaf643b2b2c86cac28dabb944765d0a8bcefd0
Jack Yu [Thu, 22 Mar 2018 23:28:13 +0000 (16:28 -0700)]
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
Treehugger Robot [Thu, 22 Mar 2018 21:50:57 +0000 (21:50 +0000)]
Merge "HIDD: Address API Review concerns"
Elliott Hughes [Thu, 22 Mar 2018 21:06:37 +0000 (14:06 -0700)]
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
Ying Xu [Thu, 22 Mar 2018 19:07:45 +0000 (19:07 +0000)]
Merge "Add more comments for the isConfigForIdentifiedCarrier()"
Tej Singh [Thu, 22 Mar 2018 18:30:31 +0000 (18:30 +0000)]
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
Pankaj Kanwar [Thu, 22 Mar 2018 17:03:39 +0000 (17:03 +0000)]
Merge "Revert "Change KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL to false""
David Srbecky [Wed, 21 Mar 2018 12:58:00 +0000 (12:58 +0000)]
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
Chalard Jean [Tue, 20 Mar 2018 10:13:57 +0000 (19:13 +0900)]
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
Remi NGUYEN VAN [Tue, 6 Mar 2018 03:36:54 +0000 (12:36 +0900)]
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
Jordan Liu [Thu, 22 Mar 2018 05:14:31 +0000 (05:14 +0000)]
Merge "Finalise STK call control strings"
Chalard Jean [Fri, 9 Mar 2018 11:52:15 +0000 (20:52 +0900)]
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
Holly Jiuyu Sun [Thu, 22 Mar 2018 03:45:55 +0000 (03:45 +0000)]
Merge "Mark eraseSubscriptions as @SystemApi."
Jordan Liu [Thu, 22 Mar 2018 00:39:12 +0000 (17:39 -0700)]
Finalise STK call control strings
Bug:
64685331
Bug:
70352301
Test: manual
Change-Id: I53e9ec5e520f960b7adb3a29770e1f57065eb4c8
Treehugger Robot [Wed, 21 Mar 2018 22:04:50 +0000 (22:04 +0000)]
Merge "Calls unlinkToDeath in binderDied to deregister"
Treehugger Robot [Wed, 21 Mar 2018 21:48:08 +0000 (21:48 +0000)]
Merge "Enable Belarusian and Latin languages in fontchain_lint tool."
Tyler Gunn [Wed, 21 Mar 2018 21:02:24 +0000 (21:02 +0000)]
Merge "Add Telecom debug setting for enabling enhanced call blocking."
Xin Li [Wed, 21 Mar 2018 20:16:16 +0000 (13:16 -0700)]
Enable Belarusian and Latin languages in fontchain_lint tool.
Bug:
68058172
Merged-In: I747cbb5ea3d36ca63335bfe6b337fad1e75ee79b
Pankaj Kanwar [Wed, 21 Mar 2018 20:20:06 +0000 (20:20 +0000)]
Revert "Change KEY_CARRIER_VOLTE_TTY_SUPPORTED_BOOL to false"
This reverts commit
84a8bb80a15ad9386983a619dafdc10748e6c14e.
Change-Id: Ied14258726d71262642f8d72db5ee11ea671836b
nharold [Wed, 21 Mar 2018 20:06:59 +0000 (20:06 +0000)]
Merge "Add alpha Strings to CellIdentityTdscdma"
Treehugger Robot [Wed, 21 Mar 2018 19:55:58 +0000 (19:55 +0000)]
Merge "Revert "Logging: Bluetooth Enabled""
nharold [Wed, 21 Mar 2018 18:49:44 +0000 (18:49 +0000)]
Merge "Add NonNull Annotations To IpSec API Surface"
Yueming Wang [Wed, 21 Mar 2018 18:20:34 +0000 (18:20 +0000)]
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
Nathan Harold [Sat, 17 Mar 2018 00:27:30 +0000 (17:27 -0700)]
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
Ivan Podogov [Tue, 27 Feb 2018 17:58:16 +0000 (17:58 +0000)]
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
Treehugger Robot [Wed, 21 Mar 2018 16:25:27 +0000 (16:25 +0000)]
Merge "Logging: Bluetooth Enabled"
nharold [Wed, 21 Mar 2018 01:27:22 +0000 (01:27 +0000)]
Merge "Check mOwnedByTransform to avoid DELSA on SPI"
Treehugger Robot [Wed, 21 Mar 2018 00:31:58 +0000 (00:31 +0000)]
Merge "Fingerprint navigation settings is a secure setting"
Treehugger Robot [Wed, 21 Mar 2018 00:15:10 +0000 (00:15 +0000)]
Merge "Cherry-pick 'Add @Nullable annotations to getOperatorAlphaLong and getOperatorAlphaShort to CellIdentity.'"
Stanley Tng [Tue, 20 Mar 2018 23:54:27 +0000 (16:54 -0700)]
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
Nathan Harold [Mon, 19 Mar 2018 23:59:40 +0000 (16:59 -0700)]
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)
Holly Jiuyu Sun [Wed, 14 Mar 2018 00:20:07 +0000 (17:20 -0700)]
Mark eraseSubscriptions as @SystemApi.
This is a blocker for P.
Bug:
74621500
Test: test on phone
Merged-In: I9455a0b7594cbd2acbdbba99a725c9866c448a07
Change-Id: I9455a0b7594cbd2acbdbba99a725c9866c448a07
Kevin Chyn [Tue, 20 Mar 2018 21:42:39 +0000 (14:42 -0700)]
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>
nharold [Tue, 20 Mar 2018 22:53:39 +0000 (22:53 +0000)]
Merge "Expose add/removeAddress for IpSecInterfaces"
Cassie [Tue, 20 Mar 2018 17:15:50 +0000 (10:15 -0700)]
Cherry-pick 'Add @Nullable annotations to getOperatorAlphaLong and
getOperatorAlphaShort to CellIdentity.'
Bug:
75984192
Test: Unit test
Change-Id: I71feb20075559c7b28d4aa346a603f0d11ca69da
Merged-In: I71feb20075559c7b28d4aa346a603f0d11ca69da
Treehugger Robot [Tue, 20 Mar 2018 20:04:47 +0000 (20:04 +0000)]
Merge "Remove Make side (system/test-)api-stubs droiddoc targets"
Nathan Harold [Tue, 20 Mar 2018 19:26:10 +0000 (12:26 -0700)]
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
Treehugger Robot [Tue, 20 Mar 2018 19:20:12 +0000 (19:20 +0000)]
Merge "Remove BLE App entry from mBleApps list when App died"