OSDN Git Service
Ugo Yu [Tue, 8 Jan 2019 01:00:09 +0000 (09:00 +0800)]
Skeleton implementation of Bluetooth metadata APIs
Bug:
121051445
Test: Build pass
Change-Id: I5e80210205b37294b1eb8356502ebf242e627ce4
Treehugger Robot [Mon, 21 Jan 2019 15:34:35 +0000 (15:34 +0000)]
Merge "Clean up config of tabs and trailing whitespace"
David Brazdil [Mon, 21 Jan 2019 14:31:05 +0000 (14:31 +0000)]
Merge changes from topics "coreapi-flag", "coreapi-stubs-csv"
* changes:
hiddenapi: Support 'core-platform-api' flag
hiddenapi: Expect public/private API as CSV
Remi NGUYEN VAN [Mon, 21 Jan 2019 14:15:42 +0000 (14:15 +0000)]
Merge "Add OsConstants networking constants to public API"
Treehugger Robot [Mon, 21 Jan 2019 13:47:24 +0000 (13:47 +0000)]
Merge "Replace uses of libcore.io.SizeOf with X.BYTES."
Chalard Jean [Mon, 21 Jan 2019 13:40:31 +0000 (22:40 +0900)]
Clean up config of tabs and trailing whitespace
Test: whitespace only change
Change-Id: Ib2d8132e04b3bf604e2174deb1a54a074d8299d8
Remi NGUYEN VAN [Mon, 21 Jan 2019 11:38:10 +0000 (20:38 +0900)]
Add OsConstants networking constants to public API
Test: m
Bug:
123062477
Change-Id: Iac5c0c6acf8d24c17fb4780bcb97164ee21cca8f
Tobias Thierer [Mon, 21 Jan 2019 10:34:19 +0000 (10:34 +0000)]
Replace uses of libcore.io.SizeOf with X.BYTES.
libcore.io.SizeOf is an internal API and is going away soon.
Note: The files touched by this CL have some other unused
imports which I did not touch. Therefore I had to use
"repo upload --no-verify" to upload this CL to gerrit.
Bug:
123174577
Test: Manually checked that this CL applies cleanly in internal
master and that no other uses of SizeOf then remain in
internal master's frameworks/base
Test: Treehugger
Change-Id: Ib29a195f3dda2f21ebbe2f7073e0af4dbb524b19
Chalard Jean [Mon, 21 Jan 2019 09:34:41 +0000 (09:34 +0000)]
Merge changes I2ddfef0c,I49bee0c9
* changes:
[MS08] Read back attributes and blobs.
[MS07] Implement storeNetworkAttributes and storeBlob.
Remi NGUYEN VAN [Mon, 21 Jan 2019 08:01:26 +0000 (08:01 +0000)]
Merge "Add stable AIDL parcelables for IIpClient API"
Junyu Lai [Mon, 21 Jan 2019 07:33:14 +0000 (07:33 +0000)]
Merge "fix getIfaceStats and getTotalStats bug"
Chalard Jean [Thu, 27 Dec 2018 11:59:41 +0000 (20:59 +0900)]
[MS08] Read back attributes and blobs.
Test: New tests in IpMemoryStore
Bug:
113554482
Change-Id: I2ddfef0c2ed37459c038f75d1dfc92fdefbf58f5
Chalard Jean [Tue, 18 Dec 2018 13:05:19 +0000 (22:05 +0900)]
[MS07] Implement storeNetworkAttributes and storeBlob.
Test: New tests in IpMemoryStore
Bug:
113554482
Change-Id: I49bee0c903247e77ab93517efbe44548313cf1a4
Remi NGUYEN VAN [Fri, 18 Jan 2019 09:49:16 +0000 (18:49 +0900)]
Add stable AIDL parcelables for IIpClient API
Test: atest FrameworksNetTests NetworkStackTests
Bug: b/
112869080
Change-Id: Ia4ac1eb482850a06c4dc1b6c1fe55d33d4087388
Junyu Lai [Mon, 21 Jan 2019 03:48:15 +0000 (03:48 +0000)]
Merge "Remove dead KeepaliveInfo if it cannot be started"
Tor Norbye [Sun, 20 Jan 2019 15:09:18 +0000 (15:09 +0000)]
Merge "Update signature files to the new format"
Nicolas Geoffray [Sun, 20 Jan 2019 13:58:49 +0000 (13:58 +0000)]
Merge "Adjust to new OpenNativeLibrary API."
David Brazdil [Fri, 7 Dec 2018 11:49:55 +0000 (11:49 +0000)]
hiddenapi: Support 'core-platform-api' flag
Libcore class members annotated with @CorePlatformApi now generate
a new hiddenapi flag. This is the first of "domain API" flags which
can be used in conjunction with API list flags. Therefore modify
the 'generate_hiddenapi_lists.py' logic to treat them differently.
Specifically, the script marks otherwise unassigned class members
blacklisted. A class member with 'core-platform-api' may still not
be assigned an API list and should be blacklisted.
Bug:
119068555
Test: m appcompat
Change-Id: I2b67e7a619677e853c87bc2da934410458ce4d14
David Brazdil [Thu, 13 Dec 2018 17:00:09 +0000 (17:00 +0000)]
hiddenapi: Expect public/private API as CSV
Refactor of `hiddenapi` changed the output format of public/private API
lists to a single CSV file. Change API list generation accordingly.
In order to avoid special-casing this CSV file, it is treated the same
as the CSV files produced by `class2greylist`. The merging rules are
relaxed so that signatures in CSV files are not checked against
a pre-initialized set of all signatures (previously generated from the
public/private API files). This should not lead to build errors as the
CSV files are always auto-generated, and a missing/extra signature will
be caught by `hiddenapi`.
API lists in frameworks/base/config are processed later and checked
that they are a subset of the signatures in CSV.
Bug:
119068555
Test: compiles, hiddenapi-flags.csv unchanged
Change-Id: I33f2cbaa15f2d423a75e6ca64abe1c5b0c40c86f
Tor Norbye [Thu, 27 Dec 2018 03:55:07 +0000 (19:55 -0800)]
Update signature files to the new format
The new format is described in tools/metalava/FORMAT.md.
Fixes:
116589402 Switch signature files over to the v2 format
Fixes:
112626813 Drop "synchronized" modifier from the signature format
Fixes:
122358225 Omit overriding methods that only differ in final [...]
Fixes:
73088715 API Review: Need doclava to output nullability
Fixes:
79739773 API Review: Metalava enforcing constants are constant
Exempt-From-Owner-Approval: Large-scale tooling change
Test: make sdk, make update-api, make checkapi
Change-Id: I8314f4e7099fa92e4f8ed7d283ccf836cc9a84a0
Merged-In: Ia248aece5250e84e47c815c601133b698bf644c2
Treehugger Robot [Sat, 19 Jan 2019 13:48:29 +0000 (13:48 +0000)]
Merge "Pass in calling UID and package to dumpstate"
Treehugger Robot [Sat, 19 Jan 2019 06:49:09 +0000 (06:49 +0000)]
Merge "Trigger PhoneStateListener onCallAttributesChanged"
Treehugger Robot [Sat, 19 Jan 2019 04:24:23 +0000 (04:24 +0000)]
Merge "Remove the eng tag from invoke_mock_media_player"
Treehugger Robot [Sat, 19 Jan 2019 02:39:35 +0000 (02:39 +0000)]
Merge "Fix potential NULL dereference errors."
Michele Berionne [Sat, 19 Jan 2019 00:13:56 +0000 (00:13 +0000)]
Merge "Carrier restriction enhancements for Android Q"
Jean-Michel Trivi [Fri, 18 Jan 2019 23:30:27 +0000 (23:30 +0000)]
Merge "[b/
109850442]Fail to adjust volume when connect Ampplifier.]"
Treehugger Robot [Fri, 18 Jan 2019 23:18:15 +0000 (23:18 +0000)]
Merge "Quiet SNaN inputs in Half.toFloat()"
Jayachandran Chinnakkannu [Fri, 18 Jan 2019 22:54:38 +0000 (22:54 +0000)]
Merge "Cellular data stall recovery based on networkStatus"
Jayachandran C [Thu, 6 Dec 2018 19:12:07 +0000 (11:12 -0800)]
Cellular data stall recovery based on networkStatus
This CL introduces cellular data stall recovery based on
network validation result. It still re-uses the existing
recovery steps but the triggers are based on networkStatus
from NetworkMonitor when the network is bad. Each recovery
step is spaced by a configurable grace period (default 3 mins)
to avoid back to back recovery.
This feature is controlled by the following settings. If this
feature is enabled then the legacy data stall detection based
on TrafficStats will automatically be disabled.
Settings.Global.DATA_STALL_RECOVERY_ON_BAD_NETWORK
1 => Enabled (default)
0 => Disabled
Settings.Global.MIN_DURATION_BETWEEN_RECOVERY_STEPS_IN_MS
3 minutes is default value
Bug:
113916551
Test: atest FrameworksTelephonyTests:com.android.internal.telephony.dataconnection.DcTrackerTest
Change-Id: I738fc7ed08803de1114f7a3d79bf278449e94ea8
Dan Willemsen [Fri, 18 Jan 2019 22:40:54 +0000 (14:40 -0800)]
Remove the eng tag from invoke_mock_media_player
The test using this has been suppressed for >9 years since we moved
testing from eng devices to userdebug.
Test: treehugger
Change-Id: Ie91f3b97a33a8e8e5be49ea2098f163567e2496d
Michele Berionne [Wed, 28 Nov 2018 02:45:05 +0000 (18:45 -0800)]
Carrier restriction enhancements for Android Q
Add support for dual SIM to carrier restrictions.
Add support to exclude specific carriers in the list of carrier
restrictions.
Bug:
120313541
Test: Created test application to verify correct functionality.
Test: Added test cases for CarrierRestrictionRules.
Change-Id: I2723fb07db13efdafbc74471a87182e2d2a32718
Merged-In: I2723fb07db13efdafbc74471a87182e2d2a32718
Josh Gao [Fri, 18 Jan 2019 22:25:35 +0000 (22:25 +0000)]
Merge "Avoid calling ParcelFileDescriptor.fromSocket on new Sockets."
Treehugger Robot [Fri, 18 Jan 2019 22:18:50 +0000 (22:18 +0000)]
Merge "Fix maindexclasses use of proguard"
Treehugger Robot [Fri, 18 Jan 2019 22:13:53 +0000 (22:13 +0000)]
Merge "Add SOONG_HIDDENAPI_FLAGS as hiddenapi_flags.csv dependencies"
Leland Miller [Fri, 18 Jan 2019 19:32:37 +0000 (19:32 +0000)]
Merge "Add thread ID reuse to API contract"
Nathan Harold [Fri, 18 Jan 2019 19:09:50 +0000 (19:09 +0000)]
Merge "Remove LTE Rsrp Boost from SignalStrength"
Rene Mayrhofer [Fri, 18 Jan 2019 18:20:25 +0000 (18:20 +0000)]
Merge changes from topic "EnableAirplaneModeInSafeMode"
* changes:
Add import of android.provider.Settings
Enable airplane mode when booting in safe mode
Stanley Chang [Tue, 28 Aug 2018 00:16:03 +0000 (08:16 +0800)]
[b/
109850442]Fail to adjust volume when connect Ampplifier.]
[Description]
Fix this issue : Don't suppress adjustments for single volume device
Test: Android TV: press vol button once
Change-Id: I2d37ce60c3e6928e00b036a805f01f281437f4ac
David Brazdil [Fri, 18 Jan 2019 15:17:43 +0000 (15:17 +0000)]
Add SOONG_HIDDENAPI_FLAGS as hiddenapi_flags.csv dependencies
Hiddenapi build logic has moved to soong and list of flags.csv files
is now being passed to make files through SOONG_HIDDENAPI_FLAGS
variable. Adjust the build rule for hiddenapi_flags.csv accordingly.
Test: aosp compiles
Change-Id: I930f918fb36ce3532478035e83c2632559fd07b6
junyulai [Thu, 17 Jan 2019 07:15:45 +0000 (15:15 +0800)]
Remove dead KeepaliveInfo if it cannot be started
If KeepaliveInfo was created but cannot be started, current
design will only notify apps but not remove it from local
hashmap, which will cause unexpected behavior if someone
tries to iterate records and fire callbacks.
Bug:
122636283
Test: atest FrameworksNetTests
Change-Id: If4cb25a881dd3555f569c729f88741675f7f3bdf
Nicolas Geoffray [Fri, 18 Jan 2019 11:59:41 +0000 (11:59 +0000)]
Adjust to new OpenNativeLibrary API.
Bug:
122874359
Test: m
Change-Id: Ia018fd334eaf77b690ee6f7b5852743d1efa0e2f
Jack Yu [Fri, 18 Jan 2019 09:07:16 +0000 (09:07 +0000)]
Merge "Split applyNewState into enable/disable APN"
Dan Willemsen [Fri, 18 Jan 2019 06:57:06 +0000 (22:57 -0800)]
Fix maindexclasses use of proguard
Fixes:
122988865
Test: OUT_DIR=$HOME/out mmma frameworks/base/core/tests/hosttests/test-apps
Change-Id: I7f1f22dbe016182d2502643e45e095a5d8f60e41
Jayachandran Chinnakkannu [Fri, 18 Jan 2019 05:57:50 +0000 (05:57 +0000)]
Merge "Update sharedPreference to false when exits new device provisioning"
Etan Cohen [Fri, 18 Jan 2019 05:03:44 +0000 (05:03 +0000)]
Merge "[CS] Add an option to block sensitive network specifier"
Fan Zhang [Fri, 18 Jan 2019 00:47:52 +0000 (00:47 +0000)]
Merge "Add Dynamic tiles for Settings"
Jack Yu [Wed, 16 Jan 2019 22:47:38 +0000 (14:47 -0800)]
Split applyNewState into enable/disable APN
This is the preliminary work for adding handover
type for enable/disable APN.
Test: Telephony sanity tests + unit tests
Bug:
73659459
Merged-In: I51fd01d798cdf8d04fd41455126d017ac97f5f3f
Change-Id: I51fd01d798cdf8d04fd41455126d017ac97f5f3f
(cherry picked from commit
ade6d1a66d0cc4ef9260c80c760093a2386679d8)
chen xu [Wed, 16 Jan 2019 00:17:47 +0000 (16:17 -0800)]
Update sharedPreference to false when exits new device provisioning
Update sharedPreference to false when exits new device provisioning,
indicating no users modifications on the settings for new devices.
Thus carrier specific default roaming settings can be applied for new devices.
Bug:
122817867
Test: Manual test on VZW SIM in Setupwizard
Merged-in: Ic93b16f9f96ccc98d12f46c79ab1008ae0df8a07
Change-Id: Ic93b16f9f96ccc98d12f46c79ab1008ae0df8a07
Etan Cohen [Mon, 31 Dec 2018 01:59:59 +0000 (17:59 -0800)]
[CS] Add an option to block sensitive network specifier
Network specifiers are used for 2 purposes:
- As part of network requests to specify more information on the type
of requested networks.
- On network agents to specify information about their networks.
The network specifiers of the requests and agents are matched to each
other. However, the agent network specifier may contain sensitive
information which we do not want forwarded to any app.
This CL adds an option to strip out this agent network specifier before
the network capabilities are forwarded to the app.
Bug:
122160111
Test: atest ConnectivityServiceTest (frameworks/base/tests/net)
Test: atest frameworks/base/tests/net
Test: atest frameworks/opt/net/wifi/tests/wifitests
Test: atest frameworks/opt/telephony/tests/telephonytests
Test: atest frameworks/opt/net/ethernet/tests
Test: atest android.net.cts - some flakiness!
Test: act.py ThroughputTest
Test: act.py DataPathTest
Test: atest SingleDeviceTest (cts)
Change-Id: If08d312ff814bdde1147518f923199e6349503d5
Nathan Harold [Tue, 15 Jan 2019 19:59:54 +0000 (11:59 -0800)]
Remove LTE Rsrp Boost from SignalStrength
The RSRP boost is no longer used in SignalStrength,
and there are no major users of this value to
justify keeping the value around even though there is
no direct alternative. Thus, removing it from
SignalStrength.
Bug:
122846268
Test: compilation (code removal)
Change-Id: I2d4409986a64aa13379e2894457d000ae43f92ca
Treehugger Robot [Thu, 17 Jan 2019 22:31:08 +0000 (22:31 +0000)]
Merge "Atom: Update BluetoothConnectionStateChanged atom"
Treehugger Robot [Thu, 17 Jan 2019 22:30:43 +0000 (22:30 +0000)]
Merge "Atom: Add BluetoothLinkLayerConnectionEvent atom"
Brad Ebinger [Thu, 17 Jan 2019 22:05:44 +0000 (22:05 +0000)]
Merge "Use better Exception handling in IMS APIs."
Jayachandran Chinnakkannu [Thu, 17 Jan 2019 21:34:02 +0000 (21:34 +0000)]
Merge "Revert to previous constant value for ApnSetting.TYPE_DEFAULT."
yuemingw [Tue, 25 Sep 2018 17:12:52 +0000 (18:12 +0100)]
Revert to previous constant value for ApnSetting.TYPE_DEFAULT.
Bug:
113097474
Test: m -j && atest ApnSettingTest
Change-Id: Iadbb5cde21a9f1fff77000f10cee218ca9806b2e
Nathan Harold [Thu, 17 Jan 2019 21:23:50 +0000 (21:23 +0000)]
Merge "Invoke Both onDataConnectionStateChanged Methods"
Xin Li [Thu, 17 Jan 2019 21:19:43 +0000 (21:19 +0000)]
Merge "DO NOT MERGE - Merge pie-platform-release (PPRL.190105.001) into master"
Jordan Liu [Thu, 17 Jan 2019 20:24:09 +0000 (20:24 +0000)]
Merge "EuiccManager handles multiple eUICCs using cardId"
Treehugger Robot [Thu, 17 Jan 2019 18:39:48 +0000 (18:39 +0000)]
Merge "[LayoutInflater] Use precompiled layouts if available"
Shuo Qian [Thu, 17 Jan 2019 18:05:45 +0000 (18:05 +0000)]
Merge "Add Emergency Call Routing"
sqian [Wed, 19 Dec 2018 05:09:21 +0000 (21:09 -0800)]
Add Emergency Call Routing
Some countries or carriers require some emergency numbers that must
be handled with normal call routing or emergency routing.
Do not send service types from the database
as the emergency service categories
When searching for the corresponding service categories,
try to find the one that comes from the radio indication.
Test: Treehugger
Bug:
112657134
Change-Id: I95dadd07e9155c6e402a72339f307b4d7ef32fe4
Merged-In: I95dadd07e9155c6e402a72339f307b4d7ef32fe4
(cherry picked from commit
a4bd738b8b4a4402a26747d6be5d9a2228a45329)
Eric Holk [Wed, 2 Jan 2019 18:38:54 +0000 (10:38 -0800)]
[LayoutInflater] Use precompiled layouts if available
This change enables the use of precompiled layouts, provided a couple of
conditions are met:
1. Precompiled layouts are enabled by the system property
view.use_precompiled_layouts.
2. There is a file called compiled_view.dex in the application's code cache
directory.
If these conditions are met, when a layout is inflated, the LayoutInflater will
first check if a precompiled version is available and use that. If anything goes
wrong, such as if the layout is not available or something goes wrong during the
inflation process, then the LayoutInflater will fall back on interpretting the
layout resource as before.
Bug:
111895153
Test: atest $ANDROID_BUILD_TOP/cts/tests/tests/view/src/android/view/cts/LayoutInflaterTest.java
Change-Id: Id050072c0206080322a0e876782ee2b66d03916d
Rene Mayrhofer [Wed, 16 Jan 2019 20:58:29 +0000 (12:58 -0800)]
Add import of android.provider.Settings
One use case for changing settings during initialization is enabling airplane mode in safe mode bootup.
Test: manual
Change-Id: I846f09faca22b35f502a18348b70800d1edabb60
Nandana Dutt [Wed, 16 Jan 2019 18:18:38 +0000 (18:18 +0000)]
Pass in calling UID and package to dumpstate
BUG:
111441001
Test: builds
Change-Id: Ib623f6d4f50b81f331131cf3fda92fe2526dd6c7
Nikita Iashchenko [Thu, 17 Jan 2019 15:34:02 +0000 (15:34 +0000)]
Merge "Switch TextClassifier implementation from native to java"
Treehugger Robot [Thu, 17 Jan 2019 10:01:37 +0000 (10:01 +0000)]
Merge "Change the impl lib name of java_sdk_library"
Remi NGUYEN VAN [Thu, 17 Jan 2019 08:30:18 +0000 (08:30 +0000)]
Merge "Add stable AIDL parcelables for LinkProperties"
Chiachang Wang [Thu, 17 Jan 2019 07:51:00 +0000 (07:51 +0000)]
Merge "Avoid accessing proxy service if it's unavailable"
Remi NGUYEN VAN [Tue, 8 Jan 2019 01:46:21 +0000 (10:46 +0900)]
Add stable AIDL parcelables for LinkProperties
Test: atest android.net.shared.LinkPropertiesParcelableUtilTest
Bug: b/
112869080
Change-Id: I2b69980e25bae9f51fb5b8cd3cafb403e6bd53da
Chiachang Wang [Thu, 17 Jan 2019 02:18:39 +0000 (10:18 +0800)]
Avoid accessing proxy service if it's unavailable
In some cases, proxy service may not be available. Return
directly and avoid using it to prevent null object exception.
Bug:
122902676
Test: atest FrameworksNetTests
Change-Id: I5faec8716da168225928e8caec43086a1fbb0c3c
Rene Mayrhofer [Wed, 28 Nov 2018 19:32:40 +0000 (11:32 -0800)]
Enable airplane mode when booting in safe mode
Make it possible to boot in airplane mode when it was not turned on
before shutdown/reboot, either for situations where this is required by
regulation or to work around problems in normal boot. When safe mode is
engaged (Vol-Down), disabled in two stages:
1. Set Settings.Global.AIRPLANE_MODE_ON as early as possible for
subsystems to react to it during their initialization.
2. Trigger the public ConnectiviyService API to enable airplane mode. This
has to be done during later stages in initialization because it requires
sending broadcasts, so some RF leakage may still happen before airplane
mode is enabled (time window of a few seconds).
Bluetooth is not currently disabled and needs to be fixed by another
change. WiFi and NFC are turned off alongside cellular modems.
Test: manual
Bug:
120145930
Change-Id: I1d61990a9d6f7cd046d28b3e49ecf402dd485063
(cherry picked from commit
afc9bc80941ea015cb591a0032e7553b5805fcc6)
Nathan Harold [Thu, 17 Jan 2019 01:04:21 +0000 (17:04 -0800)]
Invoke Both onDataConnectionStateChanged Methods
PhoneStateListener#onDataConnectionStateChanged is
overloaded to either take 1 or 2 parameters.
When receiving a callback from binder, the same call
should invoke both methods. sequentially.
Bug:
122274960
Test: atest PhoneStateListenerTest
Change-Id: I146f1eafa475969119254339d86b41244a96fb56
Sundong Ahn [Thu, 8 Nov 2018 10:06:45 +0000 (19:06 +0900)]
Change the impl lib name of java_sdk_library
The impl lib name of java_sdk_library is changed to {module_name}.jar
instead of {module_name}.impl.jar
android.test.mock.impl is removed from stubs_defaults.
RepetitiveTest class is added to public API in android.test.base
Bug:
110404779
Test: m -j
Change-Id: I5dd7f3a28bc22136b4e921de3eb5a3e77e5fc75f
Merged-In: I5dd7f3a28bc22136b4e921de3eb5a3e77e5fc75f
(cherry picked from commit
b7540bf1a3f7e7f041ea8b3d3a3a23b15cab187c)
Shuo Qian [Thu, 17 Jan 2019 00:30:31 +0000 (00:30 +0000)]
Merge "Call Redirection Service enhancement"
Jack He [Wed, 9 Jan 2019 09:19:13 +0000 (01:19 -0800)]
Atom: Update BluetoothConnectionStateChanged atom
* Use salted hashed Bluetooth device identifier and deprecate old
ofuscted_id
* Add BluetoothAclConnectionStateChanged and BluetoothScoConnectionStateChanged
to track ACL and SCO connections
Bug:
112969790
Test: Bluetooth unit test, test drive with statsd
Change-Id: I5398e4caae751e1fe1d6a95fa3bc56d062eb6172
Merged-In: I5398e4caae751e1fe1d6a95fa3bc56d062eb6172
(cherry picked from commit
d9837c8a9e9c91d9907ea10e67bf6c6581ba1b4b)
Pengquan Meng [Wed, 16 Jan 2019 23:48:41 +0000 (23:48 +0000)]
Merge "Add CellInfo converter V1_4"
Chen Xu [Wed, 16 Jan 2019 23:39:18 +0000 (23:39 +0000)]
Merge "refactor updateIccId for msim"
Jordan Liu [Wed, 28 Nov 2018 19:22:39 +0000 (11:22 -0800)]
Trigger PhoneStateListener onCallAttributesChanged
onCallAttributesChanged can trigger whenever the PreciseCallState or
network type changes, or when the modem reports call quality changes.
Bug:
122366240
Test: builds
Change-Id: I9b13cbdd85c24c077e1a13df302bf60128c164e9
Jack He [Tue, 18 Dec 2018 23:43:27 +0000 (15:43 -0800)]
Atom: Add BluetoothLinkLayerConnectionEvent atom
* Add this atom to report events related to Bluetooth link layer
connection, including:
- Obfuscated ID of remote device
- Connection handle
- Direction of the connection
- Type of the connection
- Associated HCI command and/or event
- Status code associated with HCI command and/or event
- Reason code associated with HCI command and/or event
* Add enum definitions for HCI commands and events as defined in the
Bluetooth 5.0 specification
* Add enum definitions for link type and direction
Bug:
112969790
Test: make, test drive with statsd
Change-Id: I0fdc59274d49ad503e9ba9cf8f49c9d8872a4131
Merged-In: I0fdc59274d49ad503e9ba9cf8f49c9d8872a4131
(cherry picked from commit
ab86dbd20cf17a1389d42135865eabfc4fc48604)
Leland Miller [Thu, 10 Jan 2019 01:00:09 +0000 (17:00 -0800)]
Add thread ID reuse to API contract
This make explicit that thread IDs should not be reused to point to new
threads as this may cause issues in applications that expect threads to
remain consistent.
Test: Tested by CTS test in CtsTelephonyProviderTestCases
Bug:
122616805
Change-Id: I068943c402084c524f7e7002044a7efc59ef796d
Treehugger Robot [Wed, 16 Jan 2019 17:50:16 +0000 (17:50 +0000)]
Merge "Rerun update-api. It was out of sync."
vichang [Wed, 16 Jan 2019 17:13:09 +0000 (17:13 +0000)]
Merge "Remove libpac as a JNI library in Android.mk"
Treehugger Robot [Wed, 16 Jan 2019 16:24:15 +0000 (16:24 +0000)]
Merge "BugreportAPI : Connect listener to binder callbacks"
Aurimas Liutikas [Wed, 19 Dec 2018 00:20:49 +0000 (16:20 -0800)]
Rerun update-api. It was out of sync.
Test: make -j update-api
Bug:
122916999
Change-Id: I086a9e883b447258b1969970c8cc60591a227470
Merged-In: I924d4da8474b69a88b6ff5350457df4e0aadd05c
Victor Chang [Wed, 16 Jan 2019 15:14:37 +0000 (15:14 +0000)]
Remove libpac as a JNI library in Android.mk
In fact, libpac is just a normal C++ library, not a JNI library.
Remove it from LOCAL_JNI_SHARED_LIBRARIES. libjni_pacprocessor
is the actual JNI library.
libpac is still being used. libjni_pacprocessor, specified in
frameworks/base/packages/services/PacProcessor/jni/Android.bp,
depends on libpac as shared library.
This change is needed to move libpac into the Runtime APEX.
Bug:
121269980
Test: m droid
Change-Id: I2a985acddbf2083d59fa28cfa76e6e4b80fa5b20
Nicolas Geoffray [Wed, 16 Jan 2019 15:05:53 +0000 (15:05 +0000)]
Merge "Move to C API of libnativeloader."
Treehugger Robot [Wed, 16 Jan 2019 14:28:57 +0000 (14:28 +0000)]
Merge "Add public API"
Nicolas Geoffray [Fri, 11 Jan 2019 15:58:08 +0000 (15:58 +0000)]
Move to C API of libnativeloader.
Test: m
Bug:
119840313
Merged-In: Ia2ba3e4ed69d35310838ed57e03dfc122c3579db
(cherry picked from commit
42b30e7a2fba04365700b1b69aa149ec48dff29f)
Change-Id: Ic357031086b80442b5d3e249fb4fe26b8202ba63
Chalard Jean [Wed, 16 Jan 2019 12:14:46 +0000 (12:14 +0000)]
Merge changes I09167532,I7df77a99,I67797b3f,Ic27e706f
* changes:
[MS06] Add the relevance utils.
[MS05] Pretty print the data classes of IPMS.
[MS04] Add an executor to the memory store.
[MS03] Add the contract for the IPMS database.
Sundong Ahn [Wed, 16 Jan 2019 03:19:20 +0000 (12:19 +0900)]
Add public API
RepetitiveTest class is added to public API in android.test.base
Bug:
110404779
Test: m -j
Change-Id: I80e772354c8cabf30ef513701cb7850590926dca
Merged-In: I80e772354c8cabf30ef513701cb7850590926dca
(cherry picked from commit
78db121770e6619661ff195f33ec0ff3673219f5)
Anton Hansson [Wed, 16 Jan 2019 09:30:20 +0000 (09:30 +0000)]
Merge "Move settings intelligence grant file to /product"
Lorenzo Colitti [Wed, 16 Jan 2019 09:28:06 +0000 (09:28 +0000)]
Merge changes Iec53a9fd,Iac4cfe70
* changes:
Test parceling empty LinkProperties.
Delete the clatd functions from NetworkManagementService.
chen xu [Thu, 10 Jan 2019 22:13:18 +0000 (14:13 -0800)]
refactor updateIccId for msim
Bug:
120686729
Test: Manual test under msim configurations
Change-Id: I9708dea75f6bcf1db82fed7f42d7c2828b192583
(cherry picked from commit
9f1beb6b3c78a3cdea530190367051d2c806c1a1)
Merged-in: I9708dea75f6bcf1db82fed7f42d7c2828b192583
Remi NGUYEN VAN [Wed, 16 Jan 2019 08:35:01 +0000 (08:35 +0000)]
Merge "Add Nat64Prefix to LinkProperties copy constructor"
Remi NGUYEN VAN [Wed, 16 Jan 2019 06:27:27 +0000 (15:27 +0900)]
Add Nat64Prefix to LinkProperties copy constructor
The attribute is copied when parceling/unparceling so should also be
preserved in the copy constructor.
Test: tests based on this pass
Change-Id: Ia48d94fc075e6414f537dad181a236be5a32b41b
Sooraj Sasindran [Wed, 16 Jan 2019 04:13:56 +0000 (04:13 +0000)]
Merge "Allocate memory before reading from parcel"
Chiachang Wang [Wed, 16 Jan 2019 02:13:47 +0000 (02:13 +0000)]
Merge "Add data_stall_event.proto to atoms.proto"
jin.dong [Thu, 20 Dec 2018 03:51:56 +0000 (11:51 +0800)]
Add Dynamic tiles for Settings
Add new CategoryKey for screens below:
about_legal.xml
my_device_info.xml
battery_saver_settings.xml
Bug:
113249409
Change-Id: I042d39bfde0875cb4f88b4994ac1e9856e7e6a0a
Merged-In: I042d39bfde0875cb4f88b4994ac1e9856e7e6a0a
Jordan Liu [Tue, 11 Dec 2018 00:10:16 +0000 (16:10 -0800)]
EuiccManager handles multiple eUICCs using cardId
Bug:
80097562
Test: manual
Change-Id: I61ab60dfe4b97080148c9ee4b180e0a582b10f59
Merged-In: I61ab60dfe4b97080148c9ee4b180e0a582b10f59
Sooraj Sasindran [Tue, 15 Jan 2019 22:53:52 +0000 (14:53 -0800)]
Allocate memory before reading from parcel
Allocate memory for mccmnc before reading from parcel
Bug:
113613093
Test: verified manual system test that request sent down correctly.
Change-Id: Ib436dc8dc62e7237143e099b1af23b26468b0392