OSDN Git Service
Brad Ebinger [Mon, 1 Oct 2018 20:58:56 +0000 (20:58 +0000)]
Merge "Revert isResolvingImsBinding ITelephony interface"
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"
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
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."
Treehugger Robot [Mon, 1 Oct 2018 06:33:29 +0000 (06:33 +0000)]
Merge "Remove spurious WTF in rematching networks."
Treehugger Robot [Mon, 1 Oct 2018 05:36:28 +0000 (05:36 +0000)]
Merge "Make requestRouteToHost a no-op for system callers."
Lorenzo Colitti [Mon, 1 Oct 2018 04:16:55 +0000 (13:16 +0900)]
Remove spurious WTF in rematching networks.
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
Chalard Jean [Mon, 1 Oct 2018 03:58:19 +0000 (12:58 +0900)]
Cleanup.
Test: runtest FrameworksNetTests
Change-Id: I8abb6de84dad79f6b15ef3af80da49da1d356cff
Luke Huang [Thu, 27 Sep 2018 11:33:11 +0000 (19:33 +0800)]
ConnectivityService get INetd directly.
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
Lorenzo Colitti [Fri, 28 Sep 2018 02:31:55 +0000 (11:31 +0900)]
Make requestRouteToHost a no-op for system callers.
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
Luke Huang [Mon, 1 Oct 2018 03:02:25 +0000 (03:02 +0000)]
Merge "Tether-related commands porting"
Luke Huang [Mon, 1 Oct 2018 03:01:33 +0000 (03:01 +0000)]
Merge "Rename object mNetd to mNetworkManagementService"
Chiachang Wang [Mon, 1 Oct 2018 02:20:23 +0000 (02:20 +0000)]
Merge "Fix idle timer rule leakage"
Treehugger Robot [Mon, 1 Oct 2018 02:18:46 +0000 (02:18 +0000)]
Merge changes I0f997d30,I288ba1f4
* changes:
Enable new DHCP server by default
Use new DHCP server in TetheringTest
Treehugger Robot [Sat, 29 Sep 2018 07:39:04 +0000 (07:39 +0000)]
Merge "Handling potential SIGPIPE signals."
Treehugger Robot [Sat, 29 Sep 2018 07:38:59 +0000 (07:38 +0000)]
Merge "Increasing TombstoneSection timeout to 2 minutes."
Treehugger Robot [Sat, 29 Sep 2018 01:08:18 +0000 (01:08 +0000)]
Merge "Replace libsuspend with android.system.suspend@1.0"
Treehugger Robot [Sat, 29 Sep 2018 00:33:11 +0000 (00:33 +0000)]
Merge "Add vendor notice header at the top of Third-party licenses"
Treehugger Robot [Sat, 29 Sep 2018 00:16:11 +0000 (00:16 +0000)]
Merge "InetDiagSocketTest: enable UDP unit tests on all devices"
Hall Liu [Fri, 28 Sep 2018 23:15:03 +0000 (23:15 +0000)]
Merge "Add config to only allow auto select of networks"
Nathan Harold [Fri, 28 Sep 2018 21:40:47 +0000 (21:40 +0000)]
Merge "Remove getNeighboringCell API"
Jin Dong [Fri, 24 Aug 2018 09:34:54 +0000 (17:34 +0800)]
Add vendor notice header at the top of Third-party licenses
Vendor can add notice header at the top of "Third-party licenses"
by overlay the string notice_header.
Fixes:
116298367
Change-Id: If80d69180664970441d0addccd81d65d7ab55c3b
Merged-In: If80d69180664970441d0addccd81d65d7ab55c3b
Brad Ebinger [Thu, 14 Jun 2018 00:11:50 +0000 (17:11 -0700)]
Revert isResolvingImsBinding ITelephony interface
Reverting the only user of this interface.
Bug:
109762920
Bug:
116766786
Test: GTS/Unit tests for ImsService
Merged-In: I9c8cc1c4401590865f33fa13402152287063cecf
Change-Id: Id2e1ac2e4fbbcb7f019e79568f21ee56c94b6c1f
Treehugger Robot [Fri, 28 Sep 2018 18:35:47 +0000 (18:35 +0000)]
Merge "Don't check qtaguid file unless using them"
Tri Vo [Thu, 30 Aug 2018 04:11:37 +0000 (21:11 -0700)]
Replace libsuspend with android.system.suspend@1.0
This change only replaces libsuspend's suspend loop with the one in
android.system.suspend@1.0.
Native wake lock behavior is unaffected as they are still handled via
/sys/power/wake_[un]lock.
Bug:
78888165
Test: device boots, suspends when left alone
Change-Id: I5e1e9048b0fc316aa6692687684ac11f44466f7e
Jeff Vander Stoep [Fri, 28 Sep 2018 14:54:56 +0000 (07:54 -0700)]
InetDiagSocketTest: enable UDP unit tests on all devices
Bug:
116849885
Test: atest InetDiagSocketTest
Change-Id: I3b036818cccd0959feb3a93bc722d70e3ef2c4d7
Torne (Richard Coles) [Thu, 16 Mar 2017 15:52:46 +0000 (15:52 +0000)]
Check for null socket name in socket_connect_local.
socket_bind_local checks if the name is null before using it, but
socket_connect_local doesn't, resulting in a segfault if you pass null
as the socket name. Check for this and convert it to
NullPointerException to make the crash more reasonable.
Test: am instrument -w -e class android.net.LocalSocketTest com.android.frameworks.coretests/android.support.test.runner.AndroidJUnitRunner
Change-Id: I67dedbe9ca1be6425e047496d0ead92eb7f64691
Chiachang Wang [Fri, 28 Sep 2018 14:42:48 +0000 (22:42 +0800)]
Fix idle timer rule leakage
Idle timer rule is not cleared as expected if there is a
default network replacement.
Bug:
37080406
Test: 1.run frameworks-net
2.check iptables rule with default network replacement
Change-Id: I6bd29d79e4ca3e8de4b867c4fcb5f81d02ba6de4
Treehugger Robot [Fri, 28 Sep 2018 14:06:36 +0000 (14:06 +0000)]
Merge "Call clearSettingsProvider before and after test"
Nicolas Geoffray [Fri, 28 Sep 2018 12:12:12 +0000 (12:12 +0000)]
Merge "Add new DelegateLastClassLoader API"
Luke Huang [Thu, 27 Sep 2018 08:58:23 +0000 (16:58 +0800)]
Rename object mNetd to mNetworkManagementService
No functionality change
Test: runtest frameworks-net passes
Change-Id: Ic3977eed9a86deb76ef0e4e12ffa17597bdecc30
Remi NGUYEN VAN [Fri, 28 Sep 2018 05:33:11 +0000 (14:33 +0900)]
Call clearSettingsProvider before and after test
FakeSettingsProvider requires this method to be called before and after
use. Without this, the settings value or content provider may be cached
statically, so the test will be affected by code accessing settings
before it is run.
Bug: b/
116668105
Test: atest FrameworksNetTests
Change-Id: I1480f3f3bbb17791752582a70327bb5c7c348d7c
Remi NGUYEN VAN [Wed, 26 Sep 2018 09:11:48 +0000 (18:11 +0900)]
Enable new DHCP server by default
Regression tests pass with aosp/764042.
Test: regression automated tests, manual (verified WiFi, bluetooth
tethering working).
Bug: b/
109584964
Change-Id: I0f997d302a1d85930b24139af76e9b9c9a1b5f78
Remi NGUYEN VAN [Fri, 28 Sep 2018 02:34:15 +0000 (11:34 +0900)]
Use new DHCP server in TetheringTest
Run most tests with TETHER_ENABLE_LEGACY_DHCP_SERVER set to 0 (will be
the default value). Add one test to verify that the new server is not
started when TETHER_ENABLE_LEGACY_DHCP_SERVER is 1.
Bug: b/
109584964
Test: atest FrameworksNetTests
Change-Id: I288ba1f434918e62ff29f7ace00856108c9730f7
Remi NGUYEN VAN [Fri, 28 Sep 2018 01:08:59 +0000 (01:08 +0000)]
Merge "Don't throw a NPE in SharedLog#e"
Nathan Harold [Thu, 27 Sep 2018 23:55:01 +0000 (23:55 +0000)]
Merge "Catch IllegalArgumentException on NetworkScan.stopScan"
Xiangyu/Malcolm Chen [Thu, 27 Sep 2018 20:51:00 +0000 (20:51 +0000)]
Merge "Implement equal method in SubscriptionInfo."
Malcolm Chen [Sat, 15 Sep 2018 01:07:02 +0000 (18:07 -0700)]
Implement equal method in SubscriptionInfo.
Bug:
115541873 92796390
Test: manual with test app
Change-Id: I217f9d612df5cecac8f0359649f3e79a60a95dde
Merged-In: I217f9d612df5cecac8f0359649f3e79a60a95dde
Nathan Harold [Wed, 26 Sep 2018 03:10:48 +0000 (20:10 -0700)]
Catch IllegalArgumentException on NetworkScan.stopScan
IllegalArgumentException is thrown when a terminated
scan calls stop. This change softens the exception and
error type that is logged and considers this normal.
Bug:
113823866
Test: compilation
Change-Id: I7ce60d6badfac52156cceca83b39c1afe21b4eda
Mattias Nilsson [Mon, 11 Dec 2017 12:45:40 +0000 (13:45 +0100)]
Add config to only allow auto select of networks
Make it possible for carriers to prevent users from
doing a manual search of networks when in the home network.
This affects Advanced Networks Settings when the user
is not roaming.
This is sometimes called "Permanent automatic mode".
Test: Add an entry in vendor.xml
Bug:
70499144
Change-Id: I9fe91a8510683e4bb3d51efb168c0d159dbb4591
Lalit Maganti [Thu, 27 Sep 2018 15:00:12 +0000 (15:00 +0000)]
Merge "Revert "Revert "new System API for preferred network mode"""
Lalit Maganti [Thu, 27 Sep 2018 14:57:06 +0000 (14:57 +0000)]
Revert "Revert "new System API for preferred network mode""
This reverts commit
dada4c60d83730d706c4ebe549c3460e596a187e.
Reason for revert: Breaking aosp-master builds.
Change-Id: Ie48b2125025878ce13953706a7eec24bce38594b
Jean-Michel Trivi [Thu, 27 Sep 2018 14:35:13 +0000 (14:35 +0000)]
Merge "Make pre-scale for absolute volume configurable"
Lalit Maganti [Thu, 27 Sep 2018 12:17:40 +0000 (12:17 +0000)]
Merge "Revert "new System API for preferred network mode""
Lalit Maganti [Thu, 27 Sep 2018 10:33:47 +0000 (10:33 +0000)]
Revert "new System API for preferred network mode"
This reverts commit
8a8832fd810710fd8fbd7868be49abff270a1013.
Reason for revert: Causing failures on git_pi-dev-plus-aosp for docs and aosp_sailfish.
Change-Id: I1801188e66420a67244b3223e26334c4650d56be
Merged-In: Ic108c484905f80783982a22e8152609257d684b5
Remi NGUYEN VAN [Thu, 27 Sep 2018 02:33:24 +0000 (11:33 +0900)]
Don't throw a NPE in SharedLog#e
Some DhcpServer error code paths could cause a NPE, when the logError
callback was called without an exception. Allowing SharedLog#e to be
called with a null Throwable is less error-prone.
Bug: b/
109584964
Test: atest FrameworksNetTests
Change-Id: Idbcdd330a9d1951b27aaf525aaf12e52e102872c
Treehugger Robot [Thu, 27 Sep 2018 02:20:30 +0000 (02:20 +0000)]
Merge "Fix trial run in AppLaunch test"
Chen Xu [Thu, 27 Sep 2018 00:30:29 +0000 (00:30 +0000)]
Merge "new System API for preferred network mode"
Tomoharu Kasahara [Thu, 6 Sep 2018 11:04:38 +0000 (20:04 +0900)]
Make pre-scale for absolute volume configurable
Audio gain for lower volume steps are restricted for
Bluetooth Absolute Volume scenario, but it's better
not to use the fixed value.
This CL makes it possible to configure the value of
pre-scale.
Bug:
114220617
Test: manual - gain is restricted as per the configuration
Change-Id: I1fd0c77476386ba9518e1819d5ea2c7b0c344a40
Merged-In: I1fd0c77476386ba9518e1819d5ea2c7b0c344a40
Jordan Liu [Wed, 26 Sep 2018 23:42:55 +0000 (23:42 +0000)]
Merge "Dismiss SIM lock page after correct SIM"
Ryan Mitchell [Wed, 26 Sep 2018 21:58:44 +0000 (21:58 +0000)]
Merge "Change FileStream test buffer from char* void*"
Tyler Gunn [Wed, 26 Sep 2018 21:55:36 +0000 (21:55 +0000)]
Merge "Cleanup deprecated or removed telephony methods."
Ryan Mitchell [Wed, 26 Sep 2018 17:26:53 +0000 (10:26 -0700)]
Change FileStream test buffer from char* void*
It seems like GoogleTest prints string parameters before checking them.
This can be a problem in FileStream tests since these buffers are not
null terminated. ASan reports heap-buffer-overflow.
Test: m SANITIZE_HOST=address
out/soong/.intermediates/frameworks/base/tools/aapt2/aapt2_tests/linux_glibc_x86_64_asan/aapt2_tests \
LD_LIBRARY_PATH=out/soong/.intermediates/external/libcxx/libc++/linux_glibc_x86_64_shared
out/soong/.intermediates/frameworks/base/tools/aapt2/aapt2_tests/linux_glibc_x86_64_asan/aapt2_tests
Change-Id: I9a1956d815729de23c7038fb0d498240eb917070
chen xu [Thu, 20 Sep 2018 23:46:36 +0000 (16:46 -0700)]
new System API for preferred network mode
1. new System API for getPreferredNetworkType
2. new System API for preferred network mode
Bug:
115894190
Test: unit test
Change-Id: I34b060d3f915f2c74b2b9412d03f849e9d037c0b
Merged-in: Ic108c484905f80783982a22e8152609257d684b5
Calin Juravle [Wed, 26 Sep 2018 21:09:44 +0000 (14:09 -0700)]
Fix trial run in AppLaunch test
If the app does not exist log an error but do not fail the test.
Test: atest google/test/performance/app-install-startup -v
(cherry-picked from commit
55db8ff9a6fa383134142f65d0b1d0da9957411d)
Merged-In: Idb6f1d0ba3c5bfb6c7985cd84f5aa4e0599c6b59
Change-Id: Idb6f1d0ba3c5bfb6c7985cd84f5aa4e0599c6b59
Chen Xu [Wed, 26 Sep 2018 21:03:26 +0000 (21:03 +0000)]
Merge "expose getAidForApptype to system API"
Jordan Liu [Wed, 26 Sep 2018 19:49:11 +0000 (12:49 -0700)]
Dismiss SIM lock page after correct SIM
Previously the criteria was to dismiss if:
1. There is no pin/password/pattern set AND
2. the lockscreen is disabled.
This behaved incorrectly in the case where the lockscreen is enabled
but there is no pin/password/pattern set.
We fix the condition so that now we dismiss the SIM lock if:
1. There is no pin/password/pattern set OR
2. the lockscreen is disabled.
Fixes:
115780994
Test: manual
Change-Id: I88da896add635126934eb0ed22e617ac2607f15a
Shuo Qian [Wed, 26 Sep 2018 18:19:52 +0000 (18:19 +0000)]
Merge "Make SubscriptionManager.isActiveSubId public"
Jeff Sharkey [Wed, 26 Sep 2018 16:27:24 +0000 (16:27 +0000)]
Merge "Fix ExternalStorageProvider always throw exception when rename"
Neil Fuller [Wed, 26 Sep 2018 08:12:46 +0000 (08:12 +0000)]
Merge "Make ext.jar only dependent on public SDK APIs"
Tyler Gunn [Wed, 26 Sep 2018 04:18:35 +0000 (04:18 +0000)]
Merge "Mark event-based handover constants as deprecated."
Tony Huang [Tue, 11 Sep 2018 09:09:12 +0000 (17:09 +0800)]
Fix ExternalStorageProvider always throw exception when rename
ExternalStorageProvider always throw exception when renameDocument
because it will check file exist when getFileForDocId. However,
beforeVisibleFile is not exist after rename, it will throw
exception. Fix it by put getting beforeVisibleFile before rename.
Test: manual test rename in DocumentsUI
Test: atest RenameActualProviderUiTest
Fix:
113302685
Fix:
115304092
Change-Id: I45d60d2f940e3dbc2b121f7cd28acc3c2d085ec4
Merged-In: I45d60d2f940e3dbc2b121f7cd28acc3c2d085ec4
Leon Liao [Tue, 25 Sep 2018 23:06:20 +0000 (23:06 +0000)]
Merge "Rename method isConnectable()"
Hall Liu [Tue, 25 Sep 2018 22:45:39 +0000 (22:45 +0000)]
Merge "Add intdef for Telephony network type constants"
vnori [Tue, 25 Sep 2018 22:35:58 +0000 (22:35 +0000)]
Merge "Add hidden API to return "Uploading" bit value from SDP record's MapSupportedFeatures."
Youming Ye [Tue, 25 Sep 2018 22:29:39 +0000 (22:29 +0000)]
Merge "Show "Call Blocking disabled" notification always when emergency call"
Chen Xu [Tue, 25 Sep 2018 22:14:34 +0000 (22:14 +0000)]
Merge "expose getIsimDomain to systemAPI"
Calin Juravle [Tue, 25 Sep 2018 22:00:00 +0000 (22:00 +0000)]
Merge "Update the reference profile from .dm files only during installs"
Vasu Nori [Sat, 18 Aug 2018 00:25:28 +0000 (17:25 -0700)]
Add hidden API to return "Uploading" bit value from SDP record's MapSupportedFeatures.
Bug:
111614861
Test: tested w/ KitchenSink App
Change-Id: I43895183d7b315f57257e1d2045f17dedcb0cfcd
fionaxu [Mon, 17 Sep 2018 00:12:02 +0000 (17:12 -0700)]
expose getAidForApptype to system API
Bug:
115891723
Test: telephony unit test
Change-Id: Ica1d6facba229781806c2c205406c658ac5ad838
Hall Liu [Tue, 25 Sep 2018 20:38:23 +0000 (20:38 +0000)]
Merge "Add the EMBMS group call API"
Calin Juravle [Mon, 24 Sep 2018 21:07:16 +0000 (14:07 -0700)]
Update the reference profile from .dm files only during installs
In order to speed up first boot time we only create the current profile
and do not update the content of the reference profile. A system image
should already be configured with the right profile keys and the
profiles for the speed-profile prebuilds should already be copied (that's
done in #performDexOptUpgrade).
Test: manual (install apps and splits, take OTA)
Bug:
114046578
(cherry picked from commit
5c9a0085a3366b4c7f00586dba9691fac9016f22)
Merged-In: I99db76684430b929c52634c25b457e874648e205
Change-Id: I99db76684430b929c52634c25b457e874648e205
Hall Liu [Tue, 25 Sep 2018 18:12:21 +0000 (11:12 -0700)]
Add intdef for Telephony network type constants
Change-Id: Id212f5009ff2d57344dd747c1837ad9ff1546e31
Fixes:
116592397
Test: compiles
Nicolas Geoffray [Tue, 25 Sep 2018 17:23:35 +0000 (18:23 +0100)]
Add new DelegateLastClassLoader API
Add
public DelegateLastClassLoader(java.lang.String, java.lang.String, java.lang.ClassLoader, boolean)
Test: DelegateLastClassLoaderTest
Change-Id: I207962a6bfbdad720c187f9657b17a15c9a89470
Neil Fuller [Tue, 25 Sep 2018 12:00:35 +0000 (13:00 +0100)]
Make ext.jar only dependent on public SDK APIs
ext.jar can be built using only public SDK APIs. This
makes that obvious.
Bug:
113148576
Test: make ext
Change-Id: I792b14924878623f832f3afbb1d3e23fba34d5bf
Treehugger Robot [Tue, 25 Sep 2018 11:55:51 +0000 (11:55 +0000)]
Merge "Reduce visibility on PackageDexUsage methods."
Treehugger Robot [Tue, 25 Sep 2018 11:37:23 +0000 (11:37 +0000)]
Merge "Fix minSdkVersion for test."
Alan Stokes [Tue, 25 Sep 2018 09:28:52 +0000 (10:28 +0100)]
Fix minSdkVersion for test.
P is 28 not 27, and the test requires P.
Test: atest DexLoggerIntegrationTests
Change-Id: Ib83ec92bf5d7e791bac90331b5dcc3c4b826a4fd
Alan Stokes [Fri, 21 Sep 2018 16:26:43 +0000 (17:26 +0100)]
Reduce visibility on PackageDexUsage methods.
Not a big win, but it makes it clearer that the data is never directly
changed by PackageManager etc. (We could extract the two nested
classes and then PackageDexUsage wouldn't need to be public at all.)
Test: Still builds.
Test: atest services/tests/servicestests/src/com/android/server/pm/dex
Change-Id: I0a5c0bff473a03178f730e354a2f60694729ba10
Adam Vartanian [Tue, 25 Sep 2018 08:43:59 +0000 (08:43 +0000)]
Merge "Inline two short methods from Conscrypt"
Kikkawa Shohei [Fri, 21 Sep 2018 08:06:07 +0000 (17:06 +0900)]
Show "Call Blocking disabled" notification always when emergency call
Currently "Call Blocking disabled" notification is shown only when any
setting of "Enhanced Blocked number" is enabled, and it's not shown even
if only "blocked number" is enabled.
This patch adds new CarrierConfig key to show "Call Blocking disabled"
notification always when "Enhanced Blocked number" is enabled and
making emergency call.
Test: manual - Verified behavior about Block numbers settings
Test: auto - Passed BlockedNumberProviderTest
Bug:
115697577
Change-Id: I2281c21992928037ea38227b7476adc76b6755e8
Nan Zhang [Tue, 25 Sep 2018 03:03:52 +0000 (03:03 +0000)]
Merge "Add comments for offline-sdk-referenceonly docs"
Hall Liu [Fri, 20 Apr 2018 00:57:58 +0000 (17:57 -0700)]
Add the EMBMS group call API
Add APIs for apps to access a LTE broadcast group call service provided
by a preinstalled middleware app, and add system APIs for the
preinstalled middleware app to communicate with frontend apps.
Bug:
112731375
Test: CTS
Change-Id: Ie6817cbc6c3b69de7a4d66c4cfc103b02e15ad6b
Tyler Gunn [Mon, 24 Sep 2018 22:50:50 +0000 (22:50 +0000)]
Merge "Add support for network identified emergency calls."
sqian [Tue, 11 Sep 2018 02:05:51 +0000 (19:05 -0700)]
Make SubscriptionManager.isActiveSubId public
Rename subId to subscriptionId
Bug:
113072551
Test: Treehugger
Change-Id: I6f7e0d06a2ad2367dad04723fea808cad8f9597a
Nan Zhang [Sat, 22 Sep 2018 00:16:49 +0000 (17:16 -0700)]
Add comments for offline-sdk-referenceonly docs
Add comment to provide some cautions in case of we make some changes on
the doc target names in the future.
Test: N/A
Bug: b/
116221385
Change-Id: Ibb21ca51c1eed990fe5dfceb6a8170821e70f8cf
Treehugger Robot [Mon, 24 Sep 2018 18:34:42 +0000 (18:34 +0000)]
Merge "Fix clang-tidy performance warnings in frameworks/base."
Tyler Gunn [Mon, 17 Sep 2018 16:20:34 +0000 (09:20 -0700)]
Cleanup deprecated or removed telephony methods.
Mark previously deprecated TelephonyManager APIs as @remove; some of these
have valid public APIs; for now just calling the public APIs to give more
time for API consumers to transition over to the new methods.
Remove ITelephony AIDL calls for removed methods.
Removed ITelephony light greylist for removed methods; see bug for details.
There are public alternatives for most of the remove AIDL methods; a couple
of the subscription specific ones are not available directly but the
non-subscription specific versions should suffice.
Test: Compile/build/manual
Bug:
115776310
Change-Id: Iff4bf99b34b8e14d5a4dc1d2f4e4926880b6434c
Chih-Hung Hsieh [Mon, 17 Sep 2018 22:12:02 +0000 (15:12 -0700)]
Fix clang-tidy performance warnings in frameworks/base.
* Use more efficient overloaded string methods.
Bug:
30411878
Test: build with WITH_TIDY=1
Change-Id: Ia387e61770e1e7211280ed028ef0eef6e632a1d2
Adam Vartanian [Thu, 20 Sep 2018 14:15:56 +0000 (15:15 +0100)]
Inline two short methods from Conscrypt
We're trying to reduce unnecessary direct dependencies on Conscrypt.
These two methods are simple and the implementations can't change, so
they're good candidates for inlining directly instead of depending on
the Conscrypt implementation.
Bug:
110404540
Test: atest NetworkSecurityConfigTests (same failures pre/post)
Change-Id: I303d955e3f49885326fe75f451c06a52af745053
Paul Duffin [Mon, 24 Sep 2018 11:02:43 +0000 (11:02 +0000)]
Merge "Add serialization methods to whitelist not light greylist"
vichang [Mon, 24 Sep 2018 09:56:32 +0000 (09:56 +0000)]
Merge "Expose android.icu.text.Bidi API"
Treehugger Robot [Mon, 24 Sep 2018 05:43:27 +0000 (05:43 +0000)]
Merge "Enable excluded-input-devices settings for vendor"
Treehugger Robot [Sat, 22 Sep 2018 00:29:38 +0000 (00:29 +0000)]
Merge "Frameworks: Remove AsyncTask from preloaded-classes"
Pengquan Meng [Fri, 21 Sep 2018 21:20:57 +0000 (21:20 +0000)]
Merge "Update network selection API"