OSDN Git Service
Andreas Gampe [Tue, 9 Oct 2018 17:40:52 +0000 (10:40 -0700)]
Frameworks: Add VMRuntime.hasBootImageSpaces check
Log a wtf in the system server when the runtime does not
use a boot image.
Test: m
Test: system boots
Change-Id: I087c269dd1e95eeeab5db4250133f9c61e9399c7
Treehugger Robot [Tue, 9 Oct 2018 17:06:50 +0000 (17:06 +0000)]
Merge "Add rtmitchell to AAPT2 OWNERS"
Treehugger Robot [Tue, 9 Oct 2018 16:37:25 +0000 (16:37 +0000)]
Merge "Add yanglu@ and yaochen@ to the proto owner list."
Pengquan Meng [Mon, 8 Oct 2018 22:16:52 +0000 (22:16 +0000)]
Merge "Add isManualNetworkSelectionAllowed api to telephonyManager"
Shuo Qian [Mon, 8 Oct 2018 20:42:00 +0000 (20:42 +0000)]
Merge "Make isUsableSubIdValue public"
Treehugger Robot [Mon, 8 Oct 2018 20:12:59 +0000 (20:12 +0000)]
Merge "statsd: Add AID mappings for iorapd"
Pengquan Meng [Wed, 3 Oct 2018 19:22:10 +0000 (12:22 -0700)]
Add isManualNetworkSelectionAllowed api to telephonyManager
Bug:
111453847
Test: build
Merged-In: Icdd60ab03fee4b2e7a08dda3c5c127a19ecac7ce
Change-Id: Icdd60ab03fee4b2e7a08dda3c5c127a19ecac7ce
Yangster [Mon, 8 Oct 2018 16:24:43 +0000 (09:24 -0700)]
Add yanglu@ and yaochen@ to the proto owner list.
Test: cts
Change-Id: I6ad0ced33ec8f0a8fa6e832fbae30828e20fb609
Dimitry Ivanov [Mon, 8 Oct 2018 14:50:08 +0000 (14:50 +0000)]
Merge "Respect extractNativeLibs in natively bridged environments"
Treehugger Robot [Mon, 8 Oct 2018 07:44:48 +0000 (07:44 +0000)]
Merge "Fix UsbDeviceManager null object reference"
Hall Liu [Sat, 6 Oct 2018 00:49:14 +0000 (00:49 +0000)]
Merge "Wire up the stopRtt API"
Pengquan Meng [Sat, 6 Oct 2018 00:13:01 +0000 (00:13 +0000)]
Merge "Fix incorrect API comments of getSubId()"
Igor Murashkin [Fri, 5 Oct 2018 23:25:21 +0000 (16:25 -0700)]
statsd: Add AID mappings for iorapd
Bug:
117295673
Change-Id: Ie0c7a7bf823159492259ac1ec6680b45784afb84
Shuo Qian [Fri, 5 Oct 2018 22:29:36 +0000 (22:29 +0000)]
Merge "Add Parcelable EmergencyNumber and APIs"
Pengquan Meng [Fri, 5 Oct 2018 05:42:06 +0000 (22:42 -0700)]
Fix incorrect API comments of getSubId()
getSubid() return the SubscriptionManager#getDefaultSubscriptionId()
when TelephonyManager created without the subId.
Bug:
111453847
Test: Build
Merged-In: I8e38ef43b5f23bbedc4d584df78c12f250b88fcc
Change-Id: I8e38ef43b5f23bbedc4d584df78c12f250b88fcc
sqian [Wed, 12 Sep 2018 23:31:17 +0000 (16:31 -0700)]
Make isUsableSubIdValue public
Rename subId to subscriptionId
Bug:
113072551
Test: Treehugger
Change-Id: I54303bab4d40d6168332d0263e9de1603205bb75
Tyler Gunn [Fri, 5 Oct 2018 20:35:55 +0000 (20:35 +0000)]
Merge "Add finer grained call fail reasons."
Yan Yan [Fri, 5 Oct 2018 17:38:41 +0000 (17:38 +0000)]
Merge changes I10c01f2b,Ie05bc535
* changes:
Check to ensure UDP-encap is used only for IPv4
Add UDP encapsulation tests for IpSecService.
Howard Chen [Fri, 5 Oct 2018 17:03:59 +0000 (17:03 +0000)]
Merge "Refine frameworks/base/services/tests/runtest.py"
Treehugger Robot [Fri, 5 Oct 2018 16:52:11 +0000 (16:52 +0000)]
Merge "statsd: Add missing AIDs to UidMap"
Treehugger Robot [Fri, 5 Oct 2018 15:38:39 +0000 (15:38 +0000)]
Merge "DO NOT MERGE Synchronize ZenModeControllerImpl callbacks"
Chalard Jean [Fri, 5 Oct 2018 09:07:12 +0000 (09:07 +0000)]
Merge "[PT10] Move loadGlobalProxy into ProxyTracker."
Neil Fuller [Fri, 5 Oct 2018 08:09:13 +0000 (08:09 +0000)]
Merge "Swap libcore annotations for framework versions"
Chalard Jean [Fri, 8 Jun 2018 03:47:42 +0000 (12:47 +0900)]
[PT10] Move loadGlobalProxy into ProxyTracker.
Test: runtest
Change-Id: Id1c57ebb575c8742310be4822ec6e3fa03f487c3
sqian [Sat, 8 Sep 2018 04:01:26 +0000 (21:01 -0700)]
Add Parcelable EmergencyNumber and APIs
Test: unit test
Bug:
112657134
Change-Id: If926291e3f6fb6d2a3acd3d28d2ead85fbf01364
Neil Fuller [Thu, 4 Oct 2018 21:37:18 +0000 (22:37 +0100)]
Swap libcore annotations for framework versions
Swap libcore nullability annotations for android.annotation
equivalents.
Bug:
113148576
Test: build
Change-Id: Ie571062779e9bdf3890f6fcbd99be905aaf1adf9
Igor Murashkin [Thu, 4 Oct 2018 21:30:48 +0000 (14:30 -0700)]
statsd: Add missing AIDs to UidMap
Change-Id: I29f52727d344755a0c465105eb3a2c81b2bec700
Cassie Han [Thu, 4 Oct 2018 20:35:07 +0000 (20:35 +0000)]
Merge "Clean cherry-pick 'Fix getApnTypesBitmaskFromString in ApnSetting'"
Cassie [Sat, 29 Sep 2018 00:35:47 +0000 (17:35 -0700)]
Clean cherry-pick 'Fix getApnTypesBitmaskFromString in ApnSetting'
Bug:
116363528
Test: Maunal test
Change-Id: Ie2fda3fe4e2519f652e0a04dde058be748208bd5
Merged-In: Ie2fda3fe4e2519f652e0a04dde058be748208bd5
Shuo Qian [Thu, 4 Oct 2018 19:03:13 +0000 (19:03 +0000)]
Merge "New Permission for Call Redirection service"
Ryan Mitchell [Thu, 4 Oct 2018 18:54:29 +0000 (11:54 -0700)]
Add rtmitchell to AAPT2 OWNERS
Per talks with Svet, it is time I became a co-owner of AAPT2 with
toddke. I look forward to continuing to support and improve AAPT2.
Change-Id: I3a0f1c8a708abc41045b95dc958dbeb96a5160ff
evitayan [Fri, 23 Mar 2018 00:53:08 +0000 (17:53 -0700)]
Check to ensure UDP-encap is used only for IPv4
This commit checks if UDP-encapsulation is used
for unsupported address family and throws
IllegalArgumentException when it happens.
Bug:
74213459
Test: Tests added in testCreateTransportModeTransformWithEncap
and testCreateTunnelModeTransformWithEncap.
Command: runtest frameworks-net
Verified on taimen.
Change-Id: I10c01f2bad6aca23430849ea9ef6c1eb157ae131
Treehugger Robot [Thu, 4 Oct 2018 17:46:47 +0000 (17:46 +0000)]
Merge "startop: Add iorapd binder integration test"
evitayan [Thu, 22 Mar 2018 20:42:07 +0000 (13:42 -0700)]
Add UDP encapsulation tests for IpSecService.
This commit adds tests to ensure that IpSecService properly
handles UDP-encapsulation transforms correctly.
Bug:
76110065
Test: Added: testCreateTransportModeTransformWithEncap,
testCreateTunnelModeTransformWithEncap.
Command: runtest frameworks-net
Verified on taimen.
Change-Id: Ie05bc5354266806c2d03b0b3d73a4696a89eccf2
Ian Kasprzak [Thu, 4 Oct 2018 15:38:01 +0000 (15:38 +0000)]
Merge "Add AndroidTest file for ExtServices"
Tyler Gunn [Thu, 4 Oct 2018 15:21:51 +0000 (15:21 +0000)]
Merge "Rename EXTRA_E_CALL to EXTRA_EMERGENCY_CALL."
dimitry [Thu, 4 Oct 2018 13:57:14 +0000 (15:57 +0200)]
Respect extractNativeLibs in natively bridged environments
The extractNativeLibs property was ignored by the package installer
for environments with native bridge. This is not neccessary since
native bridge implementations are required to support
open-directly-from-apk feature and in this respect are not different
from environments without native bridge.
Bug: http://b/
116854266
Test: cts-tradefed run singleCommand cts --skip-preconditions -m CtsJniTestCases
Change-Id: I9ea7397183d7ebe2c00e461b95d188b15b51eca2
Treehugger Robot [Thu, 4 Oct 2018 08:17:11 +0000 (08:17 +0000)]
Merge "Delay global alerts by 1s for high thresholds"
Chalard Jean [Wed, 22 Aug 2018 01:21:26 +0000 (10:21 +0900)]
Delay global alerts by 1s for high thresholds
By skipping updates if an alert is already scheduled, this avoids firing
the global alert too often on devices with high transfer speeds and high
quota.
Test: with tethering watching videos. Also runtest frameworks-net
Bug:
117243748
Change-Id: Idce6059832db7a0e4a7117bbb3e424ec62ae3b21
Treehugger Robot [Thu, 4 Oct 2018 01:13:47 +0000 (01:13 +0000)]
Merge "startop: Add iorap parcelables for AIDL interfaces"
Remi NGUYEN VAN [Thu, 4 Oct 2018 01:08:19 +0000 (01:08 +0000)]
Merge "Send hostname and MTU options in DHCP ACK/OFFER"
Treehugger Robot [Thu, 4 Oct 2018 00:48:39 +0000 (00:48 +0000)]
Merge "MTP: Add OWNERS for MTP functionality"
Clown SHEN [Thu, 4 Oct 2018 00:07:19 +0000 (00:07 +0000)]
Merge "New carrier config enhanced_4g_lte_title_variant_int"
Julia Reynolds [Tue, 21 Aug 2018 16:35:45 +0000 (12:35 -0400)]
Add AndroidTest file for ExtServices
Test: make
Bug:
111475013,
117228643
Change-Id: Id649a1ed2109dee87bb8c61c3a161efe99c5e457
Merged-In: Id649a1ed2109dee87bb8c61c3a161efe99c5e457
(cherry picked from commit
cfd2692a94503753bf9abcffdb40ed2de682dd41)
Jack Yu [Wed, 3 Oct 2018 21:35:57 +0000 (21:35 +0000)]
Merge "Renamed get network registration states API"
Youming Ye [Wed, 3 Oct 2018 20:15:35 +0000 (20:15 +0000)]
Merge "Fix ImsManager callback called once registered"
Treehugger Robot [Wed, 3 Oct 2018 18:04:28 +0000 (18:04 +0000)]
Merge "Add SapProfile to LocalBluetoothProfileManager (1/2)"
Beverly [Tue, 2 Oct 2018 13:22:56 +0000 (09:22 -0400)]
DO NOT MERGE Synchronize ZenModeControllerImpl callbacks
Test: manual
Bug:
115688927
Change-Id: Ib47913c7b5522c40405fadd97d570d5f197f71dc
Nandana Dutt [Wed, 3 Oct 2018 15:39:22 +0000 (15:39 +0000)]
Merge "Disable the buginfo dialog on AndroidTV"
Nandana Dutt [Wed, 3 Oct 2018 15:35:56 +0000 (15:35 +0000)]
Merge "Bugreport: Fix SystemUI service from being dumped twice 1/2"
Neil Fuller [Wed, 3 Oct 2018 13:36:02 +0000 (13:36 +0000)]
Merge "Remove unnecessary dependency on bouncycastle"
Treehugger Robot [Wed, 3 Oct 2018 12:41:57 +0000 (12:41 +0000)]
Merge "Remove an unused dependency on conscrypt"
Chienyuan [Wed, 26 Sep 2018 12:45:26 +0000 (20:45 +0800)]
Add SapProfile to LocalBluetoothProfileManager (1/2)
* add SapProfile and related logic to LocalBluetoothProfileManager
* simplify logic for connect and disconnect in SapProfile
* connect: remove connected device check logic. SapService will
return false directly.
* disconnect: remove connected device check logic. SapService will
check it.
* getConnectionStatus: remove connected device check logic.
SapService will check it.
* remove member variable V and related checks.
* wrap if/else statement in curly brackets.
* add robotest for SapProfile.
Bug:
116281023
Test: make -j42 RunSettingsLibRoboTests ROBOTEST_FILTER=SapProfileTest
Change-Id: I2efc1beb7a12e1ec412baf54f895d2ebe930e8f1
Merged-In: I2efc1beb7a12e1ec412baf54f895d2ebe930e8f1
Nandana Dutt [Wed, 3 Oct 2018 09:51:59 +0000 (09:51 +0000)]
Merge "Warn about sensitive bugreport contents."
Nandana Dutt [Wed, 3 Oct 2018 08:55:01 +0000 (08:55 +0000)]
Merge "Synchronize access to sNotificationBundle."
Jack Yu [Wed, 3 Oct 2018 04:02:24 +0000 (04:02 +0000)]
Merge changes from topic "fcc_2019"
* changes:
Added new cell broadcast channels
Use locale language instead of harcoded langauge
Nathan Harold [Wed, 3 Oct 2018 01:21:17 +0000 (01:21 +0000)]
Merge "Use SDK Constant for NeighboringCellInfo Docstring"
Igor Murashkin [Fri, 28 Sep 2018 23:48:13 +0000 (16:48 -0700)]
startop: Add iorapd binder integration test
Connects to the binder 'iorapd' service as a client
and tests round-trip callback functionality.
Also adds mockito-inline to the test build, allowing us to mock
any class/methods, even if it's static or final.
Note: selinux is currently not supported, need to use
$> adb shell setenforce 0
Prior to running any tests relying on binder connectivity.
Bug:
72170747
Test: atest libiorap-java-tests
Change-Id: Id5ba579845105e331d764838c357924810a64c6c
Igor Murashkin [Wed, 26 Sep 2018 00:55:54 +0000 (17:55 -0700)]
startop: Add iorap parcelables for AIDL interfaces
Bug:
72170747
Test: atest frameworks/base/startop/iorap
Change-Id: Icd3feebcd2342e66b63fbb0c0e8f08bade618c76
Jack Yu [Wed, 3 Oct 2018 00:01:51 +0000 (17:01 -0700)]
Renamed get network registration states API
Using the term "for" is more appropriate than "from".
Test: Build
Bug:
73659459
Change-Id: I9e06a35979b887a14822862f290798a7f75a54f8
Jack Yu [Tue, 2 Oct 2018 23:34:15 +0000 (23:34 +0000)]
Merge "Reworked getNetworkRegistrationStates API"
Nathan Harold [Tue, 2 Oct 2018 22:55:36 +0000 (15:55 -0700)]
Use SDK Constant for NeighboringCellInfo Docstring
As per API council feedback, when documenting
SDK-level-specific behavior and recommendations, the
document should use and link to the SDK constant rather
than its value. Update the docstring accordingly, and
also some minor verbiage tweaks.
Bug:
117154674
Test: compilation; docstring-only change
Change-Id: I0ee56a4d76a311a8e0136766ef45aeda46cd12b4
Tyler Gunn [Tue, 2 Oct 2018 22:27:14 +0000 (22:27 +0000)]
Merge "Add handleCallIntent method in TelecomManager."
Tyler Gunn [Tue, 2 Oct 2018 22:19:36 +0000 (15:19 -0700)]
Rename EXTRA_E_CALL to EXTRA_EMERGENCY_CALL.
Test: Update API, verify code compiles.
Bug:
117145353
Change-Id: Ic5e2618144eaaa4c836d085fe4555eb5d9b2947f
Jack Yu [Wed, 12 Sep 2018 21:32:27 +0000 (14:32 -0700)]
Added new cell broadcast channels
Added new cell broadcast channels for public safety messages
and state/local test alert required by FCC of the United States.
Test: Build
Bug:
110754638,
71497689,
110896497
Merged-In: I05c57b66d85ea7f2b67d7fc421230442f5c7694f
Change-Id: I05c57b66d85ea7f2b67d7fc421230442f5c7694f
(cherry picked from commit
78921f09257d62236b19aee20bbafc00e0320fd8)
(cherry picked from commit
4353217a778c33f4831a8b74d9c12ea22cf442cd)
Jack Yu [Mon, 17 Sep 2018 17:46:40 +0000 (10:46 -0700)]
Use locale language instead of harcoded langauge
Used the locale language instead of the hardcoded language since
ISO 639 is not a stable standard. Some language codes changed before.
This is part of the cell broadcast language filtering feature
added per U.S. FCC requirement.
Test: Manual
Bug:
110754638,
71497689,
110896497
Merged-In: I3cf42eb037cdbb40597c1053fedb36b478277fc9
Change-Id: I3cf42eb037cdbb40597c1053fedb36b478277fc9
(cherry picked from commit
28e9684705e63b5bb6c4a6d30fcf0809801b483f)
(cherry picked from commit
232b237b0fdc68cbe234d9d987161f8a7922995c)
Treehugger Robot [Tue, 2 Oct 2018 21:46:01 +0000 (21:46 +0000)]
Merge "Remove unused / invalid import"
Treehugger Robot [Tue, 2 Oct 2018 21:34:07 +0000 (21:34 +0000)]
Merge "Dismiss Dialog in post instead of immediately"
Neil Fuller [Tue, 2 Oct 2018 20:32:36 +0000 (21:32 +0100)]
Remove unnecessary dependency on bouncycastle
Nothing in this target requires bouncycastle.
Bug:
113148576
Test: build
Change-Id: I6128fca1eca1c6cefe679721a4cf72729d27d6bb
Jayant Chowdhary [Tue, 2 Oct 2018 20:14:37 +0000 (20:14 +0000)]
Merge "Add libbinderthreadstate to LOCAL_JNI_SHARED_LIBS for some tests"
Jack Yu [Tue, 2 Oct 2018 18:14:38 +0000 (11:14 -0700)]
Reworked getNetworkRegistrationStates API
Added two new APIs for getting network registration states
from domain and transport type. Deprecated the old APIs.
Test: Manual
Bug:
73659459
Change-Id: I3143df320f2942213aa0f10fe3cca9851bd82bb8
Neil Fuller [Tue, 2 Oct 2018 17:46:49 +0000 (18:46 +0100)]
Remove an unused dependency on conscrypt
The dependency is not needed and will soon be
forbidden.
Bug:
113148576
Test: build
Change-Id: I87975f5be02bff94f60da3b5d53c4cda711fddb0
Treehugger Robot [Tue, 2 Oct 2018 17:09:16 +0000 (17:09 +0000)]
Merge "Allow wifi and ethenet connected at same time."
Felipe Leme [Fri, 21 Sep 2018 23:37:53 +0000 (16:37 -0700)]
Synchronize access to sNotificationBundle.
Otherwise Shell can crash due to ConcurrentModificationException
Test: atest BugreportReceiverTest
Test: manual verification
Fixes:
116280360
Change-Id: I138acd43b313d2a7a9d945fb44a9d63e1ad798eb
Merged-In: I138acd43b313d2a7a9d945fb44a9d63e1ad798eb
(cherry picked from commit
ee72fa19a97f2b0677a130204e3527bc3233e4d9)
Jeff Sharkey [Thu, 13 Sep 2018 17:49:54 +0000 (11:49 -0600)]
Warn about sensitive bugreport contents.
We show this message when clicking a notification, but we also want
to alert users when they're picking files to attach/share.
Bug:
114711671
Test: manual
Change-Id: I23e249c93d6fa9cf960ef2a61d3fe769eb56ddf5
Merged-In: I23e249c93d6fa9cf960ef2a61d3fe769eb56ddf5
(cherry picked from commit
59137825eb11e6ca4c53e43a9973983ebdd09b33)
Kristian Monsen [Mon, 3 Sep 2018 14:06:30 +0000 (16:06 +0200)]
Disable the buginfo dialog on AndroidTV
Bug:
113033835
Test: Tested manually on Atom
Change-Id: If65997e28db7c0100018145f9313549494e41a2a
Merged-In: If65997e28db7c0100018145f9313549494e41a2a
(cherry picked from commit
cb68d29f03f14b188ccc02b877161173b631685d)
(cherry picked from commit
01badb78744bc48e35215556a49ac97a17cbce3a)
Vishnu Nair [Mon, 2 Jul 2018 21:29:31 +0000 (14:29 -0700)]
Bugreport: Fix SystemUI service from being dumped twice 1/2
Bug:
110490179
Fix:
110490179
Test: Manual test dumpsys activity
adb shell dumpsys activity service all-platform-non-critical
adb shell dumpsys activity service all-platform
adb shell dumpsys activity service
Take bugreport and check contents
Test: atest FrameworksCoreTests:DumpUtilsTest
Change-Id: I9173d3fa0cc3aaf42e3ab03e7e2892cf4188b13b
Merged-In: I9173d3fa0cc3aaf42e3ab03e7e2892cf4188b13b
(cherry picked from commit
c69cd4480ee7dc06de8aacee399e19e99362ecb0)
James Wei [Thu, 27 Sep 2018 04:47:11 +0000 (12:47 +0800)]
MTP: Add OWNERS for MTP functionality
Bug:
116760814
Test: NA
Change-Id: I743f307c5fb4b34cd7ab52b3107609bbd87ad57f
Chen Xu [Tue, 2 Oct 2018 04:26:23 +0000 (04:26 +0000)]
Merge "using the correct intent extra for subId"
Howard Chen [Fri, 28 Sep 2018 07:15:22 +0000 (15:15 +0800)]
Refine frameworks/base/services/tests/runtest.py
Fix the test runner class and the default whitelist to run.
Also add a short description about the usage.
Test: ./frameworks/base/services/tests/runtest.py with a Pixel.
Change-Id: I1a6eda83ab7b03ea11346e66ba758aa990df13c7
Chih-hung Hsieh [Tue, 2 Oct 2018 00:37:46 +0000 (00:37 +0000)]
Merge "Add noexcept to move constructors and assignment operators."
Treehugger Robot [Tue, 2 Oct 2018 00:28:15 +0000 (00:28 +0000)]
Merge "Prototype XML view compiler"
Treehugger Robot [Mon, 1 Oct 2018 23:37:31 +0000 (23:37 +0000)]
Merge "Do not use StringPiece in ExtractJavaIdentifier"
Jayant Chowdhary [Fri, 28 Sep 2018 19:56:05 +0000 (12:56 -0700)]
Add libbinderthreadstate to LOCAL_JNI_SHARED_LIBS for some tests
libbinder and libhwbinder now also depend on libbinderthreadstate. Add
this dependency to LOCAL_JNI_SHARED_LIBS since these libraries need to
be packaged together.
Bug:
110364143
Test: atest FrameworksNetTests
Test: atest FrameworksServiceTests (no new failures)
Test: atest FrameworksUiServiceTests
Change-Id: Ibc63f041b8ee23cc4d0e9d82a508a128104e6025
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
Tyler Gunn [Fri, 28 Sep 2018 23:24:37 +0000 (16:24 -0700)]
Add finer grained call fail reasons.
The "can dial" method does a lot of complicated checks which end up
boiling down to a not so intuitive error to the user.
Making this better.
Test: Update unit test for can dial basic operation.
Test: Manual test these scenarios.
Bug:
73902028
Bug:
116453747
Change-Id: Ifdf681a1428c7cbb925cdf7f0c66c2d011c3d492
chen xu [Fri, 28 Sep 2018 22:53:43 +0000 (15:53 -0700)]
using the correct intent extra for subId
Some telephony subscription related intent uses hidden extra
PhoneConstants.SUBSCRIPTION_KEY. We should sent the public extra
SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX instead.
Bug:
116754807
Test: telephony unit test
Change-Id: I842df9b3fa7c0c8efed2db6ac5cd6a8c34ab3ee4
Eric Holk [Wed, 5 Sep 2018 17:43:31 +0000 (10:43 -0700)]
Prototype XML view compiler
This is an initial step towards a tool for pre-compiling layout XML files. It
accepts an XML file and produces a Java language class called CompiledView with
a static method, inflate. Calling CompiledView.inflate should then return a view
object that is equivalent to calling LayoutInflater.inflate on the same
resource.
There are still several important limitations, but this works well enough to do
some experimentation. The limitations include:
* Currently only one layout can be compiled at a time.
* `merge` and `include` nodes are not supported.
* View compilation is a manual process that requires code changes in the
application.
* The tests in this CL do not yet exercise any interesting behavior.
Bug:
111895153
Change-Id: I3e6880b08c52087d24ae7486495bd7fa282f4ff7
Brad Ebinger [Mon, 1 Oct 2018 20:58:56 +0000 (20:58 +0000)]
Merge "Revert isResolvingImsBinding ITelephony interface"
Chih-Hung Hsieh [Tue, 25 Sep 2018 19:01:21 +0000 (12:01 -0700)]
Add noexcept to move constructors and assignment operators.
Bug:
116614593
Test: build with WITH_TIDY=1
Change-Id: Ic3993d88eb3066aef402d74c4d543c56a1dfd5c3
Treehugger Robot [Mon, 1 Oct 2018 19:08:22 +0000 (19:08 +0000)]
Merge "Add TEST_MAPPING for DexManager etc."
Jeff Sharkey [Mon, 1 Oct 2018 17:49:03 +0000 (17:49 +0000)]
Merge changes from topic "bugfix_content_path"
* changes:
Add OEM_SOUNDS_DIR variable
Fix the bug that secondary storage path is judged as internal
Revert "MediaStore.Audio.Media.getContentUriForPath() returns unexpected content"
Treehugger Robot [Mon, 1 Oct 2018 17:26:56 +0000 (17:26 +0000)]
Merge "Check for null socket name in socket_connect_local."
Treehugger Robot [Mon, 1 Oct 2018 17:04:20 +0000 (17:04 +0000)]
Merge "Fix: statsd path in whilelist of native processes"
Youming Ye [Tue, 25 Sep 2018 22:58:45 +0000 (15:58 -0700)]
Fix ImsManager callback called once registered
ImsRegistration callback now extends ImsRegistrationCallback stub, no
need of wrappings when registered in MmTelFeatureConnections.
Change-Id: Ia04202ef9c16815897eb3fd713125adac01f2550
Test: Unit
Bug:
112677827
Leif Hendrik Wilden [Wed, 2 May 2018 19:05:24 +0000 (12:05 -0700)]
Allow wifi and ethenet connected at same time.
This will improve the user experience on Android TV devices,
see bug for details.
In addition when connecting adb to the device by ethernet
for cts, wifi will not connect, causing lots of tests to fail.
For example:
[CTS7.1]android.net.wifi.cts.WifiInfoTest#testWifiInfoProperties
[CTS7.1]android.net.cts.ConnectivityManagerTest#testConnectivityChanged_
manifestRequestOnlyPreN_shouldReceiveIntent
Use command:settings to put global wifi_data_always_on 1 to enable it.
Bug:
26102779
Test: Manual, CTS.
Change-Id: I711d93061a6bc7164d98a858912f781e1b967406
Alan Stokes [Mon, 1 Oct 2018 10:42:22 +0000 (11:42 +0100)]
Add TEST_MAPPING for DexManager etc.
Test: atest
Change-Id: I2a92ab9f32faf905aa6dc591e1991ba30c6a26c9
Rafal Slawik [Mon, 1 Oct 2018 10:39:58 +0000 (11:39 +0100)]
Fix: statsd path in whilelist of native processes
This whitelist is used when calling Process.getPidsForCommands. That
method reads all pid directories under /proc and returns only those
which /proc/pid/cmdline matches the whitelist. Statsd returns
/system/bin/statsd in its cmdline and therefore was not included in the
results and ignored from reporting.
Bug:
116784348
Test: cat /proc/pid/cmdline for statsd
Change-Id: I2c37a25dd26baac1ac043f9a559a391bdc32041e
Neil Fuller [Mon, 1 Oct 2018 10:32:36 +0000 (11:32 +0100)]
Remove unused / invalid import
NavigationBarCompat imports sun.misc.Resource though
it doesn't need it.
Bug:
113148576
Test: build only
Change-Id: I26d6e0b3d9a8948333fdf9f3659b87b3b46a75d5
Treehugger Robot [Mon, 1 Oct 2018 08:48:49 +0000 (08:48 +0000)]
Merge "Cleanup."
Luke Huang [Mon, 1 Oct 2018 07:28:42 +0000 (07:28 +0000)]
Merge "ConnectivityService get INetd directly."