OSDN Git Service
Tyler Gunn [Thu, 31 Jan 2019 03:05:52 +0000 (03:05 +0000)]
Merge "Call Screening / Caller ID API Changes"
Varun Anand [Thu, 31 Jan 2019 02:43:25 +0000 (02:43 +0000)]
Merge "Add an API that allows VPNs to declare themselves as metered."
Treehugger Robot [Thu, 31 Jan 2019 02:35:42 +0000 (02:35 +0000)]
Merge "Informing app idle listeners on enabled state changes."
Treehugger Robot [Thu, 31 Jan 2019 01:37:43 +0000 (01:37 +0000)]
Merge "Add sandness@ and rubinxu@ to OWNERS for UserRestrictionsUtils"
Christian Wailes [Thu, 31 Jan 2019 01:04:28 +0000 (01:04 +0000)]
Merge "Added OWNERS entries for some Zygote related files."
Jack Yu [Thu, 31 Jan 2019 00:46:04 +0000 (00:46 +0000)]
Merge "Fixed crash in data service"
Jack Yu [Wed, 30 Jan 2019 00:26:49 +0000 (16:26 -0800)]
Fixed crash in data service
Test: telephony sanity tests
Bug:
123598340
Change-Id: Ie15f8869849a2aed4a32f4f6731abd5ba1eb05cd
Remi NGUYEN VAN [Wed, 30 Jan 2019 22:24:12 +0000 (22:24 +0000)]
Merge "Add SystemApi for captive portal metrics"
Treehugger Robot [Wed, 30 Jan 2019 22:10:40 +0000 (22:10 +0000)]
Merge "Nuke old setAlwaysOnVpnPackageForUser method."
Varun Anand [Mon, 14 Jan 2019 19:45:33 +0000 (11:45 -0800)]
Add an API that allows VPNs to declare themselves as metered.
For VPN apps targeting Q and above, they will by default be treated as
metered unless they override this setting before establishing VPN.
Bug:
120145746
Test: atest FrameworksNetTests
Test: On device tests verifying meteredness setup correctly for apps
targeting Q and apps targeting P.
Change-Id: Ia6d1f7ef244bc04ae2e28faa59625302b5994875
Yifan Hong [Wed, 30 Jan 2019 21:09:14 +0000 (21:09 +0000)]
Merge "Use default argument for VintfObject::CheckCompatibility."
Jack Yu [Wed, 30 Jan 2019 21:02:17 +0000 (21:02 +0000)]
Merge "Added a broadcast intent for clients to listen for country changes"
Dan Sandler [Wed, 30 Jan 2019 20:58:46 +0000 (20:58 +0000)]
Merge "Some of us are weird."
Pavel Grafov [Wed, 30 Jan 2019 19:56:36 +0000 (19:56 +0000)]
Nuke old setAlwaysOnVpnPackageForUser method.
All callers have migrated to 4-argument one.
Test: builds
Bug:
77468593
Change-Id: I253515f6b0100b675505646339e5b82d373c9429
Jack Yu [Fri, 25 Jan 2019 22:50:15 +0000 (14:50 -0800)]
Added a broadcast intent for clients to listen for country changes
Added a broadcast intent ACTION_NETWORK_COUNTRY_CHANGED for clients
to listen for network country code changes. The same value can be
retrieved from TelephonyManager.getNetworkCountryIso().
Test: Manual + unit tests
Bug:
122900588
Merged-In: Ifec87dda7bae386118b7bc7523844342bd16c3ea
Change-Id: Ifec87dda7bae386118b7bc7523844342bd16c3ea
(cherry picked from commit
3d33698bf5d98a6480a9f6928d1f1e23d519cc08)
Treehugger Robot [Wed, 30 Jan 2019 19:34:47 +0000 (19:34 +0000)]
Merge "VpnDialogs should be able to control always-on VPN."
Chen Xu [Wed, 30 Jan 2019 18:01:56 +0000 (18:01 +0000)]
Merge "new API for IMS call fail cause"
Treehugger Robot [Wed, 30 Jan 2019 17:55:18 +0000 (17:55 +0000)]
Merge "[layout precompilation] Add testing hook for precompiled layouts"
Pavel Grafov [Wed, 30 Jan 2019 17:11:33 +0000 (17:11 +0000)]
VpnDialogs should be able to control always-on VPN.
Bug:
77468593
Test: atest HostsideVpnTests#testIsAlwaysOnIsLockdown
Change-Id: I0a0c6b138c748a6cb8681c20c137f70ee1fc6cf9
Andrei-Valentin Onea [Wed, 30 Jan 2019 16:42:54 +0000 (16:42 +0000)]
Merge "Initialise hidden api usage logger pre-fork"
Eric Holk [Fri, 18 Jan 2019 19:49:55 +0000 (11:49 -0800)]
[layout precompilation] Add testing hook for precompiled layouts
We want to be able to control at a fine grained level whether precompiled
layouts are enabled so we can compare inflation results with and without. This
changes adds a @TestApi method that supports this.
Bug:
111895153
Merged-In: Ib6b62d79a9ca7aefefff8639752aa5838e491038
Change-Id: I2f28f6912499825e52c17cc163be9c0fe93855cb
Remi NGUYEN VAN [Wed, 30 Jan 2019 06:22:01 +0000 (15:22 +0900)]
Add SystemApi for captive portal metrics
The metrics go through NetworkMonitor in the NetworkStack so that they
can be upgraded to new metrics in the future.
Test: flashed, captive portal login works, metrics shown in events log
Bug:
112869080
Merged-In: I4bccfbd87bae5b2d65e45c7a5918aa45ab5d76e8
Change-Id: Ib5e2126788f8d56a00a56d7efcd33c5f9a37a6de
Andrei Onea [Fri, 25 Jan 2019 16:29:44 +0000 (16:29 +0000)]
Initialise hidden api usage logger pre-fork
Topic: hidden-api-reporting-upcall
Test: m
Bug:
119217680
Change-Id: I8722f0bf4275fea4a8faf41d7b862c04b4014824
Merged-In: I80f82092ef779a7dc1f1322cb7c05ebf5e59939b
Neil Fuller [Wed, 30 Jan 2019 10:53:55 +0000 (10:53 +0000)]
Merge "Track ZygoteHooks API changes in libcore"
Kweku Adams [Tue, 6 Nov 2018 02:06:13 +0000 (18:06 -0800)]
Informing app idle listeners on enabled state changes.
Currently, if AppStandbyController is enabled after some listeners have
already registered, the listeners will be told that the system is in a
state of parole even though AppStandbyController thinks it's not in
parole. This change informs AppIdleStateChangeListeners when
AppStandbyController's enabled state changes as well so that they can be
in the correct state.
I also removed the call to setAppIdleEnabled() in onBootPhase() since
updateSettings() is called right afterwards and that also calls
setAppIdleEnabled().
Bug:
112329453
Test: atest AppStandbyControllerTests
also check logs to confirm that NetworkPolicyManagerService and
JobSchedulerService's listeners switch from ON to OFF when the system is
ready.
Change-Id: I88bc293c70b459f54f75f92126ad306d6ab8d9b7
Merged-In: I88bc293c70b459f54f75f92126ad306d6ab8d9b7
Adrian Roos [Wed, 30 Jan 2019 09:31:58 +0000 (09:31 +0000)]
Merge "API: Fix missing @NonNull annotations"
Adrian Roos [Wed, 30 Jan 2019 09:31:58 +0000 (09:31 +0000)]
Merge "API: Add missing nullability annotations"
Chen Xu [Wed, 30 Jan 2019 06:20:01 +0000 (06:20 +0000)]
Merge "move ServiceState.getDataRegState to greylist"
Michele Berionne [Wed, 30 Jan 2019 06:18:19 +0000 (06:18 +0000)]
Merge "Add APIs to get/set if usage of multiple SIMs is restricted."
Remi NGUYEN VAN [Wed, 30 Jan 2019 04:56:15 +0000 (04:56 +0000)]
Merge "Compile NetworkStack as system_current"
Remi NGUYEN VAN [Wed, 30 Jan 2019 04:55:21 +0000 (04:55 +0000)]
Merge "Remove last NetworkStack usage of hidden APIs"
Michele [Fri, 21 Dec 2018 22:51:01 +0000 (14:51 -0800)]
Add APIs to get/set if usage of multiple SIMs is restricted.
Add API that indicates if the usage of multiple SIMs at the same time is
allowed or restricted in order to support requirements from carriers for
dual SIM devices
Bug:
123537730
Test: Verified with test application.
Change-Id: I5e3e5ff41927e43ead4a30988630cf9125d5a048
Merged-In: I5e3e5ff41927e43ead4a30988630cf9125d5a048
(cherry picked from commit
398d5d91136d6e2146bf56ad3bdbb326a835c8ef)
Treehugger Robot [Wed, 30 Jan 2019 01:29:45 +0000 (01:29 +0000)]
Merge "Whitelist packages from VPN lockdown: DPM API."
Remi NGUYEN VAN [Tue, 29 Jan 2019 12:32:48 +0000 (21:32 +0900)]
Compile NetworkStack as system_current
Test: make NetworkStack
Test: flashed, WiFi and tethering working
Bug:
112869080
Change-Id: I2d805c0fefe271199f4f0e0d49d91e03f41a7eef
Remi NGUYEN VAN [Tue, 29 Jan 2019 06:38:52 +0000 (15:38 +0900)]
Remove last NetworkStack usage of hidden APIs
Includes various small changes to stop using hidden APIs
Test: make NetworkStack
Test: flashed, booted, WiFi and tethering working
Bug:
112869080
Change-Id: Id2830795a444f484b377ed6437435a1cd833697a
Yifan Hong [Wed, 30 Jan 2019 00:45:45 +0000 (16:45 -0800)]
Use default argument for VintfObject::CheckCompatibility.
The default argument has been changed to ENABLE_ALL_CHECKS to DEFAULT.
Just use the default argument implicitly.
Test: boots (sanity)
Bug:
117914319
Change-Id: Ib3d44c89625abcce50c6f22253461417dd130f80
Chen Xu [Wed, 30 Jan 2019 00:06:23 +0000 (00:06 +0000)]
Merge "Add IntRange and FloatRange annotations"
chen xu [Tue, 29 Jan 2019 23:56:40 +0000 (15:56 -0800)]
move ServiceState.getDataRegState to greylist
given we don't have a public alternatives for dataregstate for Q,
thus we shouldn't move this API to app-compat dark list.
Bug:
123099466
Test: Build
Change-Id: I67531ce536e004e1bc0f764824a261fb51cd27fa
Tyler Gunn [Mon, 17 Dec 2018 17:56:11 +0000 (09:56 -0800)]
Call Screening / Caller ID API Changes
- Fix bug in call identification parcelable; was reversing the app name
and package name.
- Add @hide RoleManager consts for the Telecom roles; this will be
replaced by values in the library for public consumption as a later
date.
- Add new call direction attribute to the Call.Details class; this is
needed so that a CallScreeningService can know if a call is incoming
or outgoing. This way it knows whether it needs to perform call blocking
or just caller ID.
- Update CallScreeningService API docs to explain how to request the
call screening role.
- Update InCallService API docs to explain the 3 roles related to this
service and how you declare an appropriate IncallService to fill each of
them.
Bug:
63966743
Test: Manual, CTS
Merged-In: Ic4547b8ead791690305f7be58e43272c4155b7fb
Change-Id: Ic4547b8ead791690305f7be58e43272c4155b7fb
Jordan Liu [Tue, 29 Jan 2019 22:43:47 +0000 (22:43 +0000)]
Merge "Card ID APIs are public"
chen xu [Tue, 29 Jan 2019 21:58:29 +0000 (13:58 -0800)]
Add IntRange and FloatRange annotations
Bug:
123223163
Test: Build
Change-Id: I17f27075007df642ec93e5b762b0717da4a1e927
Pavel Grafov [Fri, 25 Jan 2019 08:50:06 +0000 (08:50 +0000)]
Whitelist packages from VPN lockdown: DPM API.
Bug:
77468593
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpn
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpnAcrossReboot
Change-Id: I7508070f828fb7150df5d9e34846535d57c6a7c3
Merged-In: I7508070f828fb7150df5d9e34846535d57c6a7c3
Neil Fuller [Mon, 28 Jan 2019 18:29:20 +0000 (18:29 +0000)]
Track ZygoteHooks API changes in libcore
Track ZygoteHooks API changes in libcore to make
the ZygoteHooks API more consistent.
Bug:
111742291
Test: build / boot / treehugger
Merged-In: Ie65aac6539cffc90663807791511b95a6cd61ab4
Change-Id: Ie65aac6539cffc90663807791511b95a6cd61ab4
Dan Sandler [Tue, 29 Jan 2019 19:44:39 +0000 (14:44 -0500)]
Some of us are weird.
Test: dsandler can give OWNERS approval
Change-Id: I9b4f7903513e7171dfa51aa39a32b6bcfbfbb0eb
Sooraj Sasindran [Tue, 29 Jan 2019 19:43:26 +0000 (19:43 +0000)]
Merge "Define more thresholds for opportunistic data"
Treehugger Robot [Tue, 29 Jan 2019 19:27:53 +0000 (19:27 +0000)]
Merge changes I94d15307,I7deb8556,I755b3140
* changes:
Atom: Add more Bluetooth atoms
Atom: Add A2DP playback related atoms to StatsLog
Fix typo in hci/enums.proto: OCCURED -> OCCURRED
Jordan Liu [Fri, 18 Jan 2019 18:29:56 +0000 (10:29 -0800)]
Card ID APIs are public
These were system API but we should expose them for apps with carrier
privileges.
Test: manual
Bug:
122974656
Change-Id: Ie60e4c580dfa9dd0d7d6fb6b94226661d0620dad
Michele Berionne [Tue, 29 Jan 2019 17:25:17 +0000 (17:25 +0000)]
Merge "Add check for slot index value"
Adrian Roos [Tue, 29 Jan 2019 16:05:21 +0000 (16:05 +0000)]
Merge "apilint: Allow parsing 3.0 signature files"
Pavel Grafov [Tue, 29 Jan 2019 15:13:46 +0000 (15:13 +0000)]
Add sandness@ and rubinxu@ to OWNERS for UserRestrictionsUtils
Test: none
Bug: none
Change-Id: I48d2547de69092a3d98f7a97803146ab3fe38f01
Remi NGUYEN VAN [Tue, 29 Jan 2019 14:30:56 +0000 (14:30 +0000)]
Merge "Revert "Extract network observer code from NetworkManagementService.""
Adrian Roos [Tue, 29 Jan 2019 14:01:28 +0000 (15:01 +0100)]
apilint: Allow parsing 3.0 signature files
Test: python apilint_test.py
Change-Id: I59df950229c05329afde93f94efc13adb4640ad7
Treehugger Robot [Tue, 29 Jan 2019 11:45:15 +0000 (11:45 +0000)]
Merge "Move FdEventsReader to the shared area."
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:07:42 +0000 (11:07 +0000)]
Merge "Run IpClientLinkObserver on Binder thread"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:07:20 +0000 (11:07 +0000)]
Merge "Add utils connect, setsockopt, bind, sendTo"
Remi NGUYEN VAN [Tue, 29 Jan 2019 11:07:04 +0000 (11:07 +0000)]
Merge "Add NetworkUtils utilities to SystemApi"
Remi NGUYEN VAN [Tue, 29 Jan 2019 04:03:38 +0000 (04:03 +0000)]
Revert "Extract network observer code from NetworkManagementService."
This reverts commit
d8bc829a85c9c9bb390e18b59ef1455b6d0b94ec.
Reason for revert: Refactoring was unnecessary
Merged-In: Ib4e7da3274e49f25676505a08e6ce7e7b0dfdb8d
Change-Id: Iff332c680315b560f0b762c1d7311ec83d539115
Chalard Jean [Tue, 29 Jan 2019 09:30:03 +0000 (18:30 +0900)]
Move FdEventsReader to the shared area.
This is necessary both in the network stack app and the
framework.
Test: FrameworksNetTests
Change-Id: I48af0ab29405501f0581a6c0c9ce6e5d4a32c8b4
Remi NGUYEN VAN [Tue, 29 Jan 2019 08:58:32 +0000 (08:58 +0000)]
Merge "Remove IpClient usage of NetworkManagementService"
Remi NGUYEN VAN [Tue, 29 Jan 2019 06:17:00 +0000 (15:17 +0900)]
Add utils connect, setsockopt, bind, sendTo
The utilities are not supported as public API but required as SystemApi
for the NetworkStack.
Test: flashed, boots, WiFi works
Bug:
112869080
Change-Id: Ia64b3bf9c6c33cf61bed76469ea9963b550bed2b
Remi NGUYEN VAN [Tue, 29 Jan 2019 03:08:43 +0000 (12:08 +0900)]
Add NetworkUtils utilities to SystemApi
attach*Filter and addArpEntry are necessary for the NetworkStack but are
only usable for apps that have system permissions.
Also includes system API for IpPrefix, LinkAddress, LinkProperties,
Network, and static modifier in ApfCapabilities that were missed in
previous CLs.
Test: Builds, flashed, WiFi works
Bug:
112869080
Change-Id: If141ae6a2f9145f5af64ba002ca44938f39b90a9
Remi NGUYEN VAN [Tue, 29 Jan 2019 07:46:48 +0000 (16:46 +0900)]
Run IpClientLinkObserver on Binder thread
This restores previous behavior, where callbacks would not be called on
the IpClient handler thread.
Test: atest FrameworksNetTests NetworkStackTests
Test: flashed, WiFi works
Bug:
123062477
Change-Id: I3015566b0922d76ac7cf70579a1de3e033bf7b4a
chen xu [Thu, 24 Jan 2019 22:14:13 +0000 (14:14 -0800)]
new API for IMS call fail cause
Bug:
119890559
Test: atest CtsTelephonyTestCases:PhoneStateListenerTest
Change-Id: Ia047b7ba2345ad0c8d998506026defc02eb80dc9
(cherry picked from commit
6ac5fc19e6db5159bb325c7c705437e7d204f463)
Merged-in: Ia047b7ba2345ad0c8d998506026defc02eb80dc9
Treehugger Robot [Tue, 29 Jan 2019 04:43:32 +0000 (04:43 +0000)]
Merge "uce: Updating UCE API to accept ICC-ID."
Mathieu Chartier [Tue, 29 Jan 2019 04:24:10 +0000 (04:24 +0000)]
Merge "Disable view compilation for privileged apps"
Treehugger Robot [Tue, 29 Jan 2019 03:51:11 +0000 (03:51 +0000)]
Merge "Fix for CTS testAllowWhileIdleJobInTempwhitelist"
Remi NGUYEN VAN [Mon, 28 Jan 2019 06:15:59 +0000 (15:15 +0900)]
Remove IpClient usage of NetworkManagementService
Use the new NetworkObserverRegistry instead.
Test: atest FrameworksNetTests NetworkStackTests
Test: flashed, WiFi working fine
Bug:
112869080
Change-Id: If16ecfd6489f86afec67c22b4c3692cd68f4edbf
Jack He [Mon, 21 Jan 2019 05:22:46 +0000 (21:22 -0800)]
Atom: Add more Bluetooth atoms
* BluetoothHciTimeoutReported is logged when Bluetooth controller
failed to respond to an HCI command in time
* BluetoothQualityReportReported is logged when Bluetooth controller
sends a link quality report event to Android host due to bad link
quality
* BluetoothManufacturerInfoReported is logged when we learn about
manufactuer defined metadata for a device such as manufactuer name
model number, software version, and hardware version
* BluetoothRemoteVersionInfoReported is logged when we learn about
the manufactuer and Bluetooth version of remote Bluetooth controller
and stack
* BluetoothSdpAttributeReported is logged when we learn about services
provided by the remote device and their metdata such as protocol
version and feature bitmask. Only profiles that use 16-bit UUIDs are
logged
* BluetoothBondStateChanged is logged when Bluetooth bonding state is
changed a a macro level such as none -> bonding, bonding -> bonded,
and user interaction events such as passkey confirmation
* BluetoothClassicPairingEventReported is logged from native layer
when Bluetooth classic pairing state changed due to HCI command
or events. This is a more verbose level logging compared to
BluetoothBondStateChanged
* BluetoothSmpPairingEventReported is logged from native layer when
Bluetooth Security Manager Protocol based pairing state changed due to
SMP command sent or received. Pairing failure reason code is also
logged as a pre-defined enum
Bug:
112969790
Test: test drive with statsd
Change-Id: I94d1530758f79ce6d5f119426b1379c76517afec
Merged-In: I94d1530758f79ce6d5f119426b1379c76517afec
(cherry picked from commit
1021a6108132bf0d98676cae1afe98a1960f1375)
Jack He [Thu, 10 Jan 2019 04:54:41 +0000 (20:54 -0800)]
Atom: Add A2DP playback related atoms to StatsLog
* BluetoothA2dpPlaybackStateChanged:
- Logged when A2DP playback state changed for individual devices
* BluetoothA2dpCodecConfigChanged
- Logged when A2DP codec configuration changed for individual devices
* BluetoothA2dpCodecCapabilityChanged
- Logged when A2DP codec capability changed for individual devices
* BluetoothActiveDeviceChanged
- Logged when A2DP/HFP/HEARNING_AID active device changed
* BluetoothA2dpAudioOverrunReported
- Logs when A2DP failed send encoded data to the remote device fast
enough such that the transmit buffer queue is full and we have to
drop data
* BluetoothA2dpAudioUnderrunReported
- Logs when A2DP failed to read from PCM source
* BluetoothDeviceRssiReported
- Logged when remote device's RSSI level is reported by the controller
* BluetoothDeviceFailedContactCounterReported
- Logged when ACL transmit queue was flushed by the controller
- This is normally disabled unless we set automatic flush timeout was
set to a non-zero value
- However, when this event is reported, the connection quality must
be very bad
* BluetoothDeviceTxPowerLevelReported
- Logged when transmit power level is reported for a particular
connection
Bug:
112969790
Test: make, testdrive with statsd
Change-Id: I7deb85567630fae75be733df21b45f9c6bcf9e17
Merged-In: I7deb85567630fae75be733df21b45f9c6bcf9e17
(cherry picked from commit
c27040aea7775482f5a2e2d8d2c075b61c6c1ad8)
Muhammad Qureshi [Fri, 25 Jan 2019 23:28:02 +0000 (15:28 -0800)]
Fix typo in hci/enums.proto: OCCURED -> OCCURRED
Test: none
Change-Id: I755b3140b550ade5078c946c1d4ee910bd47b5ad
Merged-In: I755b3140b550ade5078c946c1d4ee910bd47b5ad
(cherry picked from commit
a664734a031091083885e43140b1dd747cd52a25)
Mathieu Chartier [Fri, 25 Jan 2019 21:05:34 +0000 (13:05 -0800)]
Disable view compilation for privileged apps
Bug:
111895153
Test: look that there are no selinux denials
Change-Id: Id759171654888f8172d46fd05094f58842442a81
Sooraj Sasindran [Wed, 9 Jan 2019 19:09:22 +0000 (11:09 -0800)]
Define more thresholds for opportunistic data
Define entry bandwidth threshold for opportunistic data
Define entry and hysteresis time for opportunistic data
Bug:
120847469
Test: make
Change-Id: Ie7c35e10aeaf791dba49d9f5e881d292068f81f3
Merged-In: Ie7c35e10aeaf791dba49d9f5e881d292068f81f3
Pengquan Meng [Tue, 29 Jan 2019 00:21:49 +0000 (00:21 +0000)]
Merge "new SystemAPI to getSimLocale"
Remi NGUYEN VAN [Mon, 28 Jan 2019 23:14:08 +0000 (23:14 +0000)]
Merge "Add SocketUtils for NetworkStack"
Treehugger Robot [Mon, 28 Jan 2019 22:15:35 +0000 (22:15 +0000)]
Merge "clang-format ManifestFixer_test.cpp"
Ruchi Kandoi [Mon, 28 Jan 2019 22:11:32 +0000 (22:11 +0000)]
Merge "Add Secure NFC functionality"
Jack Yu [Mon, 28 Jan 2019 21:29:27 +0000 (21:29 +0000)]
Merge "Data profile refactoring"
Michele [Mon, 28 Jan 2019 21:07:30 +0000 (13:07 -0800)]
Add check for slot index value
Verify that slot index passed in setAllowedCarrier() and in
getAllowedCarrier() has a valid value or return error code.
Bug:
123097251
Test: compilation
Change-Id: I322ecd11c49301a7d5bf5edb75d32a72a9f813c3
Amit Mahajan [Mon, 28 Jan 2019 20:51:25 +0000 (20:51 +0000)]
Merge "Add Emergency Number Test Mode"
Treehugger Robot [Mon, 28 Jan 2019 20:40:43 +0000 (20:40 +0000)]
Merge "jni: more O_CLOEXECs"
Pavel Grafov [Mon, 28 Jan 2019 20:15:49 +0000 (20:15 +0000)]
Merge "Whitelist packages from VPN lockdown."
Jordan Liu [Mon, 28 Jan 2019 19:16:06 +0000 (19:16 +0000)]
Merge "CallQuality is set to empty instead of null"
sqian [Wed, 16 Jan 2019 02:26:35 +0000 (18:26 -0800)]
Add Emergency Number Test Mode
Add EMERGENCY_NUMBER_SOURCE_TEST_MODE
This also does not allow to send the service categories from database when
dialing.
Bug:
122840137
Test: Manual; Treehugger
Merged-in: I4ea3539e3b814b71e03e956d4a857ec20141fa8c
Change-Id: I4ea3539e3b814b71e03e956d4a857ec20141fa8c
(cherry picked from commit
cb4bd3a30f40611bc91f1f7f8289a4dd61b8251b)
Amit Mahajan [Mon, 28 Jan 2019 18:50:55 +0000 (18:50 +0000)]
Merge "Add Emergency Uniform Resource Number (URN)"
Nick Kralevich [Mon, 28 Jan 2019 18:39:10 +0000 (10:39 -0800)]
jni: more O_CLOEXECs
Prevent FDs from leaking across an execve() boundary.
Test: compiles and boots
Change-Id: I5f91046917b55b6abead0a5c6e939f82814e6f18
sqian [Thu, 10 Jan 2019 03:10:58 +0000 (19:10 -0800)]
Add Emergency Uniform Resource Number (URN)
Test: Treehugger
Bug:
112657134
Change-Id: I87537f7123910e9843207428eb3167a90a15b6df
Merged-In: I87537f7123910e9843207428eb3167a90a15b6df
(cherry picked from commit
03bde886e5cfe06fcbced55b45d2b3d6fc5746ae)
Jack Yu [Tue, 18 Dec 2018 00:09:03 +0000 (16:09 -0800)]
Data profile refactoring
Data profile should use the public defined types
instead of the internal defined data types.
1. Using integer instead of string for protocol type.
2. Using TelephonyManager.NetworkTypeBitMask instead of
the internal ServiceState.RIL_RADIO_TECHNOLOGY_XXX
in data profile.
Test: Telephony sanity tests
Bug:
73659459
Merged-In: I04b910f8e349e8b7819ff058bf37ad06c3fd9adc
Change-Id: I04b910f8e349e8b7819ff058bf37ad06c3fd9adc
(cherry picked from commit
af6b47af54e35a665fb18bd6d63fa945c333b6a9)
Nandana Dutt [Mon, 28 Jan 2019 17:20:45 +0000 (17:20 +0000)]
Merge "Remove DumpstateOptions"
Treehugger Robot [Mon, 28 Jan 2019 16:46:41 +0000 (16:46 +0000)]
Merge "startop: use static_lib dependency on libdexfile."
Steven Moreland [Mon, 28 Jan 2019 16:30:36 +0000 (16:30 +0000)]
Merge "framework.jar: Include all radio HIDL libs."
Nandana Dutt [Mon, 28 Jan 2019 16:27:07 +0000 (16:27 +0000)]
Merge "Expose bugreporting API as system API."
Paul Duffin [Mon, 28 Jan 2019 15:40:13 +0000 (15:40 +0000)]
Merge "Remove unused library framework-oahl-backward-compatibility"
Treehugger Robot [Mon, 28 Jan 2019 15:37:24 +0000 (15:37 +0000)]
Merge "Add gaillard@ to owners."
David Brazdil [Mon, 28 Jan 2019 14:23:43 +0000 (14:23 +0000)]
Merge "Add @UnsupportedAppUsage to methods known to be used by apps"
Orion Hodson [Mon, 28 Jan 2019 11:35:16 +0000 (11:35 +0000)]
startop: use static_lib dependency on libdexfile.
libdexfile.so is moving to APEX and the external API doesn't include
the features needed for startop.
Bug:
119632407
Test: Builds
Change-Id: I6d33e8737341a508637321921ca732af913827a3
David Brazdil [Mon, 28 Jan 2019 12:43:28 +0000 (12:43 +0000)]
Add @UnsupportedAppUsage to methods known to be used by apps
Exempted-From-Owner-Approval: Automatic changes to the codebase
affecting only @UnsupportedAppUsage annotations, themselves added
without requiring owners approval earlier.
Bug:
123308819
Bug:
122291025
Test: m appcompat
Change-Id: Iafd62b8ece0d19268fad65086134a1e7369bc0bb
Remi NGUYEN VAN [Wed, 23 Jan 2019 14:11:12 +0000 (23:11 +0900)]
Add SocketUtils for NetworkStack
These utilities can only be used for privileged apps. The underlying
implementation cannot be @SystemApi.
Test: m
Bug:
112869080
Change-Id: Idfa90561102e5b03ab2b79486d3ad46457128bf8
Remi NGUYEN VAN [Mon, 28 Jan 2019 11:08:00 +0000 (11:08 +0000)]
Merge "Add hidden utils and constants to NetworkStack"
Nandana Dutt [Fri, 16 Nov 2018 17:22:59 +0000 (17:22 +0000)]
Remove DumpstateOptions
This is not used anymore, instead bugreport mode is used to encapulsate
a number of options.
BUG:
111441001
Test: builds
Change-Id: I04f17b2605d242a33909cfaecbc647e9eee8d1fc
Nandana Dutt [Wed, 23 Jan 2019 20:02:29 +0000 (20:02 +0000)]
Expose bugreporting API as system API.
BUG:
111441001
Test: Builds
Change-Id: I1530f92971807b7e43c763a58dd1e18e793255da
Merged-In: I1530f92971807b7e43c763a58dd1e18e793255da