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)
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)
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
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)
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
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>
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
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
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
ImsRegistration callback now extends ImsRegistrationCallback stub, no
need of wrappings when registered in MmTelFeatureConnections.
Change-Id: Ia04202ef9c16815897eb3fd713125adac01f2550
Test: Unit
Bug: 112677827
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
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
NavigationBarCompat imports sun.misc.Resource though
it doesn't need it.
Bug: 113148576
Test: build only
Change-Id: I26d6e0b3d9a8948333fdf9f3659b87b3b46a75d5
By construction, this WTF should never happen, since it's in an
if (nri.request.isRequest()) and by definition requests can only
be satisfied by one network at a time.
I don't think we've ever seen this particular WTF in an APR
report, which suggests that it's not happening in practice.
Test: atest FrameworksNetTests CtsNetTestCasesLegacyApi22 CtsNetTestCasesLegacyPermission22 android.net.cts.ConnectivityManagerTest
Change-Id: Icf4c7d2bb1da3c7db695cf0bcebc5806190a1677
This is the first step for ConnectivityService
call into INetd directly.
Import INetd and get it by using NetdService.
Test: runtest frameworks-net passes
Test: manual testing of wakeupAdd/DelInterface works
Change-Id: I643dba5206c66958134152d062f3f3a19a34cf2c
Everything in the system should now be using proper multinetwork
APIs instead of this insecure and error-prone API.
Make this method do nothing when called by the system. For now,
keep the code around for backwards compatibility for apps
targeting Android releases before M.
Bug: 25824776
Bug: 25876485
Test: FrameworksNetTests pass
Test: CtsNetTestCasesLegacyApi22 pass
Test: CtsNetTestCasesLegacyPermission22 pass
Test: android.net.cts.ConnectivityManagerTest passes
Change-Id: I9b3557faccccc95c7b954db6a13b853b4c7edea0
The hostname option is only sent when requested in the requested
parameters option. This matches current behavior.
Test: with aosp/763982, regression tests now all pass
atest FrameworksNetTest
Bug: b/109584964
Change-Id: I793173fa893750ddbe72be09f4c2d70e5b285837